mirror of
				https://github.com/slawkens/myaac.git
				synced 2025-11-04 01:36:23 +01: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
 | 
						|
));
 |