X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/3f487ee18009aa687a13899e8cf32596a892f9f1..462bd7231d893710a96ac01a0b9ebdd43a4cac64:/index.php diff --git a/index.php b/index.php index aa3a265..f656ab4 100644 --- a/index.php +++ b/index.php @@ -1,721 +1,263 @@ - -
Chat Overview | - |
---|---|
Users | |
Opers | |
Services | |
Most popular channel | ( users) |
Channels | |
Server bans | |
Spamfilter entries |
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 : "".$modes." | "; - } - ?>
---|
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." | "; - - } - ?>
---|