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

						<p class="pb30 pt20 pleft40 ma90sp">
							卡<select id="card_holder_id" name="card_holder_id">
									<?php $this -> dispCards(); ?>
								</select>&emsp;
							<span id="balanceSpan">正在提交</span>&emsp;
						</p>
						<p class="pb30 pt20 pleft40 ma90sp">
							有效日期:<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">儲值卡片<br /><span class="font13">往該卡儲值</span></a>
 -->							<a class="btn linkGreen px240 fontL" id="btnPrint" href="card?type=detail">交易明細<br /><span class="font13">查詢交易記錄</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>
