<?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_iwallet_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" action="" method="post">
							<table class="table col bdr default odd cardloadT fontM mb30 ma90sp">
								<tr>
									<th>卡号</th>
									<td>**** **** **** <?php $this -> echoCardNumber(); ?></td>
								</tr>
								<tr>
									<th>充值金额</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispDebitAmount(); ?></td>
								</tr>
								<tr>
									<th>汇率</th>
									<td><?php $this -> echoRate(); ?></td>
								</tr>
								<tr>
									<th>手续费</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispFeeAmount(); ?></td>
								</tr>
								<tr>
									<th>实际充值金额</th>
									<td>USD <?php $this -> dispToAmount(); ?></td>
								</tr>
							</table>

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

							<input type="hidden" value="<?php $this -> echoCardHolderId(); ?>" id="card_holder_id" name="card_holder_id" />
							<input type="hidden" value="<?php $this -> echoTransferType(); ?>" id="transfer_type" name="transfer_type" />
							<input type="hidden" value="<?php $this -> echoDebitCurrency(); ?>" id="debit_currency" name="debit_currency" />
							<input type="hidden" value="<?php $this -> echoDebitAmount(); ?>" id="debit_amount" name="debit_amount" />
							<input type="hidden" value="<?php $this -> echoAmount(); ?>" id="amount" name="amount" />
							<input type="hidden" value="<?php $this -> echoToAmount(); ?>" id="to_amount" name="to_amount" />
							<input type="hidden" value="<?php $this -> echoFeeAmount(); ?>" id="fee" name="fee" />
							<input type="hidden" value="<?php $this -> echoRate(); ?>" id="rate" name="rate" />
						</form>
						<p class="">
							<a href="#" id="btnCardInput" class="btn bg-default calign">&laquo; 返回</a>&emsp;
							<input type="button" id="btnCardComplete" name="btnCardComplete" value="确认并提交" class="btn bg-grad px150 calign">
						</p>
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/card.js"></script>
</body>
</html>
