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"); ?>
=$online_users?> of =$total_users?> total users logged in
+