<!--#include file=conn.asp-->
<!--#include file=cookies.asp-->
<%
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 yanz,jrsj from [link] where id="&trim(str2(i))
rs.open sql,conn,1,3
if rs("yanz")=0 then
rs("yanz")=1
rs("jrsj")=now()
rs.update
end if
next
response.write "<script language=JavaScript>" & chr(13) & "alert('记录已经通过验证！');" & "history.back()" & "</script>"
%>