| | 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"); if (isset($_POST['name'])) { $_POST['name'] = stripslashes($_POST['name']); mysql_query("UPDATE ".TB_PREFIX."hero SET `name`='".($_POST['name'])."' where `uid`='".$session->uid."'") or die("ERROR:".mysql_error()); $hero = mysql_query("SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = " . $session->uid . ""); $hero_info = mysql_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% | ![]() |
||||