<?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));
?>