diff --git a/project/src/config/config.php b/project/src/config/config.php index effc792..7923968 100644 --- a/project/src/config/config.php +++ b/project/src/config/config.php @@ -8,6 +8,7 @@ $config = [ "mdp" =>''], "templates" => ["index" => 'vues/index.php', "pseudo" => 'pseudo.html', - "jouer" => "jouer.html"] + "pendu" => "pendu.html", + "penduScore" => 'penduScore.html'] ]; ?> \ No newline at end of file diff --git a/project/src/templates/jouer.html b/project/src/templates/jouer.html deleted file mode 100644 index 26adedb..0000000 --- a/project/src/templates/jouer.html +++ /dev/null @@ -1,19 +0,0 @@ - - -
- -Jeu : {{ dVue.nomJeu }}
-Pseudo : {{ dVue.pseudo }}
-Difficulte : {{ dVue.libelleDifficulte }}
- {% endif %} -Vous avez fais {{dVue.nbTours}} essais et {{dVue.nbFails}} erreur(s)
+ {% endif %} + + {% if dVue.scientifique is defined %} +Né(e) le : {{dVue.scientifique.dateNaiss}}
+Sexe : {{dVue.scientifique.sexe}}
+Domaine : {{dVue.scientifique.thematique}}
+{{dVue.scientifique.descriptif}}
+