ftimme
2011-10-11 81d79a79e4b29e9314b64b2e4c49b48ae8319767
server/conf/awstats_index.php.master
@@ -1,8 +1,3 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>AWAstats Statistics</title>
<script>
function load_content(url)
{
@@ -10,11 +5,10 @@
    iframe.src = url;
}
</script>
</head>
<body>
<?php
$aw['aw_jump_text'] = 'Jump to previous stats: ';
$aw['aw_renamed_index'] = 'awsindex.html';
$aw['aw_renamed_index'] = 'fixedindex.html';
if ($handle = opendir('.'))
{
@@ -26,22 +20,21 @@
                }
        }
        $month = date("m")+1-1;
        $month = date("n");
        $year = date("Y");
        if (date("d") == 1)
        {
                        $month = date("m")-1;
        }
        $year = date("Y");
        if (date("m") == 1)
        {
                        $year = date("Y")-1;
                        $month = "12";
                $awmonth = date("m")-1;
                if (date("m") == 1)
                {
                        $awyear = date("Y")-1;
                        $awmonth = "12";
                }
        }
        $awprev[] = $year."-".$month;
        closedir($handle);
}
@@ -64,6 +57,4 @@
echo '</select></div><iframe src="'.$aw['aw_renamed_index'].'" frameborder="0" scrolling="Yes" width="100%" height="100%" style="margin-top:25px" id="content"></iframe>';
?>
</body>
</html>
?>