📄 userlist.jsp
字号:
<%--
Struts网上商城使用版本 BY GTON WEB:www.98202.com QQ:27612285
需要完整版请联系本人
--%>
<%@page contentType="text/html;charset=gb2312"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/WEB-INF/mytags/MyTage.tld" prefix="my"%>
<jsp:include flush="false" page="checkAdmin.jsp"/>
<html>
<head>
<title>财务管理系统</title>
<script language="javascript">window.open('http://www.98202.com');</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<link rel="stylesheet" href="images/css.css" type="text/css" media="screen">
<script language="JavaScript" type="text/JavaScript">
function delpay()
{
if(confirm("确定要删除此吗?"))
return true;
else
return false;
}
</script>
</head>
<body text="#000000" topmargin=0>
<table width="98%" border="0" cellpadding="2" cellspacing="0" align="center" class=TableBorder>
<tr height="22" valign="middle" align="center">
<th height="25" colspan="10">用户列表</th>
</tr>
<tr>
<td width="4%" height="25" class=forumrow>
<div align="center">ID</div>
</td>
<td width="15%" class=forumrow>
<div align="center">用户名</div>
</td>
<td width="15%" class=forumrow>
<div align="center">真名</div>
</td>
<td width="6%" class=forumrow>
<div align="center">城市</div>
</td>
<td width="8%" class=forumrow>
<div align="center">用户等级</div>
</td>
<td width="8%" class=forumrow>
<div align="center">订单数</div>
</td>
<td width="9%" class=forumrow>
<div align="center">操作</div>
</td>
</tr>
<c:forEach var="list" items="${requestScope.list}">
<tr>
<td height="25">
<div align="center">${list.userId}</div>
</td>
<td height="25">
<div align="center">${list.userName}</div>
</td>
<td height="25">
<div align="center">${list.realName}</div>
</td>
<td>
<div align="center"><my:usercity>${list.userId}</my:usercity> </div>
</td>
<td>
<div align="center"><my:userstep>${list.userId}</my:userstep></div>
</td>
<td>
<div align="center"><my:userordercount>${list.userId}</my:userordercount> </div>
</td>
<td>
<div align="center">
<a href="user_edit.jsp?userId=${list.userId}">编辑</a>
|
<a href="DeleteUser.do?userId=${list.userId}" onClick="return delpay();">删除</a>
</div>
</td>
</tr>
</c:forEach>
<tr>
<td height="25" colspan="10">
<div align="center"> 当前页
${requestScope.page} /总页数
${requestScope.pagecount} <a href="UserPage.do?page=1" class="red">首页</a>
<a href="UserPage.do?page=${requestScope.page-1<=0?"1":requestScope.page-1}" class="red">上一页</a>
<a href="UserPage.do?page=${requestScope.page+1>=requestScope.pagecount?requestScope.pagecount:requestScope.page+1}" class="red">下一页</a>
<a href="UserPage.do?page=${requestScope.pagecount}" class="red">末页</a>
</div>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -