<!--#include file=conn.asp-->
<!--#include file=usercookies.asp-->
<%
dim rs,sql,id,i,str2
id=trim(request("id"))
str2=split(id,",")
for i=0 to ubound(str2)
set rs=server.createobject("adodb.recordset")
sql="select yz from [FOX_fang] where id="&trim(str2(i))
rs.open sql,conn,1,3
if rs("yz")=1 then
rs("yz")=0
rs.update
end if
next
response.write "<script language=JavaScript>" & chr(13) & "alert('¹Ø±Õ³É¹¦£¡');" &"window.location='fangma.asp?ts=1'" & "</script>"
%></body></html>

</body></html>