mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-30 09:34:28 +00:00
45 lines
895 B
Smarty
45 lines
895 B
Smarty
<table id="member">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="16">Troop Upgrades</th>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="8">Armoury</td>
|
|
<td colspan="8">Blacksmith</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<?php
|
|
$tribe = $user['tribe'];
|
|
if($tribe ==1){ $img = ""; }
|
|
if($tribe ==2){ $img = "1";}
|
|
if($tribe ==3){ $img = "2";}
|
|
for($i=1; $i<9; $i++)
|
|
{
|
|
echo '<td><center><img src="../img/un/u/'.$img.''.$i.'.gif"></center></td>';
|
|
}
|
|
for($i=1; $i<9; $i++)
|
|
{
|
|
echo '<td><center><img src="../img/un/u/'.$img.''.$i.'.gif"></center></td>';
|
|
}
|
|
?>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<?php
|
|
##A
|
|
for($i=1; $i<9; $i++)
|
|
{
|
|
echo '<td><center>'.$aupgrades['$i.'].'</center></td>';
|
|
} ##B
|
|
for($i=1; $i<9; $i++)
|
|
{
|
|
echo '<td><center>'.$bupgrades['$i'].'</center></td>';
|
|
}
|
|
?>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
<a href="#">Edit Troop Upgrades</a> |