2011-10-02 09:41:55 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
global $config;
|
|
|
|
|
2011-10-02 22:34:22 +00:00
|
|
|
$graphs = array('mailscanner_sent' => 'Mailscanner - Sent / Received',
|
2011-10-04 09:10:21 +00:00
|
|
|
'mailscanner_spam' => 'Mailscanner - Spam / Virus',
|
|
|
|
'mailscanner_reject' => 'Mailscanner - Rejected / Waiting / Relayed');
|
2011-10-02 09:41:55 +00:00
|
|
|
|
|
|
|
foreach ($graphs as $key => $text)
|
|
|
|
{
|
|
|
|
$graph_type = $key;
|
|
|
|
$graph_array['height'] = "100";
|
|
|
|
$graph_array['width'] = "215";
|
2012-05-06 18:38:11 +00:00
|
|
|
$graph_array['to'] = $config['time']['now'];
|
2011-10-02 09:41:55 +00:00
|
|
|
$graph_array['id'] = $app['app_id'];
|
|
|
|
$graph_array['type'] = "application_".$key;
|
|
|
|
|
|
|
|
echo('<h3>'.$text.'</h3>');
|
|
|
|
echo("<tr bgcolor='$row_colour'><td colspan=5>");
|
2012-04-06 13:56:23 +00:00
|
|
|
|
2012-04-26 16:49:38 +00:00
|
|
|
include("includes/print-graphrow.inc.php");
|
2012-04-06 13:56:23 +00:00
|
|
|
|
2011-10-02 09:41:55 +00:00
|
|
|
echo("</td></tr>");
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|