2002-11-08 17:21:45 +00:00
|
|
|
<?php
|
|
|
|
require_once("util.inc");
|
|
|
|
require_once("user.inc");
|
|
|
|
|
2002-12-04 19:14:00 +00:00
|
|
|
$authenticator = init_session();
|
2002-11-08 17:21:45 +00:00
|
|
|
db_init();
|
2003-03-17 22:37:49 +00:00
|
|
|
$numusers = 100;
|
|
|
|
page_head("Top $numusers users");
|
|
|
|
$result = mysql_query("select * from user order by expavg_credit desc,total_credit desc limit $numusers");
|
2002-11-08 17:21:45 +00:00
|
|
|
user_table_start();
|
|
|
|
while ($user = mysql_fetch_object($result)) {
|
|
|
|
show_user_row($user);
|
|
|
|
}
|
|
|
|
echo "</table>\n";
|
|
|
|
page_tail();
|
|
|
|
?>
|