mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Whitespace fixes.
This commit is contained in:
parent
8dc73fed22
commit
441a416026
@ -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');
|
||||
?>
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user