<!--#include file=CONN.ASP-->
<!--#include file=cookies.asp-->
<%
dim flag
flag=request.cookies("foxwww")("fox")
if flag=10 then
response.Write "<script LANGUAGE='javascript'>alert('您只是后台测试员，请注意身份！');window.location='right.asp';</script>"
response.end
end if%>
<%
dim rs,sql,id,i,str2
id=trim(request("selectedid"))
str2=split(id,",")
for i=0 to ubound(str2)
set rs=server.createobject("adodb.recordset")
sql="select yz,fangfbsj from [FOX_fang] where id="&trim(str2(i))
rs.open sql,conn,1,3
if rs("yz")=0 then
rs("yz")=1
rs("fangfbsj")=now()
rs.update
end if
next
response.write "<script language=JavaScript>" & chr(13) & "alert('记录已经通过验证！');" &"window.location='fang.asp'" & "</script>"
%></body></html>

</body></html>