fix trade npc by armando

This commit is contained in:
armando1980
2014-02-18 15:26:18 -05:00
parent 06af170c47
commit 012695f8b1
+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']."");
}
?>
?>