travail en colab avec alexis et nicolas sur un partage
This commit is contained in:
parent
a09f32f75d
commit
ceb80a7bbd
@ -122,7 +122,7 @@
|
|||||||
|
|
||||||
.inscription {
|
.inscription {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
height: 900px;
|
height: 950px;
|
||||||
margin: 100px auto ; /* Augmenter la marge en haut à 100px */
|
margin: 100px auto ; /* Augmenter la marge en haut à 100px */
|
||||||
padding: 40px;
|
padding: 40px;
|
||||||
background-color: #d4d4d4;
|
background-color: #d4d4d4;
|
||||||
|
@ -76,9 +76,9 @@ mysqli_close($db);
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="inscription" id="inscription">
|
<div class="inscription" id="inscription">
|
||||||
<u><i><h2>Inscription</h2></i></u><br>
|
<u><i><h2>Création évènements</h2></i></u><br>
|
||||||
<form action="" method="post">
|
<form action="" method="post">
|
||||||
<label for="nom">Nom évènement:</label><br>
|
<label for="nom">Nom évènement :</label><br>
|
||||||
<input type="text" id="nom" name="nom" required><br><br>
|
<input type="text" id="nom" name="nom" required><br><br>
|
||||||
<label for="sport">Sport :</label><br>
|
<label for="sport">Sport :</label><br>
|
||||||
<input type="text" id="sport" name="sport" required><br><br>
|
<input type="text" id="sport" name="sport" required><br><br>
|
||||||
|
@ -111,7 +111,7 @@ $event = mysqli_stmt_get_result($stmt);
|
|||||||
<?php
|
<?php
|
||||||
if (isset($_SESSION['role'])) {
|
if (isset($_SESSION['role'])) {
|
||||||
if ($_SESSION['role']=='organizer') {
|
if ($_SESSION['role']=='organizer') {
|
||||||
echo "<a href='creer_event.php' class='categorie'>Créer un évènement</a>";
|
echo "<br><a href='creer_event.php' class='categorie'>Créer un évènement</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user