Update file functions.php

This commit is contained in:
Jan BELLON 2024-03-14 22:46:12 +00:00
parent 8cfbf83f39
commit 6e85d1c9c9

View File

@ -85,9 +85,9 @@
echo ('<a href="' . $rootPageURL . 'news"><div class="nav-link">News</div></a>');
echo ('<a href="' . $rootPageURL . 'about"><div class="nav-link">A propos</div></a>');
/*if ($_SESSION['userLevel'] >= 3) {
if ($_SESSION['userLevel'] >= 3) {
echo ('<a href="' . $rootPageURL . 'admin"><div class="nav-link">Admin</div></a>');
}*/
}
if(isset($_SESSION['userID'])) {
echo ('<a href="' . $rootPageURL . 'account"><div class="nav-link">Profil</div></a>');