📄 delword.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="hotel.asp" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>删除留言</title>
<style type="text/css">
<!--
@import url("style.css");
-->
</style>
</head>
<!--#include file="include/is_admin.asp" -->
<%
dim word_id,rs_del,sql
'接收word_id数据调用留言----------------
word_id=request("word_id")
if word_id="" then response.Redirect("error.asp")
'删除留言--------------------
set rs_del=server.CreateObject("adodb.recordset")
sql = "delete from word where word_id = " & word_id
rs_del.open sql,hotel_conn,3,2
set rs_del=nothing
%>
<body>
<div align="center">
<table width="706" height="281" border="0" class="table_big">
<tr>
<td valign="top"><div align="center">
<!--#include file="include/admin_head.asp" -->
<br>
<table width="452" border="0" class="table_small">
<tr>
<td> </td>
</tr>
<tr>
<td class="text_title"><div align="left">删除成功!</div></td>
</tr>
<tr>
<td class="table_title"> </td>
</tr>
<tr>
<td><div align="left"><span class="text">已经成功删除序列号为<%= word_id %>的留言。</span></div></td>
</tr>
<tr>
<td class="text"> </td>
</tr>
<tr>
<td class="text"> <div align="center">
<input name="button" type=button class="button_" onClick="javascript:self.close();" value="关闭本窗口">
</div></td>
</tr>
<tr>
<td class="text"> </td>
</tr>
</table>
<br>
<!--#include file="include/foot.asp" -->
<br>
</div></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -