diff options
author | Mateja <mail@matejamaric.com> | 2020-10-04 15:58:27 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-04 15:58:27 +0200 |
commit | aa11550b9e05f9a5f9a091bc524cabf1c3a8bda0 (patch) | |
tree | 472c9a7869329656485fb984de08ebea24c9b593 /index.php | |
parent | 7c68757f672691d29c749fcbf3a95b22baffcede (diff) | |
download | old-php-yota-aa11550b9e05f9a5f9a091bc524cabf1c3a8bda0.tar.gz old-php-yota-aa11550b9e05f9a5f9a091bc524cabf1c3a8bda0.zip |
Release 0.1
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,10 +17,10 @@ session_start(); <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> |