mirror of
				https://github.com/slawkens/myaac.git
				synced 2025-11-04 09:46: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,
 | 
						|
));
 |