<?php
$page_title = "转账至本地银行（中国）转出申请";
include_once 'template/base_head.php';
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/sc/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>历史交易</th>
                                 		<td class="clr">
                                 		<select id="withdraw_history_local" name="withdraw_history" class="w100p">
											<option>从历史记录中选择</option>
											<?php $this->dispWithdarawHistory();?>
										</select>

                                 		</td>
                                 	</tr>
                                    <tr>
                                    	<th>支出账户</th>
                                    	<td class="clr selectC">
                                    		<?php $this->dispBalances();?>
                                    	</td>
                               	 	</tr>
                                    <tr>
                                    	<th>金额</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="显示等值的借记货币金额" 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>收款方账号</th><td class="clr"><input id="account_number" name="account_number" type="text" class="w50p" value="<?php $this -> echoAccountNumber(); ?>"></td></tr>
                                    <tr><th>收款方姓名</th><td class="clr"><input id="account_name" name="account_name" type="text" class="w50p" value="<?php $this -> echoAccountName(); ?>"></td></tr>
                                    <tr><th>收款銀行名称</th><td class="clr">
                                        <select id="receipt_bank_name" name="receipt_bank_name">
                                            <option disabled value="Select" selected>请选择您要使用的银行</option>
                                           <?php $this->disabledAllBank();?>
                                        </select>
                                    </td></tr>
                                    <tr>
                                    	<th>分行名称</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>省</th><td class="clr">
                                        <select id="province" name="province">
                                            <option disabled value="" selected>选择省</option>
											<?php $this->echoProvinceList();?>
                                        </select>
                                    </td></tr>
									<tr><th>市/县</th><td class="clr">
                                        <select id="city" name="city">
                                            <option id="selectCityLabel" disabled value="" selected>选择城市</option>
											<?php $this->echoCityList();?>
                                        </select>
                                    </td></tr>
                                    <tr><th>备注</th><td class="clr"><input id="receipt_message" name="receipt_message" type="text" class="w80p" value="转账至本地银行（中国）"  placeholder="转账至本地银行（中国）" maxlength = "256" readonly></td></tr>

                                 </tbody>
                            </table>
                        <strong>备注:</strong>
                        <ol class="ol_list ml50">
                            <li>一般账户会员每笔交易可转出金额：500-6,000元人民币。</li>
                            <li>升级帐户会员每笔交易可转出金额：500-50,000元人民币。</li>
                            <li>交易手续费是转出金额的1.50％，将由会员承担。这将体现在您的交易记录中。</li>
                            <li>汇款将立即记入您的银行账户。如果您在24小时内未收到款项，请与我们联系。</li>
                            <li>此转出方式仅适用于持有中国境内银行账户的会员。</li>
                            <li>仅支持人民币。</li>
                            <li>姓名必须用汉字书写。</li>
                        </ol>
                        <input type="hidden" value="" id="type" name="type" />
                        <p><input type="submit" id = "localBankConfirm" value="确认" 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>
