<!--#include file="../Inc/Consts.inc" -->
<%
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SsCMS 如果您有好的意见或建议请Email:qtwebs@163.com-后台登录</title>
    <link href="style/alogin.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript">
if(self!=top){
    top.location=self.location;
}
CheckBrowser();
var closestr=0;
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.password.value == "") {
        alert("请输入密码！");
        document.Login.password.focus();
        return false;
    }
    if (document.Login.CheckCode.value == "") {
        alert ("请输入您的验证码！");
        document.Login.CheckCode.focus();
        return false;
    }
    if (document.Login.AdminLoginCode.value == "") {
        alert ("请输入您的管理验证码！");
        document.Login.AdminLoginCode.focus();
        return false;
    }
}
function CheckBrowser() {
    var app=navigator.appName;
    var verStr=navigator.appVersion;
    //if(app.indexOf("Netscape") != -1) {
        //alert("SsCMS友情提示：\n您使用的是Netscape、Firefox或者其他非IE浏览器，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
    //}
    // else if(app.indexOf("Microsoft") != -1) {
   //     if (verStr.indexOf("MSIE 3.0")!=-1 || verStr.indexOf("MSIE 4.0") != -1 || verStr.indexOf("MSIE 5.0") != -1 || verStr.indexOf("MSIE 5.1") != -1)
      //  alert("SsCMS友情提示：\n您的浏览器版本太低，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
   // }
}
</script>
    <script language=javascript>
ie = (document.all)? true:false
if (ie){
function ctlent(eventobject){if(window.event.ctrlKey && window.event.keyCode==13){this.document.frm.submit();}}
}
</script>
</head>
<body>
    <form action="CheckLogin.Asp" method="post" id="Login" name="Login" onSubmit="return CheckForm()"><!--wrap="virtual" onkeydown="ctlent()"-->
    <div class="Main">
        <ul>
            <li class="top"></li>
            <li class="top2"></li>
            <li class="topA"></li>
            <li class="topB"><span>
                <img src="images/login/logo.gif" alt="" style="" />
            </span></li>
            <li class="topC"></li>
            <li class="topD">
                <ul class="login">
                    <li><span class="left">用户名：</span> <span style="left">
                        <input name="UserName" type="text" maxlength="20" class="txt"/>  
                     
                    </span></li>
                    <li><span class="left">密 码：</span> <span style="left">
                       <input name="password" type="password" maxlength="20" class="txt" />  
                    </span></li>
                         <li><span class="left">验证码：</span> <span style="left">
                    <input name="CheckCode" type="text" maxlength="8"  class="txtCode"  />
              <img src="inc/code.asp" style="cursor:pointer;height:24px;" alt="验证码,看不清楚?请点击刷新验证码" 
onclick="this.src='inc/code.asp?'+Math.random()"/>  
                    </span>
                    
              
                    
                    </li>
                    <%If EnableSiteManageCode = True Then%>
                    <li>
                    <span class="left">认证码：</span>
                    <input name="AdminLoginCode" type="password" maxlength="20" class="txtCode" />管理认证码</li><%end if%>
                    
                </ul>
            </li>
            <li class="topE"></li>
            <li class="middle_A"></li>
            <li class="middle_B"></li>
            <li class="middle_C">
            <span class="btn">
               
                <input type="image" alt="登录" src="images/login/btnlogin.gif" onmouseover="this.src='images/login/btnlogin_h.gif'" onmouseout="this.src='images/login/btnlogin.gif'" name="submit" />
    
           
            </span>
            </li>
            <li class="middle_D"></li>
            <li class="bottom_A"></li>
            <li class="bottom_B">
           
            </li>
        </ul>
    </div>
    </form>
</body>
</html>
