<!--#include file="../Include/Const.Asp" -->
<!--#include file="../Include/Version.Asp" -->
<%
'强制浏览器重新访问服务器下载页面，而不是从缓存读取页面
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>岁月企业网站管理系统<%=Str_Soft_Version%></title>
<style type="text/css">
<!--
html {
	font-size: 12px;
	color: #adc7d8;
	background-color: #0f1e47;
}

body {
	background-image: url(images/login_bg.png);
	background-repeat: repeat-x;
	padding:0;
	margin:0;
}

a:hover {
	color: #ffffff;
	text-decoration: underline;
}

a {
	color: #ffffff;
	text-decoration: none;
}

.topDiv {
	float: right;
	position: absolute;
	top: 15px;
	right: 15px;
	color: #ffffff;
	width: 168px;
}

.textbox {
	font-size: 12px;
	border: 1px solid #153966;
	background-color: #87adbf;
	height: 14px;
}
-->
</style>
<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("岁月设计友情提示：\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("岁月设计络友情提示：\n您的浏览器版本太低，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
    }
}
function refreshimg(){
    document.all.checkcode.src="../Include/CheckCode/CheckCode.Asp";
}
-->
</script>
</head>

<body>
<div class="topDiv"><a href="http://www.seosuiyue.com/" title="岁月设计网站建设" target="_blank">技术支持：岁月工作室工作室</a></div>
<table align="center" width="970" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td height="289" colspan="3" style="background:url(images/login_01.png)"></td>
  </tr>
	<tr>
		<td width="402" height="153" style="background:url(images/login_02.png)"></td>
		<td width="304" style="background:url(images/login_03.png)">
		<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <form id="loginForm" name="loginForm" action="CheckLogin.Asp" method="post" onSubmit="return CheckForm()">
		  <tr>
            <td width="64%"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="35%" height="23" align="right">用户名：</td>
                <td width="65%"><input name="UserName" type="text" class="textbox" id="username" style="width: 90px;" autocomplete="off" /></td>
              </tr>
              <tr>
                <td height="23" align="right">密　码：</td>
                <td><input name="password" type="password" class="textbox" id="password" style="width: 90px;" autocomplete="off" /></td>
              </tr>
               <%If EnableSiteManageCode = True Then%>
              <tr>
                <td height="23" align="right">认证码：</td>
                <td><input name="AdminLoginCode" type="password" class="textbox" id="password" style="width: 90px;" autocomplete="off" /></td>
              </tr>
                <%End If%>
              <tr>
                <td height="23" align="right">验证码：</td>
                <td><input name="CheckCode" type="text" class="textbox" id="checkcode" style="width: 40px;" maxlength="6" autocomplete="off" />
				<a href="javascript:refreshimg();" title="看不清楚，点击换一张"><img id='codeImg' src='../Include/CheckCode/CheckCode.Asp' align='absmiddle' style='border: 1px solid #cccccc;'></a></td>
              </tr>
            </table></td>
            <td width="36%"><input name="Submit" type="image" src="images/login_btn.png" /></td>
          </tr>
		  <tr>
		    <td height="25" colspan="2" valign="bottom" style="padding-left:30px;"><a href="Javascript:window.location.reload()">验证码看不清楚，点击换一张</a></td>
		    </tr>
		  </form>
      </table></td>
		<td width="264" style="background:url(images/login_04.png)"></td>
	</tr>
	<tr>
		<td height="170" colspan="3" valign="top" style="background:url(images/login_05.png)"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="150" align="center">岁月工作室工作室 版权所有 Copyright(c) 2016-2012 All Rights Reserved</td>
          </tr>
        </table></td>
	</tr>
</table>
</body>
</html>