 <div id="header"><!-- Début du Bloc Header -->
   <div style="position:relative;right:20px;top:<?php if(autorisation(-1)) {echo "160px;";} else {echo "160px;";}?>text-align:right;">

   <?php
   global $cookie, $anonymous;
   global $NPDS_Prefix;
   $username = $cookie[1];
   if (autorisation(-1)) {
      echo "!nb_online! - <a href=\"user.php\">Se connecter</a>";
   } elseif (autorisation(1)) {
      echo "Bonjour $username&nbsp;-&nbsp;<a href=\"user.php\">Votre profil</a>&nbsp;-&nbsp;";
      settype($cookie[0], 'integer');
      list($nbmes)=sql_fetch_row(sql_query("SELECT count(*) FROM ".$NPDS_Prefix."priv_msgs WHERE to_userid='".$cookie[0]."' AND read_msg='0'"));
      if ($nbmes>0)
         echo "<a href=\"viewpmsg.php\" class=\"newmsg\">".$nbmes." nouveau".(($nbmes>1)?'x':'')." message".(($nbmes>1)?'s':'')."</a>";
      else
         echo "<a href=\"viewpmsg.php\">Aucun nouveau message</a>";
      echo "<br />!nb_online! - <a href=\"user.php?op=logout\">Se d&eacute;connecter</a>";
   } ?>
   </div>
</div><!-- Fin du Bloc Header -->

<div id="top_menu"><!-- Debut Menu -->
<ul id="header_menu">
        <li title="" style="height:30px;background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;">
        <span style="text-align: center;"><a href="index.php" style="background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;">Accueil</a></span>
        </li>        

        <li title="" style="height:30px;background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;">
        <span style="text-align: center;"><a href="modules.php?ModPath=contact&amp;ModStart=contact" style="background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;">Nous contacter</a></span>
        </li>

        <li title="" style="height:30px;background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;">
        <span style="text-align: center;"><a href="faq.php" style="background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;">Questions Fréquentes</a></span>
        </li>

<?php
if (autorisation(1)) {
      echo "<li title=\"\" style=\"height:30px;background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;\">
      <span style=\"text-align: center;\"><a href=\"forum.php\" style=\"background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;\"> Forums </a></span></li>";

      echo "<li title=\"\" style=\"height:30px;background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;\">
      <span style=\"text-align: center;\"><a href=\"memberslist.php\" style=\"background:url('themes/Mouse-IT2/images/LBlocs/bg_menu_top.jpg') repeat-x;\"> Annuaire </a></span></li>";
}
?>
</ul>
</div><!-- Fin Menu -->