After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 467 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 160 KiB |
After Width: | Height: | Size: 467 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 467 KiB |
@ -1,29 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Créer un Événement</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Créer un Événement</h1>
|
||||
<form action="index.php?action=creerEvenement" method="post" enctype="multipart/form-data">
|
||||
|
||||
<label for="titre">Titre de l'Événement :</label>
|
||||
<input type="text" id="titre" name="titre" required><br><br>
|
||||
|
||||
<label for="description">Description de l'Événement :</label>
|
||||
<textarea id="description" name="description" rows="4" required></textarea><br><br>
|
||||
|
||||
<label for="date">Date de l'Événement :</label>
|
||||
<input type="date" id="date" name="date" required><br><br>
|
||||
|
||||
<label for="nbPlaceMax">Nombre maximal d'inscrits :</label>
|
||||
<input type="number" id="nbPlaceMax" name="nbPlaceMax" required><br><br>
|
||||
|
||||
<input type="file" name="image" id="image" required>
|
||||
|
||||
<br>
|
||||
<input type="submit" value="Créer l'Événement">
|
||||
</form>
|
||||
<div class="container mt-5">
|
||||
<h1 class="text-center">Créer un Événement</h1>
|
||||
<form action="index.php?action=creerEvenement" method="post" enctype="multipart/form-data">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="titre">Titre de l'Événement :</label>
|
||||
<input type="text" class="form-control" id="titre" name="titre" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="description">Description de l'Événement :</label>
|
||||
<textarea class="form-control" id="description" name="description" rows="4" required></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="date">Date de l'Événement :</label>
|
||||
<input type="date" class="form-control" id="date" name="date" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="nbPlaceMax">Nombre maximal d'inscrits :</label>
|
||||
<input type="number" class="form-control" id="nbPlaceMax" name="nbPlaceMax" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="image">Image de l'Événement :</label>
|
||||
<input type="file" class="form-control-file" name="image" id="image" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<input type="submit" class="btn btn-primary" value="Créer l'Événement">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|