|
| Dzoki < dzoki.travian@gmail.com > |
| Copyright: TravianX Project All rights reserved |
\*-------------------------------------------------------*/
$hero_info = $units->Hero($session->uid);
$heroes = $units->Hero($session->uid, 1);
$define['reset_level'] = 3; // Until which level you are able to reset your points
?>
resarray['f' . $id]; ?>
resarray['f' . $id] >= 1) {
include_once("37_land.tpl");
} else if ($village->resarray['f' . $id] >= 1) {
$include_training = true;
$include_revive = false;
if (isset($heroes) && is_array($heroes) && count($heroes)) {
foreach ( $heroes as $hdata ) {
if ( $hdata['dead'] == 1 ) {
$include_revive = true;
}
if ( $hdata['inrevive'] == 1 ) {
$name1 = $hdata['name'];
$include_training = false;
}
}
}
if($hero_info === false && $include_revive){
include_once("37_revive.tpl");
}
if ($hero_info === false && $include_training) {
include_once("37_train.tpl");
} else if($hero_info['intraining'] == 1) {
$timeleft = $generator->getTimeFormat($hero_info['trainingtime'] - time());
?>
| ".HERO_READY."timer.">" . $timeleft . " |
"; ?>

$name ($name1)
"
?>
|