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

						<p class="mb20 respM">iWallet卡是单币种美金预付卡。<br>
						<span class="red">※非美金交易也会以美金结算。</span></p>

						<!-- /デザインスペース -->
							<div class="clearfix shelfD">
								<div class="dt300 font14">请选择需要充值的卡号</div>
								<select name="card_holder_id" class="respM">
										<?php $this -> dispCards(); ?>
								</select>
							</div>
							<div class="clearfix shelfD">
								<div class="dt300 font14">请选择支付币种</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="查询余额" class="btn bg-default px180">
										<span id="balanceCurrency" class="check mt10"></span>
								</div>
							</div>
							<div class="clearfix shelfD">
								<div class="dt300 font14">请填写充值金额</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="下一步" 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>
