<?php
$page_title = "Admin List";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<div class="aside-heading">
					<div class="btns">
						<input type="button" id="btnSearchAll" name="btnSearchAll" value="All" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearch" value="Search" class="btn bg-default px50 hi22">
						<input type="button" id="btnInput" value="Register" class="btn bg-default px50 hi22">
					</div>
				</div>
				<form id="searchForm" action="" method="post">
					<table class="conditions fontS w100p">
						<colgroup>
							<col class="w40p">
							<col class="w60p">
						</colgroup>
						<tr>
							<th>User Account Number</th>
							<td><input type="text" id="s_user_account" name="s_user_account" value="" class="w100p"></td>
						</tr>
						<tr>
							<th>Department</th>
							<td><?php echo $this -> getDepartmentDropdown(); ?></td>
						</tr>
						<tr>
							<th>Name</th>
							<td><input type="text" id="s_name" name="s_name" value="" class="w100p"></td>
						</tr>
						<tr>
							<th>Username</th>
							<td><input type="text" id="email" name="email" value="" class="w100p"></td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">Date of Last Login</span>
								<?php $this -> dispLoginFlg(); ?>
								<input type="text" id="s_last_login_from" name="s_last_login_from" value="" class="px110"> - <input type="text" id="s_last_login_to" name="s_last_login_to" value="" class="px110">
							</td>
						</tr>
					</table>
					<p class="calign">
						<input type="button" id="btnImportInput" value="IMPORT" class="btn bg-grad hi25 px100">
					</p>
					<input type="hidden" value="" id="type_search" 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 class="w5p">User Account Number</th>
									<th class="w10p">Department</th>
									<th class="w10p">Name</th>
									<th class="w10p">Username</th>
									<th class="w7p">Date of Last Login</th>
									<th class="w3p">Details</th>
								</tr>
								<?php $this -> echoList(); ?>
							</table>
							<input type="hidden" value="" id="user_account" name="user_account" />
							<input type="hidden" value="" id="type" name="type" />
						</form>
						<div class="article-bottom">
							<?php $this -> dispPager(); ?>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/admin_user.js"></script>
</body>
</html>
