From 92ac6c9a7925e48d618931345ff94eb8602dbf25 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 2 Dec 2004 13:46:06 +0000 Subject: [PATCH] bug fixes --- www/stats.php | 61 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/www/stats.php b/www/stats.php index 6aa1b55..4fac899 100644 --- a/www/stats.php +++ b/www/stats.php @@ -9,7 +9,7 @@ CAcert.org - : + : @@ -37,6 +37,7 @@ $certs += mysql_num_rows(mysql_query("select * from `gpg` where `expire`<=NOW()")); $certs += mysql_num_rows(mysql_query("select * from `orgdomaincerts` where `revoked`=0 and `expire`>NOW()")); $certs += mysql_num_rows(mysql_query("select * from `orgemailcerts` where `revoked`=0 and `expire`>NOW()")); + $totalassurers = mysql_num_rows(mysql_query("select * from notary group by `to` having sum(`points`) >= 100")); ?> : @@ -44,12 +45,68 @@ : - = 100")))?> + : +
+ + + + + + += 100")); +?> + + + + + + + + + + + +
CAcert.org
+ + +
N/A
+
+ + + + + + += 2002; $i--) { + $totalusers += $users = mysql_num_rows(mysql_query("select * from `users` where `created` like '$i%' and `verified`=1")); + $totassurers += $assurers = mysql_num_rows(mysql_query("select * from `notary` where `when` like '$i%' and `method`!='Administrative Increase' group by `to` having sum(`points`) >= 100")); +?> + + + + + + + + + + + +
CAcert.org
+ + +
N/A
+