<?php
$page_title = "Card Load";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/en/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>Selected Card</th>
									<td>**** **** **** <?php $this -> echoCardNumber(); ?></td>
								</tr>
								<tr>
									<th>Withdrawal amount</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispDebitAmount(); ?></td>
								</tr>
								<tr>
									<th>Exchange rate</th>
									<td><?php $this -> echoRate(); ?></td>
								</tr>
								<tr>
									<th>Card load fee</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispFeeAmount(); ?></td>
								</tr>
								<tr>
									<th>Card load amount</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; Back</a>&emsp;
							<input type="button" id="btnCardComplete" name="btnCardComplete" value="Submit" 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>
