Add the flight search and booking features.
[Project_webapp.git] / includes / header.php
index 2e32552db9b69ea1d17e2cc45623f82ca953a456..4dae57600b2162ab7a7bce5d6fae2d35a5ba0e74 100644 (file)
@@ -33,10 +33,15 @@ $is_logged_in = chk_logged_in();
 </div>
 <div id="menu">
     | <a href="<?php echo $configs['root_url'] ?>/index.php?page=home">Accueil</a>
-    | <a href="<?php echo $configs['root_url'] ?>/index.php?page=search">Rechercher un vol</a> |
+    | <a href="<?php echo $configs['root_url'] ?>/index.php?page=search">Rechercher un vol</a>
+    |
+    <?php
+    if ($is_logged_in) {
+        echo "<a href=\"" . $configs['root_url'] . "/index.php?page=reservations\">Mes re&#769;servations</a> |";
+    }
+    ?>
 </div>
 
-
 <?php