<?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="btnRegist" value="登録" class="btn bg-default px50 hi22">
						<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="name" name="name" value="" class="w100p"></td>
					</tr>
					<tr>
						<th>アクセス</th>
						<td>
							<select name="function[]" multiple="multiple">
								<?php $this -> echoFunctionOptions();?>
							</select>
						</td>
					</tr>
				</table>
				<input type="hidden" value="search" 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(); ?>
<!-- 						<p class="red"><span class="fa fa-times-circle fa-lg"></span> No result.</p> -->
						<form id="acForm" action="" method="post">
						<table class="table col bdr default odd w75p fontXS calign m_auto">
							<tr>
								<th class="w20p">部署名</th>
								<th class="w5p">詳細</th>
							</tr>
							<?php $this -> echoList(); ?>
						</table>
						<input type="hidden" value="" id="type" name="type" />
						<input type="hidden" value="" id="ad_id" name="ad_id" />
						</form>
						<div class="article-bottom">
						<?php $this -> dispPager(); ?>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
		<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="js/department.js"></script>
</body>
</html>
