From 7b06146e61f58bbf60f8b86ecf85ad98ccfd483d Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Thu, 2 Apr 2026 12:35:28 +0000 Subject: [PATCH] modify ads --- admin_ads.php | 2 +- display.php | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/admin_ads.php b/admin_ads.php index c920e56..45e6532 100644 --- a/admin_ads.php +++ b/admin_ads.php @@ -143,7 +143,7 @@ qh_page_start(
-
+
diff --git a/display.php b/display.php index 43c5439..18e6c0c 100644 --- a/display.php +++ b/display.php @@ -8,7 +8,7 @@ $queueOverview = qh_queue_overview(); $activeVideos = []; try { - $stmt = db()->query("SELECT video_path FROM hospital_ads WHERE is_active = 1 ORDER BY sort_order ASC, id DESC LIMIT 10"); + $stmt = db()->query("SELECT video_path FROM hospital_ads WHERE is_active = 1 ORDER BY sort_order ASC, id DESC "); if ($stmt) { $activeVideos = $stmt->fetchAll(PDO::FETCH_COLUMN); } @@ -78,9 +78,9 @@ qh_page_start(
-
+
-
+
@@ -113,19 +113,19 @@ qh_page_start(
-
+
-
+
-
-
+
+
- - + +
- - + +