File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ foreach ($awprev as $key => $value) {
5454 else $options .= "<option value=\"{$value}/{$awstatsindex}\">{$value}</option>\n";
5555}
5656
57- $awstatsindex = 'awsindex.html'
5857$html = "<!DOCTYPE html>\n<html>\n<head>\n<title>Stats</title>\n";
5958$html .= "<style>\nhtml,body {margin:0px;padding:0px;width:100%;height:100%;background-color: #ccc;}\n";
6059$html .= "#header\n{\nwidth:100%;margin:0px auto;\nheight:20px;\nposition:fixed;\npadding:4px;\ntext-align:center;\n}\n";
@@ -63,7 +62,7 @@ $html .= $script;
6362$html .= "<div id=\"header\">{$yearmonth_text}\n";
6463$html .= "<select name=\"awdate\" onchange=\"load_content(this.value)\">\n";
6564$html .= $options;
66- $html .= "</select>\n</div>\n<iframe src=\"{$awstatsindex} \" id=\"content\"></iframe>\n";
65+ $html .= "</select>\n</div>\n<iframe src=\"awsindex.html \" id=\"content\"></iframe>\n";
6766$html .= "</body></html>";
6867echo $html;
6968?>
You can’t perform that action at this time.
0 commit comments