]>
jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blob - channels.php
2 require_once "common.php";
4 require_once "header.php";
10 /* Nothing being posted yet */
14 $channels = $rpc->channel()->getAll();
18 <table
class='users_overview'>
27 foreach($channels as $channel)
30 echo "<td>".$channel->name
."</td>";
31 echo "<td>".$channel->creation_time
."</td>";
32 echo "<td>".$channel->num_users
."</td>";
33 $topic = (isset($channel->topic
)) ? $channel->topic
: "";
34 echo "<td>".$topic."</td>";
35 $setby = (isset($channel->topic
)) ? "By ".$channel->topic_set_by
.", at ".$channel->topic_set_at
: "";
36 echo "<td>".$setby."</td>";
37 $modes = (isset($channel->modes
)) ? "+" . $channel->modes
: "<none>";
38 echo "<td>".$modes."</td>";