mirror of
				https://github.com/slawkens/myaac.git
				synced 2025-10-31 07:56:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			319 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			319 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| use MyAAC\Models\Account;
 | |
| 
 | |
| defined('MYAAC') or die('Direct access not allowed!');
 | |
| 
 | |
| $accounts = 0;
 | |
| 
 | |
| if ($db->hasColumn('accounts', 'created')) {
 | |
| 	$accounts = Account::orderByDesc('created')->limit(10)->get(['id', 'created'])->toArray();
 | |
| }
 | |
| 
 | |
| $twig->display('created.html.twig', array(
 | |
| 	'accounts' => $accounts,
 | |
| ));
 | 
