{include file=$localizer->getPath("part/header.tpl")}
<div id="flash" class="{$Page->flash.class}">{$Page->flash.text}</div>
<div id="search" class="noprint no-responsive searchproduct">
    <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+miscellaneous"/>
        <input type="hidden" name="productlanguage" value={$Language.catalogid}>
        <input type="hidden" name="sort" value="0">
        <input type="hidden" name="bypage" value="50">
        <input type="hidden" id="prefered" name="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>
        <button id="btn_help" type="submit"><i class="fa-help-circled"></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>