diff options
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -14,14 +14,16 @@ session_start(); <nav> <a href="/index.php">Activity Plan</a> <a 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="active right" href="admin.php">Administration</a>'; + echo '<a class="active" href="admin.php">Administration</a>'; + echo '<a href="/logout.php">Logout</a>'; } else { - echo '<a class="active right" href="/admin.php">Login</a>'; + echo '<a class="active" href="/admin.php">Login</a>'; } ?> + </span> </nav> <main> <?php |