<?php
$page_title = "Card Balance";
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>
						<?php $this -> echoMessage(); ?>
						<form id="acForm" action="" method="post">

						<p class="pb30 pt20 pleft40 ma90sp">
							Card  <select id="card_holder_id" name="card_holder_id">
									<?php $this -> dispCards(); ?>
								</select>&emsp;
							<span id="balanceSpan">Sending....</span>&emsp;
						</p>
						<p class="pb30 pt20 pleft40 ma90sp">
							Expire Date：<span id="expire_date"></span>
						</p>
						<div class="clearfix"></div>
						<p class="pleft40 mb20">
<!-- 							<a class="btn linkBlue px240 fontL mr20" href="card?type=input">Loading<br /><span class="font13">Top-up this card</span></a>
 -->							<a class="btn linkGreen px240 fontL" id="btnPrint" href="card?type=detail">Statement<br /><span class="font13">Check Transaction History</span></a>
						</p>

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