From b70b29de4cd43e751ecb9ddfcce7df3d0f015b45 Mon Sep 17 00:00:00 2001
From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com>
Date: Fri, 2 Jan 2026 20:45:59 -0700
Subject: [PATCH] Refactor active users display with marquee
---
news.php | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
diff --git a/news.php b/news.php
index e8b6efa..f60688d 100644
--- a/news.php
+++ b/news.php
@@ -6,29 +6,28 @@
-
-
Currently Active Users:
-
-
+
+
Currently Active Users:
$username";
- }
- // Repeat the list for seamless scrolling
- foreach ($activeUsers as $user) {
- $username = htmlspecialchars($user);
- echo "
- $username
";
- }
- } else {
- echo "
- No active users at the moment.
";
- }
+ if (!empty($activeUsers))
+ {
+ echo '
';
+ }
+ else
+ {
+ echo "
- No active users at the moment.
";
+ }
?>
-
-