<!--#include file="conn.asp"-->
 <%
if session("logined")="ture" then
	response.Redirect("manage.asp")
else
	if request.form("action")="login" then
		if request.form("passwd")=passwd then
		session("logined")="true"
		response.Redirect("manage.asp")
		else
		response.Redirect("login.asp")
		end if
	else
	%>
<html>
<head>
<title>管理登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../7thcss.css" rel=stylesheet> 

</head>
<body>
<BR>
<BR>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999">
  <tr>
    <td bgcolor="#FFFFFF"><table align="center" border="0" width="100%" height="200" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#FFFFFF" bordercolorlight="#FFFFFF">
        <form name="login" method="post" action="login.asp">
          <tr bgcolor="#669999"> 
            <td height="60" colspan="2" align="center" bordercolor="#00215"> 
              <div align="center"><img align=absmiddle src="images/login.gif"><font color="#FFFFFF" size="3"><strong> 
                吴山明个人网站管理系统</strong></font></div></td>
          </tr>
          <tr> 
            <td width="91" align="right" bgcolor="#EEF7FF">密　码：</td>
            <td width="200" align="center" bgcolor="#EEF7FF"> 
              <div align="center"> <span class="font"> 
                <input name="action" type="hidden" value="login">
                <input name="passwd" type="password" class="input" size="12" maxlength="12">
                <input name="Submit" type="submit" class="input" value="登陆">
                </span></div></td>
          </tr>
        </form>
        <%
	end if
end if
conn.close
Set conn=nothing
%>
      </table></td>
  </tr>
</table>
</body>
</html>

