more fixes

This commit is contained in:
unknown
2012-06-24 13:55:49 +03:00
parent c6f79e67c9
commit 3be71c2eaf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2197,7 +2197,7 @@ class Automation {
$database->setVillageField($data['to'],loyalty,($toF['loyalty']-$rand));
} else {
//you took over the village
$villname = $database->getVillageField($data['to'],"name");
$villname = addslashes($database->getVillageField($data['to'],"name"));
$artifact = $database->getOwnArtefactInfo($data['to']);
$info_chief = "".$chief_pic.",Inhabitants of ".$villname." village decided to join your empire.";
if ($artifact['vref'] == $data['to']){
+1 -1
View File
@@ -70,7 +70,7 @@ if(!$session->goldclub) {
</tr>
<tr>
<div class="clear"></div><p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" tabindex="8" alt="OK" <?php if(!$market->merchantAvail()) { echo "DISABLED"; }?>/></p></form>
<div class="clear"></div><p><input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" tabindex="8" alt="OK"/></p></form>
</tr>
</form>
<?php } ?>