<?php
$page_title = "儲值卡片";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/tc/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>
