X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/9e2a2ac021a33268908b8dd3ec1376f6bf8e0041..9a4a88b54415ab2ed3e797ed07953c626d02c38b:/index.php diff --git a/index.php b/index.php index 61fef15..73512bb 100644 --- a/index.php +++ b/index.php @@ -1,14 +1,23 @@ query("stats.get", []); -?> - -

Network Overview

+require_once "inc/header.php"; +?> +
+

Network Overview

+⚪LIVE
+
-
+ +
@@ -29,11 +46,11 @@ $stats = (object) $array_of_stats;
- user->record; ?> +
-

user->total; ?>

+

@@ -42,7 +59,7 @@ $stats = (object) $array_of_stats;
Users Online
- +
@@ -57,7 +74,7 @@ $stats = (object) $array_of_stats;
-

channel->total; ?>

+

@@ -66,7 +83,7 @@ $stats = (object) $array_of_stats;
Channels
-
View
+
channels">View
@@ -79,7 +96,7 @@ $stats = (object) $array_of_stats;
-

user->oper; ?>

+

@@ -88,7 +105,7 @@ $stats = (object) $array_of_stats;
Opers
-
">View
+
">View
@@ -102,7 +119,7 @@ $stats = (object) $array_of_stats;
-

server->total; ?>

+

@@ -111,14 +128,14 @@ $stats = (object) $array_of_stats;
Servers
-
View
+
servers">View
-
+
@@ -129,7 +146,7 @@ $stats = (object) $array_of_stats;
-

server_ban->server_ban; ?>

+

@@ -138,7 +155,7 @@ $stats = (object) $array_of_stats;
Server Bans
-
View
+
server-bans">View
@@ -151,7 +168,7 @@ $stats = (object) $array_of_stats;
-

server_ban->spamfilter; ?>

+

@@ -160,7 +177,7 @@ $stats = (object) $array_of_stats;
Spamfilter
-
View
+
spamfilter.php">View
@@ -173,7 +190,7 @@ $stats = (object) $array_of_stats;
-

server_ban->server_ban_exception; ?>

+

@@ -183,23 +200,13 @@ $stats = (object) $array_of_stats;
Server Ban Exceptions
-
View
+
server-bans/ban-exceptions.php">View
server->ulined) { - $bg = "bg-success"; - - /* honestly can't think of a case where there would actually be only one uline... but... well here we are, worrying over the small stuff =] */ - $user_noun = ($stats->user->ulined == 1) ? "user" : "users"; // use "users" even if 0, sounds better. - $is_are = ($stats->user->ulined == 1) ? "is" : "are"; - $server_noun = ($stats->server->ulined == 1) ? "server" : "servers"; - $tooltip = "There $is_are " . $stats->user->ulined . " U-Lined $user_noun over " . $stats->server->ulined . " U-Lined $server_noun"; - } - else - $bg = "bg-warning"; + $bg = "bg-success"; // FIXME: this isn't dynamic ?>
@@ -209,7 +216,8 @@ $stats = (object) $array_of_stats;
-

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

+ +

@@ -218,7 +226,7 @@ $stats = (object) $array_of_stats;
Services Online
-
">View
+
">View
@@ -227,8 +235,86 @@ $stats = (object) $array_of_stats; + + + +
+ +
+
+
+
+
+
+ +
+
+

+
+
+
+
+
+
+
Panel Accounts
+
+ +
+
+
+
+
+