<?php
$page_title = "ユーザログイン履歴";
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="すべて" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearchToday" value="本日" class="btn bg-default px50 hi22">&nbsp;
							<input type="button" id="btnSearch" value="検索" class="btn bg-default px50 hi22">
						</div>
					</div>
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w50p">
							<col class="w50p">
						</colgroup>
						<tr>
							<th>口座番号</th>
							<td><input type="text" id="s_user_account" name="s_user_account" value="<?php $this -> echoSUserAccount(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<th>IPアドレス</th>
							<td><input type="text" id="s_ip_address" name="s_ip_address" value="<?php $this -> echoSIPAddress(); ?>" class="w100p"></td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">日時指定</span>
								<p>
									<?php $this -> dispLoginFlg(); ?>
									<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 w100p fontXS calign">
								<tr>
									<th rowspan="" class="w10p">ログイン時間</th>
									<th class="w10p">名前</th>
									<th class="w10p">口座番号</th>
									<th rowspan="" class="w10p">IPアドレス</th>
									<th rowspan="" class="w60p">User Agent</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/login_history.js"></script>
</body>
</html>
