Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?
function dispMenu() {
$str = '<div id="menu"><ul>';
$str .= '<li><a href="index.php?section=Home" id="tabs_home" title="Accueil du site"><strong>Home</strong></a></li>';
$str .= '<li><a href="index.php?section=Videos" id="tabs_members" title="Nos videos"><strong>Vidéos</strong></a></li>';
#$str .= '<li><a href="index.php?section=Jukebox" id="tabs_cours" title="Le jukebox"><strong>Jukebox</strong></a></li>';
$str .= '<li><a href="index.php?section=Photos" id="tabs_cours" title="Nos Photos"><strong>Photos</strong></a></li>';
$str .= '<li><a href="index.php?section=Members" id="tabs_cours" title="Nos Membres"><strong>Membres</strong></a></li>';
if ($_SESSION["user_right"] >= 5) {
$str .= '<li><a href="index.php?section=AdminHome" id="tabs_cours" title="Toutes nos realisations"><strong>Admin</strong></a></li>';
}
$str .= '<li><a href="index.php?section=Contacts" id="tabs_releases" title="Contactez nous"><strong>Contact</strong></a></li>';
#$str .= '<li><a href="eptvforum/" id="tabs_releases" title="Le forum"><strong>Forum</strong></a></li>';
$str .= '</ul>';
$str .= ' <img alt="" src="images/puce.png" /><a href="index.php?section=Connection">
';
if ($_SESSION["user_right"] > $GLOBALS["ANONYM"]) {
$str .= "Déconnexion";
}
else {
$str .= "Connexion";
}
$str .= '</a></div>';
echo $str;
}
?>