char buf[256];
printf("HTTP/1.0 200 OK\n");
- output_headers(1);
+ output_headers(1, "_top");
/* Da banner */
wprintf("<CENTER><TABLE border=0 width=100%><TR><TD>\n");
wprintf("<INPUT type=\"submit\" NAME=\"action\" VALUE=\"Login\">\n");
wprintf("<INPUT type=\"submit\" NAME=\"action\" VALUE=\"New User\">\n");
wprintf("<INPUT type=\"submit\" NAME=\"action\" VALUE=\"Exit\">\n");
+
+ wprintf("<BR><INPUT TYPE=\"checkbox\" NAME=\"noframes\">");
+ wprintf("<FONT SIZE=-1>Check here to disable frames</FONT>\n");
wprintf("</FORM></CENTER>\n");
/* Da instructions */
void do_welcome(void) {
printf("HTTP/1.0 200 OK\n");
- output_headers(1);
+ output_headers(1, "bottom");
wprintf("<CENTER><H1>");
escputs(wc_username);
wprintf("</H1>\n");
strcpy(wc_roomname, "");
printf("HTTP/1.0 200 OK\n");
- output_headers(2); /* note the "2" which causes cookies to be unset */
+ output_headers(2, "_top"); /* note "2" causes cookies to be unset */
wprintf("<CENTER>");
serv_puts("MESG goodbye");
int a;
printf("HTTP/1.0 200 OK\n");
- output_headers(1);
+ output_headers(1, "bottom");
strcpy(buf,bstr("user"));
if (strlen(buf)>0) if (strlen(bstr("axlevel"))>0) {
int a;
printf("HTTP/1.0 200 OK\n");
- output_headers(1);
+ output_headers(1, "bottom");
wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
char buf[256];
printf("HTTP/1.0 200 OK\n");
- output_headers(1);
+ output_headers(1, "bottom");
wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");