restored old rank.php url and removed disabled users from stats

This commit is contained in:
following 2013-08-05 12:18:01 +02:00
parent ebfecb778c
commit fe78d752c8
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,13 @@
<?php
/***************************************************************************
* For license information see doc/license.txt
*
* Unicode Reminder メモ
*
* The tool has been portet to lib2; lib1 URL is still provided for
* downward compatibility
***************************************************************************/
include "../../util2/stats/rank.php";
?>

View File

@ -12,7 +12,8 @@
$n = 1;
$rs = sql('SELECT `user`.`username`, `stat_user`.`found`
FROM `stat_user`
INNER JOIN `user` on `stat_user`.`user_id`=`user`.`user_id`
INNER JOIN `user` on `stat_user`.`user_id`=`user`.`user_id`
WHERE `user`.`is_active_flag`=1
ORDER BY `stat_user`.`found` DESC
LIMIT 100');
while ($r = sql_fetch_assoc($rs))