diff --git a/app/view/Jeu/display.html b/app/view/Jeu/display.html index ca6867cd097b34862bbdd3619264c7b9eafd1f51..0d57d2eab2ae7420796868a154bdfcc2189a7614 100644 --- a/app/view/Jeu/display.html +++ b/app/view/Jeu/display.html @@ -1,18 +1,28 @@ -<!DOCTYPE html> -<html> -<head> - <meta charset="utf-8"/> - <title>Fiche d'un jeu</title> -</head> -<body> - <header> - <h1>Fiche du jeu <?php echo $this->jeu->nom; ?></h1> - </header> - <p><em>Description : </em><?php echo $this->jeu->description; ?></p> - <footer> - <p>Pied de page...</p> - </footer> -</body> +<?php $page_title = "Fiche du jeu ".$this->jeu->nom; + $RACINE = "../.."; ?> +<?php include(ROOT."/app/view/Includes/header.include.html"); ?> + <article> + <h2><?php echo $this->jeu->nom; ?></h2> + <aside class="jeu-image"><img src="<?php echo $RACINE; ?>/app/view/Includes/images/Cosmic_Encounter_(FFG).jpg" alt="Logo du jeu <?php echo $this->jeu->nom; ?>" /> + </aside> + <div class="row"> + <p class="col-7"> + <?php echo $this->jeu->description; ?> + </p> + </div> + </article> -</html> + <div class="classement-card"> + <table class="classement-table"> + <tr><th>N°</th><th colspan="2">Joueur</th><th>Score</th></tr> + <tr><td>1</td><td><a href="profil.html"><img src="<?php echo $RACINE; ?>/app/view/Includes/images/dummy_web_page.jpg" alt="Image de profil de <nom>" class="classement-profil-img"></a></td><td><a href="profil.html">Gaston</a></td><td>3000000</td></tr> + <tr><td>2</td><td><a href="profil.html"><img src="<?php echo $RACINE; ?>/app/view/Includes/images/profil_42.jpg" alt="Image de profil de <nom>" class="classement-profil-img"></a></td><td><a href="profil.html">Laurent</a></td><td>150000</td></tr> + <tr><td>3</td><td><a href="profil.html"><img src="<?php echo $RACINE; ?>/app/view/Includes/images/dummy_web_page.jpg" alt="Image de profil de <nom>" class="classement-profil-img"></a></td><td><a href="profil.html">Jerémy</a></td><td>15200</td></tr> + <tr><td>4</td><td><a href="profil.html"><img src="<?php echo $RACINE; ?>/app/view/Includes/images/profil_42.jpg" alt="Image de profil de <nom>" class="classement-profil-img"></a></td><td><a href="profil.html">Lucas</a></td><td>500</td></tr> + <tr><td>5</td><td><a href="profil.html"><img src="<?php echo $RACINE; ?>/app/view/Includes/images/dummy_web_page.jpg" alt="Image de profil de <nom>" class="classement-profil-img"></a></td><td><a href="profil.html">Christophe</a></td><td>-400</td></tr> + + </table> + </div> + +<?php include(ROOT."/app/view/Includes/footer.include.html"); ?>