0f3f0dc8ed
09.03.2006 - Build 18 (Joe Camel): - Fixed function redeclaration with Blessed Strike & Stone Skin spells. - When you're all alone, you no longer have a little blue "undefined" orb to keep you company. - Changing worlds after a quest now gives you the world's starting town to avoid panel errors. - Minor optimization fix for item building. - Unique items no longer drop with prefixes/suffixes, and you can no longer buy unique items. - Removed alphanumeric requirement for passwords. - hpleech(monster) now properly accounts for difficulty multiplier when checking against the monster's maxhp. - Added Deposit/Withdraw All links to the Bank. - Fixed PVP and Post office bugs related to the new doquery syntax. - Fixed single-quote bugs in mymail(). - Removed verbiage from the levelup template that was no longer necessary. - Fixed some more verbiage in the registration message that was also no longer necessary. - Added admin-definable cookie name and cookie domain to controlrow.
19 lines
1020 B
PHP
19 lines
1020 B
PHP
<?php
|
|
|
|
$template = <<<END
|
|
<script type="text/javascript">
|
|
function autopop(theValue) {
|
|
document.bank.amount.value = theValue;
|
|
}
|
|
</script>
|
|
Storing money in the bank prevents you from losing it if you die in combat. However, your money in the bank cannot be used when purchasing of items or maps.<br /><br />
|
|
You are currently storing {{formatbank}} gold in the bank, and you are carrying {{formatgold}} gold in your pocket.<br /><br />
|
|
<form action="index.php?do=bank" method="post" name="bank">
|
|
Enter an amount and then click the Deposit or Withdraw button:<br />
|
|
<input type="text" name="amount" size="10" maxlength="20" id="amount" /> <input type="submit" name="deposit" value="Deposit" /> <input type="submit" name="withdraw" value="Withdraw" /><br />
|
|
<a href="#" onClick="javascript:autopop('{{maxpocket}}');">Deposit All</a> | <a href="#" onClick="javascript:autopop('{{maxbank}}');">Withdraw All</a><br /><br />
|
|
</form>
|
|
If you've changed your mind, you may also return to <a href="index.php">town</a>.
|
|
END;
|
|
|
|
?>
|