<?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>
						<div class="pleft40 mb10"><?php $this -> echoMessage(); ?></div>
						<form id="acForm" action="" method="post" class="pleft40">

						<p class="mb20 respM">iWallet card is a prepaid card which is available in US Dollar currency.<br>
						<span class="red">※A purchase made through any currency other than US dollar will still be converted into US dollar.</span></p>

						<!-- /デザインスペース -->
							<div class="clearfix shelfD">
								<div class="dt300 font14">Please choose the card you want to load.</div>
								<select name="card_holder_id" class="respM">
										<?php $this -> dispCards(); ?>
								</select>
							</div>
							<div class="clearfix shelfD">
								<div class="dt300 font14">Please specify the payout currency.</div>
								<div class="charge"><select id="debit_currency" name="debit_currency" class="px70 respM">
											<?php $this -> dispCurrency(); ?>
										</select>&emsp;
										<input type="button" id="btnBalance" name="btnBalance" value="Check the balance" class="btn bg-default px180">
										<span id="balanceCurrency" class="check mt10"></span>
								</div>
							</div>
							<div class="clearfix shelfD">
								<div class="dt300 font14">Please indicate the amount</div>
										<p class="respM pb10">
											<?php $this -> dispTransferType(); ?>
										</p>
										<input type="text" id="amount" name="amount" value="<?php $this -> echoAmount(); ?>" class="px180 ralign respM">
							</div>
							<input type="hidden" value="input" id="type" name="type" />
							<input type="hidden" value="<?php $this -> echoUserAccount(); ?>" id="user_account" name="user_account" />
							<div class="dt300 noborder"></div>
							<p class=""><input type="button" id="btnCardConfirm" name="btnCardConfirm" value="Confirm" class="btn bg-grad px180"></p>

						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/card.js"></script>
</body>
</html>
