diff --git a/CI3/application/views/evenement_info.php b/CI3/application/views/evenement_info.php index 6faf20f..3ec9cd8 100644 --- a/CI3/application/views/evenement_info.php +++ b/CI3/application/views/evenement_info.php @@ -1 +1,57 @@ - \ No newline at end of file + + + + + + + Évènements - Jeux Olympiques + + +
+

Nom; ?>

+ +
+ + Nom; ?> + + + +"; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; +?> + + + + + + + + \ No newline at end of file diff --git a/CI3/application/views/footer.php b/CI3/application/views/footer.php deleted file mode 100644 index 6b4e3b7..0000000 --- a/CI3/application/views/footer.php +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/css/style.css b/css/style.css index 133015f..dc0cd82 100644 --- a/css/style.css +++ b/css/style.css @@ -183,6 +183,8 @@ color: #000000; } - .Event{ - color: #ffffff; + table.Event{ + color: #000000; + text-decoration: none; + column-width: 60rem; } \ No newline at end of file diff --git a/php/evenement.php b/php/evenement.php index 25b66cc..c92e370 100644 --- a/php/evenement.php +++ b/php/evenement.php @@ -7,9 +7,9 @@ $db = initDatabase(); // Initialisation des événements si la table est vide $event = "SELECT * FROM evenement"; if (mysqli_num_rows(mysqli_query($db, $event)) == 0) { - mysqli_query($db, "INSERT INTO evenement VALUES(1, 'Ceremonie d ouverture des JO', 'Tour Eiffel', '2024-07-26', 'debut des JO', 0)"); - mysqli_query($db, "INSERT INTO evenement VALUES(2, 'Football', 'Stade des Princes', '2024-07-27', 'premier match de foot', 0)"); - mysqli_query($db, "INSERT INTO evenement VALUES(3, 'Natation', 'Piscine Olympique', '2024-07-27', 'premiere course', 0)"); + mysqli_query($db, "INSERT INTO evenement VALUES(1, 'Ceremonie d ouverture des JO','Cérémonie', 'Tour Eiffel', '2024-07-26', 'debut des JO', 0)"); + mysqli_query($db, "INSERT INTO evenement VALUES(2, 'match d ouverture Football','Football', 'Stade des Princes', '2024-07-27', 'premier match de foot', 0)"); + mysqli_query($db, "INSERT INTO evenement VALUES(3, 'course d ouverture','Natation', 'Piscine Olympique', '2024-07-27', 'premiere course', 0)"); $event = mysqli_query($db, "SELECT * FROM evenement"); } @@ -88,19 +88,20 @@ $event = mysqli_stmt_get_result($stmt); -
Sport : {$event ->Sport}
Lieux : {$event ->Lieux}
Genre : {$event ->Date}
Résumé : {$event ->Description}
Pays : {$event ->NbInscrit}
Casting :
"; + + + //foreach($actors as $act){ + // echo "{$act['prenom']} {$act['nom']} as {$act['nomRole']},
"; + //} + //echo " Retour"; + + //echo "
+
-
- - - +
+ + + + "; + echo ""; } ?>
SportLieux de l'évènementDateNombre de ParticipantNomSportLieux de l'évènementDateNombre de Participant

".$row['Sport']."

".$row['Lieux']."

".$row['Date']."

".$row['NbInscrit']."

".$row['Nom']."

".$row['Sport']."

".$row['Lieux']."

".$row['Date']."

".$row['NbInscrit']."