parent
8c848bc67d
commit
82b2b047c5
@ -1,22 +1,15 @@
|
||||
<?php
|
||||
global $twig;
|
||||
|
||||
|
||||
echo $twig->render('head.html.twig', [
|
||||
'title' => "Quiz",
|
||||
'style' => "../public/styles/styleQuiz.css",
|
||||
'scripts' => array("../public/script/theme-toggle-double-param.js")
|
||||
]);
|
||||
|
||||
|
||||
// Rendu du bandeau
|
||||
echo $twig->render('bandeau.html.twig');
|
||||
|
||||
echo $twig->render('quiz.html.twig', [
|
||||
'idQuiz'=>$id ,
|
||||
'question' => $question,
|
||||
'id'=>$idquestion,
|
||||
'nb' => $num + 1,
|
||||
'nbFinal' => $nbQuestion]);
|
||||
?>
|
||||
|
||||
'quizList' => $quizs
|
||||
]);
|
||||
|
Loading…
Reference in new issue