diff --git a/project/src/config/config.php b/project/src/config/config.php index 557d5a1..effc792 100644 --- a/project/src/config/config.php +++ b/project/src/config/config.php @@ -7,6 +7,7 @@ $config = [ "login" => 'postgres', "mdp" =>''], "templates" => ["index" => 'vues/index.php', - "pseudo" => 'pseudo.html'] + "pseudo" => 'pseudo.html', + "jouer" => "jouer.html"] ]; ?> \ No newline at end of file diff --git a/project/src/templates/jouer.html b/project/src/templates/jouer.html new file mode 100644 index 0000000..26adedb --- /dev/null +++ b/project/src/templates/jouer.html @@ -0,0 +1,19 @@ + + + + + Saisir Pseudo + + + +
+ {% if dVue is defined %} +

Jeu : {{ dVue.nomJeu }}

+

Pseudo : {{ dVue.pseudo }}

+

Difficulte : {{ dVue.libelleDifficulte }}

+ {% endif %} +
+ + + + \ No newline at end of file