📄 specialedit.asp
字号:
<!--#include file=conn.asp -->
<%
IF not(Session("KEY")="super" or Session("KEY")="input" or Session("KEY")="check") THEN
response.write "<script>alert('您无权修改此项目!');history.go(-1);</Script>"
response.end
END IF
%>
<%
dim SpecialID
dim SpecialName
SpecialID = Request("SpecialID")
SpecialName=request("SpecialName")
set rs=server.CreateObject("ADODB.RecordSet")
rs.Source="select * from Special where SpecialID=" & SpecialID
rs.Open rs.Source,conn,1,1
if rs("specialmaster")=session("username") or session("key")="super" or Session("KEY")="check" then
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改专题</title>
<LINK href=style.css rel=stylesheet>
</head>
<body>
<p> </p>
<p> </p>
<form method="POST" action="SpecialEditok.asp">
<table border="0" cellspacing="1" width="80%" cellpadding="0" bgcolor="#000000" align="center">
<tr>
<td width="100%" height="55" bgcolor="#abb8d6">
<p align="center"><b>修 改 专 题</b>
</td>
</tr>
<tr align="center">
<td width="100%" bgcolor="#FFFFFF">
<table border="0" cellspacing="1" width="90%" height="80">
<tr>
<td align="center" height="60">专题名称:
<input type="text" name="typename" size="20" maxlength="20" value='<%=request("SpecialName")%>' style="font-family: 宋体; font-size: 9pt"><br>
专题注释: <input type="text" name="specialzs" size="20" class="text" value='<%=rs("Specialzs")%>' style="font-family: 宋体; font-size: 9pt">
<input type="hidden" name="SpecialID" value=<%=request("SpecialID")%>>
</td>
</tr>
</table>
</td>
</tr>
<tr align="center">
<td width="100%" bgcolor="#abb8d6" height="60">
<input type="submit" value=" 修 改 "
name="cmdok" class=button>
<input type="reset" value=" 复 原 "
name="cmdcancel" class=button>
<input type="button" name="ok" value=" 放 弃 " onClick="javascript:history.go(-1)" class=button>
</td>
</tr>
</table>
</form>
</body>
</html><%else%>
<script language=javascript>
history.back()
alert("因为这不是您添加的专题,\n所以您无权编辑该专题!")
</script>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -