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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
| <?php
session_start();
if($_SESSION['login']!='admin')
{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title></title>
<META HTTP-EQUIV="refresh" CONTENT="2;URL=menu.php">
<link rel="stylesheet"type="text/css"href="design.css"/>
</head>
<body>
<ul>
<li><a href="accueil.php" target="corps"><font size =5>Accueil</a></li>
<li><a id="lien" href="formulaire.php" target="corps" ><font size =5>Formulaire</a></li>
</br>
<li><a id="lien" href="pass.php" target="corps" ><font size =5>Changement mot de passe</a></li>
<li><a id="lien" href="deco.html" target="corps"><font size =5>Déconnetion</a></li>
<li><a id="lien" href="dmd.php" target="corps"><font size =5>Voir les demandes</a></li>
</ul>
</body>
</html>
<?php
}
if($_SESSION['login']=='admin')
{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title></title>
<META HTTP-EQUIV="refresh" CONTENT="2;URL=menu.php">
<link rel="stylesheet"type="text/css"href="design.css"/>
</head>
<body>
<ul>
<li><a id="lien" href="toutesdemandes.php" target="corps" ><font size =5>Toutes les demandes</a></li>
<li><a id="lien" href="pass.php" target="corps" ><font size =5>Changement mot de passe</a></li>
<li><a id="lien" href="deco.html" target="corps"><font size =5>Déconnection</a></li>
<li><a id="lien" href="dmd.php" target="corps"><font size =5>Voir les demandes d'un utilisateur</a></li>
<li><a id="lien" href="modif.php" target="corps"><font size =5>Modifier/Supprimer une demande </a></li>
</ul>
</body>
</html>
<?php
}
?> |
Partager