$data = DB()->fetch_rowset("SELECT t.user_id, u.username, u.user_rank, SUM( t.u_down_total ) sum
FROM ". BB_BT_USERS ." t
LEFT JOIN ". BB_USERS ." u ON ( t.user_id = u.user_id )
WHERE u.user_id NOT IN(". EXCLUDED_USERS_CSV .")
GROUP BY t.user_id
ORDER BY sum DESC
LIMIT 0 ,".$bb_cfg['t_top_downloaders']);
$this->store('top_downloaders', $data);