⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminuserlistcontents.jsp

📁 struts+hibernate BBS mysql数据库 功能基本齐全
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ page import="com.elan.forum.model.ForumUser"%>
<%
	List<ForumUser> unlockedUserList = (List<ForumUser>) request
			.getAttribute("userList");
	//List<ForumUser> lockedUserList = (List<ForumUser>) request
	//	.getAttribute("lockedUserList");
%>
<table width='100%' border='0' cellspacing='1' cellpadding='0'>
	<tr>
		<td>
			·您现在的位置:
			<a href='Admin_ForumLevel.asp?ChannelID=9'>论坛用户等级管理</a> >>
			<span class='BlueText'>论坛管理员</span> 列表
		</td>
	</tr>
</table>
<table width='100%' border='0' cellpadding='0' cellspacing='1'
	class='Border'>
	<tr>
		<td width='3%' align='center' nowrap class='top_item'>
			<strong>选择</strong>
		</td>
		<td width='4%' align='center' nowrap class='top_item'>
			<strong>ID</strong>
		</td>
		<td width='12%' align='center' nowrap class='top_item'>
			<strong>所属会员组</strong>
		</td>
		<td width='11%' align='center' nowrap class='top_item'>
			<strong>会员名</strong>
		</td>
		<td width='10%' align='center' nowrap class='top_item'>
			<strong>真实姓名</strong>
		</td>
		<td width='9%' align='center' nowrap class='top_item'>
			<strong>积分</strong>
		</td>
		<td width='10%' align='center' nowrap class='top_item'>
			<strong>最后登陆IP</strong>
		</td>
		<td width='15%' align='center' nowrap class='top_item'>
			<strong>最后登陆时间</strong>
		</td>
		<td width='5%' align='center' nowrap class='top_item'>
			<strong>次数</strong>
		</td>
		<td width='5%' align='center' nowrap class='top_item'>
			<strong>状态</strong>
		</td>
		<td width='10%' align='center' nowrap class='top_item'>
			<strong>操作</strong>
		</td>
	</tr>
	<%
		for (Iterator it = unlockedUserList.iterator(); it.hasNext();) {
			ForumUser fu = (ForumUser) it.next();
	%>
	<tr class='td_25' onMouseOver="this.className='MouseOver_25'"
		onMouseOut="this.className='td_25'">
		
		<td align='center'>
			<input name='CheckObject' type='checkbox' id='CheckObject'
				value='' UserName='zhouxue'>
		</td>
		<td align='center'>
				<%=fu.getId()%>
		</td>
		<td align='center'>
			<a href='Admin_User.asp?GroupID=3'>注册会员</a>
		</td>
		<td align='center'><%=fu.getUsername()%></td>
		<td align='center'><%=fu.getTrueName()%></td>
		<td align='center'>
			<span class='RedText' title='积分'><%=fu.getForumPoints()%></span>
		</td>
		<td align='center'><%=fu.getLastLogonIp()%></td>
		<td align='center' nowrap><%=fu.getLastLoginTime()%></td>
		<td align='center'><%=fu.getLogonTimes()%></td>
		<td>
			<span class=greentext><%=fu.getLocked()== 0?"正常":"<font color='red'>锁定</font>"%></span>
		</td>
		<td nowrap='nowrap'>
			<a href="<%=request.getContextPath()%>/forum/operationUser.do?method=showUserById&id=<%=fu.getId()%>">查看</a>&nbsp;
			<a href="<%=request.getContextPath()%>/forum/operationUser.do?method=deleteUserById&id=<%=fu.getId()%>" onClick="return confirm('本次操作将彻底删除该会员的所有信息,确定要执行删除吗?')">删除</a>&nbsp;
			<%
			if(0 == fu.getLocked()) {
			%>
			<a href="<%=request.getContextPath()%>/forum/operationUser.do?method=lockUserById&type=1&id=<%=fu.getId()%>">锁定</a>
			<%
			} else {
			%>
			<a href="<%=request.getContextPath()%>/forum/operationUser.do?method=lockUserById&type=0&id=<%=fu.getId()%>">解除</a>
			<%
			}
			%>
		</td>
	</tr>
	<%
		}
	%>

</table>
<table width='100%' border='0' cellspacing='1' cellpadding='0'>
	<tr>
		<td width='12%'>
			&nbsp;
		</td>
		<td width='88%' align='right' nowrap>
			<table border="0" cellspacing="1" cellpadding="0">
				<tr>
					<td>
						一共
						<b style='color: red'>0</b>个会员&nbsp;&nbsp;
						<a
							href="Admin_ForumLevel.asp?ChannelID=9&Action=ListUser&LevelID=1&page=1">首页</a>&nbsp;&nbsp;
						<a disabled>上一页</a>&nbsp;&nbsp;
						<a disabled>下一页</a>&nbsp;&nbsp;
						<a
							href="Admin_ForumLevel.asp?ChannelID=9&Action=ListUser&LevelID=1&page=1">尾页</a>&nbsp;&nbsp;
						<b style='color: red'>1</b>/
						<b>1</b>页&nbsp;&nbsp;
						<input type='text'
							onKeyDown="if(event.keyCode==13){window.location.href='Admin_ForumLevel.asp?ChannelID=9&Action=ListUser&LevelID=1&page=1&pagesizes='+this.value;}"
							size='3' value='20' />
						个会员/页&nbsp;&nbsp;跳转
					</td>
					<td>
						<input type='text'
							onKeyDown="if(event.keyCode==13){window.location.href='Admin_ForumLevel.asp?ChannelID=9&Action=ListUser&LevelID=1&page='+this.value;}"
							size='3' value='1' />
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -