<!--#include file="../inc/DAL.asp"-->
<!--#include file="../inc/md5.asp"-->
<!--#include file="Pass.asp"-->
<%
if request("Out")<>"" then Session(Session_Admin_Name_Arg)="":RW "<script>top.location.href='login.html';</script>":response.end()
if request.form("UserPass")="" then RW "<script>alert('用户密码不能为空');top.location.href='login.html';</script>"

if request.form("UserPass")=ADPASS then 
    Session(Session_Admin_Name_Arg)="xknet"
	RWS "top.location.href='index.html';"
else
    RW "<script>alert('密码错误');top.location.href='login.html';</script>"
    response.end()
end if
%>