$Lang::tr{'show lines'}
$Lang::tr{'show areas'}
|
END
if ($cgigraphs[1] eq "line") {
&Header::openbox('100%', 'center', $Lang::tr{"daily firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-day-line.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
&Header::openbox('100%', 'center', $Lang::tr{"weekly firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-week-line.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
&Header::openbox('100%', 'center', $Lang::tr{"monthly firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-month-line.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
&Header::openbox('100%', 'center', $Lang::tr{"yearly firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-year-line.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
}
else
{
&Header::openbox('100%', 'center', $Lang::tr{"daily firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-day-area.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
&Header::openbox('100%', 'center', $Lang::tr{"weekly firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-week-area.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
&Header::openbox('100%', 'center', $Lang::tr{"monthly firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-month-area.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
&Header::openbox('100%', 'center', $Lang::tr{"yearly firewallhits"});
my $ftime = localtime((stat("$graphdir/firewallhits-year-area.png"))[9]);
print "$Lang::tr{'the statistics were last updated at'}: $ftime
\n";
print "";
print "
\n";
&Header::closebox();
}
&Header::closebigbox();
&Header::closepage();