getPseudo(); $nomJeu = $configurationJeu->getJeu()->getNom(); $libelleDifficulte = $configurationJeu->getDifficulte()->getLibelle(); $dVue["nomJeu"] = $nomJeu; $dVue["pseudo"] = $pseudo; $dVue["libelleDifficulte"] = $libelleDifficulte; echo $twig->render($config["templates"]["jouer"], ["dVue"=>$dVue]); } }else{ header("Location: ."); } } }