| 2 |
lars |
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
<div class="box_1">
|
|
|
5 |
<div class="box_top"></div>
|
|
|
6 |
<div class="box_middle">
|
|
|
7 |
<h1>Login</h1>
|
|
|
8 |
<div>
|
|
|
9 |
<br>
|
|
|
10 |
<form action="{$SCRIPT_NAME}" method="post">
|
|
|
11 |
<p>
|
|
|
12 |
{if !$smarty.session.SHOP.Login}
|
|
|
13 |
<input style="margin-left:8px;width:120px;" onfocus="this.value='';" type="text" name="email" value="{$smarty.post.email|default:$langstrings.login.username}"><br>
|
|
|
14 |
{if $smarty.get.mode=="forgot_pw"}
|
|
|
15 |
<input type="hidden" name="mode" value="send_pw">
|
|
|
16 |
<input class="log_button" align="right" type="image" src="/images/webelemente/order_password.gif">
|
|
|
17 |
{else}
|
|
|
18 |
<input style="margin-top:5px;margin-left:8px;width:120px;" onfocus="this.value='';" type="password" name="password" value="{$langstrings.login.password}"> <input class="log_button" type="image" src="/images/webelemente/button_ok.jpg">
|
|
|
19 |
<input type="hidden" name="mode" value="login">
|
|
|
20 |
|
|
|
21 |
{/if}
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
{else}
|
|
|
25 |
{$langstrings.login.welcome},<br> <strong>{$smarty.session.SHOP.buy.Persdata.Anrede} {$smarty.session.SHOP.buy.Persdata.Nachname}!</strong>
|
|
|
26 |
{if ( !$smarty.get.buy && !$smarty.post.buy )}
|
|
|
27 |
<br>
|
|
|
28 |
<input type="hidden" name="mode" value="logout">
|
|
|
29 |
<input style="margin-bottom:30px;margin-top:8px;" align="right" type="image" src="/images/webelemente/logout_button.gif"><br>
|
|
|
30 |
{/if}
|
|
|
31 |
{/if}
|
|
|
32 |
</p>
|
|
|
33 |
</form>
|
|
|
34 |
|
|
|
35 |
{if !$smarty.session.SHOP.Login}
|
|
|
36 |
<br>
|
|
|
37 |
<ul class="login_ul">
|
|
|
38 |
{if $smarty.get.mode!="forgot_pw"}
|
|
|
39 |
<li><a href="/?mode=forgot_pw">{$langstrings.login.lost_password}?</a></li>
|
|
|
40 |
{else}
|
|
|
41 |
<li><a href="{$SCRIPT_NAME}">{$langstrings.login.login}</a></li>
|
|
|
42 |
{/if}
|
|
|
43 |
<li><a href="/?mode=register">{$langstrings.login.new_customer}?</a><br></li>
|
|
|
44 |
</ul>
|
|
|
45 |
{else}
|
|
|
46 |
<ul class="login_ul">
|
|
|
47 |
<li><a href="/?mode=change_pw">{$langstrings.login.change_pw}</a><br></li>
|
|
|
48 |
<li><a href="/?mode=list_orders">{$langstrings.login.list_orders}</a><br></li>
|
|
|
49 |
</ul>
|
|
|
50 |
{/if}
|
|
|
51 |
</div>
|
|
|
52 |
</div>
|
|
|
53 |
<div class="box_bottom"></div>
|
|
|
54 |
</div>
|