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

📄 groupdebateaction.asp

📁 后台目录:qwbAdmin/Login.asp 登陆用户名:admin 登陆密码:admin
💻 ASP
字号:
<% Option Explicit %>
<!--#include file="../../FS_Inc/Const.asp" -->
<!--#include file="../../FS_InterFace/MF_Function.asp" -->
<!--#include file="../../FS_Inc/Function.asp" -->
<%
on error resume next
Dim User_Conn,DebateID,isLock
MF_Default_Conn
MF_User_Conn
MF_Session_TF
DebateID=NoSqlHack(Request.QueryString("DebateID"))
isLock=NoSqlHack(Request.QueryString("value"))
if isLock="true" then
	if isnumeric(DebateID) then 
		User_Conn.execute("update FS_ME_GroupDebate set isLock=1 where DebateID="&DebateID)
	elseif DebateID="all" then
		User_Conn.execute("update FS_ME_GroupDebate set isLock=1")
	end if
elseif isLock="false" then
	if isnumeric(DebateID) then 
		User_Conn.execute("update FS_ME_GroupDebate set isLock=0 where DebateID="&DebateID)
	elseif DebateID="all" then
		User_Conn.execute("update FS_ME_GroupDebate set isLock=0")
	end if
end if
if Request.QueryString("act")="Delete" then
	User_Conn.Execute("Delete from FS_ME_GroupDebate where DebateID in ("&NoSqlHack(Request.QueryString("Debatecheck"))&")")
	if err.number>0 then
		Response.Redirect("../error.asp?ErrCodes="&err.description&"ErrorUrl="&Request.ServerVariables("HTTP_REFERER"))
		Response.End()
	else
		Response.Redirect("../success.asp?ErrCodes=<li>删除操作成功</li>&ErrorUrl="&Request.ServerVariables("HTTP_REFERER"))
		Response.End()
	end if
end if

User_Conn.close
set User_Conn=nothing
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>FoosunCMS</title>
</head>
<body>

</body>
</html>

⌨️ 快捷键说明

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