<!--#include virtual="/inc/conn.asp"-->
<!--#include virtual="/inc/sitecon.asp"-->
<!--#include virtual="/inc/chkuser.asp"-->
<%
response.End()
call lognameadmin()

if SafeRequest("act")="quxiao" then
sql="select * from ayname where aynameid="&request.Cookies("ayadminnameid")&"" 
rs.open sql,conn,1,1
	if not(rs.bof and rs.eof) then
	response.Cookies("admindaiguan")=""
	response.Cookies("aynameid")=rs("aynameid")
	response.Cookies("ayusername")=trim(rs("ayusername"))
	response.Cookies("ayjibie")=rs("ayjibie")
	response.Cookies("aytrueuser")=trim(rs("aytrueuser"))
	response.Cookies("kamiku")=trim(rs("kamiku"))
	response.Cookies("flku")=trim(rs("flku"))
	response.Cookies("spku")=trim(rs("spku"))
	response.Cookies("ddku")=trim(rs("ddku"))
	response.Cookies("cwku")=trim(rs("cwku"))
	response.Cookies("rzku")=trim(rs("rzku"))

	signstr=rs("aynameid")&trim(rs("ayusername"))&rs("ayjibie")&ptjiami
	signstr=md5(signstr)
	response.Cookies("aysignmd5")=signstr
	
	response.Cookies("yanzheng")=""

	
	response.Redirect("/")
	else
	response.End()
	end if
rs.close
end if
%>

