16 |
|
|
17 |
|
HostStatus::HostStatus() |
18 |
|
{ |
19 |
– |
#ifndef __CYGWIN__ |
20 |
– |
sputenv("TZ=:America/Los_Angeles"); |
21 |
– |
#else |
22 |
– |
sputenv("TZ= PST8PDT"); |
23 |
– |
#endif |
24 |
– |
tzset(); |
25 |
– |
|
19 |
|
string method = sgetenv("REQUEST_METHOD"); |
20 |
|
|
21 |
|
parse(method); |
176 |
|
<< "<title>Host Status</title>\n" |
177 |
|
<< "</head>\n" |
178 |
|
<< "<body>\n" |
179 |
+ |
<< "<div>\n" |
180 |
|
<< "<h1 id=\"title\" class=\"center\">Host Status</h1>\n" |
181 |
+ |
<< "</div>\n" |
182 |
+ |
<< "<div class=\"hr\">\n" |
183 |
+ |
<< "<p class=\"floatleft\"><a href=\"./\"><img src=\"/icons/back.gif\"" |
184 |
+ |
<< " alt=\"\"></a></p>\n" |
185 |
|
<< "<form action=\"hoststatus.cgi\" method=\"POST\">\n" |
186 |
|
<< "<table class=\"center\">\n" |
187 |
|
<< "<tr>\n" |
272 |
|
void HostStatus::footer() |
273 |
|
{ |
274 |
|
cout << "</table>\n" |
275 |
+ |
<< "</div>\n" |
276 |
|
<< "</html>\n"; |
277 |
|
} |