<!--#include virtual="/inc/conn.asp"-->
<%

if SafeRequest("a")="tx" then

u=SafeRequest("u")
k=SafeRequest("k")
l=SafeRequest("l")

if trim(u)="" or trim(k)="" or trim(l)=""  then
response.Write "您带来的参数不完整哦，请联系客服"
response.End()
end if

sql="select * from ayname where aynameid="&clng(u)&" and suijimd5='"&k&"'" 
rs.open sql,conn,1,3
if not(rs.bof and rs.eof) then
	if l=1 then rs("tsmaichu")=0
	if l=2 then rs("tskucun")=0
rs.update
end if
rs.close

call logadd(clng(u),"退订成功",0,0)
call PopErr2("退订成功","/")

end if

%>