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

fix: navbar

parent 1d64a7f6
Branches master
No related merge requests found
......@@ -17,18 +17,11 @@
</a>
</li>
<?php if(isset($_SESSION['username'])):?>
<?php if($_SESSION["role"]=='customer'):?>
<li>
<a class="book-list" href="#">
<img src="<?= BASE_URL ?>/icon/dashboard.svg" alt="Dashboard Icon">
Dashboard
</a>
</li>
<?php elseif($_SESSION["role"]=='admin') :?>
<?php if($_SESSION["role"]=='admin') :?>
<li>
<a class="customer" href="/user/update">
<img src="<?= BASE_URL ?>/icon/dashboard.svg" alt="Customer Icon">
Customers
Users
</a>
</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