Actualiser include/nav.php
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<nav>
|
||||
<a href="../dashboard.php">Dashboard</a>
|
||||
<a href="../admin_users.php">Utilisateurs</a>
|
||||
<a href="../admin_settings.php">Paramètres</a>
|
||||
<?php if(isset($_SESSION['role']) && $_SESSION['role'] === 'Admin'): ?>
|
||||
<a href="../admin_users.php">Utilisateurs</a>
|
||||
<a href="../admin_settings.php">Paramètres</a>
|
||||
<?php endif; ?>
|
||||
<a href="../logout.php">Déconnexion</a>
|
||||
</nav>
|
||||
<hr>
|
||||
Reference in New Issue
Block a user