diff --git a/app/views/Hall-of-Fame/index.php b/app/views/Hall-of-Fame/index.php index 0b01fd74607a742544e00d1d204c6d9faaa8127a..48aa2904937bc39b05c60d7bd188b943f4ecaf50 100644 --- a/app/views/Hall-of-Fame/index.php +++ b/app/views/Hall-of-Fame/index.php @@ -63,6 +63,12 @@ session_start(); <th>Level</th> <th>Total Achievement</th> <th>Total quest</th> + <?php + if (isset($_SESSION['isAdmin']) && $_SESSION['isAdmin'] === '1') { + echo '<th>Edit</th>'; + echo '<th>Delete</th>'; + } + ?> </tr> </thead> diff --git a/app/views/admin-Hall-of-Fame/index.php b/app/views/admin-Hall-of-Fame/index.php index bbb77f6dd10a05ab856d374b972f663cca65a6dd..17a0a9898aee150b4f3a2e00843d0b05318021e7 100644 --- a/app/views/admin-Hall-of-Fame/index.php +++ b/app/views/admin-Hall-of-Fame/index.php @@ -2,7 +2,7 @@ session_start(); if (!isset($_SESSION['isAdmin']) || $_SESSION['isAdmin'] !== '1') { - header('Location: go+away+you+hackers'); + header('Location: /error/403.php/?haha=go+away+you+hackers'); exit(); } ?> diff --git a/public/css/Hall-of-Fame.css b/public/css/Hall-of-Fame.css index c9913dcb42a83cdd5e985be6b0cc778624e9443a..ab1f8a58ff2121cf7739a607e5008b1765b90f4e 100644 --- a/public/css/Hall-of-Fame.css +++ b/public/css/Hall-of-Fame.css @@ -1,7 +1,16 @@ +body { + background-image: url('../img/basic-wallpaper5.jpeg'); + text-align: center; + font-family: arial; + background-size: cover; + background-repeat: no-repeat; + background-attachment: fixed; + background-position: center center; + } + .head-container { text-align: center; padding-top: 50px; - position: relative; } @@ -70,10 +79,11 @@ option:hover { .body-container { + /* background-image: url('../img/basic-wallpaper5.jpeg'); */ /* max-width: 800px; */ /* margin: 20px auto; */ padding: 20px; - background-color: #192e3a; + /* background-color: #192e3a; */ /* border: 1px solid #ccc; border-radius: 5px; */ /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); */ @@ -103,7 +113,7 @@ th, td { } th { - background-color: #192e3a; + background-color: #1f1f1f; color: #fff; }