Update to version 8.3.5

Many Fixes
This commit is contained in:
Shadow
2022-02-18 13:56:17 +02:00
parent 2565d99549
commit 4c68d8dd39
62 changed files with 467 additions and 332 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ else
<?php include("Templates/goldClub/farmlist.tpl"); ?>
</div>
<br />
<?php if($hideevasion == 0){ ?>
<?php if( !isset( $hideevasion ) || $hideevasion == 0){ ?>
<table id="raidList" cellpadding="1" cellspacing="1">
<thead>
<tr>
+1 -1
View File
@@ -20,7 +20,7 @@ for ($a = 1; $a <= 4; $a++) {
}
}
$allres = (int) $_POST['r1'] + (int) $_POST['r2'] + (int) $_POST['r3'] + (int) $_POST['r4'];
if($_POST['x'] != "" && $_POST['y'] != "" && is_numeric($_POST['x']) && is_numeric($_POST['y'])){
if(isset( $_POST['x'] ) && isset( $_POST['y'] ) && $_POST['x'] != "" && $_POST['y'] != "" && is_numeric($_POST['x']) && is_numeric($_POST['y'])){
$getwref = $database->getVilWref($_POST['x'],$_POST['y']);
$checkexist = $database->checkVilExist($getwref);
}
+1 -1
View File
@@ -59,7 +59,7 @@
echo "<p class=\"error2\">".NOT_ENOUGH_MERCHANTS."</p>";
}
echo "<br /><p>Merchants: ".$market->merchantAvail()."/".$market->merchant."</p>";
echo "<br /><p>".MERCHANT.": " .$market->merchantAvail()."/".$market->merchant."</p>";
?>
<input type="image" tabindex="8" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" <?php //if(!$market->merchantAvail()) { echo "DISABLED"; }?>/></p>
</form>
+8 -2
View File
@@ -13,7 +13,7 @@ $routeaccess = 1;
if(isset($_GET['create']) && $session->gold > 1){
$routeaccess = 1;
include("17_create.tpl");
}else if($_POST['action'] == 'editRoute' && isset($_POST['routeid']) && !empty($_POST['routeid']) && $database->getTradeRouteUid($_POST['routeid']) == $session->uid){
}else if(isset($_POST['action']) && $_POST['action'] == 'editRoute' && isset($_POST['routeid']) && !empty($_POST['routeid']) && $database->getTradeRouteUid($_POST['routeid']) == $session->uid){
include("17_edit.tpl");
}else{
?>
@@ -52,7 +52,13 @@ echo "".TRADE_ROUTE_TO." <a href=karte.php?d=".$route['wid']."&c=".$generator->g
<th>
</th>
<th colspan="4">
<?php $routeid=$routeid == 0? $routeid=0:$routeid; ?>
<?php
if ( isset( $routeid ) ) {
$routeid = $routeid == 0? $routeid=0:$routeid;
} else {
$routeid = 0;
}
?>
<button type="submit" name="action" value="extendRoute" id="btn_id" class="trav_buttons"><b><?php echo EXTEND;?>*</b></button>
| <button type="submit" name="action" value="editRoute" id="btn_id" class="trav_buttons"><b><?php echo EDIT;?></b></button>
| <button type="submit" name="action" value="delRoute" id="btn_id" class="trav_buttons"><b><?php echo DELETE;?></b></button>
+10 -10
View File
@@ -72,49 +72,49 @@ echo "<td colspan=\"2\"><div class=\"none\" align=\"center\">".RESEARCH_AVAILABL
echo "<p class=\"switch\"><a id=\"researchFutureLink\" href=\"#\" onclick=\"return $('researchFuture').toggle();\">".SHOW_MORE."</a></p>
<table id=\"researchFuture\" class=\"build_details hide\" cellspacing=\"1\" cellpadding=\"1\">
<thead><tr><td colspan=\"2\">".PREREQUISITES."</td></tr><tbody>";
if(!$technology->meetRRequirement(22) && !$technology->getTech(22)) {
echo"<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u22\" title=\"".U22."\" alt=\"Swordsman\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(22, 1);\" href=\"#\">Swordsman</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a>
if(!$technology->meetRRequirement(22) && !$technology->getTech(22)) {
echo"<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u22\" title=\"".U22."\" alt=\"".U22."\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(22, 1);\" href=\"#\">".U22."</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a>
<span title=\"+2\">&nbsp;".LEVEL." 3</span><br /><a href=\"#\" onclick=\"return Popup(12, 4);\">".BLACKSMITH." </a><span title=\"+1\">&nbsp;".LEVEL." 1</span></td></tr>";
}
if(!$technology->meetRRequirement(23) && !$technology->getTech(23)) {
echo"<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u23\" title=\"".U23."\" alt=\"Pathfinder\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(23, 1);\" href=\"#\">Pathfinder</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a>
<a onclick=\"return Popup(23, 1);\" href=\"#\">".U23."</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a>
<span title=\"+2\">&nbsp;".LEVEL." 5</span><br /><a href=\"#\" onclick=\"return Popup(20, 4);\">".STABLE." </a><span title=\"+1\">&nbsp;".LEVEL." 1</span> </td></tr>";
}
if(!$technology->meetRRequirement(24) && !$technology->getTech(24)) {
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u24\" title=\"".U24."\" alt=\"Theutates Thunder\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(24, 1);\" href=\"#\">Theutates Thunder</a></div></td><td class=\"cond\">
<a onclick=\"return Popup(24, 1);\" href=\"#\">".U24."</a></div></td><td class=\"cond\">
<a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a><span title=\"+2\">&nbsp;".LEVEL." 5</span><br /><a href=\"#\" onclick=\"return Popup(20, 4);\">".STABLE."</a>
<span title=\"+3\">&nbsp;".LEVEL." 3</span> </td></tr>";
}
if(!$technology->meetRRequirement(25) && !$technology->getTech(25)) {
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u25\" title=\"".U25."\" alt=\"Druidrider\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(25, 1);\" href=\"#\">Druidrider</a></div></td><td class=\"cond\">
<a onclick=\"return Popup(25, 1);\" href=\"#\">".U25."</a></div></td><td class=\"cond\">
<a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a><span title=\"+2\">&nbsp;".LEVEL." 5</span><br /><a href=\"#\" onclick=\"return Popup(20, 4);\">".STABLE."</a>
<span title=\"+5\">&nbsp;".LEVEL." 5</span> </td></tr>";
}
if(!$technology->meetRRequirement(26) && !$technology->getTech(26)) {
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u26\" title=\"".U26."\" alt=\"Haeduan\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(26, 1);\" href=\"#\">Haeduan</a></div></td><td class=\"cond\">
<a onclick=\"return Popup(26, 1);\" href=\"#\">".U26."</a></div></td><td class=\"cond\">
<a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a><span title=\"+12\">&nbsp;".LEVEL." 15</span><br /><a href=\"#\" onclick=\"return Popup(20, 4);\">
".STABLE."</a><span title=\"+10\">&nbsp;".LEVEL." 10</span> </td></tr>";
}
if(!$technology->meetRRequirement(27) && !$technology->getTech(27)) {
echo "
<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u27\" title=\"".U27."\" alt=\"Ram\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(27, 1);\" href=\"#\">Ram</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a>
<a onclick=\"return Popup(27, 1);\" href=\"#\">".U27."</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a>
<span title=\"+7\">&nbsp;".LEVEL." 10</span><br /><a href=\"#\" onclick=\"return Popup(21, 4);\">".WORKSHOP."</a><span title=\"+1\">&nbsp;".LEVEL." 1</span></td></tr>";
}
if(!$technology->meetRRequirement(28) && !$technology->getTech(28)) {
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u28\" title=\"".U28."\" alt=\"Trebuchet\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(28, 1);\" href=\"#\">Trebuchet</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(21, 4);\">".WORKSHOP."</a>
<a onclick=\"return Popup(28, 1);\" href=\"#\">".U28."</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(21, 4);\">".WORKSHOP."</a>
<span title=\"+10\">&nbsp;".LEVEL." 10</span><br /><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY."</a><span title=\"+12\">&nbsp;".LEVEL." 15</span> </td>
</tr>";
}
if(!$technology->meetRRequirement(29) && !$technology->getTech(29)) {
echo " <tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u29\" title=\"".U29."\" alt=\"Chieftain\" src=\"img/x.gif\"/>
<a onclick=\"return Popup(29, 1);\" href=\"#\">Chieftain</a></div></td><td class=\"cond\">
<a onclick=\"return Popup(29, 1);\" href=\"#\">".U29."</a></div></td><td class=\"cond\">
<a href=\"#\" onclick=\"return Popup(14, 4);\">".RALLYPOINT."</a><span title=\"+9\">&nbsp;".LEVEL." 10</span><br /><a href=\"#\" onclick=\"return Popup(22, 4);\">
".ACADEMY."</a><span title=\"+17\">&nbsp;".LEVEL." 20</span></td></tr>";
}
+6 -6
View File
@@ -1,6 +1,6 @@
<?php
$artifactsSum = $database->getArtifactsSumByKind($session->uid, $village->wid, 6);
$GreatGranaryWarehouseBuildable = $artifactsSum['small'] > 0 || $artifactsSum['large'] > 0;
$GreatGranaryWarehouseBuildable = $artifactsSum['small'] > 0 || $artifactsSum['great'] > 0;
$mainbuilding = $building->getTypeLevel(15);
$cranny = $building->getTypeLevel(23);
@@ -274,16 +274,16 @@ if($stable == 0 && (($blacksmith <= 2 && $blacksmith != 0) || ($academy >= 2 &&
if($treasury == 0 && $mainbuilding <= 9 && $mainbuilding >= 5 && $village->natar == 0) {
include("soon/treasury.tpl");
}
if($brickyard == 0 && $claypit <= 9 && $claypit >= 5 && $mainbuilding >= 2 && $mainbuilding <= 4) {
if($brickyard == 0 && ( ($claypit <= 9 && $claypit >= 5) || $claypit == 10 ) && $mainbuilding >= 2) {
include("soon/brickyard.tpl");
}
if($sawmill == 0 && $woodcutter <= 9 && $woodcutter >= 5 && $mainbuilding >= 2 && $mainbuilding <= 4) {
if($sawmill == 0 && ( ( $woodcutter <= 9 && $woodcutter >= 5 ) || $woodcutter == 10 ) && $mainbuilding >= 2) {
include("soon/sawmill.tpl");
}
if($ironfoundry == 0 && $ironmine <= 9 && $ironmine >= 5 && $mainbuilding >= 2 && $mainbuilding <= 4) {
if($ironfoundry == 0 && ( ( $ironmine <= 9 && $ironmine >= 5 ) || $ironmine == 10 ) && $mainbuilding >= 2) {
include("soon/ironfoundry.tpl");
}
if($workshop == 0 && $academy <= 9 && $academy >= 5 && $mainbuilding >= 2 && $mainbuilding <= 4) {
if($workshop == 0 && $academy <= 9 && $academy >= 5 && $mainbuilding >= 2) {
include("soon/workshop.tpl");
}
if($tournamentsquare == 0 && $rallypoint <= 14 && $rallypoint >= 7) {
@@ -327,7 +327,7 @@ if($palace == 0 && ($embassy == 0 || $mainbuilding <= 2) && $village->natar == 0
if($blacksmith == 0 && ($academy == 0 || $mainbuilding == 1)) {
include_once("soon/blacksmith.tpl");
}
if($stonemason == 0 && ($palace == 0 || $mainbuilding <= 2) && $residence == 0) {
if($stonemasonslodge == 0 && ($palace == 0 || $mainbuilding <= 2) && $residence == 0) {
include_once("soon/stonemason.tpl");
}
if($stable == 0 && ($blacksmith == 0 || $academy <= 2)) {
+4 -4
View File
@@ -1,10 +1,10 @@
<h2>Academy</h2>
<h2><?php echo ACADEMY ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the academy new unit types can be researched. By increasing its level you can order the research of better units.</td>
<td class="desc"><?php echo ACADEMY_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(22,4);">
<img class="building g22" src="img/x.gif" alt="Academy" title="Academy" /></a>
<img class="building g22" src="img/x.gif" alt="<?php echo ACADEMY ?>" title="<?php echo ACADEMY ?>" /></a>
</td>
</tr>
<tr>
@@ -13,4 +13,4 @@
include("availupgrade.tpl");
?>
</tr></tbody>
</table>
</table>
+4 -4
View File
@@ -1,10 +1,10 @@
<h2>Armoury</h2>
<h2><?php echo ARMOURY ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the armoury&#39;s melting furnaces your warriors&#39; armour is enhanced. By increasing its level you can order the fabrication of even better armour.</td>
<td class="desc"><?php echo ARMOURY_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(13,4);">
<img class="building g13" src="img/x.gif" alt="Armoury" title="Armoury" /></a>
<img class="building g13" src="img/x.gif" alt="<?php echo ARMOURY ?>" title="<?php echo ARMOURY ?>" /></a>
</td>
</tr>
<tr>
@@ -13,4 +13,4 @@
include("availupgrade.tpl");
?>
</tr></tbody>
</table>
</table>
+10 -10
View File
@@ -20,15 +20,15 @@ $uprequire = $building->resourceRequired($id, $bid);
<td class="link">
<?php
if($bindicator == 2) {
echo "<span class=\"none\">The workers are already at work.</span>";
echo "<span class=\"none\">" . WORKERS_ALREADY_WORK_WAITING . "</span>";
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1 && $village->master == 0){
echo "<a class=\"build\" href=\"dorf2.php?master=$bid&id=$id&c=$session->checker\">Constructing with master builder </a>";
echo "<a class=\"build\" href=\"dorf2.php?master=$bid&id=$id&c=$session->checker\">" . CONSTRUCTING_MASTER_BUILDER . "</a>";
echo '<font color="#B3B3B3">(costs: <img src="'.GP_LOCATE.'img/a/gold_g.gif" alt="Gold" title="Gold"/>1)</font>';
}else{
echo "<span class=\"none\">Constructing with master builder</span>";
echo "<span class=\"none\">" . CONSTRUCTING_MASTER_BUILDER . "</span>";
echo '<font color="#B3B3B3">(costs: <img src="'.GP_LOCATE.'img/a/gold_g.gif" alt="Gold" title="Gold"/>1)</font>';
}
}
@@ -39,10 +39,10 @@ $uprequire = $building->resourceRequired($id, $bid);
?> </br>
<?php
if($session->gold >= 1 && $village->master == 0){
echo "<a class=\"build\" href=\"dorf2.php?master=$bid&id=$id&c=$session->checker\">Constructing with master builder </a>";
echo "<a class=\"build\" href=\"dorf2.php?master=$bid&id=$id&c=$session->checker\">" . CONSTRUCTING_MASTER_BUILDER . "</a>";
echo '<font color="#B3B3B3">(costs: <img src="'.GP_LOCATE.'img/a/gold_g.gif" alt="Gold" title="Gold"/>1)</font>';
}else{
echo "<span class=\"none\">Constructing with master builder</span>";
echo "<span class=\"none\">" . CONSTRUCTING_MASTER_BUILDER . "</span>";
echo '<font color="#B3B3B3">(costs: <img src="'.GP_LOCATE.'img/a/gold_g.gif" alt="Gold" title="Gold"/>1)</font>';
}
}
@@ -58,24 +58,24 @@ $uprequire = $building->resourceRequired($id, $bid);
}
else if($bindicator == 7) {
$neededtime = $building->calculateAvaliable($id,$bid);
echo "<span class=\"none\">Enough resources ".$neededtime[0]." at ".$neededtime[1]."</span>";
echo "<span class=\"none\">" .ENOUGH_RESOURCES . " " .$neededtime[0]." at ".$neededtime[1]."</span>";
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1 && $village->master == 0){
echo "<a class=\"build\" href=\"dorf2.php?master=$bid&id=$id&c=$session->checker\">Constructing with master builder </a>";
echo "<a class=\"build\" href=\"dorf2.php?master=$bid&id=$id&c=$session->checker\">" . CONSTRUCTING_MASTER_BUILDER . "</a>";
echo '<font color="#B3B3B3">(costs: <img src="'.GP_LOCATE.'img/a/gold_g.gif" alt="Gold" title="Gold"/>1)</font>';
}else{
echo "<span class=\"none\">Constructing with master builder</span>";
echo "<span class=\"none\">" . CONSTRUCTING_MASTER_BUILDER . "</span>";
echo '<font color="#B3B3B3">(costs: <img src="'.GP_LOCATE.'img/a/gold_g.gif" alt="Gold" title="Gold"/>1)</font>';
}
}
}
else if($bindicator == 8) {
if($session->access!=BANNED){
echo "<a class=\"build\" href=\"dorf2.php?a=$bid&id=$id&c=".$session->checker."\">Construct building.</a>";
echo "<a class=\"build\" href=\"dorf2.php?a=$bid&id=$id&c=".$session->checker."\">". CONSTRUCT_BUILD."</a>";
}else{
echo "<a class=\"build\" href=\"banned.php\">Construct building.</a>";
echo "<a class=\"build\" href=\"banned.php\">". CONSTRUCT_BUILD."</a>";
}
}
else if($bindicator == 9) {
+4 -4
View File
@@ -1,11 +1,11 @@
<h2>Barracks</h2>
<h2><?php echo BARRACKS ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the barracks infantry can be trained. The higher its level the faster the troops are trained.</td>
<td class="desc"><?php echo BARRACKS_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(19,4);">
<img class="building g19" src="img/x.gif" alt="Barracks" title="Barracks" /></a>
<img class="building g19" src="img/x.gif" alt="<?php echo BARRACKS ?>" title="<?php echo BARRACKS ?>" /></a>
</td>
</tr>
<tr>
@@ -14,4 +14,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -6
View File
@@ -1,12 +1,10 @@
<h2>Blacksmith</h2>
<h2><?php echo BLACKSMITH ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the blacksmith&#39;s melting furnaces your warriors&#39; weapons are enhanced. By increasing its level you can order the fabrication of even better weapons.
</td>
<td class="desc"><?php echo BLACKSMITH_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(12,4);">
<img class="building g12" src="img/x.gif" alt="Blacksmith" title="Blacksmith" /></a>
<img class="building g12" src="img/x.gif" alt="<?php echo BLACKSMITH ?>" title="<?php echo BLACKSMITH ?>" /></a>
</td>
</tr>
<tr>
@@ -15,4 +13,4 @@
include("availupgrade.tpl");
?>
</tr></tbody>
</table>
</table>
+3 -3
View File
@@ -1,8 +1,8 @@
<h2>City Wall</h2>
<h2><?php echo CITYWALL ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">By building a City Wall you can protect your village against the barbarian hordes of your enemies. The higher the wall's level, the higher the bonus given to your forces' defence.</td>
<td class="desc"><?php echo CITYWALL_DESC ?></td>
<td rowspan="3" class="bimg">
</td>
</tr>
@@ -12,4 +12,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -4
View File
@@ -1,11 +1,11 @@
<h2>Cranny</h2>
<h2><?php echo CRANNY ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">The cranny is used to hide some of your resources when the village is attacked. These resources cannot be stolen.</td>
<td class="desc"><?php echo CRANNY_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(26,4);">
<img class="building g23" src="img/x.gif" alt="Cranny" title="Cranny" /></a>
<img class="building g23" src="img/x.gif" alt="<?php echo CRANNY ?>" title="<?php echo CRANNY ?>" /></a>
</td>
</tr>
<tr>
@@ -14,4 +14,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -4
View File
@@ -1,11 +1,11 @@
<h2>Embassy</h2>
<h2><?php echo EMBASSY ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">The embassy is a place for diplomats. The higher its level the more options the king gains.</td>
<td class="desc"><?php echo EMBASSY_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(18,4);">
<img class="building g18" src="img/x.gif" alt="Embassy" title="Embassy" /></a>
<img class="building g18" src="img/x.gif" alt="<?php echo EMBASSY ?>" title="<?php echo EMBASSY ?>" /></a>
</td>
</tr>
<tr>
@@ -14,4 +14,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -4
View File
@@ -1,12 +1,12 @@
<h2>Granary</h2>
<h2><?php echo GRANARY ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the granary the crop produced in your farms is stored. By increasing its level you increase the granarys capacity.</td>
<td class="desc"><?php echo GRANARY_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(11,4);">
<img class="building g11" src="img/x.gif" alt="Granary" title="Granary" /></a>
<img class="building g11" src="img/x.gif" alt="<?php echo GRANARY ?>" title="<?php echo GRANARY ?>" /></a>
</td>
</tr>
<tr>
@@ -15,4 +15,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -4
View File
@@ -1,11 +1,11 @@
<h2>Hero's Mansion</h2>
<h2><?php echo HEROSMANSION ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the Hero's Mansion you can train a hero and starting with building level 10 occupy oases in your surrounding area.</td>
<td class="desc"><?php echo HEROSMANSION_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(37,4);">
<img class="building g37" src="img/x.gif" alt="Hero's Mansion" title="Hero's Mansion" /></a>
<img class="building g37" src="img/x.gif" alt="<?php echo HEROSMANSION ?>" title="<?php echo HEROSMANSION ?>" /></a>
</td>
</tr>
<tr>
@@ -14,4 +14,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -4
View File
@@ -1,10 +1,10 @@
<h2>Marketplace</h2>
<h2><?php echo MARKETPLACE ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">At the marketplace you can trade resources with other players. The higher its level, the more resources can be transported at the same time.</td>
<td class="desc"><?php echo MARKETPLACE_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(17,4);">
<img class="building g17" src="img/x.gif" alt="Marketplace" title="Marketplace" /></a>
<img class="building g17" src="img/x.gif" alt="<?php echo MARKETPLACE ?>" title="<?php echo MARKETPLACE ?>" /></a>
</td>
</tr>
<tr>
@@ -13,4 +13,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+3 -3
View File
@@ -1,8 +1,8 @@
<h2>Palisade</h2>
<h2><?php echo PALISADE ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">By building a Palisade you can protect your village against the barbarian hordes of your enemies. A higher level Palisade will give your troops a higher defence bonus.</td>
<td class="desc"><?php echo PALISADE_DESC ?></td>
<td rowspan="3" class="bimg">
</td>
</tr>
@@ -12,4 +12,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -4
View File
@@ -1,11 +1,11 @@
<h2>Rally point</h2>
<h2><?php echo RALLYPOINT ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">Your village's troops meet here. From here you can send them out to conquer, raid or reinforce other villages.</td>
<td class="desc"><?php echo RALLYPOINT_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(16,4);">
<img class="g16" src="img/x.gif" alt="Rally point" title="Rally point" /></a>
<img class="g16" src="img/x.gif" alt="<?php echo RALLYPOINT ?>" title="<?php echo RALLYPOINT ?>" /></a>
</td>
</tr>
<tr>
@@ -14,4 +14,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+4 -4
View File
@@ -1,10 +1,10 @@
<h2>Residence</h2>
<h2><?php echo RESIDENCE ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">The residence is a small palace, where the king or queen lives when (s)he visits the village. The residence protects the village against enemies who want to conquer it.</td>
<td class="desc"><?php echo RESIDENCE_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(25,4);">
<img class="building g25" src="img/x.gif" alt="Residence" title="Residence" /></a>
<img class="building g25" src="img/x.gif" alt="<?php echo RESIDENCE ?>" title="<?php echo RESIDENCE ?>" /></a>
</td>
</tr>
<tr>
@@ -13,4 +13,4 @@
include("availupgrade.tpl");
?>
</tr></tbody>
</table>
</table>
+4 -4
View File
@@ -1,10 +1,10 @@
<h2>Stable</h2>
<h2><?php echo STABLE ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the stable cavalry is trained. The higher its level the faster the troops are trained.</td>
<td class="desc"><?php echo STABLE_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(20,4);">
<img class="building g20" src="img/x.gif" alt="Stable" title="Stable" /></a>
<img class="building g20" src="img/x.gif" alt="<?php echo STABLE ?>" title="<?php echo STABLE ?>" /></a>
</td>
</tr>
<tr>
@@ -13,4 +13,4 @@
include("availupgrade.tpl");
?>
</tr></tbody>
</table>
</table>
+4 -4
View File
@@ -1,10 +1,10 @@
<h2>Trapper</h2>
<h2><?php echo TRAPPER ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">The Trapper protects your village with well hidden traps. Enemies can be imprisoned and won't be able to harm your village anymore. </td>
<td class="desc"><?php echo TRAPPER_DESC ?> </td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(36,4);">
<img class="building g36" src="img/x.gif" alt="Trapper" title="Trapper" /></a>
<img class="building g36" src="img/x.gif" alt="<?php echo TRAPPER ?>" title="<?php echo TRAPPER ?>" /></a>
</td>
</tr>
<tr>
@@ -13,4 +13,4 @@
include("availupgrade.tpl");
?>
</tr></tbody>
</table>
</table>
+4 -4
View File
@@ -1,11 +1,11 @@
<h2>Warehouse</h2>
<h2><?php echo WAREHOUSE ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In your warehouse the resources lumber, clay and iron are stored. By increasing its level you increase your warehouse's capacity.</td>
<td class="desc"><?php echo WAREHOUSE_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(10,4);">
<img class="building g10" src="img/x.gif" alt="Warehouse" title="Warehouse" /></a>
<img class="building g10" src="img/x.gif" alt="<?php echo WAREHOUSE ?>" title="<?php echo WAREHOUSE ?>" /></a>
</td>
</tr>
<tr>
@@ -14,4 +14,4 @@
include("availupgrade.tpl");
?>
</tr>
</table>
</table>
+6 -6
View File
@@ -1,18 +1,18 @@
<h2>Academy</h2>
<h2><?php echo ACADEMY ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the academy new unit types can be researched. By increasing its level you can order the research of better units.</td>
<td class="desc"><?php echo ACADEMY_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(22,4);">
<img class="building g22" src="img/x.gif" alt="Academy" title="Academy" /></a>
<img class="building g22" src="img/x.gif" alt="<?php echo ACADEMY ?>" title="<?php echo ACADEMY ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(19,4);">Barracks</a> <span title="+3">Level 3</span>, <a href="#" onClick="return Popup(15,4);">Main Building</a> <span title="+2">Level 3</span>
<a href="#" onClick="return Popup(19,4);"><?php echo BARRACKS ?></a> <span title="+3"><?php echo LEVEL ?> 3</span>, <a href="#" onClick="return Popup(15,4);"><?php echo MAINBUILDING ?></a> <span title="+2"><?php echo LEVEL ?> 3</span>
</td>
</tr></tbody>
</table>
</table>
+6 -6
View File
@@ -1,18 +1,18 @@
<h2>Armoury</h2>
<h2><?php echo ARMOURY ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the armoury&#39;s melting furnaces your warriors&#39; armour is enhanced. By increasing its level you can order the fabrication of even better armour.</td>
<td class="desc"><?php echo ARMOURY_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(13,4);">
<img class="building g13" src="img/x.gif" alt="Armoury" title="Armoury" /></a>
<img class="building g13" src="img/x.gif" alt="<?php echo ARMOURY ?>" title="<?php echo ARMOURY ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(15,4);">Main Building</a> <span title="+2">Level 3</span>, <a href="#" onClick="return Popup(22,4);">Academy</a> <span title="+1">Level 1</span>
<a href="#" onClick="return Popup(15,4);"><?php echo MAINBUILDING ?></a> <span title="+2"><?php echo LEVEL ?> 3</span>, <a href="#" onClick="return Popup(22,4);"><?php echo ACADEMY ?></a> <span title="+1"><?php echo LEVEL ?> 1</span>
</td>
</tr></tbody>
</table>
</table>
+6 -6
View File
@@ -1,18 +1,18 @@
<h2>Barracks</h2>
<h2><?php echo BARRACKS ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the barracks infantry can be trained. The higher its level the faster the troops are trained.</td>
<td class="desc"><?php echo BARRACKS_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(19,4);">
<img class="building g19" src="img/x.gif" alt="Barracks" title="Barracks" /></a>
<img class="building g19" src="img/x.gif" alt="<?php echo BARRACKS ?>" title="<?php echo BARRACKS ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(14,4);">Rally Point</a> <span title="+1">Level 1</span>, <a href="#" onClick="return Popup(23,4);">Main Building</a> <span title="+2">Level 3</span>
<a href="#" onClick="return Popup(14,4);"><?php echo RALLYPOINT ?></a> <span title="+1"><?php echo LEVEL ?> 1</span>, <a href="#" onClick="return Popup(23,4);"><?php echo MAINBUILDING ?></a> <span title="+2"><?php echo LEVEL ?> 3</span>
</td>
</tr></tbody>
</table>
</table>
+6 -8
View File
@@ -1,20 +1,18 @@
<h2>Blacksmith</h2>
<h2><?php echo BLACKSMITH ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the blacksmith&#39;s melting furnaces your warriors&#39; weapons are enhanced. By increasing its level you can order the fabrication of even better weapons.
</td>
<td class="desc"><?php echo BLACKSMITH_DESC ?> </td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(12,4);">
<img class="building g12" src="img/x.gif" alt="Blacksmith" title="Blacksmith" /></a>
<img class="building g12" src="img/x.gif" alt="<?php echo BLACKSMITH ?>" title="<?php echo BLACKSMITH ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(15,4);">Main Building</a> <span title="+2">Level 3</span>, <a href="#" onClick="return Popup(22,4);">Academy</a> <span title="+3">Level 3</span>
<a href="#" onClick="return Popup(15,4);"><?php echo MAINBUILDING ?></a> <span title="+2"><?php echo LEVEL ?> 3</span>, <a href="#" onClick="return Popup(22,4);"><?php echo ACADEMY ?></a> <span title="+3"><?php echo LEVEL ?> 3</span>
</td>
</tr></tbody>
</table>
</table>
+11 -6
View File
@@ -1,18 +1,23 @@
<h2>Hero's Mansion</h2>
<h2><?php echo HEROSMANSION ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the Hero's Mansion you can train a hero and starting with building level 10 occupy oases in your surrounding area.</td>
<td class="desc"><?php echo HEROSMANSION_DESC; ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(22,4);">
<img class="building g37" src="img/x.gif" alt="Hero's Mansion" title="Hero's Mansion" /></a>
<img class="building g37" src="img/x.gif" alt="<?php echo HEROSMANSION; ?>" title="<?php echo HEROSMANSION; ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES; ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(23,4);">Main Building</a> <span title="+2">Level 3</span>, <a href="#" onClick="return Popup(14,4);">Rally Point</a> <span title="+1">Level 1</span>
<a href="#" onClick="return Popup(23,4);"><?php echo MAINBUILDING; ?></a>
<span title="+2">
<?php echo LEVEL; ?> 3
</span>,
<a href="#" onClick="return Popup(14,4);"><?php echo RALLYPOINT; ?></a>
<span title="+1"><?php echo LEVEL; ?> 1</span>
</td>
</tr></tbody>
</table>
</table>
+6 -6
View File
@@ -1,18 +1,18 @@
<h2>Residence</h2>
<h2><?php echo RESIDENCE ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">The residence is a small palace, where the king or queen lives when (s)he visits the village. The residence protects the village against enemies who want to conquer it.</td>
<td class="desc"><?php echo RESIDENCE_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(25,4);">
<img class="building g25" src="img/x.gif" alt="Residence" title="Residence" /></a>
<img class="building g25" src="img/x.gif" alt="<?php echo RESIDENCE ?>" title="<?php echo RESIDENCE ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(15,4);">Main Building</a> <span title="+4">Level 5</span>, <a href="#" onClick="return Popup(26,4);"><strike>Palace</strike></a>
<a href="#" onClick="return Popup(15,4);"><?php echo MAINBUILDING ?></a> <span title="+4"><?php echo LEVEL ?> 5</span>, <a href="#" onClick="return Popup(26,4);"><strike><?php echo PALACE ?></strike></a>
</td>
</tr></tbody>
</table>
</table>
+6 -6
View File
@@ -1,18 +1,18 @@
<h2>Stable</h2>
<h2><?php echo STABLE ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">In the stable cavalry is trained. The higher its level the faster the troops are trained.</td>
<td class="desc"><?php echo STABLE_DESC ?></td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(20,4);">
<img class="building g20" src="img/x.gif" alt="Stable" title="Stable" /></a>
<img class="building g20" src="img/x.gif" alt="<?php echo STABLE ?>" title="<?php echo STABLE ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(12,4);">Blacksmith</a> <span title="+3">Level 3</span>, <a href="#" onClick="return Popup(22,4);">Academy</a> <span title="+5">Level 5</span>
<a href="#" onClick="return Popup(12,4);"><?php echo BLACKSMITH ?></a> <span title="+3"><?php echo LEVEL ?> 3</span>, <a href="#" onClick="return Popup(22,4);"><?php echo ACADEMY ?></a> <span title="+5"><?php echo LEVEL ?> 5</span>
</td>
</tr></tbody>
</table>
</table>
+6 -6
View File
@@ -1,18 +1,18 @@
<h2>Trapper</h2>
<h2><?php echo TRAPPER ?></h2>
<table class="new_building" cellpadding="1" cellspacing="1">
<tbody><tr>
<td class="desc">The Trapper protects your village with well hidden traps. Enemies can be imprisoned and won't be able to harm your village anymore. </td>
<td class="desc"><?php echo TRAPPER_DESC ?> </td>
<td rowspan="3" class="bimg">
<a href="#" onClick="return Popup(36,4);">
<img class="building g36" src="img/x.gif" alt="Trapper" title="Trapper" /></a>
<img class="building g36" src="img/x.gif" alt="<?php echo TRAPPER ?>" title="<?php echo TRAPPER ?>" /></a>
</td>
</tr>
<tr>
<td class="requ">Prerequisites</td>
<td class="requ"><?php echo PREREQUISITES ?></td>
</tr>
<tr>
<td>
<a href="#" onClick="return Popup(16,4);">Rally Point</a> <span title="+1">Level 1</span>
<a href="#" onClick="return Popup(16,4);"><?php echo RALLYPOINT ?></a> <span title="+1"><?php echo LEVEL ?> 1</span>
</td>
</tr></tbody>
</table>
</table>