gonggao_shan_ok.asp

来自「一个WAP导航程序!动态友链!好东西!而且后台安全性很强」· ASP 代码 · 共 35 行

ASP
35
字号
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>

<%
if session("admin")="" then
  response.redirect "index.asp"
end if
%>
<%
	response.ContentType="text/vnd.wap.wml"
	Response.Expires = -1
	Response.AddHeader "Pragma", "no-cache"
	Response.AddHeader "Cache-Control", "no-cache, must-revalidate"
%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<!--#include file="conn.asp"-->
<!--#include file="char.asp"-->
<!--#include file="const.asp"-->
<wml>
<head>
<meta http-equiv='Cache-Control' content='no-Cache'/>
<meta http-equiv='Cache-Control' content='max-age=0'/>
</head>
<card id='main' title='删除成功'>  
<p >
<%
Set rs = Server.CreateObject("ADODB.Recordset")
sql="delete from gonggao where id="&request("id")
conn.execute sql
%>
站点公告删除成功
<br/><a href='../index.asp'>返回首页!</a></p>
</card>
</wml>    

⌨️ 快捷键说明

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