2024-05-28 15:40:57 +02:00
|
|
|
<!DOCTYPE html>
|
2024-06-11 22:49:01 +02:00
|
|
|
<html lang="fr">
|
2024-05-28 15:40:57 +02:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2024-06-11 22:49:01 +02:00
|
|
|
<meta name="title" content="Jeux Olympiques - Paris 2024" />
|
|
|
|
<meta name="description" content="Site non-officiel des Jeux-Olympiques Paris 2024 (SAÉ Web)" />
|
|
|
|
<meta name="keywords" content="Jeux-Olympiques, Paris, 2024, Informatique, SAÉ" />
|
|
|
|
<meta name="author" content="Juliette CHARPENTIER & Loris BALOCCHI" />
|
|
|
|
<meta name="robots" content="index, follow" />
|
|
|
|
<meta name="revisit-after" content="7 days" />
|
|
|
|
<meta name="language" content="French" />
|
|
|
|
<meta name="theme-color" content="#d41942" />
|
2024-05-29 16:16:49 +02:00
|
|
|
<link rel="stylesheet" href="/styles/main.css" />
|
|
|
|
<link rel="stylesheet" href="/styles/header.css" />
|
|
|
|
<link rel="stylesheet" href="/styles/footer.css" />
|
2024-05-28 15:40:57 +02:00
|
|
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet" />
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32"
|
|
|
|
href="https://tickets.paris2024.org/obj/media/FR-Paris2024/specialLogos/favicons/favicon-32x32.png" />
|
2024-06-11 10:56:40 +02:00
|
|
|
|
2024-05-29 16:16:49 +02:00
|
|
|
<title>Accueil | Jeux Olympiques - Paris 2024</title>
|
2024-05-28 15:40:57 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2024-06-09 17:07:43 +02:00
|
|
|
<?php include ($_SERVER['DOCUMENT_ROOT'] . '/views/header.php') ?>
|
2024-05-28 15:40:57 +02:00
|
|
|
|
|
|
|
<!-- code de la page ici -->
|
|
|
|
<h1>Accueil</h1>
|
2024-05-29 16:16:49 +02:00
|
|
|
<p class="text">Bienvenue sur le site des Jeux Olympiques de Paris 2024 !</p>
|
2024-06-13 01:19:46 +02:00
|
|
|
<p class="text">Vous trouverez ici toutes les informations nécessaires pour suivre les Jeux Olympiques de Paris
|
2024-05-29 16:16:49 +02:00
|
|
|
2024.</p>
|
|
|
|
<p class="text">Vous pourrez également créer un compte pour accéder à des fonctionnalités supplémentaires.</p>
|
|
|
|
|
2024-06-11 10:56:40 +02:00
|
|
|
<!-- barre de recherche -->
|
2024-06-11 22:49:01 +02:00
|
|
|
<div class="searchbar">
|
2024-06-13 01:19:46 +02:00
|
|
|
<form action="search" method="get">
|
|
|
|
</form>
|
|
|
|
<input id="searchbar" name="search" placeholder="Rechercher évènement" type="text">
|
2024-06-11 22:49:01 +02:00
|
|
|
<button type="submit"><i class="fas fa-search"></i> Rechercher</button>
|
2024-06-13 01:19:46 +02:00
|
|
|
</form>
|
2024-06-11 22:49:01 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
2024-06-13 01:19:46 +02:00
|
|
|
$evenement = isset($_GET['search']) ? $_GET['search'] : '';
|
|
|
|
$stmt = $db->prepare("SELECT discipline FROM olympic_discipline WHERE discipline = ?");
|
|
|
|
$stmt->bind_param("s", $evenement);
|
|
|
|
$stmt->execute();
|
|
|
|
$result = $stmt->get_result();
|
|
|
|
while ($row = $result->fetch_assoc()) {
|
|
|
|
echo $row['discipline'];
|
|
|
|
}
|
|
|
|
$stmt->close();
|
2024-06-11 22:49:01 +02:00
|
|
|
?>
|
2024-06-11 10:56:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-09 17:07:43 +02:00
|
|
|
<?php include ($_SERVER['DOCUMENT_ROOT'] . '/views/footer.php') ?>
|
2024-05-28 15:40:57 +02:00
|
|
|
|
|
|
|
<script src="https://kit.fontawesome.com/f16a36bad3.js" crossorigin="anonymous"></script>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|