/admin/ highscores
This commit is contained in:
@@ -7,10 +7,7 @@
|
||||
|
||||
Database::connect();
|
||||
|
||||
$entries = Database::sql_query_single_prep('SELECT * FROM ms4_highscoreentries WHERE GAME_ID = :id ORDER BY POINTS DESC LIMIT 50',
|
||||
[
|
||||
[ ':id', $OPTIONS['gameid'], PDO::PARAM_INT ]
|
||||
]);
|
||||
$entries = Highscores::getOrderedEntriesFromGame($OPTIONS['gameid'], 50);
|
||||
|
||||
for ($i = 0; $i < count($entries); $i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user