#set($title = "管理者一覧")
#set($menukubun = "5")
#parse( "/WEB-INF/view/common/header_admin.vm" )
<script language="JavaScript" type="text/JavaScript">
    <!--
    function adminRegist(adminUserId,loginId,password,adminUserName,email,delFlg){
		 document.getElementById("adminUserId").value = adminUserId;
		 document.getElementById("loginId").value = loginId;
		 document.getElementById("password").value = password;
		 document.getElementById("adminUserName").value = adminUserName;
		 document.getElementById("email").value = email;
		 document.getElementById("delFlg").value = delFlg;
		 document.getElementById("clickedLoginId").value = loginId;

		 document.frm.submit();
	}

    function adminDel(adminUserId){
    	if(confirm("削除しますか?")){

    		document.getElementById("adminUserId").value = adminUserId;
	   		 document.frm.action="#q('/admin/setting/adminSearch/delete')";
	   		 document.frm.submit();
    	}

	}


    -->
</script>
<div id="contents">
<div id="contents_main">
<div id="breadcrumbsWrap">
			<!-- <div id="breadcrumbs" class="fs01 clearfix">
				<ul class="crumbs">
					<li><a href="#q('/admin/setting/')">設定</a>&nbsp;></li>
					<li><em>管理者検索</em></li>
				</ul>
			</div>[ /breadcrumbs ] -->
</div><!--[ /breadcrumbsWrap ]-->
<div id="main" class="clearfix">

<!-- <div class="btn_area"><a href="#q('/admin/setting/adminRegist/')"><img src="/em/images/enq_01_btn_01_off.jpg" width="80" height="30" alt="新規作成" / class="mgr10"></a></div> -->
<h2 class="contents_title">管理者一覧</h2>
<form method="post"  action="#q('/admin/setting/adminRegist/')" name="frm">
<input type="hidden" name="adminUserIndex" id="adminUserIndex" value="1"/>

<input type="hidden" name="adminUserId" id="adminUserId" value="1"/>
<input type="hidden" name="loginId" id="loginId" value="1"/>
<input type="hidden" name="password" id="password" value="1"/>
<input type="hidden" name="adminUserName" id="adminUserName" value="1"/>
<input type="hidden" name="email" id="email" value="1"/>
<input type="hidden" name="delFlg" id="delFlg" value="1"/>
<input type="hidden" name="clickedLoginId" id="clickedLoginId" />
<input type="hidden" name="pageNo" id="pageNo" value="$!{adminSearchForm.pageNo}"/>

<div id="right_contents">
<h3 class="table_title">管理者一覧</h3>
■該当件数  $!{adminSearchForm.pagingMap.paging.totalCnt}中 &nbsp;&nbsp;$!{adminSearchForm.pagingMap.paging.firstIndex} ~ $!{adminSearchForm.pagingMap.paging.lastIndex}件
<table border="0" cellpadding="0" cellspacing="0" class="stripe">
	<thead>
		<tr>
			<th class="t_center">ログインID</th>
			<th class="t_center">氏名</th>
			<th class="t_center">E-MAIL</th>
			<th class="t_center">削除</th>
		</tr>
	</thead>
<tbody>
	#foreach($adminUser in $adminSearchForm.adminUserList)
	<tr  #if($velocityCount % 2 == 0) class="white dot_line" #else class="gray" #end>
		<td class="t_left dot_line" ><a href="#" onclick="adminRegist('$!escape.html($!{adminUser.adminUserId})','$!escape.html($!{adminUser.loginId})','$!{adminUser.password}','$!escape.html($!{adminUser.adminUserName})','$!escape.html($!{adminUser.email})','$!{adminUser.delFlg}');" >$adminUser.loginId</a></td>
		<td class="t_left dot_line">$!escape.html($adminUser.adminUserName)</td>
		<td class="t_left dot_line">$!escape.html($adminUser.email)</td>
		<td class="t_center dot_line"><a href='#' onclick="adminDel($!{adminUser.adminUserId})"><img src="/em/images//enq_01_btn_05_off.gif" width="30" height="20" alt="削除" /></a></td>
	</tr>
	#end
 </tbody>
</table>
#makeLink("#q('/admin/setting/adminSearch/search/')",$adminSearchForm.pagingMap.paging)
#if($adminSearchForm.adminUserList.size() < 7)
	<BR><BR><BR><BR><BR><BR><BR><BR><BR>
#end
</div>
</div>
<div id="contents_bottom">
<img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" /> </div> </div>
</div>
</div>
</div>

#parse( "/WEB-INF/view/common/footer_admin.vm" )