Skip to content
Snippets Groups Projects
Commit a7b28a6c authored by Alexander Jason's avatar Alexander Jason
Browse files

fix: navbar

parent 1d64a7f6
No related merge requests found
...@@ -17,18 +17,11 @@ ...@@ -17,18 +17,11 @@
</a> </a>
</li> </li>
<?php if(isset($_SESSION['username'])):?> <?php if(isset($_SESSION['username'])):?>
<?php if($_SESSION["role"]=='customer'):?> <?php if($_SESSION["role"]=='admin') :?>
<li>
<a class="book-list" href="#">
<img src="<?= BASE_URL ?>/icon/dashboard.svg" alt="Dashboard Icon">
Dashboard
</a>
</li>
<?php elseif($_SESSION["role"]=='admin') :?>
<li> <li>
<a class="customer" href="/user/update"> <a class="customer" href="/user/update">
<img src="<?= BASE_URL ?>/icon/dashboard.svg" alt="Customer Icon"> <img src="<?= BASE_URL ?>/icon/dashboard.svg" alt="Customer Icon">
Customers Users
</a> </a>
</li> </li>
<li> <li>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment