3 // This is an example of the use of ctdl_rwho() to display the
4 // list of users currently logged in.
6 include "ctdlheader.php";
9 echo "<TABLE border=1>";
11 echo "<TD><B>User</B></TD>";
12 echo "<TD><B>Room</B></TD>";
13 echo "<TD><B>Host</B></TD>";
16 list($num_users, $wholist) = ctdl_rwho();
18 if ($num_users > 0) foreach ($wholist as $x) {
20 echo "<TD>", htmlspecialchars($x["user"]), "</TD>";
21 echo "<TD>", htmlspecialchars($x["room"]), "</TD>";
22 echo "<TD>", htmlspecialchars($x["host"]), "</TD>";
30 <a href="welcome.php">Page One</a><BR>
31 <a href="page3.php">Page Three</a><BR>