From 7f110990dbaa3da580a157f7f0f6a5e869403bc8 Mon Sep 17 00:00:00 2001 From: Haidar <16521522@mahasiswa.itb.ac.id> Date: Sat, 7 Oct 2023 21:03:58 +0700 Subject: [PATCH] fix: fixing html bug --- app/views/Hall-of-Fame/index.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/Hall-of-Fame/index.php b/app/views/Hall-of-Fame/index.php index 0b01fd7..48aa290 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> -- GitLab