X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/ef866d8c9503c717e53173655402b3769d529fec..ce8122f02ff7c26a6ead371928cf72f39ff5905d:/index.php
diff --git a/index.php b/index.php
index 3718721..9a6a13a 100644
--- a/index.php
+++ b/index.php
@@ -1,200 +1,145 @@
-
-
-
-
-
-
-
-
-
- Chat Overview | |
- Users | |
- Opers | |
- Services | |
- Most popular channel | ( users) |
- Channels | |
- Server bans | |
- Spamfilter entries | |
-
-
-
-
-
-
- Nick |
- UID |
- Host / IP |
- Account |
- Usermodes |
- Oper |
- Secure |
- Connected to |
- Reputation â¹ï¸ |
-
- ";
- echo "".$user['name']." | ";
- echo "".$user['id']." | ";
- echo "".$user['hostname']." (".$user['ip'].") | ";
- $account = (isset($user['account'])) ? $user['account'] : "";
- echo "".$account." | ";
- $modes = (isset($user['user']['modes'])) ? "+" . $user['user']['modes'] : "";
- echo "".$modes." | ";
- $oper = (isset($user['user']['operlogin'])) ? $user['user']['operlogin']." (".$user['user']['operclass'].")" : "";
- echo "".$oper." | ";
- $secure = (isset($user['tls'])) ? "â
" : "â";
- echo "".$secure." | ";
- echo "".$user['user']['servername']." | ";
- echo "".$user['user']['reputation']." | ";
- }
- ?>
-
-
-
-
-
- Name |
- Created |
- User count |
- Topic |
- Topic Set |
- Modes |
-
- ";
- echo "".$channel['name']." | ";
- echo "".$channel['creation_time']." | ";
- echo "".$channel['num_users']." | ";
- $topic = (isset($channel['topic'])) ? $channel['topic'] : "";
- echo "".$topic." | ";
- $setby = (isset($channel['topic'])) ? "By ".$channel['topic_set_by'] .", at ".$channel['topic_set_at'] : "";
- echo "".$setby." | ";
- $modes = (isset($channel['modes'])) ? "+" . $channel['modes'] : "";
- echo "".$modes." | ";
- }
- ?>
+Network Overview
+
-
-
-
-
- Mask |
- Type |
- Set By |
- Set On |
- Expires |
- Duration |
- Reason |
-
- ";
- echo "".$tkl['name']." | ";
- echo "".$tkl['type_string']." | ";
- echo "".$tkl['set_by']." | ";
- echo "".$tkl['set_at_string']." | ";
- echo "".$tkl['expire_at_string']." | ";
- echo "".$tkl['duration_string']." | ";
- echo "".$tkl['reason']." | ";
- }
- ?>
-
-
-
-
-
-
- Mask |
- Type |
- Set By |
- Set On |
- Expires |
- Duration |
- Match Type |
- Action |
- Action Duration |
- Target |
- Reason |
-
- ";
- 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 = ""; ($c = $sf['spamfilter_targets'][$i]); $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']." | ";
-
- }
- ?>
-
-
+
+
+
-
\ No newline at end of file
+
+
\ No newline at end of file