📄 admin_account_limit2.jsp
字号:
<%@ include file = "config.jsp" %>
<%@ page import="java.util.*,cwcNews.*"%>
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="admin" class="cwcNews.admin"/>
<%
admin.gotoLogin(response,session,"login.jsp");
admin.checkSupperAdmin(request,response,tb_news_visit_limit_tmp,"admin_account_limit2.jsp","not_super_admin.jsp"); //检查是否超级用户
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="thestyle.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="eeeeee">
<table width="100%" height="439" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr>
<td align="center" valign="top" bgcolor="#e6e6e6" class="whiteline14">
<form name="form2" method="post" action="dealwithcenter.jsp?action=modifyTypePermission">
<input type="hidden" name="aid" value="<%=request.getParameter("aid")%>">
<br>
<table width="96%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>新闻系统 -> <font color="#0000FF"><font color="blue">栏目权限</font>修改</font></td>
</tr>
</table>
<table width="100%" height="79" border="0" cellpadding="0" cellspacing="14">
<tr>
<td height="51" bgcolor="#646464"><table width="100%" height="51" border="0" cellpadding="3" cellspacing="1">
<tr>
<td width="137" height="18" align="center" valign="middle" background="images/title_bg_line.gif">帐号</td>
<td width="604" align="center" valign="middle" background="images/title_bg_line.gif">栏目权限</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" align="center" valign="middle"><%=request.getParameter("account")%>
<td align="center" valign="middle"><table width="99%" border="0" cellspacing="2" cellpadding="1">
<tr>
<td align="center" valign="middle" bgcolor="eeeeee">
<%
String title;
String colorStr = "black";
Hashtable outHashtable = (Hashtable)admin.getTypeInfoHashtable(request,tb_news_visitor_type,tb_news_type);
Vector typeTitle = (Vector)outHashtable.get("typeTitle");
Vector typeId = (Vector)outHashtable.get("typeId");
Hashtable typeInfoHashtable = (Hashtable)outHashtable.get("typeInfoHashtable");
for (int i=0; i<typeTitle.size(); i++) {
title = (String)typeTitle.elementAt(i);
if (typeInfoHashtable.get(title).equals("checked")) colorStr = "red";
out.print(" <input name=type_id type=checkbox value=" + typeId.elementAt(i) + " " + typeInfoHashtable.get(title) + "><font color=" + colorStr + ">" + title + "</font>");
colorStr = "black";
}
%>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<br>
<br>
<table width="97%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" valign="middle">[<a href="admin_account.jsp">返回</a>]</td>
<td width="67%" valign="middle"> </td>
<td width="8%" valign="middle"><input type="submit" name="Submit" value="修改"></td>
</tr>
</table> <br>
</form> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -