<%
'飞鸟计数器V1.0
%>
<!--#include file="config.asp" -->
<%
	adminname=replace(trim(request("name")),"'","")
	passwd=replace(trim(Request("password")),"'","")
          if adminname="" then
        Response.write "<script>alert('你还没有输入用户名!!!');history.back();</script>"
        Response.end
          end if
          if passwd="" then
        Response.write "<script>alert('你还没有输入密码!!!');history.back();</script>"
        Response.end
          end if
	
 	if adminname=name and passwd=password then
	session("name")=adminname
	session("password")=passwd
    response.Redirect("admin.asp")
     else
	Response.write "<script>alert('用户名或密码错误!!!');history.back();</script>"
	end if

%>

