3 include "ctdlheader.php";
6 echo "This is an example of the use of ctdl_rwho() to display " .
7 "the list of users currently logged in.<BR><BR>\n" ;
9 echo "<TABLE border=1>" .
11 "<TD><B>User</B></TD>" .
12 "<TD><B>Room</B></TD>" .
13 "<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>";
31 <a href
="welcome.php">Page One
</a
><BR
>
32 <a href
="page3.php">Page Three
</a
><BR
>