<?php
$page_title = "Exchange Rate";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<form id="searchForm" action="" method="post">
					<div class="aside-heading">
						<div class="btns">
							<input type="button" id="btnSearchAll" value="All" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearchToday" value="Today" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearch" value="Search" class="btn bg-default px50 hi22">
						</div>
					</div>
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w50p">
							<col class="w50p">
						</colgroup>
						<tr>
							<td colspan="2">
								<span class="th">Specify Date</span>
								<p>
									<input type="text" id="s_from" name="s_from" value="<?php $this -> echoSFrom(); ?>" class="px110" placeholder="日時"> - <input type="text" id="s_to" name="s_to" value="<?php $this -> echoSTo(); ?>" class="px110" placeholder="日時">
								</p>
							</td>
						</tr>
					</table>

					<input type="hidden" value="" id="type" name="type" />
				</form>
			</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>
							<?php $this -> dispPager(); ?>
						</div>
						<?php $this -> echoMessage(); ?>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd w80p fontXS calign">
								<tr>
									<th rowspan="" class="w10p">From Currency</th>
									<th class="w10p">To Currency</th>
									<th class="w10p">Rate</th>
									<th rowspan="" class="w10p">Original Rate</th>
									<th rowspan="" class="w20p">Create Time</th>
								</tr>
								<?php $this -> echoList(); ?>
							</table>

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