X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/41aad10cbe0755aee50f597cb2cadd3029de7e1d..3fe262343810f4e0b0252b7607cc532383c2351b:/index.php
diff --git a/index.php b/index.php
index b41cdad..115a025 100644
--- a/index.php
+++ b/index.php
@@ -2,24 +2,24 @@
require_once "inc/common.php";
if (!isset($config['unrealircd']))
{
- $redirect = get_config("base_url")."settings/install2.php";
+ $redirect = get_config("base_url")."settings/rpc-servers.php";
header('Location: ' . $redirect);
die;
}
require_once "inc/header.php";
-require_once "inc/connection.php";
-$stats = $rpc->stats()->get();
?>
-
Network Overview
-âªLIVE
+
Network Overview
+
+ âªLIVE
+
- 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
-
+
@@ -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
-
+
@@ -244,6 +239,9 @@ $num_of_panel_admins = count($userlist);