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

📄 delreview2_alert.asp

📁 一个不错的代码 一个不错的代码 一个不错的代码
💻 ASP
字号:
<!--#include file=conn.asp -->
<%
IF not(Session("KEY")="super" or Session("KEY")="input") THEN
response.redirect "login.asp"
response.end
END IF

ReViewID=request("ReViewID")
if ReViewID="" then
%>
<script language=javascript>
history.back()
alert("请输入您要删除的评论ID!")
</script>
<%
Response.End
end if
set rs=server.CreateObject ("ADODB.RecordSet")
rs.Source="select * from ReView where ReViewID=" & ReViewID
rs.Open rs.source,conn,1,1

if rs.EOF then
%>
<script language=javascript>
history.back()
alert("非法评论ID,请确认ReviewID是否存在!")
</script>
<%
Response.End
end if

%>

<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
</head>

<body>

<p> </p>
<form action=Delreview3_submit.asp method=post>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="0" width="550" align=center cellspacing="1" bgcolor="#000000">
<tr>
<td width="100%" height="55" align="center" bgcolor="#abb8d6"><b><font color="#000000">删
除 评 论 确 认</font></b></td>
</tr>
<input type="hidden" name="ReViewID" value="<%=ReViewID%>">
<tr>
<td width="100%" align=center bgcolor="#FFFFFF">
<p>&nbsp;</p>
<p><font color=red>删除评论:[ <font color="#000066"> <%=ReViewID%> </font>号 ]?<br>
<BR>
(删除后将无法恢复!)</font></p>
<p>&nbsp;</p>
</td>
</tr>
<tr>
    <td width="100%"align=center bgcolor="#abb8d6" height="55" > 
      <input type=submit value="  是  " name="alert_button">
&nbsp;&nbsp;&nbsp;&nbsp;
<input type=submit value="  否  " name="alert_button">
    </td>
</tr>
</table>
</body>

</html>

⌨️ 快捷键说明

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