uid; // ========================= // RANK PROCESS // ========================= $ranking->procRankReq($_GET); // ensure safe overwrite $_GET['uid'] = $uid; // ========================= // USER DATA // ========================= $displayarray = $database->getUserArray($uid, 1); $varmedal = $database->getProfileMedal($uid); // ========================= // PROFILE SAFE MERGE // ========================= // marker legacy (păstrat pentru compatibilitate DB) $profileSeparator = md5('skJkev3'); // păstrăm exact formatul original (IMPORTANT pentru medal.php) $profiel = $displayarray['desc1'] . $profileSeparator . $displayarray['desc2']; // medal.php se ocupă de procesare (NU îi strica inputul) require("medal.php"); // split DUPĂ medal processing $profiel = explode($profileSeparator, $profiel); // safety fallback if (!isset($profiel[0])) $profiel[0] = ''; if (!isset($profiel[1])) $profiel[1] = ''; // ========================= // VILLAGES + POPULATION // ========================= $varray = $database->getProfileVillages($uid); $totalpop = 0; foreach ($varray as $vil) { $totalpop += (int)$vil['pop']; } ?>

Player profile

uid) { if ($session->sit == 0) { include("menu.tpl"); } else { include("menu2.tpl"); } } ?> "; if ($displayarray['access'] == MULTIHUNTER) echo ""; if ($displayarray['access'] == BANNED) echo ""; if ($displayarray['vac_mode'] == 1) echo ""; ?>
Player
This player is Admin.
This player is Multihunter.
This player is BANNED.
This player is on VACATION.
Details Description
"; } ?> "; } // ========================= // GENDER // ========================= if (!empty($displayarray['gender'])) { $gender = ($displayarray['gender'] == 1) ? "Male" : "Female"; echo ""; } // ========================= // LOCATION // ========================= if (!empty($displayarray['location'])) { echo ""; } ?> uid) { // ========================= // OWN PROFILE ACTION // ========================= if ($session->sit == 0) { echo ''; } else { echo ''; } } else { // ========================= // BLOCK SYSTEM ACCOUNTS // ========================= if ($isNatar || $isNature) { echo ''; } else { echo ''; } } ?>
Banned
Rank getUserRank($displayarray['id']); ?>
Tribe
Alliance getAllianceName($displayarray['alliance']); echo '' . htmlspecialchars($displayalliance, ENT_QUOTES, 'UTF-8') . ''; } ?>
Villages
Population
Age$age
Gender$gender
Location" . htmlspecialchars($displayarray['location'], ENT_QUOTES, 'UTF-8') . "
» Change profile» Change profile» Write message not available» Write message
villageHasArtefact($vil['wref']); $coor = $database->getCoor($vil['wref']); echo ""; } echo ""; } ?>
Villages
Name Oasis Inhabitants Coordinates
" . htmlspecialchars($vil['name'], ENT_QUOTES, 'UTF-8') . ""; if ($vil['capital'] == 1) echo " (Capital)"; if (defined('NEW_FUNCTIONS_DISPLAY_ARTIFACT') && NEW_FUNCTIONS_DISPLAY_ARTIFACT) { if ($hasArtifact) echo " (Artifact)"; } if (defined('NEW_FUNCTIONS_DISPLAY_WONDER') && NEW_FUNCTIONS_DISPLAY_WONDER) { if ($vil['natar'] == 1) echo " (WoW)"; } // OASIS if (defined('NEW_FUNCTIONS_OASIS') && NEW_FUNCTIONS_OASIS) { echo ""; $oases = $database->getOasis($vil['wref']); foreach ($oases as $oasis) { switch ($oasis['type']) { case 1: case 2: echo " "; break; case 3: echo " "; break; case 4: case 5: echo " "; break; case 6: echo " "; break; case 7: case 8: echo " "; break; case 9: echo " "; break; case 10: case 11: echo " "; break; case 12: echo " "; break; } } echo "" . (int)$vil['pop'] . "
(" . $coor['x'] . "
|
" . $coor['y'] . ")