<!--#include file="../Start.asp"-->
<%
'**************************************************************
' Software name: PowerEasy SiteWeaver
' Web: http://www.powereasy.net
' Copyright (C) 2005－2008 佛山市动易网络科技有限公司 版权所有
'**************************************************************

Call CloseConn
ComeUrl = Trim(Request("ComeUrl"))
If ComeUrl = "" Then
    ComeUrl = Request.ServerVariables("HTTP_REFERER")
End If
If ComeUrl = "" Then
    ComeUrl = "Index.asp"
End If

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户登录 </title>
<link href="loginimg/login.css" rel="stylesheet" type="text/css" />
<script language=javascript>
function refreshimg(){
  document.all.checkcode.src='../Inc/CheckCode.asp';
}
function SetFocus()
{
if (document.Login.UserName.value=="")
    document.Login.UserName.focus();
else
    document.Login.UserName.select();
}
function CheckForm()
{
    if(document.Login.UserName.value=="")
    {
        alert("请输入用户名！");
        document.Login.UserName.focus();
        return false;
    }
    if(document.Login.UserPassword.value == "")
    {
        alert("请输入密码！");
        document.Login.UserPassword.focus();
        return false;
    }
}
</script>
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr height="70px">
    <td><div class="top">欢迎您登录<%=SiteName%>！如果您尚未注册，请先<a href="../Reg/User_Reg.asp"><font color="#FF0000">注册</font></a>&nbsp;<a href="http://www.abc3210.cn" target="_blank"></a>
        
    </div></td>
  </tr>
  <tr>
    <td><div class="con">
        <div class="login">
          <div class="b_left"></div>
          <div class="input">
            <div class="logo">
              <div align="center"><img src="loginimg/yeahlogo_middle.gif"></div>
            </div>
  <form name="Login" action="User_ChkLogin.asp" method="post" onSubmit="return CheckForm();">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="logTb">
              <tr>
                <th>用户名</th>
                <td><input name="UserName" type="text" class="input-border" id="UserName" maxlength="20" /> </td>
              </tr>
              <tr>
                <th>密&nbsp;&nbsp;&nbsp;&nbsp;码</th>
                <td width="90"><input name="UserPassword" type="password" class="input-border" id="UserPassword" maxlength="20"></td>
              </tr>

              <tr>
                <th>Cookie</th>
                <td width="90"><select name='CookieDate'  style='border: 1px solid #ffffff'>
                  <option selected value='0'>不保存</option>
                  <option value='1'>保存一天</option>
                  <option value=2>保存一月</option>
                  <option value=3>保存一年</option>
                </select></td>
              </tr>

              <tr>
          <tr> 
<%If EnableCheckCodeOfLogin = True then%>
            <th>验证码</th>
            <td width="83"> 
              <input name="CheckCode" type="text" class="input-border-y" id="CheckCode" size="9">
            </td>
            <td width="97"><a href='javascript:refreshimg()' title='看不清楚，换个图片'><img src='../Inc/CheckCode.asp' name="checkcode" id='checkcode' style='border: 1px solid #ffffff' /></a></td>
<%End If%>
          </tr>

          <tr> 
                <th>&nbsp;</th>
                <td  colspan="2" style="line-height:22px; padding-top:0px; padding-left:6px; padding-bottom:10px;">
                <div class="Sel_Ver">
                  <input name="Submit" type="submit" class="login-b" id="Submit" value="" target="_blank" />
                  <font style="padding-right:10px; margin-left:12px;  line-height:40px; *line-height:46px; ">欢迎使用章丘教育文章发布系统</font></a>                    </div></td>
              </tr>
              <tr>
                <th>&nbsp;</th>
              </tr>
            </table>
			</form>
          </div>
          <div class="b_right"></div>
        </div>
      </div></td>
  </tr>
         <script language="JavaScript" type="text/JavaScript">
        SetFocus();
        </script>
  <tr height="141px">
    <td><div style=" width:100%; height:141px;clear: both;">
        <div class="bottom">
        
        </div>
		        
      </div></td>
  </tr>
</table>
</body>
</html>

