<?

function dispMenu() {
  $str .= '<div id="menu"><ul>';
  $str .= '<li><a href="/" id="tabs_home" title="Accueil du site"><strong>Home</strong></a></li>';
  $str .= '<li><a href="/?html=News" id="tabs_members" title="Toute l\'actualit&eacute;s"><strong>Actualit&eacute;s</strong></a></li>';
  $str .= '<li><a href="/?html=Videos" id="tabs_members" title="Toutes nos videos"><strong>Vid&eacute;os</strong></a></li>';
  $str .= '<li><a href="/?html=Members" id="tabs_cours" title="Membres"><strong>Membres</strong></a></li>';
  //$str .= '<li><a id="tabs_cours" title="Fan"><strong>Fans</strong></a></li>';
  if ($_SESSION["user_right"] >= 10) {
    $str .= '<li><a href="/wiki/" id="tabs_members" title="Wiki" target=new><strong>Wiki</strong></a></li>';
    $str .= '<li><a href="/mailman/listinfo" id="tabs_members" title="Les listes de diffusions" target=new><strong>ML</strong></a></li>';
    $str .= '<li><a href="/munin" id="tabs_members" title="Supervision" target=new><strong>SPV</strong></a></li>';
  }
  if ($_SESSION["user_right"] >= 20) {
    $str .= '<li><a href="/?html=AdminHome" id="tabs_cours" title="Administration"><strong>Admin</strong></a></li>';
    $str .= '<li><a href="/phpmyadmin/" id="tabs_cours" title="DB Admin" target=new><strong>DB Admin</strong></a></li>';
  }
  $str .= '<li><a href="/?html=Contacts" id="tabs_releases" title="Contactez-nous"><strong>Contact</strong></a></li>';
  $str .= '</ul>';
  $str .= '&nbsp;<img alt="" src="images/puce.png" />&nbsp;&nbsp;';
  $str .= '<a href="https://'.$_SERVER['HTTP_HOST'].'/?html=Connection">';
  $str .= (($_SESSION["user_right"] > $GLOBALS["ANONYM"]) ? "D&eacute;connexion" : "Connexion");
  $str .= '</a>';
  $str .= "</div>";
  echo $str;
}

?>
