3 include "ctdlheader.php";
6 echo "This is an example of the use of " .
7 "ctdl_get_registration_info() to display " .
8 "your personal data.<BR><BR>\n" ;
10 echo "<TABLE border=1>" .
12 "<TD><B>User</B></TD>" .
13 "<TD><B>Room</B></TD>" .
14 "<TD><B>Host</B></TD>" .
17 ctdl_goto("My Citadel Config");
18 list($num_msgs, $response, $msgs) = ctdl_msgs($_REQUEST["mode"],
21 echo "num_msgs: " . $num_msgs . "<BR>\n" ;
22 echo "response: " . htmlspecialchars($response) . "<BR>\n" ;
24 if ($num_msgs > 0) foreach ($msgs as $msgnum) {
26 $result = get_message_partlist($msgnum);
27 if (is_array($result) &&
28 ($result[4]=="text/vcard"))
30 $vcard = downoad_attachment($msgnum, $result[2]);
37 /// list($num_users, $wholist) =
38 // ctdl_get_registration_info();
40 if ($num_users > 0) foreach ($wholist as $x) {
42 echo "<TD>", htmlspecialchars($x["user"]), "</TD>";
43 echo "<TD>", htmlspecialchars($x["room"]), "</TD>";
44 echo "<TD>", htmlspecialchars($x["host"]), "</TD>";
53 <a href="welcome.php">Page One</a><BR>
54 <a href="page3.php">Page Three</a><BR>