<?php
$page_title = "Card transactions";
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 pb10"><?php $this -> echoMessage(); ?></div>
						<div class="pleft40">
						<form method="post" action="" id="acForm">
						<div class="">
							<div class="filterM ma100p"><span class="va9">Card  </span><select name="card_holder_id">
										<?php $this -> dispCards(); ?>
									</select>&emsp;</div>
							<div class="filterMe ma100p"><span class="va9">Term </span><select name="date" class="px120">
									<?php $this -> dispSearchDate(); ?>
								</select>&emsp;</div>
							<div class="filterMb ma100p"><span>&nbsp;</span><input type="button" class="btn bg-grad" value="Search" id="btnDisp"></div>
							<div class="clearfix"></div>
						</div>
						<table class="table col bdr default odd calign w99p fontXS mTopS" id="table-breakpoint">
							<tbody><tr>
								<th class="w25p">Date</th>
								<th class="w10p">Transaction Number</th>
								<th class="w12p">Event</th>
								<th class="w35p">Transaction location</th>
								<th class="w13p">Amount</th>
								<th class="w5p">Result</th>
							</tr>
							<?php $this -> dispStatementList(); ?>
							</tbody></table>
							
						<input type="hidden" name="type" id="type" value="">
<!-- 						<p class="calign mb20 mt20">
							<a class="btn linkRed px240 fontL mt30" href="card?type=input">Loading<br /><span class="font13">Top-up this card</span></a>
						</p>
 -->						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/card.js"></script>
</body>
</html>


