CAcert.org =_("Statistics")?> |
=_("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()"));
?>
=_("Valid Certificates")?>: |
=number_format($certs)?> |
=_("Assurers")?>: |
=number_format(mysql_num_rows(mysql_query("select * from notary group by `to` having sum(`points`) >= 100")))?> |
=_("Assurances Made")?>: |
=number_format(mysql_num_rows(mysql_query("select * from `notary`")))?> |
showfooter(); ?>