Files
TravianZ/Templates/Build/14.tpl
T
2012-03-29 13:00:34 +02:00

28 lines
1.1 KiB
Smarty

<div id="build" class="gid14"><a href="#" onClick="return Popup(14,4);" class="build_logo">
<img class="building g14" src="img/x.gif" alt="Tournament Square" title="Tournament Square" />
</a>
<h1>Tournament Square <span class="level">Level <?php echo $village->resarray['f'.$id]; ?></span></h1>
<p class="build_desc">At the Tournament Square your troops can train their stamina. The further the building is upgraded the faster your troops are beyond a minimum distance of <?php echo TS_THRESHOLD ?> squares.</p>
<table cellpadding="1" cellspacing="1" id="build_value">
<tr>
<th>Current speed bonus:</th>
<td><b><?php echo $bid14[$village->resarray['f'.$id]]['attri']; ?></b> Percent</td>
</tr>
<tr>
<?php
if(!$building->isMax($village->resarray['f'.$id.'t'],$id)) {
?>
<th>Speed bonus at level <?php echo $village->resarray['f'.$id]+1; ?>:</th>
<td><b><?php echo $bid14[$village->resarray['f'.$id]+1]['attri']; ?></b> Percent</td>
<?php
}
?>
</tr>
</table>
<?php
include("upgrade.tpl");
?>
</p></div>