hotsanic |
Subversion Repositories: |
Rev 1 | Rev 27 | |
---|---|---|
Line 22... | Line 22... | |
elsif ($range eq "6h") { $descr="6 hours"; $file="6h"; $build=30; $fullrange=21600; } |
elsif ($range eq "6h") { $descr="6 hours"; $file="6h"; $build=30; $fullrange=21600; } | |
elsif ($range eq "1day") { $descr="day"; $file=$descr; $build=120; $fullrange=86400; } |
elsif ($range eq "1day") { $descr="day"; $file=$descr; $build=120; $fullrange=86400; } | |
elsif ($range eq "1week") { $descr="week"; $file=$descr; $build=1000; $fullrange=604800; } |
elsif ($range eq "1week") { $descr="week"; $file=$descr; $build=1000; $fullrange=604800; } | |
elsif ($range eq "1month") { $descr="month"; $file=$descr; $build=4300; $fullrange=2592000; } |
elsif ($range eq "1month") { $descr="month"; $file=$descr; $build=4300; $fullrange=2592000; } | |
elsif ($range eq "1year") { $descr="year"; $file=$descr; $build=52500; $fullrange=31536000; } |
elsif ($range eq "1year") { $descr="year"; $file=$descr; $build=52500; $fullrange=31536000; } | |
elsif ($range eq "10year") { $descr="10year"; $file=$descr; $build=525000; $fullrange=315360000; } | ||
|
| |
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); |
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); | |
$year+=1900; |
$year+=1900; | |
$mon++; |
$mon++; | |
if ($mon<10) { $mon="0".$mon; } |
if ($mon<10) { $mon="0".$mon; } |