PROJET-WEB_STRI1A/WEB/ressources/navbarhtml.php

19 lines
951 B
PHP
Raw Permalink Normal View History

2019-05-16 14:49:29 +02:00
<?php
2019-05-17 09:18:14 +02:00
$path = "..";
if (file_exists("./inscription.php")) {
2019-05-21 16:06:03 +02:00
$path = ".";
2019-05-17 09:18:14 +02:00
}
2019-05-16 14:49:29 +02:00
?>
<div id="menuDiv">
<nav id="menu">
2019-05-22 16:47:07 +02:00
<div id="divFlex"><div id="divlogo"><img src="../ressources/logo.png" alt="logo Upssi'Covoit" id="logo"/></div></div>
2019-05-22 14:04:39 +02:00
<a class="menuItem" href="<?php echo $path ; ?>../tableauBord/tableauBord.php">Tableau de bord</a>
2019-05-16 14:49:29 +02:00
<a class="menuItem" href="<?php echo $path ; ?>/inscription.php">Trajets publiés</a>
<a class="menuItem" href="<?php echo $path ; ?>/inscription.php">Trajets réservés</a>
2019-05-22 17:12:09 +02:00
<a class="menuItem" href="<?php echo $path ; ?>../avis_recus/avis_recus.php">Avis reçus</a>
<a class="menuItem" href="<?php echo $path ; ?>../avis_laisses/avis_laisses.php">Avis laissés</a>
2019-05-22 14:04:39 +02:00
<a class="menuItem" href="<?php echo $path ; ?>../profil/profil.php">Profil</a>
<a class="menuItem" href="<?php echo $path ; ?>../deconnexion.php">Se déconnecter</a>
2019-05-16 14:49:29 +02:00
</nav>
</div>