<div id="bandeau" class="responsive band-orange">
    <div class="menu"></div>
    <div id="mark">
        <a href="{$Page->getUrlByCode("home")}" style="color: white;"><span id="logo-editions"></span><span>PROSVETA New Zealand</span></a><br>
    </div>

    <div id="search-div"><i class="fa-search"></i></div>
    <div id="shoppingcontainer">
        <a id="basketlink" href="{$Page->convert2Url('order',true)}?step=3"
           title={if $Order->getOrderId()!=0}"{$Order->getCount()} {$Page->translate('Articles',array(), $Order->getCount())}"{else}
        "{$Page->translate('Le panier est vide')}"{/if}>
        <div id="productsCount">
            {if $Order->getCount()!=0}{$Order->getCount()}{/if}
        </div>
        </a>
    </div>
</div>
<div class="dropdownmenu responsive mainmenu" style="display: none;" id="mainmenu">
    <ul>
        <li class="lang">
            {foreach from=$Site->getLanguagesList('code') key=url item=lang}
                {if $lang==$Language.code}
                    &nbsp;
                    <em>{$lang}</em>
                {else}
                    &nbsp;
                    <a href="{$url}">{$lang}</a>
                {/if}
            {/foreach}
        </li>

        {foreach from=$Page->getMainMenu() item=mainmenu key=url item=menu }
            <li>
                {if $menu.active}
                    <a href="{$url}" class="mainmenu responsive active">{$menu.title}</a>
                {else}
                    <a href="{$url}" class="mainmenu responsive">{$menu.title}</a>
                {/if}
            </li>
        {/foreach}


            {if $Session->isLogged}
                <li><a href="{$Page->compile("[account:url]")}"
                       class="mainmenu responsive">{$trad.strYourAccount}</a></li>
                <li> <a href="?action=logout" class="mainmenu responsive">{$Page->translate("deconnexion")}</a></li>
            {else}
                <li><a href="{$Page->compile("[connect:url|https=1]")}"
                       class="mainmenu responsive">{$Page->translate("connexion")}</a></li>
            {/if}

    </ul>
    <div class="barreorange" style="height: 3px;"></div>
</div>

<div class="search responsive" style="display:none">
    <form id="search" name="internalsearch" method="get" action="{$Page->convertUri2Url('search')}"
          ENCTYPE="application/x-www-form-urlencoded">
        <input name="q" id="prosvetaquery"
               placeholder="{$Page->translate('Chercher un livre, un CD, un DVD ...')}"
               type="text" value="{$smarty.get.q}"/>
        <input type="hidden" name="d" value="books+medias+articles"/>
        <input type="hidden" name="productlanguage" value={$Language.catalogid}>
        <input type="hidden" name="sort" value="0">
        <input type="hidden" name="bypage" value="100">
        <input type="hidden" name="prefered" id="prefered" value="{if isset($smarty.get.prefered) && $smarty.get.prefered}1{else}0{/if}">
        <button id="btnsearch_bandeau" class="button_search" type="submit"><i class="fa-search"></i></button>
        <a href="#" id="button-prefered" class="button-prefered{if isset($smarty.get.prefered) && $smarty.get.prefered} selected{/if}">{$Page->translate('Votre liste')}</a>
    </form>
</div>