From ca1c97b94dd77e6941082e6edc3eea1357e78b4c Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 19 Jan 2023 16:07:54 +0100 Subject: [PATCH] category page --- Views/category/category.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Views/category/category.php b/Views/category/category.php index 6784b27..3cd02b7 100644 --- a/Views/category/category.php +++ b/Views/category/category.php @@ -1,16 +1,19 @@ "1", "nom" => "Quaso", "img" => "4.jpg", "note" => "4.5" ), array( + "id" => "1", "nom" => "Quaso", "img" => "4.jpg", "note" => "4.5" ), array( + "id" => "1", "nom" => "Quaso", "img" => "4.jpg", "note" => "4.5" @@ -32,11 +35,11 @@ $array_categories = array( $recipes) { echo '
  • -

    $key

    +

      '; foreach ($recipes as $recipe) { echo '
    • '; - View::show("../common/recipe", $recipe); + View::show("common/recipe", $recipe); echo '
    • '; } echo '