X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/1a6051dbe0c8afe3247c45432db941e2f69ab449..be5ea9604482ac6192dc8b03413e1fd8c2028f8b:/index.php diff --git a/index.php b/index.php index 209abd0..0ed7b54 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; ?>

+

@@ -73,10 +73,10 @@ $num_of_panel_admins = count($userlist);
- +
-

channel->total; ?>

+

@@ -95,10 +95,10 @@ $num_of_panel_admins = count($userlist);
- +
-

user->oper; ?>

+

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

server->total; ?>

+

@@ -145,10 +145,10 @@ $num_of_panel_admins = count($userlist);
- +
-

server_ban->server_ban; ?>

+

@@ -167,10 +167,10 @@ $num_of_panel_admins = count($userlist);
- +
-

server_ban->spamfilter; ?>

+

@@ -189,10 +189,10 @@ $num_of_panel_admins = count($userlist);
- +
-

server_ban->server_ban_exception; ?>

+

@@ -208,23 +208,18 @@ $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 ?>
- +
- -

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

+ +

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