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(
-
+
-
+
-
-
+
+
- - + +
- - + +