<!--#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")
'''''''''''''''''''''''''''''''''''''''''''''''
dim id,val
id=Clng(request.QueryString("id"))
val=Clng(request.QueryString("val"))
if(val=1) then
	conn.execute("update t_info set IsCheck=1 where id="&id)
	'response.Redirect("info_reset_htm.asp?id="&id)
else
	conn.execute("update t_info set IsCheck=0 where id="&id)
end if
response.Write("<script>location.href='"&request.ServerVariables("HTTP_REFERER")&"';</script>")
call connclose()
%>