mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-28 22:27:15 +00:00
update
This commit is contained in:
+11
-11
@@ -1,8 +1,8 @@
|
||||
<div id="build" class="gid29"><a href="#" onClick="return Popup(29,4);" class="build_logo">
|
||||
<img class="building g29" src="img/x.gif" alt="Great Barracks" title="Great Barracks" />
|
||||
<img class="building g29" src="img/x.gif" alt="Great Barracks" title="<?php echo GREATBARRACKS; ?>" />
|
||||
</a>
|
||||
<h1>Great Barracks <span class="level">level <?php echo $village->resarray['f'.$id]; ?></span></h1>
|
||||
<p class="build_desc">Foot soldiers are trained in the great barracks. The higher the level of the barracks, the faster the troops are trained.</p>
|
||||
<h1><?php echo GREATBARRACKS; ?> <span class="level"><?php echo LEVEL; ?> <?php echo $village->resarray['f'.$id]; ?></span></h1>
|
||||
<p class="build_desc"><?php echo GREATBARRACKS_DESC; ?></p>
|
||||
|
||||
<?php if ($building->getTypeLevel(29) > 0) { ?>
|
||||
<form method="POST" name="snd" action="build.php">
|
||||
@@ -10,9 +10,9 @@
|
||||
<input type="hidden" name="ft" value="t3" />
|
||||
<table cellpadding="1" cellspacing="1" class="build_details">
|
||||
<thead><tr>
|
||||
<td>Name</td>
|
||||
<td>Quantity</td>
|
||||
<td>Max</td>
|
||||
<td><?php echo NAME; ?></td>
|
||||
<td><?php echo QUANTITY; ?></td>
|
||||
<td><?php echo MAX; ?></td>
|
||||
</tr></thead><tbody>
|
||||
<?php
|
||||
include("29_train.tpl");
|
||||
@@ -20,16 +20,16 @@
|
||||
<p><input type="image" id="btn_train" class="dynamic_img" value="ok" name="s1" src="img/x.gif" alt="train" /></form></p>
|
||||
<?php
|
||||
} else {
|
||||
echo "<b>Training can commence when great barracks are completed.</b><br>\n";
|
||||
echo "<b>".TRAINING_COMMENCE_GREATBARRACKS."</b><br>\n";
|
||||
}
|
||||
$trainlist = $technology->getTrainingList(5);
|
||||
if(count($trainlist) > 0) {
|
||||
echo "
|
||||
<table cellpadding=\"1\" cellspacing=\"1\" class=\"under_progress\">
|
||||
<thead><tr>
|
||||
<td>Training</td>
|
||||
<td>Duration</td>
|
||||
<td>Finished</td>
|
||||
<td>".TRAINING."</td>
|
||||
<td>".DURATION."</td>
|
||||
<td>".FINISHED."</td>
|
||||
</tr></thead>
|
||||
<tbody>";
|
||||
$TrainCount = 0;
|
||||
@@ -51,7 +51,7 @@
|
||||
}
|
||||
echo $time[1];
|
||||
} ?>
|
||||
</tr><tr class="next"><td colspan="3">The next unit will be finished in <span id="timer2"><?php echo $NextFinished; ?></span></td></tr>
|
||||
</tr><tr class="next"><td colspan="3"><?php echo UNIT_FINISHED; ?> <span id="timer2"><?php echo $NextFinished; ?></span></td></tr>
|
||||
</tbody></table>
|
||||
<?php }
|
||||
include("upgrade.tpl");
|
||||
|
||||
Reference in New Issue
Block a user