📄 del.asp
字号:
<%@ Language=VBScript %>
<!--#INCLUDE FILE="conn.asp" -->
<!--#INCLUDE FILE="config.asp" -->
<%
user=trim(request("username"))
passwd=cstr(Request("password"))
if passwd=username and user=password then
dim sql
dim rs
set rs=server.createobject("adodb.recordset")
sql="delete from iZzgbook where gbookid="&request("gbookid")
rs.open sql,conn,1,1
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect "index.asp"
else
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>...::iZz Studio:::...</title>
<link rel="stylesheet" type="text/css" href="style/style.css">
</head>
<body>
<p align="center">斑竹删除留言</p>
<form method="POST" action="del.asp?gbookid=<%=request("gbookid")%>">
<table width="300" border="1" cellspacing="0" cellpadding="1" align="center"
bordercolordark="#ecf5ff" bordercolorlight="#c0c0c0">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td width="33%" align="right" height="30">用户名:</td>
<td width="67%"><input name="username" maxlength="20" class="smallInput" size="20"> </td>
</tr>
<tr>
<td width="33%" align="right" height="30">密 码:</td>
<td width="67%"><input type="password" name="password" maxlength="16" class="smallInput"
size="20"> </td>
</tr>
<tr>
<td colspan="2" height="15" align=center><input type="submit" value="提交" name="B1"> <input type="reset" value="全部重写" name="B2"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<p align="center"> </p>
</body>
</html>
<% end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -