2 include "ctdlheader.php";
8 This is a sample page to demonstrate how to generate a room
list.
13 list($num_rooms, $roomlist) = ctdl_knrooms();
15 if ($num_rooms > 0) foreach ($roomlist as $x) {
17 if ($x["hasnewmsgs"]) echo '<B>';
18 echo '<A HREF="goto.php?towhere=' .
19 urlencode($x["name"]) . '">' .
20 htmlspecialchars($x["name"]) . "</A>" ;
21 if ($x["hasnewmsgs"]) echo '</B>';
29 <a href
="welcome.php">Page One
</a
><BR
>
30 <a href
="page3.php">Page Three
</a
><BR
>