0) {
			$guild_exist = true;
			$guild = get_player_guild_data($user_id);
			$guild_name = get_guild_name($guild['guild_id']);
		}
		?>
		
		
			
				
					| 0):
								?> |  | 
			
			
				
				 1): ?>
					
						| Position |  | 
				
					
						| Flagged for deletion by owner after . | 
				
				
				
					| Sex |  | 
				
				
					| Level |  | 
				
				
					| Vocation |  | 
				
				
					
						| Guild | of | 
				
				
				
					| Last Login |  | 
				
				 0): ?>
					
						| Achievement Points |  | 
				
				
				 'townid',
						'TFS_03' => 'town'
						// Default: town_id
					);
					$column_town_id = (isset($column_town_id[$config['ServerEngine']]))
					? $column_town_id[$config['ServerEngine']]
					: 'town_id';
					$houses = mysql_select_multi("
						SELECT `id`, `owner`, `name`, `{$column_town_id}` AS `town_id`
						FROM `houses`
						WHERE `owner` = {$user_id};
					");
					if ($houses !== false) {
						foreach ($houses as $h): ?>
							
								| House |  | 
						
				
				
					| Status |  | 
				
				
					| Created |  | 
				
				
					
						 0) {
							$bar_mana = (int)($bar_length * ($playerstats['mana'] / $playerstats['manamax']));
						}
						else {
							$bar_mana = 100;
						}
						$outfit_server = $config['show_outfits']['imageServer'];
						$outfit_storage = $config['EQ_shower']['storage_value'];
						$male_outfits = array(
							[128,129,130,131,132],
							[133,134,143,144,145],
							[146,151,152,153,154],
							[251,268,273,278,289],
							[325,328,335,367,430],
							[432,463,465,472,512],
							//516,541,574,577,610,619,633,634,637,665,667,684,695,697,699,725,733,746,750,760,846,853,873,884,899
						);
						$female_outfits = array(
							[136,137,138,139,140],
							[141,142,147,148,149],
							[150,155,156,157,158],
							[252,269,270,279,288],
							[324,329,336,366,431],
							[433,464,466,471,513],
							//514,542,575,578,618,620,632,635,636,664,666,683,694,696,698,724,732,745,749,759,845,852,874,885,900
						);
						$featured_outfits = ($profile_data['sex'] == 1) ? $male_outfits : $female_outfits;
						$outfit_list = array();
						$outfit_rows = COUNT($featured_outfits);
						$outfit_columns = COUNT($featured_outfits[0]);
						foreach ($featured_outfits as $row) {
							if (COUNT($row) > $outfit_columns) {
								$outfit_columns = COUNT($row);
							}
							foreach ($row as $column) {
								$outfit_list[] = $column;
							}
						}
						$highest_outfit_id = MAX($outfit_list);
						$outfit_storage_max = $outfit_storage + $highest_outfit_id + 1;
						$player_outfits = array();
						$storage_sql = mysql_select_multi("
							SELECT `key`, `value`
							FROM `player_storage`
							WHERE `player_id`={$user_id}
							AND `key` > {$outfit_storage}
							AND `key` < {$outfit_storage_max}
						");
						if ($storage_sql !== false && !empty($storage_sql)) {
							foreach ($storage_sql as $row) {
								$player_outfits[$row['key']] = $row['value'];
							}
						}
						$aquired_outfits = array();
						foreach ($outfit_list as $outfit_id) {
							$outfit_key = $outfit_storage + $outfit_id;
							if (isset($player_outfits[$outfit_key]) && $player_outfits[$outfit_key] == 3) {
								$aquired_outfits[$outfit_id] = true;
							}
						}
						?>
						| 
								
									
										  
 
 
												Cap: ">
											 
 
										
										
											
												 &addons=3&head=0&body=0&legs=0&feet=0">
											
										 | 
				
				
			
		
		
		
			
		
		
		 'Show',
				'hide' => 'Hide'
			);
			if ($achievements !== false): ?>
				Achievements: 
				
				
				
				
				
			
		
		
		
			
				
					| Death List | 
			
			
				".$d['killed_by'].""
							: $d['killed_by'];
							?>
							
								|  | (unjustified)";
									}
									$mostdmg = ($d['mostdamage_by'] !== $d['killed_by']) ? true : false;
									if ($mostdmg) {
										$mostdmg = ($d['mostdamage_is_player'])
										? "".$d['mostdamage_by'].""
										: $d['mostdamage_by'];
										echo " and by $mostdmg.";
										if ($d['mostdamage_unjustified']) {
											echo " (unjustified)";
										}
									} else {
										echo " (soloed)";
									}
									?>
 | 
							
						
							| This player has never died. | 
						'. $value['killed_by'] .'';
							} else {
								$value['killed_by'] = 'monster: '. $value['killed_by'] .'.';
							}
							?>
							
								|  |  | 
						
						
							| This player has never died. | 
						= 1) {
								$namedata = user_character_data((int)$value[3], 'name');
								if ($namedata !== false) {
									$value[3] = $namedata['name'];
									$value[3] = 'player: '. $value[3] .'';
								} else {
									$value[3] = 'deleted player.';
								}
							} else {
								$value[3] = user_get_killer_m_name(user_get_kid($value['id']));
								if ($value[3] === false) {
									$value[3] = 'deleted player.';
								}
							}
							?>
							
								|  |  | 
						
						
							| This player has never died. | 
						
			
		
		
		
								 Quest progression 
								
		
		
		
		
			
				Other visible characters on this account:
				
					
						| Name: | Level: | Vocation: | Last login: | Status: | 
					
						
							|  |  |  |  |  | 
						
				
			
			
		
		Address: ">