big update

This commit is contained in:
unknown
2012-07-03 05:27:14 +03:00
parent 8de9d72021
commit b578e44608
49 changed files with 1001 additions and 228 deletions
+8 -8
View File
@@ -19,7 +19,7 @@
<td class="desc">
Legionnaire
</td><td class="value">
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="7" title="Number Legionnaire" />
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="10" title="Number Legionnaire" />
</td>
<td class="research">
<input class="text" type="text" name="f1_1" value="<?php echo $form->getValue('f1_1'); ?>" maxlength="2" title="Level Blacksmith Legionnaire" />
@@ -31,7 +31,7 @@
<td class="desc">
Praetorian
</td><td class="value">
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="7" title="Number Praetorian" />
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="10" title="Number Praetorian" />
</td>
<td class="research">
<input class="text" type="text" name="f1_2" value="<?php echo $form->getValue('f1_2'); ?>" maxlength="2" title="Level Blacksmith Praetorian" />
@@ -43,7 +43,7 @@
<td class="desc">
Imperian
</td><td class="value">
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="7" title="Number Imperian" />
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="10" title="Number Imperian" />
</td>
<td class="research">
@@ -56,7 +56,7 @@
Equites Legati
</td><td class="value">
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="7" title="Number Equites Legati" />
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="10" title="Number Equites Legati" />
</td>
<td class="research">
<input class="text" type="text" name="f1_4" value="<?php echo $form->getValue('f1_4'); ?>" maxlength="2" title="Level Blacksmith Equites Legati" />
@@ -68,7 +68,7 @@
Equites Imperatoris
</td><td class="value">
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="7" title="Number Equites Imperatoris" />
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="10" title="Number Equites Imperatoris" />
</td>
<td class="research">
<input class="text" type="text" name="f1_5" value="<?php echo $form->getValue('f1_5'); ?>" maxlength="2" title="Level Blacksmith Equites Imperatoris" />
@@ -80,7 +80,7 @@
<td class="desc">
Equites Caesaris
</td><td class="value">
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="7" title="Number Equites Caesaris" />
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="10" title="Number Equites Caesaris" />
</td>
<td class="research">
<input class="text" type="text" name="f1_6" value="<?php echo $form->getValue('f1_6'); ?>" maxlength="2" title="Level Blacksmith Equites Caesaris" />
@@ -92,7 +92,7 @@
<td class="desc">
Battering Ram
</td><td class="value">
<input class="text" type="text" name="a1_7" value="<?php echo $form->getValue('a1_7'); ?>" maxlength="7" title="Number Battering Ram" />
<input class="text" type="text" name="a1_7" value="<?php echo $form->getValue('a1_7'); ?>" maxlength="10" title="Number Battering Ram" />
</td>
<td class="research">
@@ -104,7 +104,7 @@
<td class="desc">
Fire Catapult
</td><td class="value">
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="7" title="Number Fire Catapult" />
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="10" title="Number Fire Catapult" />
</td>
<td class="research">
+8 -8
View File
@@ -19,7 +19,7 @@
<td class="desc">
Clubswinger
</td><td class="value">
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="7" title="Number Clubswinger" />
<input class="text" type="text" name="a1_1" value="<?php echo $form->getValue('a1_1'); ?>" maxlength="10" title="Number Clubswinger" />
</td>
<td class="research">
<input class="text" type="text" name="f1_1" value="<?php echo $form->getValue('f1_1'); ?>" maxlength="2" title="Level Blacksmith Clubswinger" />
@@ -31,7 +31,7 @@
<td class="desc">
Spearman
</td><td class="value">
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="7" title="Number Spearman" />
<input class="text" type="text" name="a1_2" value="<?php echo $form->getValue('a1_2'); ?>" maxlength="10" title="Number Spearman" />
</td>
<td class="research">
<input class="text" type="text" name="f1_2" value="<?php echo $form->getValue('f1_2'); ?>" maxlength="2" title="Level Blacksmith Spearman" />
@@ -43,7 +43,7 @@
<td class="desc">
Axeman
</td><td class="value">
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="7" title="Number Axeman" />
<input class="text" type="text" name="a1_3" value="<?php echo $form->getValue('a1_3'); ?>" maxlength="10" title="Number Axeman" />
</td>
<td class="research">
@@ -56,7 +56,7 @@
Scout
</td><td class="value">
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="7" title="Number Scout" />
<input class="text" type="text" name="a1_4" value="<?php echo $form->getValue('a1_4'); ?>" maxlength="10" title="Number Scout" />
</td>
<td class="research">
<input class="text" type="text" name="f1_4" value="<?php echo $form->getValue('f1_4'); ?>" maxlength="2" title="Level Blacksmith Scout" />
@@ -68,7 +68,7 @@
Paladin
</td><td class="value">
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="7" title="Number Paladin" />
<input class="text" type="text" name="a1_5" value="<?php echo $form->getValue('a1_5'); ?>" maxlength="10" title="Number Paladin" />
</td>
<td class="research">
<input class="text" type="text" name="f1_5" value="<?php echo $form->getValue('f1_5'); ?>" maxlength="2" title="Level Blacksmith Paladin" />
@@ -80,7 +80,7 @@
<td class="desc">
Teutonic Knight
</td><td class="value">
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="7" title="Number Teutonic Knight" />
<input class="text" type="text" name="a1_6" value="<?php echo $form->getValue('a1_6'); ?>" maxlength="10" title="Number Teutonic Knight" />
</td>
<td class="research">
<input class="text" type="text" name="f1_6" value="<?php echo $form->getValue('f1_6'); ?>" maxlength="2" title="Level Blacksmith Teutonic Knight" />
@@ -92,7 +92,7 @@
<td class="desc">
Ram
</td><td class="value">
<input class="text" type="text" name="a1_7" value="<?php echo $form->getValue('a1_7'); ?>" maxlength="7" title="Number Ram" />
<input class="text" type="text" name="a1_7" value="<?php echo $form->getValue('a1_7'); ?>" maxlength="10" title="Number Ram" />
</td>
<td class="research">
@@ -104,7 +104,7 @@
<td class="desc">
Catapult
</td><td class="value">
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="7" title="Number Catapult" />
<input class="text" type="text" name="a1_8" value="<?php echo $form->getValue('a1_8'); ?>" maxlength="10" title="Number Catapult" />
</td>
<td class="research">
+8 -8
View File
@@ -13,7 +13,7 @@
<td class="desc">
Legionnaire
</td><td class="value">
<input class="text" type="text" name="a2_1" value="<?php echo $form->getValue('a2_1'); ?>" maxlength="7" title="Number Legionnaire" />
<input class="text" type="text" name="a2_1" value="<?php echo $form->getValue('a2_1'); ?>" maxlength="10" title="Number Legionnaire" />
</td>
<td class="research">
<input class="text" type="text" name="f2_1" value="<?php echo $form->getValue('f2_1'); ?>" maxlength="2" title="Level Armoury Legionnaire" />
@@ -25,7 +25,7 @@
<td class="desc">
Praetorian
</td><td class="value">
<input class="text" type="text" name="a2_2" value="<?php echo $form->getValue('a2_2'); ?>" maxlength="7" title="Number Praetorian" />
<input class="text" type="text" name="a2_2" value="<?php echo $form->getValue('a2_2'); ?>" maxlength="10" title="Number Praetorian" />
</td>
<td class="research">
<input class="text" type="text" name="f2_2" value="<?php echo $form->getValue('f2_2'); ?>" maxlength="2" title="Level Armoury Praetorian" />
@@ -37,7 +37,7 @@
<td class="desc">
Imperian
</td><td class="value">
<input class="text" type="text" name="a2_3" value="<?php echo $form->getValue('a2_3'); ?>" maxlength="7" title="Number Imperian" />
<input class="text" type="text" name="a2_3" value="<?php echo $form->getValue('a2_3'); ?>" maxlength="10" title="Number Imperian" />
</td>
<td class="research">
@@ -50,7 +50,7 @@
Equites Legati
</td><td class="value">
<input class="text" type="text" name="a2_4" value="<?php echo $form->getValue('a2_4'); ?>" maxlength="7" title="Number Equites Legati" />
<input class="text" type="text" name="a2_4" value="<?php echo $form->getValue('a2_4'); ?>" maxlength="10" title="Number Equites Legati" />
</td>
<td class="research">
<input class="text" type="text" name="f2_4" value="<?php echo $form->getValue('f2_4'); ?>" maxlength="2" title="Level Armoury Equites Legati" />
@@ -62,7 +62,7 @@
Equites Imperatoris
</td><td class="value">
<input class="text" type="text" name="a2_5" value="<?php echo $form->getValue('a2_5'); ?>" maxlength="7" title="Number Equites Imperatoris" />
<input class="text" type="text" name="a2_5" value="<?php echo $form->getValue('a2_5'); ?>" maxlength="10" title="Number Equites Imperatoris" />
</td>
<td class="research">
<input class="text" type="text" name="f2_5" value="<?php echo $form->getValue('f2_5'); ?>" maxlength="2" title="Level Armoury Equites Imperatoris" />
@@ -74,7 +74,7 @@
<td class="desc">
Equites Caesaris
</td><td class="value">
<input class="text" type="text" name="a2_6" value="<?php echo $form->getValue('a2_6'); ?>" maxlength="7" title="Number Equites Caesaris" />
<input class="text" type="text" name="a2_6" value="<?php echo $form->getValue('a2_6'); ?>" maxlength="10" title="Number Equites Caesaris" />
</td>
<td class="research">
<input class="text" type="text" name="f2_6" value="<?php echo $form->getValue('f2_6'); ?>" maxlength="2" title="Level Armoury Equites Caesaris" />
@@ -86,7 +86,7 @@
<td class="desc">
Battering Ram
</td><td class="value">
<input class="text" type="text" name="a2_7" value="<?php echo $form->getValue('a2_7'); ?>" maxlength="7" title="Number Battering Ram" />
<input class="text" type="text" name="a2_7" value="<?php echo $form->getValue('a2_7'); ?>" maxlength="10" title="Number Battering Ram" />
</td>
<td class="research">
@@ -98,7 +98,7 @@
<td class="desc">
Fire Catapult
</td><td class="value">
<input class="text" type="text" name="a2_8" value="<?php echo $form->getValue('a2_8'); ?>" maxlength="7" title="Number Fire Catapult" />
<input class="text" type="text" name="a2_8" value="<?php echo $form->getValue('a2_8'); ?>" maxlength="10" title="Number Fire Catapult" />
</td>
<td class="research">
+8 -8
View File
@@ -13,7 +13,7 @@
<td class="desc">
Clubswinger
</td><td class="value">
<input class="text" type="text" name="a2_11" value="<?php echo $form->getValue('a2_11'); ?>" maxlength="7" title="Number Clubswinger" />
<input class="text" type="text" name="a2_11" value="<?php echo $form->getValue('a2_11'); ?>" maxlength="10" title="Number Clubswinger" />
</td>
<td class="research">
<input class="text" type="text" name="f2_11" value="<?php echo $form->getValue('f2_11'); ?>" maxlength="2" title="Level Armoury Clubswinger" />
@@ -25,7 +25,7 @@
<td class="desc">
Spearman
</td><td class="value">
<input class="text" type="text" name="a2_12" value="<?php echo $form->getValue('a2_12'); ?>" maxlength="7" title="Number Spearman" />
<input class="text" type="text" name="a2_12" value="<?php echo $form->getValue('a2_12'); ?>" maxlength="10" title="Number Spearman" />
</td>
<td class="research">
<input class="text" type="text" name="f2_12" value="<?php echo $form->getValue('f2_12'); ?>" maxlength="2" title="Level Armoury Spearman" />
@@ -37,7 +37,7 @@
<td class="desc">
Axeman
</td><td class="value">
<input class="text" type="text" name="a2_13" value="<?php echo $form->getValue('a2_13'); ?>" maxlength="7" title="Number Axeman" />
<input class="text" type="text" name="a2_13" value="<?php echo $form->getValue('a2_13'); ?>" maxlength="10" title="Number Axeman" />
</td>
<td class="research">
@@ -50,7 +50,7 @@
Scout
</td><td class="value">
<input class="text" type="text" name="a2_14" value="<?php echo $form->getValue('a2_14'); ?>" maxlength="7" title="Number Scout" />
<input class="text" type="text" name="a2_14" value="<?php echo $form->getValue('a2_14'); ?>" maxlength="10" title="Number Scout" />
</td>
<td class="research">
<input class="text" type="text" name="f2_14" value="<?php echo $form->getValue('f2_14'); ?>" maxlength="2" title="Level Armoury Scout" />
@@ -62,7 +62,7 @@
Paladin
</td><td class="value">
<input class="text" type="text" name="a2_15" value="<?php echo $form->getValue('a2_15'); ?>" maxlength="7" title="Number Paladin" />
<input class="text" type="text" name="a2_15" value="<?php echo $form->getValue('a2_15'); ?>" maxlength="10" title="Number Paladin" />
</td>
<td class="research">
<input class="text" type="text" name="f2_15" value="<?php echo $form->getValue('f2_15'); ?>" maxlength="2" title="Level Armoury Paladin" />
@@ -74,7 +74,7 @@
<td class="desc">
Teutonic Knight
</td><td class="value">
<input class="text" type="text" name="a2_16" value="<?php echo $form->getValue('a2_16'); ?>" maxlength="7" title="Number Teutonic Knight" />
<input class="text" type="text" name="a2_16" value="<?php echo $form->getValue('a2_16'); ?>" maxlength="10" title="Number Teutonic Knight" />
</td>
<td class="research">
<input class="text" type="text" name="f2_16" value="<?php echo $form->getValue('f2_16'); ?>" maxlength="2" title="Level Armoury Teutonic Knight" />
@@ -86,7 +86,7 @@
<td class="desc">
Ram
</td><td class="value">
<input class="text" type="text" name="a2_17" value="<?php echo $form->getValue('a2_17'); ?>" maxlength="7" title="Number Ram" />
<input class="text" type="text" name="a2_17" value="<?php echo $form->getValue('a2_17'); ?>" maxlength="10" title="Number Ram" />
</td>
<td class="research">
@@ -98,7 +98,7 @@
<td class="desc">
Catapult
</td><td class="value">
<input class="text" type="text" name="a2_18" value="<?php echo $form->getValue('a2_18'); ?>" maxlength="7" title="Number Catapult" />
<input class="text" type="text" name="a2_18" value="<?php echo $form->getValue('a2_18'); ?>" maxlength="10" title="Number Catapult" />
</td>
<td class="research">
+8 -8
View File
@@ -13,7 +13,7 @@
<td class="desc">
Phalanx
</td><td class="value">
<input class="text" type="text" name="a2_21" value="<?php echo $form->getValue('a2_21'); ?>" maxlength="7" title="Number Phalanx" />
<input class="text" type="text" name="a2_21" value="<?php echo $form->getValue('a2_21'); ?>" maxlength="10" title="Number Phalanx" />
</td>
<td class="research">
<input class="text" type="text" name="f2_21" value="<?php echo $form->getValue('f2_21'); ?>" maxlength="2" title="Level Armoury Phalanx" />
@@ -25,7 +25,7 @@
<td class="desc">
Swordsman
</td><td class="value">
<input class="text" type="text" name="a2_22" value="<?php echo $form->getValue('a2_22'); ?>" maxlength="7" title="Number Swordsman" />
<input class="text" type="text" name="a2_22" value="<?php echo $form->getValue('a2_22'); ?>" maxlength="10" title="Number Swordsman" />
</td>
<td class="research">
<input class="text" type="text" name="f2_22" value="<?php echo $form->getValue('f2_22'); ?>" maxlength="2" title="Level Armoury Swordsman" />
@@ -37,7 +37,7 @@
<td class="desc">
Pathfinder
</td><td class="value">
<input class="text" type="text" name="a2_23" value="<?php echo $form->getValue('a2_23'); ?>" maxlength="7" title="Number Pathfinder" />
<input class="text" type="text" name="a2_23" value="<?php echo $form->getValue('a2_23'); ?>" maxlength="10" title="Number Pathfinder" />
</td>
<td class="research">
@@ -50,7 +50,7 @@
Theutates Thunder
</td><td class="value">
<input class="text" type="text" name="a2_24" value="<?php echo $form->getValue('a2_24'); ?>" maxlength="7" title="Number Theutates Thunder" />
<input class="text" type="text" name="a2_24" value="<?php echo $form->getValue('a2_24'); ?>" maxlength="10" title="Number Theutates Thunder" />
</td>
<td class="research">
<input class="text" type="text" name="f2_24" value="<?php echo $form->getValue('a2_24'); ?>" maxlength="2" title="Level Armoury Theutates Thunder" />
@@ -62,7 +62,7 @@
Druidrider
</td><td class="value">
<input class="text" type="text" name="a2_25" value="<?php echo $form->getValue('a2_25'); ?>" maxlength="7" title="Number Druidrider" />
<input class="text" type="text" name="a2_25" value="<?php echo $form->getValue('a2_25'); ?>" maxlength="10" title="Number Druidrider" />
</td>
<td class="research">
<input class="text" type="text" name="f2_25" value="<?php echo $form->getValue('f2_25'); ?>" maxlength="2" title="Level Armoury Druidrider" />
@@ -74,7 +74,7 @@
<td class="desc">
Haeduan
</td><td class="value">
<input class="text" type="text" name="a2_26" value="<?php echo $form->getValue('a2_26'); ?>" maxlength="7" title="Number Haeduan" />
<input class="text" type="text" name="a2_26" value="<?php echo $form->getValue('a2_26'); ?>" maxlength="10" title="Number Haeduan" />
</td>
<td class="research">
<input class="text" type="text" name="f2_26" value="<?php echo $form->getValue('f2_27'); ?>" maxlength="2" title="Level Armoury Haeduan" />
@@ -86,7 +86,7 @@
<td class="desc">
Ram
</td><td class="value">
<input class="text" type="text" name="a2_27" value="<?php echo $form->getValue('a2_27'); ?>" maxlength="7" title="Number Ram" />
<input class="text" type="text" name="a2_27" value="<?php echo $form->getValue('a2_27'); ?>" maxlength="10" title="Number Ram" />
</td>
<td class="research">
@@ -98,7 +98,7 @@
<td class="desc">
Trebuchet
</td><td class="value">
<input class="text" type="text" name="a2_28" value="<?php echo $form->getValue('a2_28'); ?>" maxlength="7" title="Number Trebuchet" />
<input class="text" type="text" name="a2_28" value="<?php echo $form->getValue('a2_28'); ?>" maxlength="10" title="Number Trebuchet" />
</td>
<td class="research">
+18 -3
View File
@@ -15,27 +15,42 @@
</tr>
<?php
if(in_array(1,$target)) {
if($_POST['wall1'] != 0){
$wall1 = $_POST['wall1'];
}else{
$wall1 = 0;
}
echo "<tr>
<td class=\"ico\"><img src=\"img/x.gif\" class=\"unit uwall\" alt=\"City Wall\" title=\"City Wall\" /></td>
<td class=\"desc\">City Wall</td>
<td class=\"value\"><input class=\"text\" type=\"text\" name=\"wall1\" value=\"0\" maxlength=\"2\" title=\"level City Wall\" /></td>
<td class=\"value\"><input class=\"text\" type=\"text\" name=\"wall1\" value=\"$wall1\" maxlength=\"2\" title=\"level City Wall\" /></td>
<td class=\"research\"></td>
</tr>";
}
if(in_array(2,$target)) {
if($_POST['wall2'] != 0){
$wall2 = $_POST['wall2'];
}else{
$wall2 = 0;
}
echo "<tr>
<td class=\"ico\"><img src=\"img/x.gif\" class=\"unit ubarr\" alt=\"Earth Wall\" title=\"Earth Wall\" /></td>
<td class=\"desc\">Earth Wall</td>
<td class=\"value\"><input class=\"text\" type=\"text\" name=\"wall2\" value=\"0\" maxlength=\"2\" title=\"level Earth Wall\" /></td>
<td class=\"value\"><input class=\"text\" type=\"text\" name=\"wall2\" value=\"$wall2\" maxlength=\"2\" title=\"level Earth Wall\" /></td>
<td class=\"research\"></td>
</tr>";
}
if(in_array(3,$target)) {
if($_POST['wall3'] != 0){
$wall3 = $_POST['wall3'];
}else{
$wall3 = 0;
}
echo "<tr>
<td class=\"ico\"><img src=\"img/x.gif\" class=\"unit ustock\" alt=\"Palisade\" title=\"Palisade\" /></td>
<td class=\"desc\">Palisade</td>
<td class=\"value\"><input class=\"text\" type=\"text\" name=\"wall3\" value=\"0\" maxlength=\"2\" title=\"level Palisade\" /></td>
<td class=\"value\"><input class=\"text\" type=\"text\" name=\"wall3\" value=\"$wall3\" maxlength=\"2\" title=\"level Palisade\" /></td>
<td class=\"research\"></td>
</tr>";