Whitespace fixes.

This commit is contained in:
robert%accettura.com 2007-03-11 03:15:24 +00:00
parent 8dc73fed22
commit 441a416026

View File

@ -102,16 +102,16 @@ $content->assign('hosts_quant', $uniquehosts);
// Reports in last 24 hours
$yesterday = mktime(date("H"), date("i"), date("s"), date("m") , date("d")-1, date("Y"));
$reports24_q =& $db->Execute("SELECT COUNT(report_id) as total
FROM report
WHERE report_file_date > "."'".date('Y-m-d H:i:s', $yesterday)."'");
FROM report
WHERE report_file_date > "."'".date('Y-m-d H:i:s', $yesterday)."'");
$reports24 = $reports24_q->fields['total'];
$content->assign('reports24', $reports24);
// Reports in last week
$last7days = mktime(date("H"), date("i"), date("s"), date("m") , date("d")-7, date("Y"));
$last7days_q =& $db->Execute("SELECT COUNT(report_id) as total
FROM report
WHERE report_file_date > "."'".date('Y-m-d H:i:s', $last7days)."'");
FROM report
WHERE report_file_date > "."'".date('Y-m-d H:i:s', $last7days)."'");
$last7days = $last7days_q->fields['total'];
$content->assign('last7days', $last7days);
@ -121,5 +121,4 @@ $db->Close();
$title = "Statistics";
displayPage($content, 'stats', 'stats.tpl');
?>
?>