version 1.17, 2017/12/17 18:41:17 |
version 1.18, 2017/12/18 09:12:49 |
|
|
"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n" |
"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n" |
"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" |
"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" |
"<head>\n" |
"<head>\n" |
"<title>%s: %s</title>\n", |
"<title>%s</title>\n", |
CONTENT_TYPE, NAME, myname); |
CONTENT_TYPE, myname); |
if (stat(INC_STYLE, &st) == 0) { |
if (stat(INC_STYLE, &st) == 0) { |
printf("<style type='text/css'><!--\n"); |
printf("<style type='text/css'><!--\n"); |
lg_incl(INC_STYLE); |
lg_incl(INC_STYLE); |
|
|
"<body>\n"); |
"<body>\n"); |
} |
} |
|
|
printf("<h1>%s: %s</h1>\n", NAME, myname); |
|
printf("<h2>%s</h2>\n", BRIEF); |
|
|
|
/* print a form with possible options */ |
/* print a form with possible options */ |
if ((self = lg_getenv("SCRIPT_NAME", NULL)) == NULL) { |
if ((self = lg_getenv("SCRIPT_NAME", NULL)) == NULL) { |
printf("fatal error: invalid request\n"); |
printf("fatal error: invalid request\n"); |
|
|
printf("<hr/>\n"); |
printf("<hr/>\n"); |
|
|
printf("<div class='footer'>\n" |
printf("<div class='footer'>\n" |
"<small>%s - %s<br/>Copyright (c) %s</small>\n" |
|
"</div>\n" |
"</div>\n" |
"</body>\n" |
"</body>\n" |
"</html>\n", NAME, BRIEF, COPYRIGHT); |
"</html>\n"); |
|
|
return (ret); |
return (ret); |
} |
} |