| | Dzoki < dzoki.travian@gmail.com > | | Reworked by: Esfomeado < vps1992@live.com.pt > | | Copyright: TravianX Project All rights reserved | \*-------------------------------------------------------*/ include_once("GameEngine/Data/hero_full.php"); global $database; if (isset($_POST['name'])) { $_POST['name'] = stripslashes($_POST['name']); mysqli_query($GLOBALS['link'],"UPDATE ".TB_PREFIX."hero SET `name`='".($database->escape($_POST['name']))."' where `uid`='".$session->uid."'") or die("ERROR:".mysqli_error($database->dblink)); $hero = mysqli_query("SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = " . $session->uid . ""); $hero_info = mysqli_fetch_array($hero); echo "".NAME_CHANGED.""; } $hero = $units->Hero($session->uid); ?>
| uid."\">"; }else{ echo "".$hero_info['name'].""; } ?> ( getUnitName($hero_info['unit'])."\" title=\"".$technology->getUnitName($hero_info['unit'])."\" /> ".$technology->getUnitName($hero_info['unit']); ?> ) | |||||||||
|---|---|---|---|---|---|---|---|---|---|
![]() |
0 && $hero_info['attack'] < 100){ if($session->access != BANNED){ echo "(+)"; }else{ header("Location: banned.php"); } }else { echo "(+)"; } ?> | ||||||||
" title="" /> |
0 && $hero_info['defence'] < 100){ if($session->access != BANNED){ echo "(+)"; }else{ header("Location: banned.php"); } }else { echo "(+)"; } ?> | ||||||||
| % | ![]() |
0 && $hero_info['attackbonus'] < 100){ if($session->access != BANNED){ echo "(+)"; }else{ header("Location: banned.php"); } }else { echo "(+)"; } ?> | |||||||
| % | ![]() |
0 && $hero_info['defencebonus'] < 100){ if($session->access != BANNED){ echo "(+)"; }else{ header("Location: banned.php"); } }else { echo "(+)"; } ?> | |||||||
| / | ![]() |
0 && $hero_info['regeneration'] < 100){ if($session->access != BANNED){ echo "(+)"; }else{ header("Location: banned.php"); } }else { echo "(+)"; } ?> | |||||||
| : | % | ![]() |
: | 100% | ![]() |
||||