+/**
+ * Show maintenance
+ */
+void showMaintenance() {
+ header(503, "text/html");
+ printf("<!DOCTYPE HTML>\r\n");
+ printf("<html>\r\n");
+ printf("<head>\r\n");
+ printf("<title>Service unavailable!</title>\r\n");
+ printf("<style type=\"text/css\">body{color:black;background-color:white;}a:link{color:#00c;}p,address{margin-left:3em;}span{font-size:smaller;}</style>\r\n");
+ printf("</head>\r\n");
+ printf("<body>\r\n");
+ printf("<h1>Service unavailable!</h1>\r\n");
+ printf("<p>The server is temporarily unable to service your\r\n");
+ printf("request due to maintenance downtime or capacity\r\n");
+ printf("problems. Please try again later.</p>\r\n");
+ printf("<h2>Error 503</h2>\r\n");
+ printf("<address><a href=\"/\">%s</a><br /><span>%s</span></address>\r\n", getenv("SERVER_NAME"), getenv("SERVER_SOFTWARE"));
+ printf("<!--crc32:%s-->\r\n", FORMID);
+ printf("</body>\r\n");
+ printf("</html>\r\n");
+}
+