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="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");