change to db-open flags
[citadel.git] / ctdlphp / who.php
index d1f78366eb7dc544e43ce3ef9d9f1895bb874bc2..8f0bf9f3de85ebbcffb004dd72c2bf7f5ebd8690 100644 (file)
@@ -1,14 +1,17 @@
 <?PHP
+
        include "ctdlheader.php";
        bbs_page_header();
 
+       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>";
-       echo "<TR>";
-       echo "<TD><B>User</B></TD>";
-       echo "<TD><B>Room</B></TD>";
-       echo "<TD><B>Host</B></TD>";
-       echo "</TR>";
+       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();
 
@@ -24,6 +27,7 @@
 
 ?>
 
+<BR>Sample links<BR>
 <a href="welcome.php">Page One</a><BR>
 <a href="page3.php">Page Three</a><BR>