📄 adminedit.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
'┌┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┐
'┊ ┊
'┊ 互连在线企业网站管理系统(NWEB) ┊
'┊ ┊
' 版权所有 csys.com.cn
'
' 程序制作 互连在线工作室
' Q Q:61128110
'
' 相关网址 [产品介绍]http://www.csys.com.cn
' [支持论坛]http://www.csys.com.cn/bbs
'
' 演示网址 http://www.csys.com.cn
'┊ ┊
'└┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┘
%>
<% Option Explicit %>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
<META NAME="copyright" CONTENT="Copyright 2004-2008 - csys.com.cn-STUDIO" />
<META NAME="Author" CONTENT="互连在线网络技术工作室,www.csys.com.cn" />
<META NAME="Keywords" CONTENT="" />
<META NAME="Description" CONTENT="" />
<TITLE>编辑管理员</TITLE>
<link rel="stylesheet" href="Images/CssAdmin.css">
<script language="javascript" src="../Script/Admin.js"></script>
</HEAD>
<!--#include file="../Include/Const.asp" -->
<!--#include file="../Include/ConnSiteData.asp" -->
<!--#include file="../Include/Md5.asp"-->
<!--#include file="CheckAdmin.asp"-->
<%
if Instr(session("AdminPurview"),"|101,")=0 then
response.write ("<font color='red')>你不具有该管理模块的操作权限,请返回!</font>")
response.end
end if
'========判断是否具有管理权限
%>
<BODY>
<%
dim Result
Result=request.QueryString("Result")
dim ID,AdminName,Working,Password,vPassword,UserName,Purview,Explain,AddTime
ID=request.QueryString("ID")
if ID="" then ID=0
call AdminEdit()
%>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
<tr>
<td height="24" nowrap><font color="#FFFFFF"><img src="Images/Explain.gif" width="18" height="18" border="0" align="absmiddle"> <strong>网站管理员:添加,修改管理员信息</strong></font></td>
</tr>
<tr>
<td height="24" align="center" nowrap bgcolor="#EBF2F9"><a href="AdminEdit.asp?Result=Add" onClick='changeAdminFlag("添加管理员")'>添加管理员</a><font color="#0000FF"> | </font><a href="AdminList.asp" onClick='changeAdminFlag("网站管理员")'>查看所有管理员</a></td>
</tr>
</table>
<br>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#6298E1">
<form name="editForm" method="post" action="AdminEdit.asp?Action=SaveEdit&Result=<%=Result%>&ID=<%=ID%>" onSubmit="return CheckAdminEdit()">
<tr>
<td height="24" nowrap bgcolor="#EBF2F9"><table width="100%" border="0" cellpadding="0" cellspacing="0" id=editProduct idth="100%">
<tr>
<td width="120" height="20" align="right"> </td>
<td> </td>
</tr>
<tr>
<td height="20" align="right">登 录 名:</td>
<td><input name="AdminName" type="text" class="textfield" id="AdminName" style="WIDTH: 120;" value="<%=AdminName%>" maxlength="16" <%if Result="Modify" then response.write ("readonly")%>> * 3-10位字符,不可修改</td>
</tr>
<tr>
<td height="20" align="right">生 效:</td>
<td><input name="Working" type="checkbox" value="1" style="HEIGHT: 13px;WIDTH: 13px;" <%if Working then response.write ("checked")%>></td>
</tr>
<tr>
<td height="20" align="right">密 码:</td>
<td><input name="Password" type="password" class="textfield" id="Password" maxlength="20" style="WIDTH: 120;"> * 6-16位字符,不填表未修改密码</td>
</tr>
<tr>
<td height="20" align="right">确认密码:</td>
<td><input name="vPassword" type="password" class="textfield" id="vPassword" maxlength="20" style="WIDTH: 120;"> *</td>
</tr>
<tr>
<td height="20" align="right">管理员名:</td>
<td><input name="UserName" type="text" class="textfield" id="UserName" style="WIDTH: 120;" value="<%=UserName%>"></td>
</tr>
<tr <%if ID=1 then response.write ("style=display:none")%>>
<td height="20" align="right">操作权限:</td>
<td nowrap>
<input name="Purview11" type="checkbox" value="|11," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|11,")>0 then response.write ("checked")%>> 编辑企业
<input name="Purview12" type="checkbox" value="|12," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|12,")>0 then response.write ("checked")%>> 企业列表
<input name="Purview21" type="checkbox" value="|21," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|21,")>0 then response.write ("checked")%>> 新闻类别
<input name="Purview22" type="checkbox" value="|22," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|22,")>0 then response.write ("checked")%>> 新闻列表
<input name="Purview23" type="checkbox" value="|23," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|23,")>0 then response.write ("checked")%>> 编辑新闻
<input name="Purview31" type="checkbox" value="|31," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|31,")>0 then response.write ("checked")%>> 产品类别
<input name="Purview32" type="checkbox" value="|32," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|32,")>0 then response.write ("checked")%>> 产品列表
<input name="Purview33" type="checkbox" value="|33," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|33,")>0 then response.write ("checked")%>> 编辑产品</td>
</tr>
<tr <%if ID=1 then response.write ("style=display:none")%>>
<td height="20" align="right"> </td>
<td>
<input name="Purview41" type="checkbox" value="|41," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|41,")>0 then response.write ("checked")%>> 需求类别
<input name="Purview42" type="checkbox" value="|42," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|42,")>0 then response.write ("checked")%>> 需求列表
<input name="Purview43" type="checkbox" value="|43," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|43,")>0 then response.write ("checked")%>> 编辑需求
<input name="Purview51" type="checkbox" value="|51," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|51,")>0 then response.write ("checked")%>> 下载类别
<input name="Purview52" type="checkbox" value="|52," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|52,")>0 then response.write ("checked")%>> 下载列表
<input name="Purview53" type="checkbox" value="|53," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|53,")>0 then response.write ("checked")%>> 编辑下载
<input name="Purview61" type="checkbox" value="|61," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|61,")>0 then response.write ("checked")%>> 招聘列表
<input name="Purview62" type="checkbox" value="|62," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|62,")>0 then response.write ("checked")%>> 编辑招聘</td>
</tr>
<tr <%if ID=1 then response.write ("style=display:none")%>>
<td height="20" align="right"> </td>
<td>
<input name="Purview71" type="checkbox" value="|71," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|71,")>0 then response.write ("checked")%>> 其他类别
<input name="Purview72" type="checkbox" value="|72," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|72,")>0 then response.write ("checked")%>> 其他列表
<input name="Purview73" type="checkbox" value="|73," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|73,")>0 then response.write ("checked")%>> 编辑其他
<input name="Purview81" type="checkbox" value="|81," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|81,")>0 then response.write ("checked")%>> 广告列表
<input name="Purview82" type="checkbox" value="|82," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|82,")>0 then response.write ("checked")%>> 编辑广告
<input name="Purview91" type="checkbox" value="|91," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|91,")>0 then response.write ("checked")%>> 留言列表
<input name="Purview92" type="checkbox" value="|92," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|92,")>0 then response.write ("checked")%>> 编辑留言
<input name="Purview93" type="checkbox" value="|93," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|93,")>0 then response.write ("checked")%>> 订单列表</td>
</tr>
<tr <%if ID=1 then response.write ("style=display:none")%>>
<td height="20" align="right"> </td>
<td>
<input name="Purview94" type="checkbox" value="|94," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|94,")>0 then response.write ("checked")%>> 订单回复
<input name="Purview95" type="checkbox" value="|95," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|95,")>0 then response.write ("checked")%>> 供应列表
<input name="Purview96" type="checkbox" value="|96," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|96,")>0 then response.write ("checked")%>> 供应回复
<input name="Purview97" type="checkbox" value="|97," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|97,")>0 then response.write ("checked")%>> 人才列表
<input name="Purview98" type="checkbox" value="|98," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|98,")>0 then response.write ("checked")%>> 回复人才
<input name="Purview101" type="checkbox" value="|101," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|101,")>0 then response.write ("checked")%>> 编辑管理员
<input name="Purview102" type="checkbox" value="|102," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|102,")>0 then response.write ("checked")%>> 管理员列表
<input name="Purview103" type="checkbox" value="|103," style="HEIGHT: 13px;WIDTH: 13px;"
<%if Instr(Purview,"|103,")>0 then response.write ("checked")%>> 编辑会员</td>
</tr>
<tr <%if ID=1 then response.write ("style=display:none")%>>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -