mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-17 00:31:02 +00:00
l10n: full interface translation (FR/RO/IT/ZH) + EN fallback hardening (#186)
This commit is contained in:
+62
-62
@@ -53,11 +53,11 @@ $kata = !empty($process['t8']);
|
||||
<table id="short_info" cellpadding="1" cellspacing="1">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Destination:</th>
|
||||
<th><?php echo TZ_DESTINATION; ?></th>
|
||||
<td><a href="karte.php?d=<?php echo $process[0]; ?>&c=<?php echo $generator->getMapCheck($process[0]); ?>"><?php echo $process[1]; ?> (<?php echo $coor['x']; ?>|<?php echo $coor['y']; ?>)</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Owner:</th>
|
||||
<th><?php echo TZ_OWNER; ?></th>
|
||||
<td><a href="spieler.php?uid=<?php echo $process['2']; ?>"><?php echo $database->getUserField($process['2'], 'username', 0); ?></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -78,12 +78,12 @@ $kata = !empty($process['t8']);
|
||||
echo '<td><img src="img/x.gif" class="unit u' . $i . '" title="' . $technology->getUnitName($i) . '" alt="' . $technology->getUnitName($i) . '" /></td>';
|
||||
}
|
||||
if ($hasHero) {
|
||||
echo '<td><img src="img/x.gif" class="unit uhero" title="Hero" alt="Hero" /></td>';
|
||||
echo '<td><img src="img/x.gif" class="unit uhero" title="'.U0.'" alt="'.U0.'" /></td>';
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Troops</th>
|
||||
<th><?php echo TROOPS; ?></th>
|
||||
<?php for ($i = 1; $i <= 10; $i++): ?>
|
||||
<td <?php if (!isset($process['t'.$i]) || $process['t'.$i] == '') { echo 'class="none">0'; } else { echo '>' . $process['t'.$i]; } ?></td>
|
||||
<?php endfor; ?>
|
||||
@@ -94,10 +94,10 @@ $kata = !empty($process['t8']);
|
||||
<?php if ($process['c'] == 1): ?>
|
||||
<tbody class="options">
|
||||
<tr>
|
||||
<th>Options</th>
|
||||
<th><?php echo OPTION; ?></th>
|
||||
<td colspan="<?php echo $colspan; ?>">
|
||||
<input class="radio" name="spy" value="1" checked="checked" type="radio">Scout resources and troops<br>
|
||||
<input class="radio" name="spy" value="2" type="radio">Scout defences and troops
|
||||
<input class="radio" name="spy" value="1" checked="checked" type="radio"><?php echo TZ_SCOUT_RESOURCES_AND_TROOPS; ?><br>
|
||||
<input class="radio" name="spy" value="2" type="radio"><?php echo TZ_SCOUT_DEFENCES_AND_TROOPS; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -107,56 +107,56 @@ $kata = !empty($process['t8']);
|
||||
<?php if ($process['c'] == 3): ?>
|
||||
<tbody class="cata">
|
||||
<tr>
|
||||
<th>Destination:</th>
|
||||
<th><?php echo TZ_DESTINATION; ?></th>
|
||||
<td colspan="<?php echo $colspan; ?>">
|
||||
<select name="ctar1" class="dropdown">
|
||||
<option value="0">Random</option>
|
||||
<option value="0"><?php echo RANDOM; ?></option>
|
||||
<?php if ($building->getTypeLevel(16) >= 5): ?>
|
||||
<optgroup label="Resources">
|
||||
<option value="1">Woodcutter</option>
|
||||
<option value="2">Clay Pit</option>
|
||||
<option value="3">Iron Mine</option>
|
||||
<option value="4">Cropland</option>
|
||||
<option value="5">Sawmill</option>
|
||||
<option value="6">Brickyard</option>
|
||||
<option value="7">Iron Foundry</option>
|
||||
<option value="8">Grain Mill</option>
|
||||
<option value="9">Bakery</option>
|
||||
<option value="1"><?php echo WOODCUTTER; ?></option>
|
||||
<option value="2"><?php echo CLAYPIT; ?></option>
|
||||
<option value="3"><?php echo IRONMINE; ?></option>
|
||||
<option value="4"><?php echo CROPLAND; ?></option>
|
||||
<option value="5"><?php echo SAWMILL; ?></option>
|
||||
<option value="6"><?php echo BRICKYARD; ?></option>
|
||||
<option value="7"><?php echo IRONFOUNDRY; ?></option>
|
||||
<option value="8"><?php echo GRAINMILL; ?></option>
|
||||
<option value="9"><?php echo BAKERY; ?></option>
|
||||
</optgroup>
|
||||
<?php endif; ?>
|
||||
<?php if ($building->getTypeLevel(16) >= 3): ?>
|
||||
<optgroup label="Infrastructure">
|
||||
<option value="10">Warehouse</option>
|
||||
<option value="11">Granary</option>
|
||||
<option value="10"><?php echo WAREHOUSE; ?></option>
|
||||
<option value="11"><?php echo GRANARY; ?></option>
|
||||
<?php if ($building->getTypeLevel(16) >= 10): ?>
|
||||
<option value="15">Main building</option>
|
||||
<option value="17">Marketplace</option>
|
||||
<option value="18">Embassy</option>
|
||||
<option value="24">Townhall</option>
|
||||
<option value="25">Residence</option>
|
||||
<option value="26">Palace</option>
|
||||
<option value="27">Treasury</option>
|
||||
<option value="28">Trade office</option>
|
||||
<option value="35">Brewery</option>
|
||||
<option value="15"><?php echo MAINBUILDING; ?></option>
|
||||
<option value="17"><?php echo MARKETPLACE; ?></option>
|
||||
<option value="18"><?php echo EMBASSY; ?></option>
|
||||
<option value="24"><?php echo TZ_TOWNHALL; ?></option>
|
||||
<option value="25"><?php echo RESIDENCE; ?></option>
|
||||
<option value="26"><?php echo PALACE; ?></option>
|
||||
<option value="27"><?php echo TREASURY; ?></option>
|
||||
<option value="28"><?php echo TRADEOFFICE; ?></option>
|
||||
<option value="35"><?php echo BREWERY; ?></option>
|
||||
<?php endif; ?>
|
||||
<option value="38">Great warehouse</option>
|
||||
<option value="39">Great granary</option>
|
||||
<option value="40">Wonder of the World</option>
|
||||
<option value="38"><?php echo GREATWAREHOUSE; ?></option>
|
||||
<option value="39"><?php echo GREATGRANARY; ?></option>
|
||||
<option value="40"><?php echo WONDER; ?></option>
|
||||
</optgroup>
|
||||
<?php endif; ?>
|
||||
<?php if ($building->getTypeLevel(16) >= 10): ?>
|
||||
<optgroup label="Military">
|
||||
<option value="12">Blacksmith</option>
|
||||
<option value="13">Armoury</option>
|
||||
<option value="14">Tournament square</option>
|
||||
<option value="16">Rally point</option>
|
||||
<option value="19">Barracks</option>
|
||||
<option value="20">Stable</option>
|
||||
<option value="21">Workshop</option>
|
||||
<option value="22">Academy</option>
|
||||
<option value="29">Great barracks</option>
|
||||
<option value="30">Great stable</option>
|
||||
<option value="37">Hero's mansion</option>
|
||||
<option value="12"><?php echo BLACKSMITH; ?></option>
|
||||
<option value="13"><?php echo ARMOURY; ?></option>
|
||||
<option value="14"><?php echo TOURNAMENTSQUARE; ?></option>
|
||||
<option value="16"><?php echo RALLYPOINT; ?></option>
|
||||
<option value="19"><?php echo BARRACKS; ?></option>
|
||||
<option value="20"><?php echo STABLE; ?></option>
|
||||
<option value="21"><?php echo WORKSHOP; ?></option>
|
||||
<option value="22"><?php echo ACADEMY; ?></option>
|
||||
<option value="29"><?php echo GREATBARRACKS; ?></option>
|
||||
<option value="30"><?php echo GREATSTABLE; ?></option>
|
||||
<option value="37"><?php echo HEROSMANSION; ?></option>
|
||||
</optgroup>
|
||||
<?php endif; ?>
|
||||
</select>
|
||||
@@ -164,44 +164,44 @@ $kata = !empty($process['t8']);
|
||||
<?php if ($building->getTypeLevel(16) == 20 && $process['t8'] >= 20): ?>
|
||||
<select name="ctar2" class="dropdown">
|
||||
<option value="0">-</option>
|
||||
<option value="99">Random</option>
|
||||
<option value="99"><?php echo RANDOM; ?></option>
|
||||
<?php if ($building->getTypeLevel(16) >= 5): ?>
|
||||
<optgroup label="Resources">
|
||||
<option value="1">Woodcutter</option><option value="2">Clay Pit</option><option value="3">Iron Mine</option>
|
||||
<option value="4">Cropland</option><option value="5">Sawmill</option><option value="6">Brickyard</option>
|
||||
<option value="7">Iron Foundry</option><option value="8">Grain Mill</option><option value="9">Bakery</option>
|
||||
<option value="1"><?php echo WOODCUTTER; ?></option><option value="2"><?php echo CLAYPIT; ?></option><option value="3"><?php echo IRONMINE; ?></option>
|
||||
<option value="4"><?php echo CROPLAND; ?></option><option value="5"><?php echo SAWMILL; ?></option><option value="6"><?php echo BRICKYARD; ?></option>
|
||||
<option value="7"><?php echo IRONFOUNDRY; ?></option><option value="8"><?php echo GRAINMILL; ?></option><option value="9"><?php echo BAKERY; ?></option>
|
||||
</optgroup>
|
||||
<?php endif; ?>
|
||||
<?php if ($building->getTypeLevel(16) >= 3): ?>
|
||||
<optgroup label="Infrastructure">
|
||||
<option value="10">Warehouse</option><option value="11">Granary</option>
|
||||
<option value="10"><?php echo WAREHOUSE; ?></option><option value="11"><?php echo GRANARY; ?></option>
|
||||
<?php if ($building->getTypeLevel(16) >= 10): ?>
|
||||
<option value="15">Main building</option><option value="17">Marketplace</option><option value="18">Embassy</option>
|
||||
<option value="24">Townhall</option><option value="25">Residence</option><option value="26">Palace</option>
|
||||
<option value="27">Treasury</option><option value="28">Trade office</option><option value="35">Brewery</option>
|
||||
<option value="15"><?php echo MAINBUILDING; ?></option><option value="17"><?php echo MARKETPLACE; ?></option><option value="18"><?php echo EMBASSY; ?></option>
|
||||
<option value="24"><?php echo TZ_TOWNHALL; ?></option><option value="25"><?php echo RESIDENCE; ?></option><option value="26"><?php echo PALACE; ?></option>
|
||||
<option value="27"><?php echo TREASURY; ?></option><option value="28"><?php echo TRADEOFFICE; ?></option><option value="35"><?php echo BREWERY; ?></option>
|
||||
<?php endif; ?>
|
||||
<option value="38">Great warehouse</option><option value="39">Great granary</option><option value="40">Wonder of the World</option>
|
||||
<option value="38"><?php echo GREATWAREHOUSE; ?></option><option value="39"><?php echo GREATGRANARY; ?></option><option value="40"><?php echo WONDER; ?></option>
|
||||
</optgroup>
|
||||
<?php endif; ?>
|
||||
<?php if ($building->getTypeLevel(16) >= 10): ?>
|
||||
<optgroup label="Military">
|
||||
<option value="12">Blacksmith</option><option value="13">Armoury</option><option value="14">Tournament square</option>
|
||||
<option value="16">Rally point</option><option value="19">Barracks</option><option value="20">Stable</option>
|
||||
<option value="21">Workshop</option><option value="22">Academy</option><option value="29">Great barracks</option>
|
||||
<option value="30">Great stable</option><option value="37">Hero's mansion</option>
|
||||
<option value="12"><?php echo BLACKSMITH; ?></option><option value="13"><?php echo ARMOURY; ?></option><option value="14"><?php echo TOURNAMENTSQUARE; ?></option>
|
||||
<option value="16"><?php echo RALLYPOINT; ?></option><option value="19"><?php echo BARRACKS; ?></option><option value="20"><?php echo STABLE; ?></option>
|
||||
<option value="21"><?php echo WORKSHOP; ?></option><option value="22"><?php echo ACADEMY; ?></option><option value="29"><?php echo GREATBARRACKS; ?></option>
|
||||
<option value="30"><?php echo GREATSTABLE; ?></option><option value="37"><?php echo HEROSMANSION; ?></option>
|
||||
</optgroup>
|
||||
<?php endif; ?>
|
||||
</select>
|
||||
<?php endif; ?>
|
||||
<span class="info">(will be attacked by catapult(s))</span>
|
||||
<span class="info"><?php echo TZ_WILL_BE_ATTACKED_BY_CATAPULT_S; ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<?php elseif ($process['c'] == '4'): ?>
|
||||
<tbody class="infos">
|
||||
<tr>
|
||||
<th>Destination:</th>
|
||||
<td colspan="<?php echo $colspan; ?>">Warning: Catapult will <b>ONLY</b> shoot with a normal attack (they dont shoot with raids!)</td>
|
||||
<th><?php echo TZ_DESTINATION; ?></th>
|
||||
<td colspan="<?php echo $colspan; ?>"><?php echo TZ_WARNING_CATAPULT_WILL; ?> <b>ONLY</b> <?php echo TZ_SHOOT_WITH_A_NORMAL_ATTACK_THEY_DO; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<?php endif; ?>
|
||||
@@ -209,14 +209,14 @@ $kata = !empty($process['t8']);
|
||||
|
||||
<tbody class="infos">
|
||||
<tr>
|
||||
<th>Arrived:</th>
|
||||
<th><?php echo TZ_ARRIVED; ?></th>
|
||||
<?php
|
||||
$troopsTime = $units->getWalkingTroopsTime($village->wid, $process[0], $session->uid, $session->tribe, $process, 1, 't');
|
||||
$time = $database->getArtifactsValueInfluence($session->uid, $village->wid, 2, $troopsTime);
|
||||
?>
|
||||
<td colspan="<?php echo $colspan; ?>">
|
||||
<div class="in">in <?php echo $generator->getTimeFormat($time); ?></div>
|
||||
<div class="at">at <span id="tp2"><?php echo $generator->procMtime(date('U') + $time, 9) ?></span><span> hours</span></div>
|
||||
<div class="in"><?php echo P_IN; ?> <?php echo $generator->getTimeFormat($time); ?></div>
|
||||
<div class="at"><?php echo AT; ?> <span id="tp2"><?php echo $generator->procMtime(date('U') + $time, 9) ?></span><span> <?php echo HOURS; ?></span></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
+11
-11
@@ -30,7 +30,7 @@ $startUnit = ($session->tribe - 1) * 10 + 1;
|
||||
$endUnit = $session->tribe * 10;
|
||||
$hasResources = ($wood >= 750 && $clay >= 750 && $iron >= 750 && $crop >= 750);
|
||||
?>
|
||||
<h1>Found new village</h1>
|
||||
<h1><?php echo FNEWVILLAGE; ?></h1>
|
||||
<form method="POST" action="build.php">
|
||||
<input type="hidden" name="a" value="new" />
|
||||
<input type="hidden" name="c" value="5" />
|
||||
@@ -56,7 +56,7 @@ $hasResources = ($wood >= 750 && $clay >= 750 && $iron >= 750 && $crop >= 750);
|
||||
<?php endfor; ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Troops</th>
|
||||
<th><?php echo TROOPS; ?></th>
|
||||
<?php
|
||||
// primele 9 unități = 0
|
||||
for ($i = 1; $i <= 9; $i++) {
|
||||
@@ -69,18 +69,18 @@ $hasResources = ($wood >= 750 && $clay >= 750 && $iron >= 750 && $crop >= 750);
|
||||
</tbody>
|
||||
<tbody class="infos">
|
||||
<tr>
|
||||
<th>Duration</th>
|
||||
<td colspan="10"><img class="clock" src="img/x.gif" alt="Duration" title="Duration" /> <?php echo $generator->getTimeFormat($time); ?></td>
|
||||
<th><?php echo DURATION; ?></th>
|
||||
<td colspan="10"><img class="clock" src="img/x.gif" alt="<?php echo DURATION; ?>" title="<?php echo DURATION; ?>" /> <?php echo $generator->getTimeFormat($time); ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody class="infos">
|
||||
<tr>
|
||||
<th>Resources</th>
|
||||
<th><?php echo RESOURCES; ?></th>
|
||||
<td colspan="10">
|
||||
<img class="r1" src="img/x.gif" alt="Lumber" title="Wood" />750 |
|
||||
<img class="r2" src="img/x.gif" alt="Clay" title="Clay" />750 |
|
||||
<img class="r3" src="img/x.gif" alt="Iron" title="Iron" />750 |
|
||||
<img class="r4" src="img/x.gif" alt="Crop" title="Crop" />750
|
||||
<img class="r1" src="img/x.gif" alt="<?php echo LUMBER; ?>" title="<?php echo TZ_WOOD; ?>" />750 |
|
||||
<img class="r2" src="img/x.gif" alt="<?php echo CLAY; ?>" title="<?php echo CLAY; ?>" />750 |
|
||||
<img class="r3" src="img/x.gif" alt="<?php echo IRON; ?>" title="<?php echo IRON; ?>" />750 |
|
||||
<img class="r4" src="img/x.gif" alt="<?php echo CROP; ?>" title="<?php echo CROP; ?>" />750
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -88,9 +88,9 @@ $hasResources = ($wood >= 750 && $clay >= 750 && $iron >= 750 && $crop >= 750);
|
||||
|
||||
<p class="btn">
|
||||
<?php if ($hasResources): ?>
|
||||
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();">Ok</button>
|
||||
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();"><?php echo TZ_OK_2; ?></button>
|
||||
<?php else: ?>
|
||||
<span class="c2"><b>Not enough resource</b></span>
|
||||
<span class="c2"><b><?php echo TZ_NOT_ENOUGH_RESOURCE; ?></b></span>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
@@ -43,7 +43,7 @@ if (isset($_GET['z'])) {
|
||||
</label>
|
||||
</td>
|
||||
<td class="vil">
|
||||
<span>Village:</span>
|
||||
<span><?php echo TZ_VILLAGE; ?></span>
|
||||
<input class="text" name="dname" value="<?php echo htmlspecialchars($form->getValue('dname'), ENT_QUOTES); ?>" maxlength="20" type="text">
|
||||
</td>
|
||||
</tr>
|
||||
@@ -54,7 +54,7 @@ if (isset($_GET['z'])) {
|
||||
Normal attack
|
||||
</label>
|
||||
</td>
|
||||
<td class="or">or</td>
|
||||
<td class="or"><?php echo constant('OR'); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sel">
|
||||
@@ -74,7 +74,7 @@ if (isset($_GET['z'])) {
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();">Ok</button>
|
||||
<button value="ok" name="s1" id="btn_ok" class="trav_buttons" alt="OK" onclick="this.disabled=true;this.form.submit();"><?php echo TZ_OK_2; ?></button>
|
||||
</form>
|
||||
<p class="error"><?php echo $form->getError('error'); ?></p>
|
||||
</div>
|
||||
|
||||
@@ -30,16 +30,16 @@ $layout = [
|
||||
],
|
||||
];
|
||||
?>
|
||||
<h1>Send units back</h1>
|
||||
<h1><?php echo TZ_SEND_UNITS_BACK; ?></h1>
|
||||
<form method="POST" name="snd" action="a2b.php">
|
||||
<table id="short_info" cellpadding="1" cellspacing="1">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Destination:</th>
|
||||
<th><?php echo TZ_DESTINATION; ?></th>
|
||||
<td><a href="karte.php?d=<?php echo $toBaseId; ?>&c=<?php echo $toMapCheck; ?>"><?php echo htmlspecialchars($to['name']); ?> (<?php echo $fromcoor['x']; ?>|<?php echo $fromcoor['y']; ?>)</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Owner:</th>
|
||||
<th><?php echo TZ_OWNER; ?></th>
|
||||
<td><a href="spieler.php?uid=<?php echo $to['owner']; ?>"><?php echo htmlspecialchars($database->getUserField($to['owner'], 'username', 0)); ?></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -47,7 +47,7 @@ $layout = [
|
||||
|
||||
<table class="troop_details" cellpadding="1" cellspacing="1">
|
||||
<thead>
|
||||
<tr><td colspan="10">Send units back to <?php echo htmlspecialchars($to['name']); ?></td></tr>
|
||||
<tr><td colspan="10"><?php echo TZ_SEND_UNITS_BACK_TO; ?> <?php echo htmlspecialchars($to['name']); ?></td></tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
@@ -71,7 +71,7 @@ $layout = [
|
||||
<?php if ($rowIndex === 2): // rândul 3 ?>
|
||||
<?php if (!empty($enforce['hero'])): ?>
|
||||
<td class="line-last large">
|
||||
<img class="unit uhero" src="img/x.gif" title="Hero" alt="Hero">
|
||||
<img class="unit uhero" src="img/x.gif" title="<?php echo TZ_HERO; ?>" alt="<?php echo TZ_HERO; ?>">
|
||||
<input class="text" name="t11" value="<?php echo (int)$enforce['hero']; ?>" maxlength="6" type="text">
|
||||
<span class="none">(<?php echo (int)$enforce['hero']; ?>)</span>
|
||||
</td>
|
||||
@@ -87,14 +87,14 @@ $layout = [
|
||||
<table class="troop_details" cellpadding="1" cellspacing="1">
|
||||
<tbody class="infos">
|
||||
<tr>
|
||||
<th>Arrived:</th>
|
||||
<th><?php echo TZ_ARRIVED; ?></th>
|
||||
<?php
|
||||
$troopsTime = $units->getWalkingTroopsTime($enforce['from'], $enforce['vref'], $to['owner'], $att_tribe, $enforce, 1);
|
||||
$time = $database->getArtifactsValueInfluence($session->uid, $village->wid, 2, $troopsTime);
|
||||
?>
|
||||
<td colspan="10">
|
||||
<div class="in">in <?php echo $generator->getTimeFormat($time); ?></div>
|
||||
<div class="at">at <span id="tp2"><?php echo date("H:i:s", time() + $time); ?></span><span> hours</span></div>
|
||||
<div class="in"><?php echo P_IN; ?> <?php echo $generator->getTimeFormat($time); ?></div>
|
||||
<div class="at"><?php echo AT; ?> <span id="tp2"><?php echo date("H:i:s", time() + $time); ?></span><span> <?php echo HOURS; ?></span></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
<h1>Send Troops</h1>
|
||||
<h1><?php echo SEND_TROOPS; ?></h1>
|
||||
|
||||
<form method="POST" name="snd" action="a2b.php"><input name="timestamp" value="1278280730" type="hidden"> <input name="timestamp_checksum" value="597fa8" type="hidden"> <input name="b" value="1" type="hidden">
|
||||
|
||||
|
||||
<table id="troops" cellpadding="1" cellspacing="1">
|
||||
<tbody><tr>
|
||||
<td class="line-first column-first large"><img class="unit u1" src="img/x.gif" title="Legionnaire" onclick="document.snd.t1.value=''; return false;" alt="Legionnaire"> <input class="text" <?php if ($village->unitarray['u1']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-first large"><img class="unit u1" src="img/x.gif" title="<?php echo U1; ?>" onclick="document.snd.t1.value=''; return false;" alt="<?php echo U1; ?>"> <input class="text" <?php if ($village->unitarray['u1']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u1']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t1.value=".$village->unitarray['u1']."; return false;\">(".$village->unitarray['u1'].")</a></td>";
|
||||
@@ -14,7 +14,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="line-first large"><img class="unit u4" src="img/x.gif" title="Equites Legati" alt="Equites Legati"> <input class="text" <?php if ($village->unitarray['u4']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<td class="line-first large"><img class="unit u4" src="img/x.gif" title="<?php echo U4; ?>" alt="<?php echo U4; ?>"> <input class="text" <?php if ($village->unitarray['u4']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u4']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t4.value=".$village->unitarray['u4']."; return false;\">(".$village->unitarray['u4'].")</a></td>";
|
||||
@@ -22,7 +22,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-first regular"><img class="unit u7" src="img/x.gif" title="Battering Ram" alt="Battering Ram"> <input class="text" <?php if ($village->unitarray['u7']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<td class="line-first regular"><img class="unit u7" src="img/x.gif" title="<?php echo U7; ?>" alt="<?php echo U7; ?>"> <input class="text" <?php if ($village->unitarray['u7']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u7']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t7.value=".$village->unitarray['u7']."; return false;\">(".$village->unitarray['u7'].")</a></td>";
|
||||
@@ -32,7 +32,7 @@
|
||||
?>
|
||||
|
||||
|
||||
<td class="line-first column-last small"><img class="unit u9" src="img/x.gif" title="Senator" alt="Senator"> <input class="text" <?php if ($village->unitarray['u9']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-last small"><img class="unit u9" src="img/x.gif" title="<?php echo U9; ?>" alt="<?php echo U9; ?>"> <input class="text" <?php if ($village->unitarray['u9']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u9']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t9.value=".$village->unitarray['u9']."; return false;\">(".$village->unitarray['u9'].")</a></td>";
|
||||
@@ -42,7 +42,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column-first large"><img class="unit u2" src="img/x.gif" title="Praetorian" alt="Praetorian"> <input class="text" <?php if ($village->unitarray['u2']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<td class="column-first large"><img class="unit u2" src="img/x.gif" title="<?php echo U2; ?>" alt="<?php echo U2; ?>"> <input class="text" <?php if ($village->unitarray['u2']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u2']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t2.value=".$village->unitarray['u2']."; return false;\">(".$village->unitarray['u2'].")</a></td>";
|
||||
@@ -51,7 +51,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="large"><img class="unit u5" src="img/x.gif" title="Equites Imperatoris" alt="Equites Imperatoris"> <input class="text" <?php if ($village->unitarray['u5']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<td class="large"><img class="unit u5" src="img/x.gif" title="<?php echo U5; ?>" alt="<?php echo U5; ?>"> <input class="text" <?php if ($village->unitarray['u5']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u5']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t5.value=".$village->unitarray['u5']."; return false;\">(".$village->unitarray['u5'].")</a></td>";
|
||||
@@ -59,7 +59,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="regular"><img class="unit u8" src="img/x.gif" title="Fire Catapult" alt="Fire Catapult"> <input class="text" <?php if ($village->unitarray['u8']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<td class="regular"><img class="unit u8" src="img/x.gif" title="<?php echo U8; ?>" alt="<?php echo U8; ?>"> <input class="text" <?php if ($village->unitarray['u8']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u8']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t8.value=".$village->unitarray['u8']."; return false;\">(".$village->unitarray['u8'].")</a></td>";
|
||||
@@ -67,7 +67,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="column-last small"><img class="unit u10" src="img/x.gif" title="Settler" alt="Settler"> <input class="text" <?php if ($village->unitarray['u10']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<td class="column-last small"><img class="unit u10" src="img/x.gif" title="<?php echo U10; ?>" alt="<?php echo U10; ?>"> <input class="text" <?php if ($village->unitarray['u10']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u10']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t10.value=".$village->unitarray['u10']."; return false;\">(".$village->unitarray['u10'].")</a></td>";
|
||||
@@ -77,7 +77,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="line-last column-first large"><img class="unit u3" src="img/x.gif" title="Imperian" alt="Imperian"> <input class="text" <?php if ($village->unitarray['u3']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<td class="line-last column-first large"><img class="unit u3" src="img/x.gif" title="<?php echo U3; ?>" alt="<?php echo U3; ?>"> <input class="text" <?php if ($village->unitarray['u3']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u3']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t3.value=".$village->unitarray['u3']."; return false;\">(".$village->unitarray['u3'].")</a></td>";
|
||||
@@ -85,7 +85,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-last large"><img class="unit u6" src="img/x.gif" title="Equites Caesaris" alt="Equites Caesaris"> <input class="text" <?php if ($village->unitarray['u6']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<td class="line-last large"><img class="unit u6" src="img/x.gif" title="<?php echo U6; ?>" alt="<?php echo U6; ?>"> <input class="text" <?php if ($village->unitarray['u6']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u6']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t6.value=".$village->unitarray['u6']."; return false;\">(".$village->unitarray['u6'].")</a></td>";
|
||||
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
<h1>Send Troops</h1>
|
||||
<h1><?php echo SEND_TROOPS; ?></h1>
|
||||
|
||||
<form method="POST" name="snd" action="a2b.php"><input name="timestamp" value="1278280730" type="hidden"> <input name="timestamp_checksum" value="597fa8" type="hidden"> <input name="b" value="1" type="hidden">
|
||||
|
||||
|
||||
<table id="troops" cellpadding="1" cellspacing="1">
|
||||
<tbody><tr>
|
||||
<td class="line-first column-first large"><img class="unit u11" src="img/x.gif" title="Clubswinger" onclick="document.snd.t1.value=''; return false;" alt="Clubswinger"> <input class="text" <?php if ($village->unitarray['u11']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-first large"><img class="unit u11" src="img/x.gif" title="<?php echo U11; ?>" onclick="document.snd.t1.value=''; return false;" alt="<?php echo U11; ?>"> <input class="text" <?php if ($village->unitarray['u11']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u11']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t1.value=".$village->unitarray['u11']."; return false;\">(".$village->unitarray['u11'].")</a></td>";
|
||||
@@ -14,7 +14,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="line-first large"><img class="unit u14" src="img/x.gif" title="Scout" alt="Scout"> <input class="text" <?php if ($village->unitarray['u14']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<td class="line-first large"><img class="unit u14" src="img/x.gif" title="<?php echo U14; ?>" alt="<?php echo U14; ?>"> <input class="text" <?php if ($village->unitarray['u14']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u14']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t4.value=".$village->unitarray['u14']."; return false;\">(".$village->unitarray['u14'].")</a></td>";
|
||||
@@ -22,7 +22,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-first regular"><img class="unit u17" src="img/x.gif" title="Ram" alt="Ram"> <input class="text" <?php if ($village->unitarray['u17']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<td class="line-first regular"><img class="unit u17" src="img/x.gif" title="<?php echo U17; ?>" alt="<?php echo U17; ?>"> <input class="text" <?php if ($village->unitarray['u17']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u17']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t7.value=".$village->unitarray['u17']."; return false;\">(".$village->unitarray['u17'].")</a></td>";
|
||||
@@ -32,7 +32,7 @@
|
||||
?>
|
||||
|
||||
|
||||
<td class="line-first column-last small"><img class="unit u19" src="img/x.gif" title="Chief" alt="Chief"> <input class="text" <?php if ($village->unitarray['u19']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-last small"><img class="unit u19" src="img/x.gif" title="<?php echo U19; ?>" alt="<?php echo U19; ?>"> <input class="text" <?php if ($village->unitarray['u19']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u19']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t9.value=".$village->unitarray['u19']."; return false;\">(".$village->unitarray['u19'].")</a></td>";
|
||||
@@ -42,7 +42,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column-first large"><img class="unit u12" src="img/x.gif" title="Spearman" alt="Spearman"> <input class="text" <?php if ($village->unitarray['u12']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<td class="column-first large"><img class="unit u12" src="img/x.gif" title="<?php echo U12; ?>" alt="<?php echo U12; ?>"> <input class="text" <?php if ($village->unitarray['u12']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u12']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t2.value=".$village->unitarray['u12']."; return false;\">(".$village->unitarray['u12'].")</a></td>";
|
||||
@@ -51,7 +51,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="large"><img class="unit u15" src="img/x.gif" title="Paladin" alt="Paladin"> <input class="text" <?php if ($village->unitarray['u15']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<td class="large"><img class="unit u15" src="img/x.gif" title="<?php echo U15; ?>" alt="<?php echo U15; ?>"> <input class="text" <?php if ($village->unitarray['u15']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u15']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t5.value=".$village->unitarray['u15']."; return false;\">(".$village->unitarray['u15'].")</a></td>";
|
||||
@@ -59,7 +59,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="regular"><img class="unit u18" src="img/x.gif" title="Catapult" alt="Catapult"> <input class="text" <?php if ($village->unitarray['u18']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<td class="regular"><img class="unit u18" src="img/x.gif" title="<?php echo U18; ?>" alt="<?php echo U18; ?>"> <input class="text" <?php if ($village->unitarray['u18']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u18']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t8.value=".$village->unitarray['u18']."; return false;\">(".$village->unitarray['u18'].")</a></td>";
|
||||
@@ -67,7 +67,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="column-last small"><img class="unit u20" src="img/x.gif" title="Settler" alt="Settler"> <input class="text" <?php if ($village->unitarray['u20']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<td class="column-last small"><img class="unit u20" src="img/x.gif" title="<?php echo U10; ?>" alt="<?php echo U10; ?>"> <input class="text" <?php if ($village->unitarray['u20']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u20']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t10.value=".$village->unitarray['u20']."; return false;\">(".$village->unitarray['u20'].")</a></td>";
|
||||
@@ -77,7 +77,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="line-last column-first large"><img class="unit u13" src="img/x.gif" title="Axeman" alt="Axeman"> <input class="text" <?php if ($village->unitarray['u13']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<td class="line-last column-first large"><img class="unit u13" src="img/x.gif" title="<?php echo U13; ?>" alt="<?php echo U13; ?>"> <input class="text" <?php if ($village->unitarray['u13']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u13']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t3.value=".$village->unitarray['u13']."; return false;\">(".$village->unitarray['u13'].")</a></td>";
|
||||
@@ -85,7 +85,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-last large"><img class="unit u16" src="img/x.gif" title="Teutonic Knight" alt="Teutonic Knight"> <input class="text" <?php if ($village->unitarray['u16']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<td class="line-last large"><img class="unit u16" src="img/x.gif" title="<?php echo U16; ?>" alt="<?php echo U16; ?>"> <input class="text" <?php if ($village->unitarray['u16']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u16']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t6.value=".$village->unitarray['u16']."; return false;\">(".$village->unitarray['u16'].")</a></td>";
|
||||
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
<h1>Send Troops</h1>
|
||||
<h1><?php echo SEND_TROOPS; ?></h1>
|
||||
|
||||
<form method="POST" name="snd" action="a2b.php"><input name="timestamp" value="1278280730" type="hidden"> <input name="timestamp_checksum" value="597fa8" type="hidden"> <input name="b" value="1" type="hidden">
|
||||
|
||||
|
||||
<table id="troops" cellpadding="1" cellspacing="1">
|
||||
<tbody><tr>
|
||||
<td class="line-first column-first large"><img class="unit u21" src="img/x.gif" title="Phalanx" onclick="document.snd.t1.value=''; return false;" alt="Phalanx"> <input class="text" <?php if ($village->unitarray['u21']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-first large"><img class="unit u21" src="img/x.gif" title="<?php echo U21; ?>" onclick="document.snd.t1.value=''; return false;" alt="<?php echo U21; ?>"> <input class="text" <?php if ($village->unitarray['u21']<=0) {echo ' disabled="disabled"';}?> name="t1" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u21']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t1.value=".$village->unitarray['u21']."; return false;\">(".$village->unitarray['u21'].")</a></td>";
|
||||
@@ -14,7 +14,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="line-first large"><img class="unit u24" src="img/x.gif" title="Theutates Thunder" alt="Theutates Thunder"> <input class="text" <?php if ($village->unitarray['u24']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<td class="line-first large"><img class="unit u24" src="img/x.gif" title="<?php echo U24; ?>" alt="<?php echo U24; ?>"> <input class="text" <?php if ($village->unitarray['u24']<=0) {echo ' disabled="disabled"';}?> name="t4" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u24']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t4.value=".$village->unitarray['u24']."; return false;\">(".$village->unitarray['u24'].")</a></td>";
|
||||
@@ -22,7 +22,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-first regular"><img class="unit u27" src="img/x.gif" title="Ram" alt="Ram"> <input class="text" <?php if ($village->unitarray['u27']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<td class="line-first regular"><img class="unit u27" src="img/x.gif" title="<?php echo U17; ?>" alt="<?php echo U17; ?>"> <input class="text" <?php if ($village->unitarray['u27']<=0) {echo ' disabled="disabled"';}?> name="t7" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u27']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t7.value=".$village->unitarray['u27']."; return false;\">(".$village->unitarray['u27'].")</a></td>";
|
||||
@@ -32,7 +32,7 @@
|
||||
?>
|
||||
|
||||
|
||||
<td class="line-first column-last small"><img class="unit u29" src="img/x.gif" title="Chieftain" alt="Chieftain"> <input class="text" <?php if ($village->unitarray['u29']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<td class="line-first column-last small"><img class="unit u29" src="img/x.gif" title="<?php echo U29; ?>" alt="<?php echo U29; ?>"> <input class="text" <?php if ($village->unitarray['u29']<=0) {echo ' disabled="disabled"';}?> name="t9" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u29']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t9.value=".$village->unitarray['u29']."; return false;\">(".$village->unitarray['u29'].")</a></td>";
|
||||
@@ -42,7 +42,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column-first large"><img class="unit u22" src="img/x.gif" title="Swordsman" alt="Swordsman"> <input class="text" <?php if ($village->unitarray['u22']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<td class="column-first large"><img class="unit u22" src="img/x.gif" title="<?php echo U22; ?>" alt="<?php echo U22; ?>"> <input class="text" <?php if ($village->unitarray['u22']<=0) {echo ' disabled="disabled"';}?> name="t2" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u22']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t2.value=".$village->unitarray['u22']."; return false;\">(".$village->unitarray['u22'].")</a></td>";
|
||||
@@ -51,7 +51,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<td class="large"><img class="unit u25" src="img/x.gif" title="Druidrider" alt="Druidrider"> <input class="text" <?php if ($village->unitarray['u25']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<td class="large"><img class="unit u25" src="img/x.gif" title="<?php echo U25; ?>" alt="<?php echo U25; ?>"> <input class="text" <?php if ($village->unitarray['u25']<=0) {echo ' disabled="disabled"';}?> name="t5" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u25']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t5.value=".$village->unitarray['u25']."; return false;\">(".$village->unitarray['u25'].")</a></td>";
|
||||
@@ -59,7 +59,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="regular"><img class="unit u28" src="img/x.gif" title="Trebuchet" alt="Trebuchet"> <input class="text" <?php if ($village->unitarray['u28']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<td class="regular"><img class="unit u28" src="img/x.gif" title="<?php echo U28; ?>" alt="<?php echo U28; ?>"> <input class="text" <?php if ($village->unitarray['u28']<=0) {echo ' disabled="disabled"';}?> name="t8" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u28']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t8.value=".$village->unitarray['u28']."; return false;\">(".$village->unitarray['u28'].")</a></td>";
|
||||
@@ -67,7 +67,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="column-last small"><img class="unit u30" src="img/x.gif" title="Settler" alt="Settler"> <input class="text" <?php if ($village->unitarray['u30']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<td class="column-last small"><img class="unit u30" src="img/x.gif" title="<?php echo U10; ?>" alt="<?php echo U10; ?>"> <input class="text" <?php if ($village->unitarray['u30']<=0) {echo ' disabled="disabled"';}?> name="t10" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u30']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t10.value=".$village->unitarray['u30']."; return false;\">(".$village->unitarray['u30'].")</a></td>";
|
||||
@@ -77,7 +77,7 @@
|
||||
?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="line-last column-first large"><img class="unit u23" src="img/x.gif" title="Pathfinder" alt="Pathfinder"> <input class="text" <?php if ($village->unitarray['u23']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<td class="line-last column-first large"><img class="unit u23" src="img/x.gif" title="<?php echo U23; ?>" alt="<?php echo U23; ?>"> <input class="text" <?php if ($village->unitarray['u23']<=0) {echo ' disabled="disabled"';}?> name="t3" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u23']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t3.value=".$village->unitarray['u23']."; return false;\">(".$village->unitarray['u23'].")</a></td>";
|
||||
@@ -85,7 +85,7 @@
|
||||
echo "<span class=\"none\">(0)</span></td>";
|
||||
}
|
||||
?>
|
||||
<td class="line-last large"><img class="unit u26" src="img/x.gif" title="Haeduan" alt="Haeduan"> <input class="text" <?php if ($village->unitarray['u26']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<td class="line-last large"><img class="unit u26" src="img/x.gif" title="<?php echo U26; ?>" alt="<?php echo U26; ?>"> <input class="text" <?php if ($village->unitarray['u26']<=0) {echo ' disabled="disabled"';}?> name="t6" value="" maxlength="6" type="text">
|
||||
<?php
|
||||
if ($village->unitarray['u26']>0){
|
||||
echo "<a href=\"#\" onclick=\"document.snd.t6.value=".$village->unitarray['u26']."; return false;\">(".$village->unitarray['u26'].")</a></td>";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<h1>Send Troops</h1>
|
||||
<h1><?php echo SEND_TROOPS; ?></h1>
|
||||
|
||||
<form method="POST" name="snd" action="a2b.php"><input name="timestamp" value="3278280730" type="hidden"> <input name="timestamp_checksum" value="597fa8" type="hidden"> <input name="b" value="1" type="hidden">
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<h1>Send Troops</h1>
|
||||
<h1><?php echo SEND_TROOPS; ?></h1>
|
||||
|
||||
<form method="POST" name="snd" action="a2b.php"><input name="timestamp" value="3278280730" type="hidden"> <input name="timestamp_checksum" value="597fa8" type="hidden"> <input name="b" value="1" type="hidden">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user