| 42 |
lars |
1 |
<div class="hd_login">
|
|
|
2 |
|
|
|
3 |
{if !$smarty.session.SHOP.Login}
|
|
|
4 |
<h1 class="big">Login</h1>
|
| 566 |
lars |
5 |
<form action="{$SCRIPT_NAME}/login/login/" method="post">
|
| 42 |
lars |
6 |
<input autocomplete="off" type="text" onfocus="this.value='';" name="email" value="{$smarty.post.email|default:$langstrings.login.username}" /><br />
|
|
|
7 |
<input style="margin-top:8px;" type="password" onfocus="this.value='';" name="password" value="{$langstrings.login.password}"/><br>
|
|
|
8 |
<input class="log_button" type="submit" value="LOGIN" onclick="document.login.submit();"/>
|
|
|
9 |
<input type="hidden" name="mode" value="login" />
|
| 566 |
lars |
10 |
</form>
|
| 42 |
lars |
11 |
{else}
|
|
|
12 |
<div class="login_text">
|
| 551 |
lars |
13 |
<a href="/login/logout">{$langstrings.login.welcome},<br /> {$smarty.session.SHOP.buy.Persdata.Anrede} {$smarty.session.SHOP.buy.Persdata.Nachname}!</a>
|
| 42 |
lars |
14 |
{if ( !$smarty.get.buy && !$smarty.post.buy )}
|
|
|
15 |
<br/>
|
| 567 |
lars |
16 |
<form action="{$SCRIPT_NAME}/login/logout/" method="post">
|
| 42 |
lars |
17 |
<input type="hidden" name="mode" value="logout" /><br>
|
|
|
18 |
<input style="padding:0 0 10px 0" type="image" src="/images/webelemente/butt_abmelden.png" /><br />
|
| 566 |
lars |
19 |
</form>
|
| 42 |
lars |
20 |
{/if}
|
|
|
21 |
</div>
|
|
|
22 |
{/if}
|
|
|
23 |
|
|
|
24 |
{if !$smarty.session.SHOP.Login}
|
| 549 |
lars |
25 |
<a href="/login/forgot_pw">{$langstrings.login.lost_password}?</a><br />
|
|
|
26 |
<a href="/login/register">{$langstrings.login.new_customer}?</a><br /><br />
|
| 42 |
lars |
27 |
{else}
|
|
|
28 |
<br />
|
|
|
29 |
{if $smarty.session.SHOP.buy.Persdata.email|stristr:"marketplace.amazon.de"==false}
|
| 549 |
lars |
30 |
<a href="/login/change_pw">{$langstrings.login.change_pw}</a><br />
|
| 42 |
lars |
31 |
|
|
|
32 |
{if $ini.newsletter.newsletter==1}
|
|
|
33 |
{if $smarty.session.SHOP.buy.Persdata.email|stristr:"marketplace.amazon.de"==false}
|
| 549 |
lars |
34 |
<a href="/login/newsletter_edit">{$langstrings.shop.newsletter}</a>
|
| 42 |
lars |
35 |
|
|
|
36 |
{/if}
|
|
|
37 |
{/if}
|
|
|
38 |
|
| 549 |
lars |
39 |
<a href="/order/list/">{$langstrings.login.list_orders}</a><br />
|
| 42 |
lars |
40 |
{/if}
|
|
|
41 |
|
|
|
42 |
{if $smarty.session.SHOP.buy.Persdata.email|stristr:"marketplace.amazon.de"==true || $amazon_kunde==1}
|
|
|
43 |
Falls Sie Amazon-Kunde sind, nutzen Sie bitte <a href="http://www.amazon.de" target="_blank">amazon.de</a>, um Ihre Bestellinformationen einzusehen.
|
|
|
44 |
{/if}
|
|
|
45 |
|
|
|
46 |
{/if}
|
|
|
47 |
|
|
|
48 |
</div>
|