X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/ef866d8c9503c717e53173655402b3769d529fec..7b1ba98c09418793d2bc46857b36ed27bc82f936:/index.php?ds=sidebyside
diff --git a/index.php b/index.php
index 3718721..28d71c0 100644
--- a/index.php
+++ b/index.php
@@ -1,9 +1,10 @@
-
-
+
@@ -43,40 +258,170 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter)
Server bans | |
Spamfilter entries | |
-
+
@@ -93,14 +438,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 +453,85 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter)
+ ?>
+ ?>
+
+
+
+
-
-
\ No newline at end of file