<?php
$page_title = "Local Bank Transfer (China) Withdrawal Application";
include_once 'template/base_head.php';
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once 'template/base_sidebar.php';?>
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain">
				<div class="mainIn">
<?php include_once 'template/base_nav.php';?>

<article>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
						</div>
						<div class="mb10"><?php $this->echoMessage();?></div>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd withdrawT fontM mb20 ma90sp">
                            		<tbody>
                                 	<tr>
                                 		<th>Transaction History</th>
                                 		<td class="clr">
                                 		<select id="withdraw_history_local" name="withdraw_history" class="w100p">
											<option>Choose from History</option>
											<?php $this->dispWithdarawHistory();?>
										</select>

                                 		</td>
                                 	</tr>
                                    <tr>
                                    	<th>Debit Currency</th>
                                    	<td class="clr selectC">
                                    		<?php $this->dispBalances();?>
                                    	</td>
                               	 	</tr>
                                    <tr>
                                    	<th>Amount</th>
                                    	<td class="clr">
                                    <input type="currency" class="px70" name="currency" value="CNY"  readonly="readonly" style="border:none;background-color: rgb(246,246,246);width: 40px;">
                                    <input type="text" class="px180" id = 'amount' name = 'amount' value="<?php $this -> echoAmount(); ?>"  maxlength = "5" ><br>
                                    <input type="button" value="Show equivalent amount" class="btn bg-parent calign show-blance" onclick="getExchangeMoney(); ">
                                    <span class="mybalance" id = 'amount_bank_status' hidden>USD 77.38</span>
                               	 		</td>
                            		</tr>
                                    <tr><th>Account Number</th><td class="clr"><input id="account_number" name="account_number" type="text" class="w50p" value="<?php $this -> echoAccountNumber(); ?>"></td></tr>
                                    <tr><th>Account Name</th><td class="clr"><input id="account_name" name="account_name" type="text" class="w50p" value="<?php $this -> echoAccountName(); ?>"></td></tr>
                                    <tr><th>Bank Name</th><td class="clr">
                                        <select id="receipt_bank_name" name="receipt_bank_name">
                                            <option disabled value="Select" selected>Select Bank</option>
                                            <?php $this->disabledAllBank();?>
                                        </select>
                                    </td></tr>
                                    <tr>
                                    	<th>Branch Name</th><td class="clr">
                                    	<input id="receipt_branch_name" name="receipt_branch_name" type="text" class="w80p" value="<?php $this -> echoReceiptBranchName(); ?>">
                                    	</td>
                                	</tr>
									<tr><th>Province</th><td class="clr">
                                        <select id="province" name="province">
                                            <option disabled value="" selected>Select Province</option>
											<?php $this->echoProvinceList();?>
                                        </select>
                                    </td></tr>
									<tr><th>City</th><td class="clr">
                                        <select id="city" name="city">
                                            <option id="selectCityLabel" disabled value="" selected>Select City</option>
											<?php $this->echoCityList();?>
                                        </select>
                                    </td></tr>
                                    <tr><th>Message</th><td class="clr"><input id="receipt_message" name="receipt_message" type="text" class="w80p" value="Local Bank Transfer (China)" placeholder="Local Bank Transfer (China)"  maxlength = "256" readonly></td></tr>

                                 </tbody>
                            </table>

                        <strong>Note:</strong>
                        <ol class="ol_list ml50">
                            <li>Standard Account Members can withdraw amount from CNY 500.00 to CNY 6,000  per transaction. </li>
                            <li>Executive Account Members can withdraw amount from CNY 500.00 to CNY 50,000 per transaction.</li>
                            <li>A transaction fee, 1.50% of the withdrawal amount, will be charged to the member. This will be recorded on your transaction history.</li>
                            <li>Remittance will be instantly credited on your bank account. If you have not received the funds within 24 hours, please contact us.</li>
                            <li>This option is only applicable for members with bank account in China.</li>
                            <li>Only CNY currency is accepted.</li>
                            <li>Name must be written in Chinese characters.</li>
                        </ol>
                        <input type="hidden" value="" id="type" name="type" />
                        <p><input type="submit" id = "localBankConfirm" value="Confirm" class="btn bg-grad px180 calign"></p>
                        </form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once 'template/base_foot.php';?>
	</div>
	<script src="../js/withdraw.js"></script>
</body>
</html>
