X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/05f01f6dda9c9a9058df9b1620fe523beb690328..3fe262343810f4e0b0252b7607cc532383c2351b:/index.php
diff --git a/index.php b/index.php
index 6384929..115a025 100644
--- a/index.php
+++ b/index.php
@@ -1,15 +1,25 @@
query("stats.get", []);
-?>
-
-
Network Overview
+require_once "inc/header.php";
+?>
+
+
Network Overview
+
+ âªLIVE
+
+
-
+
+
@@ -33,11 +48,11 @@ $num_of_panel_admins = count($userlist);
- user->record; ?>
+
-
user->total; ?>
+
@@ -46,7 +61,7 @@ $num_of_panel_admins = count($userlist);
Users Online
-
+
@@ -61,7 +76,7 @@ $num_of_panel_admins = count($userlist);
-
channel->total; ?>
+
@@ -70,7 +85,7 @@ $num_of_panel_admins = count($userlist);
Channels
-
+
@@ -83,7 +98,7 @@ $num_of_panel_admins = count($userlist);
-
user->oper; ?>
+
@@ -92,7 +107,7 @@ $num_of_panel_admins = count($userlist);
Opers
-
+
@@ -106,7 +121,7 @@ $num_of_panel_admins = count($userlist);
-
server->total; ?>
+
@@ -115,14 +130,14 @@ $num_of_panel_admins = count($userlist);
Servers
-
+
-
+
@@ -133,7 +148,7 @@ $num_of_panel_admins = count($userlist);
-
server_ban->server_ban; ?>
+
@@ -142,7 +157,7 @@ $num_of_panel_admins = count($userlist);
Server Bans
-
+
@@ -155,7 +170,7 @@ $num_of_panel_admins = count($userlist);
-
server_ban->spamfilter; ?>
+
@@ -164,7 +179,7 @@ $num_of_panel_admins = count($userlist);
Spamfilter
-
+
@@ -177,7 +192,7 @@ $num_of_panel_admins = count($userlist);
-
server_ban->server_ban_exception; ?>
+
@@ -187,18 +202,13 @@ $num_of_panel_admins = count($userlist);
Server Ban Exceptions
-
+
server->ulined) {
- $bg = "bg-success";
- $tooltip = "Users / Servers";
- }
- else
- $bg = "bg-warning";
+ $bg = "bg-success"; // FIXME: this isn't dynamic
?>
@@ -208,8 +218,8 @@ $num_of_panel_admins = count($userlist);
-
- user->ulined; ?>/server->ulined; ?>
+
+
@@ -218,7 +228,7 @@ $num_of_panel_admins = count($userlist);
Services Online
-
+
@@ -229,29 +239,69 @@ $num_of_panel_admins = count($userlist);
-
+
@@ -269,9 +319,9 @@ $num_of_panel_admins = count($userlist);
-
Panel Access
+ Panel Accounts
-
+
@@ -282,4 +332,4 @@ $num_of_panel_admins = count($userlist);
Hook::run(HOOKTYPE_OVERVIEW_CARD, $stats);
-require_once "footer.php";
+require_once "inc/footer.php";