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.
WF-Website/vue/favorits.php

25 lines
627 B

<?php
global $twig;
// Rendu de l'en-tête
echo $twig->render('head.html.twig', [
'title' => "Accueil",
'style' => "public/styles/styleAccueil.css",
]);
// Rendu du bandeau
echo $twig->render('bandeau.html.twig');
echo "<h2>Favorits</h2>";
echo "<div class='suggestions-container'>";
foreach ($suggestions as $suggestion) {
echo $twig->render('favorits.html.twig', [
'quote' => $suggestion['content'],
'movie' => $suggestion['title'],
'character' => $suggestion['caracter'],
'year' => $suggestion['dates'],
'imagePath' => $suggestion['imgpath']
]);
}
echo "</div>";
?>