X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/5616422143594630a6e83ca3efbcb9b8d0cfbffe..9a4a88b54415ab2ed3e797ed07953c626d02c38b:/index.php
diff --git a/index.php b/index.php
index c3acf6a..73512bb 100644
--- a/index.php
+++ b/index.php
@@ -1,15 +1,23 @@
query("stats.get", []);
-?>
-
-
Network Overview
+require_once "inc/header.php";
+?>
+
+
Network Overview
+âªLIVE
+
-
+
+
@@ -33,11 +46,11 @@ $num_of_panel_admins = count($userlist);
- user->record; ?>
+
-
user->total; ?>
+
@@ -46,7 +59,7 @@ $num_of_panel_admins = count($userlist);
Users Online
-
+
@@ -61,7 +74,7 @@ $num_of_panel_admins = count($userlist);
-
channel->total; ?>
+
@@ -70,7 +83,7 @@ $num_of_panel_admins = count($userlist);
Channels
-
+
@@ -83,7 +96,7 @@ $num_of_panel_admins = count($userlist);
-
user->oper; ?>
+
@@ -92,7 +105,7 @@ $num_of_panel_admins = count($userlist);
Opers
-
+
@@ -106,7 +119,7 @@ $num_of_panel_admins = count($userlist);
-
server->total; ?>
+
@@ -115,14 +128,14 @@ $num_of_panel_admins = count($userlist);
Servers
-
+
-
+
@@ -133,7 +146,7 @@ $num_of_panel_admins = count($userlist);
-
server_ban->server_ban; ?>
+
@@ -142,7 +155,7 @@ $num_of_panel_admins = count($userlist);
Server Bans
-
+
@@ -155,7 +168,7 @@ $num_of_panel_admins = count($userlist);
-
server_ban->spamfilter; ?>
+
@@ -164,7 +177,7 @@ $num_of_panel_admins = count($userlist);
Spamfilter
-
+
@@ -177,7 +190,7 @@ $num_of_panel_admins = count($userlist);
-
server_ban->server_ban_exception; ?>
+
@@ -187,23 +200,13 @@ $num_of_panel_admins = count($userlist);
Server Ban Exceptions
-
+
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
?>
@@ -213,8 +216,8 @@ $num_of_panel_admins = count($userlist);
-
- user->ulined; ?>/server->ulined; ?>
+
+
@@ -223,7 +226,7 @@ $num_of_panel_admins = count($userlist);
Services Online
-
+
@@ -234,29 +237,56 @@ $num_of_panel_admins = count($userlist);
-
+
@@ -274,9 +304,9 @@ $num_of_panel_admins = count($userlist);
-
Panel Access
+ Panel Accounts
-
+
@@ -287,4 +317,4 @@ $num_of_panel_admins = count($userlist);
Hook::run(HOOKTYPE_OVERVIEW_CARD, $stats);
-require_once "footer.php";
+require_once "inc/footer.php";