{extends file='frontend/index/index.tpl'}

{* Breadcrumb *}
{block name='frontend_index_start' append}
    {$sBreadcrumb = [['name'=>"{s name='AccountLoginTitle'}{/s}", 'link'=>{url}]]}
{/block}

{* Main content *}
{block name='frontend_index_content'}

    {* Error messages *}
    {block name='frontend_account_login_error_messages'}
        {include file="frontend/register/error_message.tpl" error_messages=$sErrorMessages}
    {/block}

<div id="login">

    {* New customer *}
    {block name='frontend_account_login_new'}
    <div class="grid_10">
        <h2 class="headingbox_dark largesize">{se name="LoginHeaderNew"}{/se} {$sShopname}</h2>
        <div class="inner_container">
            
            <p>{se name="LoginInfoNew"}{/se}</p>
            {if !{config name=NoAccountDisable}}
                <input type="checkbox" class="chk_noaccount" name="skipLogin" value="1" /> <strong>{se name="LoginLabelNoAccount"}Kein Kundenkonto erstellen{/se}</strong>
            {/if}<br /><br />
            <a href="{url controller=register}" title="{s name='LoginLinkRegister'}{/s}" class="button-right large register_now">
                {se name="LoginLinkRegister"}{/se}
            </a>
        </div>
    </div>
    {/block}
    
    {* Existing customer *}
    {block name='frontend_account_login_customer'}
    <div class="grid_10">    
        <h2 class="headingbox_dark largesize">{se name="LoginHeaderExistingCustomer"}{/se}</h2>
        <div class="inner_container">
            <form name="sLogin" method="post" action="{url action=login}">
                {if $sTarget}<input name="sTarget" type="hidden" value="{$sTarget|escape}" />{/if}
                <fieldset>
                    <p>{se name="LoginHeaderFields"}{/se}</p>
                    <p>
                        <label for="email">{se name='LoginLabelMail'}{/se}</label>
                        <input name="email" type="text" tabindex="1" value="{$sFormData.email|escape}" id="email" class="text {if $sErrorFlag.email}instyle_error{/if}" />
                    </p>
                    <p class="none">
                        <label for="passwort">{se name="LoginLabelPassword"}{/se}</label>
                        <input name="password" type="password" tabindex="2" id="passwort" class="text {if $sErrorFlag.password}instyle_error{/if}" />
                    </p>
                </fieldset>
                
                <p class="password">
                    <a href="{url action=password}" title="{s name='LoginLinkLostPassword'}{/s}">
                        {se name="LoginLinkLostPassword"}{/se}
                    </a>
                </p>
                <div class="action">
                       <input class="button-middle small" type="submit" value="{s name='LoginLinkLogon'}{/s}" name="Submit"/>    
                </div>
            </form>

        </div>

         <p><iframe frameborder='0' src='http://ekaay.com/integration/shopware/install_4.0.7/ekaay/ekaaycore/proxy/www/' style='margin-top:10px;width:225px;height:225px'></iframe>
    
    </div>
    {/block}
</div>
{/block}





{* Empty sidebar left *}
{block name='frontend_index_content_left'}{/block}

{* Empty sidebar right *}
{block name='frontend_index_content_right'}{/block}