| # | 
											Date | 
											Action | 
											IP | 
										
									
									
										getId())->orderByDesc('date')->get();
											foreach ($accountActions as $i => $log):
												$log->ip = ($log->ip != 0 ? long2ip($log->ip) : inet_ntop($log->ipv6));
												?>
											
												 | 
												= date("M d Y, H:i:s", $log->date); ?> | 
												= $log->action; ?> | 
												= $log->ip; ?> | 
											
											
									
								
							 
						 
						
							
								isLoaded()) {
									$account_players = Player::where('account_id', $account->getId())->orderBy('id')->get();
									if (isset($account_players)) { ?>
										
											
											
												| # | 
												Name | 
												Level | 
												Vocation | 
												Edit | 
											
											
											
											 $player): ?>
												
													 | 
													name; ?> | 
													level; ?> | 
													vocation_name; ?> | 
													 | 
												
											
											
										
										
							 
						 
						hasTable('bans')) : ?>
							
								query('SELECT * FROM ' . $db->tableName('bans') . ' WHERE ' . $db->fieldName('active') . ' = 1 AND ' . $db->fieldName('id') . ' = ' . $account->getId() . ' ORDER BY ' . $db->fieldName('added') . ' DESC LIMIT 10');
								if ($bans->rowCount()) {
									?>
									
										
										
											| Nick | 
											Type | 
											Expires | 
											Reason | 
											Comment | 
											Added by: | 
										
										
										
										
											
												| ' . $pName . ''; ?>
												 | 
												 | 
												
													' . date("d M Y", $ban['expires']);
													?>
												 | 
												 | 
												 | 
												
													' . $aName . '';
													echo ' ' . date("d.m.Y", $ban['added']);
													?>
												 | 
											
										
										
									
									
							
						hasTable('store_history') && $db->hasColumn('store_history', 'time')) { ?>
							
								query('SELECT * FROM `store_history` WHERE `account_id` = "' . $account->getId() . '" ORDER BY `time` DESC')->fetchAll(); ?>