CAcert.org =_("Statistics")?> |
=_("Verified Users")?>: |
=number_format(mysql_num_rows(mysql_query("select * from `users` where `verified`=1")))?> |
=_("Verified Emails")?>: |
=number_format(mysql_num_rows(mysql_query("select * from `email` where `hash`='' and `deleted`=0")))?> |
=_("Verified Domains")?>: |
=number_format(mysql_num_rows(mysql_query("select * from `domains` where `hash`='' and `deleted`=0")))?> |
$certs = mysql_num_rows(mysql_query("select * from `domaincerts`"));
$certs += mysql_num_rows(mysql_query("select * from `emailcerts`"));
$certs += mysql_num_rows(mysql_query("select * from `gpg`"));
$certs += mysql_num_rows(mysql_query("select * from `orgdomaincerts`"));
$certs += mysql_num_rows(mysql_query("select * from `orgemailcerts`"));
?>
=_("Certificates Issued")?>: |
=number_format($certs)?> |
$certs = mysql_num_rows(mysql_query("select * from `domaincerts` where `revoked`=0 and `expire`>NOW()"));
$certs += mysql_num_rows(mysql_query("select * from `emailcerts` where `revoked`=0 and `expire`>NOW()"));
$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"));
?>
=_("Valid Certificates")?>: |
=number_format($certs)?> |
=_("Assurers")?>: |
=number_format($totalassurers)?> |
=_("Assurances Made")?>: |
=number_format(mysql_num_rows(mysql_query("select * from `notary`")))?> |
=_("Users with Points")?>: |
=number_format(mysql_num_rows(mysql_query("select * from `notary` group by `to`")))?> |
$drow = mysql_fetch_assoc(mysql_query("select sum(`points`) as `points` from `notary`")); ?>
=_("Points Issued")?>: |
=number_format($drow['points'])?> |