statuser.jsp
来自「采用j2ee架构做的bbs」· JSP 代码 · 共 129 行
JSP
129 行
<%@page pageEncoding="gb2312"%>
<%@page contentType="text/html;charset=gb2312" language="java" import="beans.*;" errorPage=""%>
<%@include file="top.jsp"%>
<%String board_id = request.getParameter("board_id");
%>
<html>
<head>
<style>
a{text-decoration:none}a.xh{text-decoration:none; color:#ffffff}a:hover.xh{text-decoration:underline}a.zh{text-decoration:none;color:#000000}a:hover.zh{text-decoration:underline;color:blue}
body,td{font-size:9pt}
</style>
<title>用户管理</title>
<script Language="Javascript" src="include/form.js"></Script>
</head>
<body style="text-align: center">
<%request.setCharacterEncoding("gb2312");%>
<form method="post" name="myform"
action="../OperaterServlet?">
<table width="100%" border="1" bordercolorlight="#7777ff"
bordercolordark="#7777ff" style="border-collapse:collapse">
<tr valign="center" align="center">
<td colspan="2" height="25" background="images/skin/1/bg_td.gif"
class="SpanHeight"><b><font color="#ffffff"> <a class=zh
href="../OperaterServlet?action=add_user">增加用户</a> <a class=zh
href="../OperaterServlet?action=find_user">寻找用户</a> <a class=zh
href="../OperaterServlet?action=delete_user">删除用户</a> <a class=zh
href="../OperaterServlet?action=lookup_user">查看用户列表</a> <a class=zh
href="../OperaterServlet?action=stat_user">系统用户组管理</a></font></b></td>
</tr>
</table>
</form>
<% StatNum stat=(StatNum)session.getAttribute("stat"); %>
<%request.setCharacterEncoding("gb2312");%>
<form method="post" name="myform"
action="******Servlet?board_id=<%=board_id%>">
<table width="100%" border="1" bordercolorlight="#7777ff"
bordercolordark="#7777ff" style="border-collapse:collapse">
<tr>
<td colspan="6" height="25" background="images/skin/1/bg_td.gif"><b><font
color="#ffffff"> -=>系统用户组管理 </font></b></td>
</tr>
<tr bgcolor="#dff2ed">
<td colspan="6" height="25"> 小提示:点击权限您可以分别设定每个系统用户组分别拥有不同的用户权限,系统组头衔和图标显示在前台用户信息中</td>
</tr>
<tr bgcolor="#dff2ed">
<td width="8%"><b> 组ID</b></td>
<td width="20%"><b> 系统中名称</b></td>
<td width="30%"><b> 系统组图标</b></td>
<td width="20%"><b> 用户数</b></td>
<td width="10%"><b> 操作</b></td>
</tr>
<tr bgcolor="#dff2ed">
<td width="8%" height="25"> 1 </td>
<td width="20%" height="25"> 管理员 </td>
<td width="40%" height="25"><img src="images/skin/level6.gif" width="150" height="16"></td>
<td width="8%" height="25">
<input type="text" name="user_num2"size="20" value=<%=stat.getAdminNum()%>></td>
<td width="9%" height="25"> <a class=zh
href="../GroupServlet?action2=admin">列出用户</a> </td>
</tr>
<tr bgcolor="#dff2ed">
<td width="8%" height="25"> 2 </td>
<td width="20%" height="25"> 版主 </td>
<td width="40%" height="25"><img src="images/skin/level5.gif" width="130" height="18"></td>
<td width="8%" height="25">
<input type="text" name="user_num" size="20" value=<%=stat.getBoardhostNum()%>></td>
<td width="9%" height="25"> <a class=zh
href="../GroupServlet?action2=boardhost">列出用户</a> </td>
</tr>
<tr bgcolor="#dff2ed">
<td width="8%" height="25"> 3 </td>
<td width="20%" height="25"> 贵宾 </td>
<td width="40%" height="25"><img src="images/skin/level4.gif" width="130" height="18"></td>
<td width="8%" height="25">
<input type="text" name="user_num" size="20" value=<%=stat.getVisitantNum()%>></td>
<td width="9%" height="25"> <a class=zh
href="../GroupServlet?action2=visitant">列出用户</a> </td>
</tr>
<tr bgcolor="#dff2ed">
<td width="8%" height="25"> 4 </td>
<td width="20%" height="25"> 客人 </td>
<td width="40%" height="25"><img src="images/skin/level3.gif" width="130" height="18"></td>
<td width="8%" height="25">
<input type="text" name="user_num" size="20" value=<%=stat.getGuestNum()%>></td>
<td width="9%" height="25"> <a class=zh
href="../GroupServlet?action2=guest">列出用户</a> </td>
</tr>
<tr bgcolor="#dff2ed">
<td width="8%" height="25"> 5 </td>
<td width="20%" height="25"> 新手 </td>
<td width="40%" height="25"><img src="images/skin/level2.gif" width="130" height="18"></td>
<td width="8%" height="25">
<input type="text" name="user_num" size="20" value=<%=stat.getNoviceNum()%>></td>
<td width="9%" height="25"> <a class=zh
href="../GroupServlet?action2=novice">列出用户</a> </td>
</tr>
<tr bgcolor="#dff2ed">
<td width="8%" height="25"> 6 </td>
<td width="20%" height="25"> 其他 </td>
<td width="40%" height="25"><img src="images/skin/level1.gif" width="130" height="18"></td>
<td width="8%" height="25">
<input type="text" name="user_num" size="20" value=<%=stat.getOthersNum()%>></td>
<td width="9%" height="25"> <a class=zh
href="../GroupServlet?action2=others">列出用户</a> </td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?