<%
	job_admin_Name=replace(Request.Cookies("job_admin_Name"),"'","")
	job_admin_flag=replace(Request.Cookies("job_admin_flag"),"'","")
	set rs=createobject("adodb.recordset")
	sql="select * from admin where admin='"&job_admin_Name&"' and password='"&Request.Cookies("job_admin_PassWord")&"' and flag="&job_admin_flag&" and locked=0"
	rs.open sql,Conn
	if not rs.eof then
	flag=rs("flag")
	num=rs("num")
	lasttime=rs("lasttime")
	admin=rs("admin")
	password=rs("password")
	end if
	rs.close
	set rs=nothing
%>