
<div class="box_titre">Recherche</div>
<div class="box">
  <form method="post" action="recherche.php">
    <table border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" align="center">
      <tr>
        <td nowrap="nowrap">
          <input type="text" name="text" size="18" maxlength="255" value="" />
          <input type="submit" name="search" value="Go" class="btn" />
        </td>
      </tr>
    </table>
  </form>
</div>

{if ((!isset($smarty.session.IDI)) or ($smarty.session.IDI === 0))}

<div class="box_titre">Identifiez-vous</div>
<div class="box">
  <form method="post" action="identification.php">
    <input type="hidden" name="etape" value="all" />
    <table border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" align="center" width="100%">
      <tr>
        <td nowrap="nowrap" align="right">Email</td>
        <td nowrap="nowrap" align="left"><input name="Email" id="log_client"  value="" type="text" size="18" /></td>
      </tr>
      <tr>
        <td nowrap="nowrap" align="right">Password</td>
        <td nowrap="nowrap" align="left">
          <input name="Password" id="pass_client"  value="" type="password" size="18" />
          <input type="submit" name="SubmitIdent" value="Go" class="btn" />
        </td>
      </tr>
      <tr height="25">
        <td>&nbsp;</td>
        <td nowrap="nowrap" align="left">&nbsp;&nbsp;<a href="./pass_recup.php">Mot de passe perdu ?</a></td>
      </tr>
    </table>
  </form>
</div>

{/if}

{if ((isset($smarty.session.IDI)) and ($smarty.session.IDI > 0))}
<div class="box_titre">Bonjour</div>
<div class="box">
  {$CLIENT_CIVILITE}{$CLIENT_NOM} {$CLIENT_PRENOM}<br />
  <span>[ <a href="logoff.php">D&eacute;connexion</a> ]</span>
</div>
{/if}

<div class="box_titre">Categories</div>
<div class="box">
  <ul class="categorie">
  {foreach from=$CATEGORY_LIST item=CATEGORYLIST}
    <li><a href="{$CATEGORYLIST.CategoryLink}">{$CATEGORYLIST.CategoryName}</a></li>
    <ul class="sous_categorie">
    {foreach from=$CATEGORYLIST.SubCategory item=SUBCATEGORYLIST}
      <li><a href="{$SUBCATEGORYLIST.SubCategoryLink}">{$SUBCATEGORYLIST.SubCategoryName}</a></li>
    {/foreach}
    </ul>
  {/foreach}
  </ul>
  <div class="clear"></div>
</div>
