diff --git a/www/stats.php b/www/stats.php
index f7231c7..99e3a0b 100644
--- a/www/stats.php
+++ b/www/stats.php
@@ -106,7 +106,11 @@
=_("New Assurers")?>
| =_("New Certificates")?>
- for($i = 0; $i < 12; $i++) {
+
+ $totalusers=0;
+ $totassurers=0;
+ $totalcerts=0;
+ for($i = 0; $i < 12; $i++) {
$date = date("Y-m", mktime(0,0,0,date("m") - $i,1,date("Y")));
$totalusers += $users = tc(mysql_query("select count(`id`) as `count` from `users` where `created` like '$date%' and `verified`=1"));
$totassurers += $assurers = mysql_num_rows(mysql_query("select `to` from `notary` where `when` like '$date%' and `method`!='Administrative Increase' group by `to` having sum(`points`) >= 100"));
|