restored old rank.php url and removed disabled users from stats
This commit is contained in:
13
htdocs/util/stats/rank.php
Normal file
13
htdocs/util/stats/rank.php
Normal 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";
|
||||||
|
|
||||||
|
?>
|
@ -12,7 +12,8 @@
|
|||||||
$n = 1;
|
$n = 1;
|
||||||
$rs = sql('SELECT `user`.`username`, `stat_user`.`found`
|
$rs = sql('SELECT `user`.`username`, `stat_user`.`found`
|
||||||
FROM `stat_user`
|
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
|
ORDER BY `stat_user`.`found` DESC
|
||||||
LIMIT 100');
|
LIMIT 100');
|
||||||
while ($r = sql_fetch_assoc($rs))
|
while ($r = sql_fetch_assoc($rs))
|
||||||
|
Reference in New Issue
Block a user