repositories
/
Project_webapp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the flight search and booking features.
[Project_webapp.git]
/
includes
/
header.php
diff --git
a/includes/header.php
b/includes/header.php
index 2e32552db9b69ea1d17e2cc45623f82ca953a456..4dae57600b2162ab7a7bce5d6fae2d35a5ba0e74 100644
(file)
--- a/
includes/header.php
+++ b/
includes/header.php
@@
-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>
</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 réservations</a> |";
+ }
+ ?>
</div>
</div>
-
<?php
<?php