X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/1a6051dbe0c8afe3247c45432db941e2f69ab449..3fe262343810f4e0b0252b7607cc532383c2351b:/index.php diff --git a/index.php b/index.php index 209abd0..115a025 100644 --- a/index.php +++ b/index.php @@ -8,18 +8,18 @@ if (!isset($config['unrealircd'])) } require_once "inc/header.php"; -require_once "inc/connection.php"; -$stats = $rpc->stats()->get(); ?>
-

Network Overview

-⚪LIVE
+

Network Overview

+
- user->record; ?> +
-

user->total; ?>

+

@@ -76,7 +76,7 @@ $num_of_panel_admins = count($userlist);
-

channel->total; ?>

+

@@ -98,7 +98,7 @@ $num_of_panel_admins = count($userlist);
-

user->oper; ?>

+

@@ -107,7 +107,7 @@ $num_of_panel_admins = count($userlist);
Opers
-
">View
+ @@ -121,7 +121,7 @@ $num_of_panel_admins = count($userlist);
-

server->total; ?>

+

@@ -148,7 +148,7 @@ $num_of_panel_admins = count($userlist);
-

server_ban->server_ban; ?>

+

@@ -170,7 +170,7 @@ $num_of_panel_admins = count($userlist);
-

server_ban->spamfilter; ?>

+

@@ -192,7 +192,7 @@ $num_of_panel_admins = count($userlist);
-

server_ban->server_ban_exception; ?>

+

@@ -208,12 +208,7 @@ $num_of_panel_admins = count($userlist); server->ulined) { - $bg = "bg-success"; - $tooltip = "Users / Servers"; - } - else - $bg = "bg-warning"; + $bg = "bg-success"; // FIXME: this isn't dynamic ?>
@@ -223,8 +218,8 @@ $num_of_panel_admins = count($userlist);
- -

user->ulined; ?>/server->ulined; ?>

+ +

@@ -233,7 +228,7 @@ $num_of_panel_admins = count($userlist);
Services Online
-
">View
+ @@ -244,6 +239,9 @@ $num_of_panel_admins = count($userlist);