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