Merge pull request #103 from armando1980/patch-46

fix trade npc by armando
This commit is contained in:
Shadow
2014-02-19 08:01:40 +02:00
+2 -2
View File
@@ -252,7 +252,7 @@ function testSum() {
</tbody>
</table>
<p id="submitButton">
<?php if($session->userinfo['gold'] > 3) { ?><a href="javascript:document.snd.submit();">Trade resources at (step 2 of 2)</a> <span class="none">(Costs: <img src="img/x.gif" class="gold_g" alt="Gold" title="Gold" /><b>3</b>)</span><?php } else { echo"<span class='none'>Trade resources at (step 2 of 2)</span> (Costs: <img src='img/x.gif' class='gold' alt='Gold' title='Gold' /><b>3</b>)"; }?> </p>
<?php if($session->userinfo['gold'] >= 3) { ?><a href="javascript:document.snd.submit();">Trade resources at (step 2 of 2)</a> <span class="none">(Costs: <img src="img/x.gif" class="gold_g" alt="Gold" title="Gold" /><b>3</b>)</span><?php } else { echo"<span class='none'>Trade resources at (step 2 of 2)</span> (Costs: <img src='img/x.gif' class='gold' alt='Gold' title='Gold' /><b>3</b>)"; }?> </p>
<p id="submitText"></p>
</form>
<script>
@@ -268,4 +268,4 @@ function testSum() {
}else{
header("Location: build.php?id=".$_GET['id']."");
}
?>
?>