Deconnexion
This commit is contained in:
1 parent
52391d0bda
commit
3c40745ecf
3 files changed
+26
-2
No files matched your search
+11
-1
@@ -21,11 +21,21 @@ session_start();
|
||||
|
||||
<!-- Module de navigation -->
|
||||
<nav>
|
||||
|
||||
<a href="./../index.php">Accueil</a>
|
||||
<a href="./projects.php">Projets</a>
|
||||
<a href="./contact.php">Contact</a>
|
||||
<?php
|
||||
if (isset($_SESSION['user_id'])){
|
||||
?>
|
||||
<a href="../functions/disconnect.php">Deconnexion</a>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<a href="./login.php">Connexion</a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- Fonctionnalité future changement de thème dark / light et panneau admin -->
|
||||
</nav>
|
||||
|
||||
|
||||
Reference in new issue
Block a user