|
|
@ -83,14 +83,12 @@ class ScienceQuizzController
|
|
|
|
|
|
|
|
|
|
|
|
$this->dVue['statJeu'] = $dStatJeu;
|
|
|
|
$this->dVue['statJeu'] = $dStatJeu;
|
|
|
|
|
|
|
|
|
|
|
|
$this->dVue['Jeu'] = $this->scienceQuizz->getJeu();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $twig->render($config['templates']['scienceQuizz'], ['dVue' => $this->dVue, 'dVueErreur' => $this->dVueErreur]);
|
|
|
|
echo $twig->render($config['templates']['scienceQuizz'], ['dVue' => $this->dVue, 'dVueErreur' => $this->dVueErreur]);
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
setTimeout(function() {
|
|
|
|
setTimeout(function() {
|
|
|
|
window.location.href = "/ScienceQuizzReponse.php";
|
|
|
|
window.location.href = "/scienceQuizzReponse.html";
|
|
|
|
}, 10000);
|
|
|
|
}, 30000);
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
}
|
|
|
|