<?php
$page_title = "轉賬至本地銀行（中國）轉出申請";
include_once 'template/base_head.php';
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/tc/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>
