<?php
$page_title = "支付確認";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft" class="login">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<h2></h2>
				<div class="sideLogin"></div>
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain" class="nonav">
				<div class="mainIn">
<?php include_once('template/base_nav_white.php'); ?>
					<article>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
						</div>
						<form id="acForm" action="" method="post">

							<p class="mb30">請確認無誤後提交。<br>該筆交易會在您提交後即時生效。</p>

							<table class="table col bdr default odd settleT fontM mb30">
								<tr>
									<th>收款人帳號</th>
									<td>
										<?php $this -> echoToAccount(); ?>
									</td>
								</tr>
								<tr>
									<th>收款人姓名</th>
									<td>
										<?php $this -> dispSiteName(); ?>
									</td>
								</tr>
								<tr>
									<th>内容</th>
									<td>
										<?php $this -> echoTitle(); ?>
									</td>
								</tr>
								<tr>
									<th>支出金額</th>
									<td>
										<?php $this -> echoDebitCurrency(); ?>&nbsp;<?php $this -> dispTotalDebitAmount(); ?>
									</td>
								</tr>
								<tr>
									<th>匯率</th>
									<td>
										<?php $this -> echoRate(); ?>
									</td>
								</tr>
								<tr>
									<th>到帳金額</th>
									<td>
										<?php $this -> echoCurrency(); ?> <?php $this -> echoAmount(); ?>
									</td>
								</tr>
								<tr>
									<th>備註</th>
									<td>
										<?php $this -> dispMsg(); ?>
									</td>
								</tr>
							</table>

							<input type="hidden" value="complete" id="type" name="type" />
							<input type="hidden" value="<?php $this -> echoUserAccount(); ?>" id="from_account" name="from_account" />

							<input type="hidden" value="<?php $this -> echoSignature(); ?>" id="signature" name="signature" />
							<input type="hidden" value="<?php $this -> echoToAccount(); ?>" id="user_account" name="user_account" />
							<input type="hidden" value="<?php $this -> echoCurrency(); ?>" id="currency" name="currency" />
							<input type="hidden" value="<?php $this -> echoAmount(); ?>" id="amount" name="amount" />
							<input type="hidden" value="<?php $this -> echoTitle(); ?>" id="title" name="title" />
							<input type="hidden" value="<?php $this -> echoTotalDebitAmount(); ?>" id="debit_amount" name="debit_amount" />
							<input type="hidden" value="<?php $this -> echoDebitCurrency(); ?>" id="debit_currency" name="debit_currency" />
							<input type="hidden" value="<?php $this -> echoMsg(); ?>" id="message" name="message" />
							<input type="hidden" value="<?php $this -> echoFeeAmount(); ?>" id="from_fee" name="from_fee" />
							<input type="hidden" value="<?php $this -> echoFee2Amount(); ?>" id="to_fee" name="to_fee" />
							<input type="hidden" value="<?php $this -> echoRate(); ?>" id="rate" name="rate" />

							<input type="hidden" value="<?php $this -> echoSuccessUrl(); ?>" name="success_url" />
							<input type="hidden" value="<?php $this -> echoFailUrl(); ?>" name="fail_url" />
							<input type="hidden" value="<?php $this -> echoCancelUrl(); ?>" name="cancel_url" />
							<input type="hidden" value="<?php $this -> echoReturnUrl(); ?>" name="return_url" />
							<input type="hidden" value="<?php $this -> echoPNum(); ?>" name="p_num" />

							<?php $this -> echoParams(); ?>
						</form>
						<p class="settleT calign">
							<a href="#" id="btnBack" class="btn bg-default">&laquo; 返回</a>&emsp;
							<input type="button" id="btnComplete" name="btnCardComplete" value="確認並提交" class="btn bg-grad px150">
						</p>
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/settlement.js"></script>
</body>
</html>
