<?php
$page_title = "アドミン一覧";
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="すべて" class="btn bg-default px50 hi22">&nbsp;
						<input type="button" id="btnSearch" value="検索" class="btn bg-default px50 hi22">
						<input type="button" id="btnInput" value="登録" 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>ユーザーアカウント</th>
							<td><input type="text" id="s_user_account" name="s_user_account" value="<?=$this -> getField("sUserAccount")?>" class="w100p"></td>
						</tr>
						<tr>
							<th>部門</th>
							<td><?php echo $this -> getDepartmentDropdown($this -> getField("sDepartment")); ?></td>
						</tr>
						<tr>
							<th>名前</th>
							<td><input type="text" id="s_name" name="s_name" value="<?=$this -> getField("sName")?>" class="w100p"></td>
						</tr>
						<tr>
							<th>ユーザー名</th>
							<td><input type="text" id="email" name="email" value="<?=$this -> getField("userName")?>" class="w100p"></td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="th">最終ログイン</span>
								<?php $this -> dispLoginFlg(); ?>
								<input type="text" id="s_last_login_from" name="s_last_login_from" value="<?=$this -> getField("sLastLoginFrom")?>" class="px110"> - 
								<input type="text" id="s_last_login_to" name="s_last_login_to" value="<?=$this -> getField("sLastLoginTo")?>" class="px110">
							</td>
						</tr>
					</table>
					<p class="calign">
						<input type="button" id="btnImportInput" value="インポート" 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">ユーザーアカウント</th>
									<th class="w10p">部門</th>
									<th class="w10p">名前</th>
									<th class="w10p">ユーザー名</th>
									<th class="w7p">最終ログイン</th>
									<th class="w3p">詳細</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>
