2019-05-23 02:11:30 +02:00
|
|
|
<?php
|
|
|
|
require_once ('../connexionBD.php');
|
|
|
|
require_once ('../ressources/user.php');
|
|
|
|
require_once ('verifconnecte.php');
|
2019-05-23 08:19:11 +02:00
|
|
|
if (!strcmp(getUser($db, $mail)['estadmin'], 't')) {
|
2019-05-23 02:11:30 +02:00
|
|
|
require_once ('../ressources/navbaradminhtml.php');
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
echo"
|
|
|
|
<div id='menuDiv'>
|
|
|
|
<nav id='menu'>
|
|
|
|
<div id='divFlex'><div id='divlogo'><img src='../ressources/logo.png' alt='logo Upssi'Covoit' id='logo'/></div></div>
|
|
|
|
<a class='menuItem' href='../tableauBord/tableauBord.php''>Tableau de bord</a>
|
|
|
|
<a class='menuItem' href='../listeTrajetPublie/liste_trajet_publie.php'>Trajets publiés</a>
|
|
|
|
<a class='menuItem' href='../listeTrajetReserve/liste_trajet_reserve.php'>Trajets réservés</a>
|
|
|
|
<a class='menuItem' href='../avis_recus/avis_recus.php'>Avis reçus</a>
|
|
|
|
<a class='menuItem' href='../avis_laisses/avis_laisses.php'>Avis laissés</a>
|
|
|
|
<a class='menuItem' href='../profil/profil.php'>Profil</a>
|
|
|
|
<a class='menuItem' href='../deconnexion.php'>Se déconnecter</a>
|
2019-05-16 14:49:29 +02:00
|
|
|
</nav>
|
2019-05-23 02:11:30 +02:00
|
|
|
</div>";
|
|
|
|
}
|
|
|
|
?>
|