<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/conn.asp"-->
<!-- #include file="inc/Session.asp" -->
<!-- #include file="inc/function.asp" -->
<!-- #include file="inc/checkrole.asp" -->
<%
'''''''''''''''''''''''''''''''''''''''''''''''
call checkPrevilege(Session("Name"),"p21")
'''''''''''''''''''''''''''''''''''''''''''''''
BeginTime=Timer
dim newsidStr,newsidArr,newsUrl,isoutlink,acttype
acttype=request.Form("acttype")
if not isempty(request.Form("commenid")) then
	newsidStr=request.Form("commenid")
else
	response.Write("请选择需要操作的记录")
	response.Write("<a href=""#"" onClick=""javascript:history.back();"">返回</a>")
	response.End()
end if
newsidArr=split(newsidStr,",")
for i=0 to ubound(newsidArr)			
	if(acttype="del") then		
		conn.execute("delete from t_game_deal where id="&newsidArr(i))
	elseif(acttype="check") then
		conn.execute("update t_game_deal set IsCheck=1 where id="&newsidArr(i))
	elseif(acttype="uncheck") then
		conn.execute("update t_game_deal set IsCheck=0 where id="&newsidArr(i))
	end if
next
response.Write("批量删除成功！")		
response.Redirect(request.ServerVariables("HTTP_REFERER"))
%>
<html>
<head>
<title>评论操作</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #FFFFFF;
	font-size:12px;
}
-->
</style>
</head>
<body>
</body>
</html>
<%
call connclose()
%>
执行时间：<%=CStr(FormatNumber((Timer-BeginTime)*1000,2))& "毫秒"%>