fix brewery and crop finder

This commit is contained in:
unknown
2012-05-23 23:18:12 +03:00
parent ba723dce9d
commit 42da7517d3
5 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ $neutral = (($neutralarray[0]['alli1']>0 and $neutralarray[0]['alli2']>0 and $do
<span>x </span><input id="mcx" class="text" name="xp" value="<?php echo $x ?>" maxlength="4"/>
<span>y </span><input id="mcy" class="text" name="yp" value="<?php echo $y ?>" maxlength="4"/>
<input type="image" id="btn_ok" class="dynamic_img" value="ok" name="s1" src="img/x.gif" alt="OK" /><br />
<?php if($session->plus != 0){echo "<a href=\"crop_finder.php\"><img src=\"".GP_LOCATE."img/misc/cropfinder.gif\" /> Crop Finder</a>";}?>
<?php if($session->goldclub != 0){echo "<a href=\"crop_finder.php\"><img src=\"".GP_LOCATE."img/misc/cropfinder.gif\" /> Crop Finder</a>";}?>
</form>
</div>
<table cellpadding="1" cellspacing="1" id="map_infobox" class="default"><thead><tr><th colspan="2">Details</th></tr></thead><tbody><tr><th>Player</th><td>-</td></tr><tr><th>Population</th><td>-</td></tr><tr><th>Alliance</th><td></td></tr></tbody></table>
+3 -2
View File
@@ -175,7 +175,8 @@ $end = ($tribe*10);
<select name="ctar1" class="dropdown">
<option value="0">Random</option>
<?php if($building->getTypeLevel(16) >= 5) { ?>
<?php if($building->getTypeLevel(35) == 0){
if($building->getTypeLevel(16) >= 5) { ?>
<optgroup label="Resources">
<option value="1">Woodcutter</option>
<option value="2">Clay Pit</option>
@@ -287,7 +288,7 @@ $end = ($tribe*10);
</td>
</tr>
</tbody><?PHP
}
}}
else if($process['c']=='4')
{
?><tbody class="infos">