<!--#include file="config.asp"-->
<%
'-------------------------------------
'功能：管理员登陆
'更新：2004-12-27 11:57
'作者：未知-部落忍者
'演示：http://www.0cc.cn/link/
'-------------------------------------

dim action
action=request("action")

if action="chklogin" then
	dim server_v1,server_v2
        server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
        server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
        If mid(server_v1,8,len(server_v2))<>server_v2 then
                Response.write "远程提交，不合法"
                Response.End
        End If
	if request.form("username")=AdminName and request.form("password")=AdminPass then
		session("cutelink_admin")="OK"
		response.redirect "admin_manage.asp"
	else
		response.redirect "admin_login.asp"
	end if
end if
if action="exit" then
session("cutelink_admin")=""
end if
%>
<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css">
<title>管理员登陆_<%=WebName & ChannelName%>_本程序由★零星部落★免费提供</title>
</head>
<body>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form method="post" action="?action=chklogin" name="f1">
  <TABLE cellSpacing=0 cellPadding=0 width=300 align=center border=0>
    <TBODY>
      <TR> 
        <TD vAlign=bottom align=right width=347 rowSpan=2> <TABLE 
      style="BORDER-RIGHT: #333333 1px solid; BORDER-TOP: #333333 1px solid; BORDER-LEFT: #333333 1px solid; BORDER-BOTTOM: #333333 1px solid" 
      cellSpacing=0 cellPadding=0 width="100%" border=0>
            <TBODY>
              <TR align=middle bgColor=#3280be> 
                <TD style="BORDER-BOTTOM: #333333 1px solid" colSpan=4 
            height=35><div align="center"><B><FONT 
        color=#ffffff><%=WebName & ChannelName%>管理系统</FONT></B></div></TD>
              </TR>
              <TR> 
                <TD colSpan=4 height=20>&nbsp;</TD>
              </TR>
              <TR> 
                <TD noWrap align=middle colSpan=3 height=30><FONT class=s 
            color=#000099><B>用户名:&nbsp;</B></FONT> </TD>
                <TD noWrap align=middle height=30><INPUT name=username class=textbox maxLength=12></TD>
              </TR>
              <TR> 
                <TD noWrap align=middle colSpan=3 height=30><FONT class=s 
            color=#000099><B>密&nbsp;&nbsp;码:&nbsp;</B></FONT> </TD>
                <TD noWrap align=middle height=30><INPUT name=password type=password 
            class=textbox maxLength=12></TD>
              </TR>
              <TR> 
                <TD noWrap align=right colSpan=4 height=50><INPUT name="submit" type=submit class="Bsbttn" value=" 确定 "> 
                  &nbsp; <input name="reset" type="reset" class="Bsbttn" id="reset" value=" 重写 "> 
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </TD>
              </TR>
            </TBODY>
          </TABLE></TD>
        <TD width=1 bgColor=#ffffff height=5></TD>
        <TD width=1 bgColor=#ffffff height=5></TD>
        <TD width=1 bgColor=#ffffff height=5></TD>
      </TR>
      <TR> 
        <TD width=1 bgColor=#333333 height=120></TD>
        <TD width=1 bgColor=#666666 height=120></TD>
        <TD width=1 bgColor=#999999 height=120></TD>
      </TR>
      <TR> 
        <TD colSpan=4 align="right" valign="top"> <TABLE cellSpacing=0 cellPadding=0 width=345 border=0>
            <TBODY>
              <TR> 
                <TD bgColor=#333333 height=1></TD>
              </TR>
              <TR> 
                <TD bgColor=#666666 height=1></TD>
              </TR>
              <TR> 
                <TD bgColor=#999999 height=1></TD>
              </TR>
            </TBODY>
          </TABLE></TD>
      </TR>
      <TR> 
        <TD height=25 colSpan=4 align="right" valign="center">&nbsp;</TD>
      </TR>
      <TR> 
        <TD colSpan=4 height=25> <DIV align=center>开发者:&nbsp;<a href="http://www.0cc.cn">未知</a></DIV></TD>
      </TR>
    </TBODY>
  </TABLE>
  
</form>
</body></html>