?? m_big_del.asp
字號:
<%@LANGUAGE="VBSCRIPT" codepage=936 %>
<!--#include file="Connections/news.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers=""
MM_authFailedURL="default.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<%
if(request.form("b_id") <> "") then Command1__delbig = request.form("b_id")
%>
<%
if(request.form("b_id") <> "") then Command3__delbig = request.form("b_id")
%>
<%
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_news_STRING
Command1.CommandText = "DELETE FROM big WHERE b_id = " + Replace(Command1__delbig, "'", "''") + " "
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
<%
set Command3 = Server.CreateObject("ADODB.Command")
Command3.ActiveConnection = MM_news_STRING
Command3.CommandText = "DELETE FROM news WHERE b_id = " + Replace(Command3__delbig, "'", "''") + ""
Command3.CommandType = 1
Command3.CommandTimeout = 0
Command3.Prepared = true
Command3.Execute()
%>
<html>
<head>
<title>業(yè)一新聞系統(tǒng)2.9增強(qiáng)版</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="refresh" content="2;URL=m_big.asp">
<link rel="stylesheet" href="intohz.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<p> </p>
<table width="400" border="1" align="center" height="200">
<tr>
<td bgcolor="#99CC00">
<div align="center">正在處理數(shù)據(jù)請稍后......</div>
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -