X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/43c591a45309605aae5eebe8b6b8ae6d1d65bcce..012e85f7cb694ceda9d9295a4e9a12ea9bc29469:/index.php
diff --git a/index.php b/index.php
index 02ea896..5706cc4 100644
--- a/index.php
+++ b/index.php
@@ -1,9 +1,10 @@
+
@@ -43,40 +118,170 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter)
Server bans | |
Spamfilter entries | |
-
+
@@ -93,14 +298,14 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter)
foreach(RPC_List::$channel as $channel)
{
echo "
";
- echo "".$channel['name']." | ";
- echo "".$channel['creation_time']." | ";
- echo "".$channel['num_users']." | ";
- $topic = (isset($channel['topic'])) ? $channel['topic'] : "";
+ 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'] : "";
+ $setby = (isset($channel->topic)) ? "By ".$channel->topic_set_by .", at ".$channel->topic_set_at : "";
echo "".$setby." | ";
- $modes = (isset($channel['modes'])) ? "+" . $channel['modes'] : "";
+ $modes = (isset($channel->modes)) ? "+" . $channel->modes : "";
echo "".$modes." | ";
}
?>
@@ -108,8 +313,10 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter)
+ ?>
+ ?>
+
+
+
+
-
-