first commit

This commit is contained in:
Val Jenson
2025-06-14 19:08:52 +02:00
commit f74d81fba4
40 changed files with 2807 additions and 0 deletions

24
controler/menu-profil.php Normal file
View File

@@ -0,0 +1,24 @@
<?php $pseudo = $_SESSION['pseudo'];
$role = getUserRole($pseudo);?>
<link rel="stylesheet" href="../css/profil.css">
<nav class="menu">
<a href="../views/index.php"><img src="../img/logov2.png" alt="Logo 'Vendeur de rêve'" width="175" height="auto"></a>
<ul>
<li class="but1">
<a href="../views/index.php">ACCUEIL</a>
</li>
<li class="but1">
<a href="../views/my_event.php">MES ÉVÉNEMENTS</a>
</li>
<li class="but1">
<a href="../views/profil.php">MON PROFIL</a>
</li>
<?php if ($role === 'admin'): ?>
<li class="but1">
<a href="../views/creator.php">CRÉER ÉVÈNEMENT</a>
</li>
<?php endif; ?>
</ul>
</nav>