<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html lang="true">
<head>
<html:base />
<title>用户列表</title>
<link href="../css/main.css" rel="stylesheet" type="text/css">
<script language="javascrit" src="../js/main.js" type="text/javascript"></script>
</head>
<body>
<br><br>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="tabletoolbar">
<tr>
<td class="tabletitletext"><div align="center" class="tabletitletext">用户列表</div></td>
</tr>
</table>
<html:form action="/user/DeleteUserAction.do">
<table width="74%" border="1px" align="center" cellpadding="0" cellspacing="0" class="tableframe">
<tr bgcolor="#A8C3DE">
<td width="15%" nowrap align="center"><nobr>序号</td>
<td width="15%" nowrap align="center"><nobr>用户名</nobr></td>
<td width="15%" nowrap align="center"><nobr>用户代称</nobr></td>
<td width="15%" nowrap align="center"><nobr>密码</nobr></td>
<td width="15%" nowrap align="center"><nobr>所在部门</nobr></td>
<td colspan="2" width="25%" nowrap align="center"><nobr>操作</nobr></td>
</tr>
<logic:iterate id="user" name="users" indexId="index">
<tr>
<td align="center" nowrap="nowrap">
<html:multibox property="userIDList"><bean:write name="user" property="user_id" /></html:multibox>
<%=((Integer)request.getAttribute("startIndex")).intValue()+index.intValue()+1%>
</td>
<td align="center" nowrap="nowrap">
<bean:write name="user" property="user_name" />
</td>
<td align="center" nowrap="nowrap">
<bean:write name="user" property="user_dc" />
</td>
<td align="center" nowrap="nowrap">
<bean:write name="user" property="user_pw" />
</td>
<td align="center" nowrap="nowrap">
<bean:write name="user" property="user_bm" />
</td>
<td align="center" nowrap="nowrap">
<html:link action="/user/ToEditUserAction.do" paramId="id" paramName="user" paramProperty="user_id">
修改
</html:link>
</td>
<td align="center" nowrap="nowrap">
<html:link action="/user/DeleteUserAction.do" paramId="link_id" paramName="user" paramProperty="user_id">
删除
</html:link>
</td>
</tr>
</logic:iterate>
</table>
<br>
<table width="74%" border="0" align="center">
<tr>
<td align="left"><bean:write name="pagestr" filter="false"/></td>
</tr>
</table>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="tabletoolbar">
<tr>
<td width="20%" class="tabletitletext"></td>
<td width="60%">全部选中<input type="checkbox" name="checkbox1" onclick="SelectAllClick(this)"></td>
<td width="20%" class="tabletitletext"><div align="center"><html:submit styleClass="button">删除所选</html:submit></div></td>
</tr>
</table>
</html:form>
</body>
</html:html>