Subversion-Projekte lars-tiefland.faltradxxs.de

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

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