X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/498c78d3ca29998e21a949467c43a784a53f7dd4..d355f476f43fd5c2688923e7fb263f22d139aa7f:/index.php?ds=sidebyside diff --git a/index.php b/index.php index 9919d35..dc7f37d 100644 --- a/index.php +++ b/index.php @@ -1,14 +1,25 @@ query("stats.get", []); -?> - -

Network Overview

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

Network Overview

+ +
-
+ +
+ + - - +
-
-
-
-
- -
-
-

channel->total; ?>

-
-
-
-
-
- - -
+
-
-
-
-
- -
-
-

server_ban->server_ban; ?>

-
-
-
-
-
-
-
- - 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"; - ?>
-
-
-
-
- -
-
-

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

-
-
-
-
-
+ + + + +
-
-
-
- @@ -260,4 +346,4 @@ $num_of_panel_admins = count($userlist); Hook::run(HOOKTYPE_OVERVIEW_CARD, $stats); -require_once "footer.php"; +require_once "inc/footer.php";