mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
9 lines
292 B
PHP
9 lines
292 B
PHP
<?php
|
|
defined('MYAAC') or die('Direct access not allowed!');
|
|
|
|
$balance = ($db->hasColumn('players', 'balance') ? $db->query('SELECT `balance`, `id`, `name`,`level` FROM `players` ORDER BY `balance` DESC LIMIT 10;') : 0);
|
|
|
|
$twig->display('balance.html.twig', array(
|
|
'balance' => $balance
|
|
));
|