p_SqlLogin = \\\"select * from system where sys_user=\'\\\"&p_UserName&\\\"\' and sys_Pass=\'\\\"&EnPas(md5(trim(p_TempUserPass)))&\\\"\'\\\"
oRs.Open p_SqlLogin,oConn,1,1
if Not oRs.Eof then
session(\\\"ES_admin\\\")=oRs(\\\"sys_user\\\")
session(\\\"ES_web_name\\\")=oRs(\\\"web_name\\\")
session(\\\"ES_web_host\\\")=oRs(\\\"web_host\\\")
Response.Redirect(\\\"es_index.html\\\")
else
Response.Write(\\\"<script>alert(\\\"\\\"错误:\\n用户名或密码错误,请重新输入\\\"\\\");location.href=\\\"\\\"Admin_Login.asp\\\"\\\";</script>\\\")
Response.End
end if
Call DBConnend()