<?php
$page_title = "中國銀聯";
include_once('template/base_head.php');
$lang = $this -> getLangage();
?>
			<!-- サイドバー -->
			<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>
						<form id="acForm" method="post">
							<p class="pleft40 mb20 respM">請確認以下資訊。</p>

							<div class="pleft40">
							<table class="table col bdr default odd transferT fontM mb40 ma90sp">
								<tr>
									<th colspan="2">帳戶資料</th>
								</tr>
								<tr>
									<th style="width: 180px;">帳戶號碼</th>
									<td class="ralign"><?php echo $this -> getUserData(PARAM_USER_ACCOUNT); ?></td>
								</tr>
	                            <tr>
	                            	<th>出生日期</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_BIRTH_STRING); ?></td>
	                            </tr>
	                            <tr><th>名</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_FIRST_NAME); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>姓</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_LAST_NAME); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>電子信箱</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_MAIL); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>國家</th>
	                            	<td class="ralign"><?php $this -> echoCountryName(); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>省</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_STATE); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>市</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_CITY); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>詳細地址</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_ADDRESS); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>郵遞區號</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_ZIP_CODE); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>聯絡電話</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_TEL); ?></td></tr>
							</table>
							</div>
							<div class="pleft40" style="margin-top:30px;">
								<table class="table col bdr default odd transferT fontM mb40 ma90sp">
	        						<tr>
	        							<th colspan="2">交易明細</th>
	        						</tr>
		                            <tr>
		                            	<th style="width: 180px;">支付金額</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency(); ?>&nbsp;<?php echo  $this -> echoDepositAmountNatural() ; ?></td>
		                            </tr>
		                            <tr>
		                            	<th>儲值金額</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php $this -> echoAmount(); ?></td>
		                            </tr>
		                            <tr>
		                            	<th>交易費用</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php echo $this -> echoFee() ; ?></td>
		                            </tr>
		                            <tr>
		                            	<th>備註</th>
		                            	<td class="ralign"><?php echo $this -> message; ?></td>
		                            </tr>
		                        </table>
							</div>
							<p class="pleft40" style="margin-top:30px;">※若您想繼續交易，請點擊下一步。將會跳轉至中國銀聯系統頁面完成交易。 </p>

							<p class="transferButton mb30">
                                <a id="btnBackCupInput" class="btn bg-default calign">&laquo; 上一頁</a>&emsp;
                                <a id="btnCupSendAPI" class="btn bg-grad px180 mt10" href="">下一頁</a>
							</p>

							<input type="hidden" value="send" id="type" name="type" />

						</form>

                        <form id="cupForm" action="<?php echo $this -> formURL;?>" method="post">
                            <input type="hidden" name="pid" value="<?php echo VAL_SDPAY_DEPOSIT_CUP_MERCHANT_CODE; ?>" />
                            <input type="hidden" name="des" value="<?php echo $this -> sdPayEncrypted; ?>" />
                        </form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/deposit.js"></script>
</body>
</html>
