Esempio n. 1
0
<?php

require_once "conf/top.php";
include_once 'models/class.Year.php';
include_once 'models/class.Cours.php';
$annee = new Year();
$cours = new Cours();
$annee_list = $annee->getAll();
$cours_list_s1 = $cours->coursListS1();
$cours_list_s2 = $cours->coursListS2();
echo $twig->render("cours.html.twig", array("annee" => $annee_list, "cours_s1" => $cours_list_s1, "cours_s2" => $cours_list_s2));