forked from ghouar-t/SaeDEV2.2
57 lines
2.1 KiB
PHP
57 lines
2.1 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="icon" href="https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2//img/jo2024.jpg">
|
|
<link rel="stylesheet" href="https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/css/style.css">
|
|
<title>Évènements - Jeux Olympiques</title>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1 class='Hello'><?php echo $event -> Nom; ?></h1>
|
|
<nav>
|
|
<?php
|
|
if (isset($_SESSION['login'])) {
|
|
echo " <a href='https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/' class='categorie'>Page d'accueil</a>";
|
|
echo " <a href='https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/php/profil.php'><img class='profil' src='https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/img/photo-profil.png' alt='profil'></a>";
|
|
echo "<a href='https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/php/.php' class='categorie'>Déconnexion</a>";
|
|
}
|
|
else {
|
|
echo "<a href='https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/' class='categorie'>Page d'accueil</a>";
|
|
echo "<a href='https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/php/connexion.php' class='categorie'>Connexion</a>";
|
|
echo "<a href='https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/php/inscription.php' class='categorie'>Inscription</a>";
|
|
}
|
|
?>
|
|
</nav>
|
|
</header>
|
|
|
|
<?php echo $event -> Nom; ?>
|
|
|
|
|
|
<table>
|
|
<?php
|
|
echo "<tr><td><b> Sport : </b> {$event ->Sport}</td></tr>";
|
|
echo "<tr><td><b> Lieux : </b>{$event ->Lieux}</td></tr>";
|
|
echo "<tr><td><b> Genre : </b> {$event ->Date}</td></tr>";
|
|
echo "<tr><td><b> Résumé : </b>{$event ->Description} </td></tr>";
|
|
echo "<tr><td><b> Pays : </b> {$event ->NbInscrit}</td></tr>";
|
|
echo "<tr><td><b> Casting : </b> <br>";
|
|
|
|
|
|
//foreach($actors as $act){
|
|
// echo "{$act['prenom']} {$act['nom']} as {$act['nomRole']}, <br> ";
|
|
//}
|
|
//echo " <a href = '/~ghouar-t/TPCodeIgniter/CI3/'> Retour</a>";
|
|
|
|
//echo "</td></tr>";
|
|
?>
|
|
|
|
</tables>
|
|
|
|
<footer>
|
|
<?php require_once('https://dwarves.iut-fbleau.fr/~ghouar-t/SaeDEV2.2/php/footer.php'); ?>
|
|
//</footer>
|
|
|
|
|
|
</body>
|
|
</html>
|