]>
jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blob - channels/index.php
2 require_once "../common.php";
3 require_once UPATH
. "/header.php";
9 /* Nothing being posted yet */
13 $channels = $rpc->channel()->getAll();
16 <h4
>Channels Overview
</h4
><br
>
17 <table
class="table table-responsive caption-top table-striped">
18 <thead
class="table-primary">
27 foreach($channels as $channel)
30 echo "<td>".$channel->name
."</td>";
31 echo "<td>".$channel->num_users
."</td>";
32 $modes = (isset($channel->modes
)) ? "+" . $channel->modes
: "<none>";
33 echo "<td>".$modes."</td>";
34 $topic = (isset($channel->topic
)) ? $channel->topic
: "";
35 echo "<td>".$topic."</td>";
36 echo "<td>".$channel->creation_time
."</td>";