From d35a39644ea9a30ba9d53ecbda385deb43578fef Mon Sep 17 00:00:00 2001 From: AudricV <74829229+AudricV@users.noreply.github.com> Date: Fri, 20 Jan 2023 10:26:51 +0100 Subject: [PATCH] Add search results view --- Views/search/search.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Views/search/search.php diff --git a/Views/search/search.php b/Views/search/search.php new file mode 100644 index 0000000..136f56c --- /dev/null +++ b/Views/search/search.php @@ -0,0 +1,26 @@ + +
+ + +
+ + "> + +
+
+ Aucun résultat'; + echo '

Assurez-vous d\'avoir rentré correctement vos termes de recherche ou essayez des mots clefs différents.

'; + } else { + foreach ($search_results as $key => $value) { + View::show("common/recipe", $value); + } + } + ?> +
+