This commit is contained in:
Shadow
2014-05-12 08:43:32 +03:00
parent 7cfa82a18d
commit e337ac2b4d
93 changed files with 2105 additions and 1957 deletions
+11 -11
View File
@@ -1,8 +1,8 @@
<div id="build" class="gid19"><a href="#" onClick="return Popup(19,4);" class="build_logo">
<img class="building g19" src="img/x.gif" alt="Barracks" title="Barracks" />
<img class="building g19" src="img/x.gif" alt="Barracks" title="<?php echo BARRACKS; ?>" />
</a>
<h1>Barracks <span class="level">level <?php echo $village->resarray['f'.$id]; ?></span></h1>
<p class="build_desc">All foot soldiers are trained in the barracks. The higher the level of the barracks, the faster the troops are trained.</p>
<h1><?php echo BARRACKS; ?> <span class="level"><?php echo LEVEL; ?> <?php echo $village->resarray['f'.$id]; ?></span></h1>
<p class="build_desc"><?php echo BARRACKS_DESC; ?> </p>
<?php if ($building->getTypeLevel(19) > 0) { ?>
<form method="POST" name="snd" action="build.php">
@@ -10,9 +10,9 @@
<input type="hidden" name="ft" value="t1" />
<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("19_train.tpl");
@@ -20,7 +20,7 @@
<p><input type="image" id="btn_train" class="dynamic_img" value="ok" name="s1" src="img/x.gif" alt="train" onclick="this.disabled=true;this.form.submit();"/></form></p>
<?php
} else {
echo "<b>Training can commence when barracks are completed.</b><br>\n";
echo "<b>".TRAINING_COMMENCE_BARRACKS."</b><br>\n";
}
$trainlist = $technology->getTrainingList(1);
if(count($trainlist) > 0) {
@@ -28,9 +28,9 @@
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;
@@ -52,7 +52,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");