Improved register_globals

pull/1/head
root 16 years ago
parent ee7bfd4685
commit 3e90c6f09b

@ -106,7 +106,11 @@
<td class="DataTD"><b><?=_("New Assurers")?></b>
<td class="DataTD"><b><?=_("New Certificates")?></b>
</tr>
<? 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"));

Loading…
Cancel
Save