From 1a64a424dcf8da0c43b4f330d130217c1d8b3d8f Mon Sep 17 00:00:00 2001 From: Kilian Date: Tue, 5 Mar 2024 08:57:01 +0100 Subject: [PATCH] v240301 --- .gitignore | 2 ++ public_html/2022/index.php | 7 +++---- public_html/2022/lib/mainmenu.php | 4 +--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 243c4aa..e2b51c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ old/* +public_html\2022\lib\vendor\* +public_html\2022\newcms\lib\vendor\* diff --git a/public_html/2022/index.php b/public_html/2022/index.php index 0db1f0b..6ff9cac 100644 --- a/public_html/2022/index.php +++ b/public_html/2022/index.php @@ -355,10 +355,9 @@ break;
    query($abfrage); - $count = 0; + $abfrage = "SELECT * FROM editioun_2024 WHERE active = '1' ORDER BY date DESC LIMIT 5"; + $result = $conn->query($abfrage); + $count = 0; while($info = $result->fetch_assoc()) { diff --git a/public_html/2022/lib/mainmenu.php b/public_html/2022/lib/mainmenu.php index 2305bb8..e8df646 100644 --- a/public_html/2022/lib/mainmenu.php +++ b/public_html/2022/lib/mainmenu.php @@ -124,7 +124,7 @@ ul.nav.uppercase.normal.alegreya.big-texts > li > a:hover {color:#b8246d;} English
  1. Portugues
  2. Italiano
  3. -