diff --git a/gnukebox/top-users.php b/gnukebox/top-users.php new file mode 100644 index 0000000000000000000000000000000000000000..fd5df4f35fd3d01125fb47e0fb50f10d1c88a80c --- /dev/null +++ b/gnukebox/top-users.php @@ -0,0 +1,55 @@ +. + +*/ + +header('Content-type: text/html; charset=utf-8'); +require_once('database.php'); +require_once('utils/human-time.php'); +require_once('temp-utils.php'); +require_once('version.php'); + +$adodb->SetFetchMode(ADODB_FETCH_ASSOC); + +try { + $res = $adodb->CacheGetAll(300, 'select users.username, user_stats.scrobble_count from user_stats left join users on user_stats.userid=users.uniqueid order by user_stats.scrobble_count desc LIMIT 100;'); +} catch (Exception $e) { + die($e->getMessage()); +} +?> + + + + GNUkebox + + +

Top users

+ + + +

This server is powered by GNU FM version

+ + \ No newline at end of file