From 987ca2ea925420d9062a356bc64e26781d650f6e Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 30 Mar 2021 15:21:30 -0400 Subject: [PATCH] tidy up user list --- users/index.php | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/users/index.php b/users/index.php index b832ab0..2dc25cb 100644 --- a/users/index.php +++ b/users/index.php @@ -2,32 +2,26 @@ $filepath = __FILE__; include __DIR__.'/../header.php'; -$online_users = shell_exec("online-users"); +$online_users = shell_exec("online-users | head -n1 | awk '{print $3}'"); $total_users = shell_exec("members team | wc -w"); ?>

users

-
-
- of total users +

+ users online in #team +

+

of total users logged in

+

recent updates

-
- users online in #team -
- -