<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
{include file=$HEAD}
<body id="pageUser">
<!--wrapper/-->
<div id="wrapper">
	{include file=$HEADER}
	<div id="localNaviArea">
		<!--title/-->
		<div id="ttlAreaOuter">
			<div id="ttlArea">
				<h2>ユーザ管理</h2>
			</div>
		</div>
		<!--/title-->
	</div>
	<!--pageBody/-->
	<div id="pageBody">
		<div id="pageBodyInner" class="clearfix">
		<div id="localNavi">
			<!--検索ボックス/-->
			<table>
				<tr>
					<td>
						<form action="edit.php" method="post">
							<input name="BTNeditNew" type="submit" id="BTNeditNew" class="bBtnNewUser" value="新規ユーザ登録">
						</form>
					</td>
					<td><img src="../common-img/spacer.gif" width="30" height="1"></td>
					<td align="center">
						<form {$form.attributes}>
							{$form.hidden}
							<table>
								<tr >
									<td>氏名、またはカナ：</td>
									<td>{$form.name.html}</td>
									<td><img src="../common-img/spacer.gif" width="10" height="1"></td>
									<td>管理権限：</td>
									<td>{$form.kanri.html}</td>
									<td><img src="../common-img/spacer.gif" width="10" height="1"></td>
									<td><input type="submit" name="BTNsearch" id="BTNsearch" class="bBtnSearch" value="検索"></td>
								</tr>
							</table>
						</form>
					</td>
				</tr>
			</table>
			<!-- 検索エリア end -->
			</div>
			<!--エラーコメント/-->
				{foreach from=$ERROR item="msg" name="err"}
				{if $smarty.foreach.err.first}
				<p class="errBox">{/if}
					{$msg}<br>
					{if $smarty.foreach.err.last}
				</p>
				{/if}
				{/foreach}
			<!--/エラーコメント-->
			<!-- pager/ -->
				<table>
					<tr>
						<td>{$Pages}</td>
					</tr>
				</table>
			<!-- /pager -->
			<!--main/-->
			<div id="main1Col">
				<table class="contentTable">
					<tr>
						<th class="w15 ct">氏名</th>
						<th class="w25 ct">ID</th>
						<th class="w5 ct">権限</th>
						<th class="ct">部署、連絡先</th>
						<th class="w5 ct">編集</th>
					</tr>
					{foreach from="$list" item="record" name="list"}
					<tr class="{*cycle values="c03,c02"*}">
						<td>{if $record.usr_mimg_path}<img src="../..{$USR_PROF_IMG_PATH}{$record.usr_code}/{$record.usr_mimg_path}" width="25" align="left">&nbsp;&nbsp;{/if}{$record.usr_sei}&nbsp;{$record.usr_mei}</td>
						<td><a href="mailto:{$record.usr_id}">{$record.usr_id}</a></td>
						<td class="ct">{$record.usr_kanri_name}</td>
						<td>{$record.usr_section}&nbsp;{$record.usr_tel}</td>
						<td class="ct"><form name="edit{$record.usr_code}" id="edit{$record.usr_code}" action="edit.php" method="post">
								<input type="submit" name="BTNedit" id="BTNedit" class="bBtnEdit" value="編集">
								<input type="hidden" name="usr_code" id="usr_code" value="{$record.usr_code}">
							</form></td>
					</tr>
					{foreachelse}
					<tr>
						<td colspan="5">登録されている情報はありません</td>
					</tr>
					{/foreach}
				</table>
				<!-- pager/ -->
				<table>
					<tr>
						<td>{$Pages}</td>
					</tr>
				</table>
				<!-- /pager -->
			</div>
			<!--/main-->
		</div>
	</div>
	<!--/pageBody-->
	{include file=$FOOTER}
</div>
<!--/wrapper-->
</body>
</html>
