-void display_main_menu(void)
-{
- output_headers(1);
-
- wprintf("<TABLE>"
- "<TR><TD COLSPAN=2>\n");
-
- svprintf("BOXTITLE", WCS_STRING, "Basic commands");
- do_template("beginbox");
-
- wprintf("\n"
- "<TABLE border=0 cellspacing=1 cellpadding=1><TR>");
- wprintf("<TD>"); /* start of first column */
-
- wprintf("<UL>");
- wprintf("<LI><B><A HREF=\"/knrooms\">\n");
- wprintf("List known rooms</B></A><BR>\n");
- wprintf("Where can I go from here?</LI>\n");
-
- wprintf("<LI><B><A HREF=\"/gotonext\">\n");
- wprintf("Goto next room</B></A><BR>\n");
- wprintf("...with <EM>unread</EM> messages</LI>\n");
-
- wprintf("<LI><B><A HREF=\"/skip\">\n");
- wprintf("Skip to next room</B></A><BR>\n");
- wprintf("(come back here later)</LI>\n");
-
- if ((strlen(WC->ugname) > 0) && (strcasecmp(WC->ugname, WC->wc_roomname))) {
- wprintf("<LI><B><A HREF=\"/ungoto\">\n");
- wprintf("Ungoto</B></A><BR>\n");
- wprintf("(oops! Back to %s)</LI>\n", WC->ugname);
- }
- wprintf("</UL>\n");
-
- wprintf("</TD><TD>\n"); /* start of second column */
-
- wprintf("<UL>");
- wprintf("<LI><B><A HREF=\"/readnew\">\n");
- wprintf("Read new messages</B></A><BR>...in this room</LI>\n");
-
- wprintf("<LI><B><A HREF=\"/readfwd\">\n");
- wprintf("Read all messages</B></A><BR>...old <EM>and</EM> new</LI>\n");
-
- wprintf("<LI><B><A HREF=\"/display_enter\">\n");
- wprintf("Enter a message</B></A><BR>(post in this room)</LI>");
- wprintf("</UL>\n");
-
- wprintf("</TD><TD>"); /* start of third column */
-
- wprintf("<UL>");
- wprintf("<LI><B><A HREF=\"/summary\">\n");
- wprintf("Summary page</B></A><BR>Summary of my account</LI>\n");
-
- wprintf("<LI><B><A HREF=\"/userlist\">\n");
- wprintf("User list</B></A><BR>(all registered users)</LI>\n");
-
- wprintf("<LI><B><A HREF=\"/termquit\" TARGET=\"_top\">\n");
- wprintf("Log off</B></A><BR>Bye!</LI>\n");
- wprintf("</UL>\n");
-
- wprintf("</TD></TR></TABLE>\n");
- do_template("endbox");
-
- wprintf("</TD></TR>"
- "<TR VALIGN=TOP><TD>");
-
- svprintf("BOXTITLE", WCS_STRING, "Interaction");
- do_template("beginbox");
-
- wprintf("<UL>");
- wprintf("<LI><A HREF=\"/whobbs\">\n");
- wprintf("Who is online?</A><font size=-2> "
- "(users <EM>currently</EM> logged on)</font>\n");
- wprintf("<LI><A HREF=\"/chat\">");
- wprintf("Chat with other online users</A>\n");
-
- wprintf("<LI><A HREF=\"/display_generic\">\n");
- wprintf("<FONT SIZE=-2>Generic server command</FONT></A>\n");
-
- wprintf("</UL>\n");
- do_template("endbox");
-
- wprintf("</TD><TD>");
-
- svprintf("BOXTITLE", WCS_STRING, "Your info");
- do_template("beginbox");
-
- wprintf("<UL>");
- wprintf("<LI><A HREF=\"/display_editbio\">\n");
- wprintf("Enter your 'bio' (a few words about yourself)</A>\n");
-
- wprintf("<LI><A HREF=\"/display_editpic\">\n");
- wprintf("Edit your online photo</A>\n");
-
- wprintf("<LI><A HREF=\"/display_reg\">\n");
- wprintf("Re-enter your registration info (name, address, etc.)</A>\n");
-
- wprintf("<LI><A HREF=\"/display_changepw\">\n");
- wprintf("Change your password</A>\n");
-
- wprintf("</UL>\n");
- do_template("endbox");
-
- wprintf("</TD></TR><TR VALIGN=TOP><TD>");
-
- svprintf("BOXTITLE", WCS_STRING, "Advanced room commands");
- do_template("beginbox");
-
- wprintf("<UL>");
- wprintf("<LI><A HREF=\"/display_private\">\n");
- wprintf("Go to a 'hidden' room</A>\n");
-
- wprintf("<LI><A HREF=\"/display_entroom\">");
- wprintf("Create a new room</A>\n");
-
- wprintf("<LI><A HREF=\"/display_zap\">");
- wprintf("Zap (forget) this room (%s)</A>\n", WC->wc_roomname);
-
- wprintf("<LI><A HREF=\"/display_whok\">\n");
- wprintf("Access controls for this room</A>\n");
-
- wprintf("<LI><A HREF=\"/zapped_list\">");
- wprintf("List all forgotten rooms</A>\n");
-
- wprintf("</UL>\n");
- do_template("endbox");
-
- wprintf("</TD><TD>");