aboutsummaryrefslogtreecommitdiff
path: root/reservation.php
diff options
context:
space:
mode:
Diffstat (limited to 'reservation.php')
-rw-r--r--reservation.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/reservation.php b/reservation.php
index d557c1e..689f74e 100644
--- a/reservation.php
+++ b/reservation.php
@@ -14,14 +14,16 @@ session_start();
<nav>
<a href="index.php">Activity Plan</a>
<a class="active" href="reservation.php">Make reservation</a>
+ <span class="right">
<?php
if (isset($_SESSION['admin']) && $_SESSION['admin'] == true) {
- echo '<a class="right" href="/logout.php">Logout</a>';
- echo '<a class="right" href="admin.php">Administration</a>';
+ echo '<a href="admin.php">Administration</a>';
+ echo '<a href="/logout.php">Logout</a>';
} else {
- echo '<a class="right" href="/admin.php">Login</a>';
+ echo '<a href="/admin.php">Login</a>';
}
?>
+ </span>
</nav>
<main>