<?PHP
- // This is an example of the use of ctdl_rwho() to display the
- // list of users currently logged in.
-
include "ctdlheader.php";
bbs_page_header();
- echo "<TABLE border=1>";
- echo "<TR>";
- echo "<TD><B>User</B></TD>";
- echo "<TD><B>Room</B></TD>";
- echo "<TD><B>Host</B></TD>";
- echo "</TR>";
+ echo "This is an example of the use of ctdl_rwho() to display " .
+ "the list of users currently logged in.<BR><BR>\n" ;
+
+ echo "<TABLE border=1>" .
+ "<TR>" .
+ "<TD><B>User</B></TD>" .
+ "<TD><B>Room</B></TD>" .
+ "<TD><B>Host</B></TD>" .
+ "</TR>" ;
list($num_users, $wholist) = ctdl_rwho();
?>
+<BR>Sample links<BR>
<a href="welcome.php">Page One</a><BR>
<a href="page3.php">Page Three</a><BR>