X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/bf5527b102d81fb4e9da90e252a38bc22ea628fe..9e2a2ac021a33268908b8dd3ec1376f6bf8e0041:/index.php
diff --git a/index.php b/index.php
index 9579901..61fef15 100644
--- a/index.php
+++ b/index.php
@@ -1,491 +1,234 @@
-
-
-
-
- Filter by:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Network Overview
- ?>
-
-
Apply action:
-
-
-
- GLine
- GZLine
-
-
-
-
Duration:
-
- ";
- else
- {
- $w = ($i == 1) ? "week" : "weeks";
- echo "$i $w" . " ";
- }
- }
- ?>
-
-
- ";
- else
- {
- $d = ($i == 1) ? "day" : "days";
- echo "$i $d" . " ";
- }
- }
- ?>
-
-
- ";
- else
- {
- $h = ($i == 1) ? "hour" : "hours";
- echo "$i $h" . " ";
- }
- }
- ?>
-
-
Reason:
-
-
-
-
-
+/* What if someone wants to add their own stats... */
+Hook::run(HOOKTYPE_PRE_OVERVIEW_CARD, $array_of_stats);
-
-
-
-
-
-
-
-
-
-
-
- Select all
- Mask
- Type
- Set By
- Set On
- Expires
- Duration
- Match Type
- Action
- Action Duration
- Target
- Reason
-
- ";
- echo " ";
- echo "".$sf->name." ";
- echo "".$sf->type_string." ";
- echo "".$sf->set_by." ";
- echo "".$sf->set_at_string." ";
- echo "".$sf->expire_at_string." ";
- echo "".$sf->duration_string." ";
- echo "".$sf->match_type." ";
- echo "".$sf->ban_action." ";
- echo "".$sf->ban_duration_string." ";
- for ($i = 0, $targs = ""; $i < strlen($sf->spamfilter_targets); $i++)
- {
- $c = $sf->spamfilter_targets[$i];
- if ($c == "c")
- $targs .= "Channel, ";
- else if ($c == "p")
- $targs .= "Private,";
- else if ($c == "n")
- $targs .= "Notice, ";
- else if ($c == "N")
- $targs .= "Channel notice, ";
- else if ($c == "P")
- $targs .= "Part message, ";
- else if ($c == "q")
- $targs .= "Quit message, ";
- else if ($c == "d")
- $targs .= "DCC filename, ";
- else if ($c == "a")
- $targs .= "Away message, ";
- else if ($c == "t")
- $targs .= "Channel topic, ";
- else if ($c == "T")
- $targs .= "MessageTag, ";
- else if ($c == "u")
- $targs .= "Usermask, ";
- }
- $targs = rtrim($targs,", ");
- echo "".$targs." ";
- echo "".$sf->reason." ";
-
- }
- ?>
+ else
+ $bg = "bg-warning";
+ ?>
+
+
+
+
+
+
+
Services Online
+
+
+
+
+
+
+
+
+
+
-