You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
913 B
23 lines
913 B
<?php
|
|
use Enum\TypeSourceEnum;
|
|
|
|
global $twig;
|
|
|
|
echo $twig->render('head.html.twig', array(
|
|
'title' => "Quote",
|
|
'style' => "../public/styles/styleQuote.css",
|
|
'scripts' => array("../public/script/theme-toggle-double-param.js", "../public/script/copy.js")
|
|
));
|
|
echo $twig->render('bandeau.html.twig');
|
|
echo $twig->render('quote.html.twig', array(
|
|
'srcImg' => $q->getImgPath(),
|
|
'nameCarac' => $q->getCarac(),
|
|
'quoteContent' => $q->getContent(),
|
|
'sourceName' => $q->getTitleSrc(),
|
|
'dateSortie' => $q->getDateSrc(),
|
|
'nbLike' => $q->getLike(),
|
|
'idQuote' => $q->getId(),
|
|
'com' => $c,
|
|
'type' => $q->getType()->name,
|
|
'fav' => $f));
|
|
?>
|