<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新源教育在线后台管理系统</title>
<style type="text/css">
<!--
body {
	margin-top: 100px;
	font-size: 12px;
}
.td {
	font-size: 12px;
	line-height: 1.4;
	color: #666666;
}

-->
</style>
<%
Dim Action
Action = "CheckLogin.ASP?UrlAddress=" & Request("UrlAddress")
Function GetCode()
	Dim TestObj
	On Error Resume Next
	Set TestObj = Server.CreateObject("Adodb.Stream")
	Set TestObj = Nothing
	If Err Then
		Dim TempNum
		Randomize timer
		TempNum = cint(8999*Rnd+1000)
		Session("GetCode") = TempNum
		GetCode = Session("GetCode")		
	Else
		GetCode = "<img src=""GetCode.asp"">"		
	End If
End Function
%>
</head>
<body bgcolor="#E0E0E0" oncontextmenu="//return false;">
<div align="center"><img src="Images/Login/top.gif" width="320"></div>
<table width="321" height="106" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
  <tr> 
    <td height="104" bgcolor="#F5F5F5">
        <table width="316" border="0" cellspacing="0" cellpadding="4">
        <form name="form1" method="post" action="<% = Action %>">
          <tr> 
            <td width="59"><div align="right" class="td"><font color="#000000">用户名</font></div></td>
            <td width="241"><input name="Name" type="text" id="Name" value="<%=Request.Cookies("FoosunCookie")("AdminName")%>" size="16"> 
              <input name="AutoGet" type="checkbox" id="AutoGet" value="1" <% If Request.Cookies("FoosunCookie")("AdminName")<>"" Then Response.Write "checked" End If%>> 
              <span class="td">记住用户名</span></td>
          </tr>
          <tr> 
            <td><div align="right" class="td"><font color="#000000">密　码</font></div></td>
            <td><input name="PassWord" type="password"  id="PassWord" size="16"> 
            </td>
          </tr>
          <tr> 
            <td><div align="right" class="td"><font color="#000000">随机码</font></div></td>
            <td><input name="VerifyCode" type="text" class="input" id="VerifyCode3" size="9"> 
              <% = GetCode() %>
            </td>
          </tr>
          <tr> 
            <td class="td"><div align="right"><font color="#000000">登　陆</font></div></td>
            <td class="td"><font color="#000000"> 
              <input name="LoginType" type="radio" value="1" checked>
              正常模式 
              <input type="radio" name="LoginType" value="2">
              Windows模式(Ie6.0) </font></td>
          </tr>
          <tr> 
            <td colspan="2"><div align="center"> 
                <input name="imageField" type="image" src="Images/Login/login.gif" width="75" height="21" border="0">
                <a href="javascript:window.close()"><img src="Images/Login/close.gif" width="75" height="21" border="0"></a> 
              </div></td>
          </tr>
        </form>
      </table>
      </td>
  </tr>
</table>
<p align="center">&nbsp;</p>
</body>
</html>
<script language="JavaScript">
CheckBrowerVersion();
var ErrInfo='<% = Request("ErrInfo")%>';
function CheckBrowerVersion()
{
	var MajorVer=navigator.appVersion.match(/MSIE (.)/)[1];
	var MinorVer=navigator.appVersion.match(/MSIE .\.(.)/)[1];
	var IE6OrMore=MajorVer>= 5.5||(MajorVer>=5.5&&MinorVer>=5.5);
	if (!IE6OrMore)
	{
		alert('IE浏览器版本太低，请升级IE浏览器到5.5,否则系统将不能正常运行。');
		//document.all.BtnSubmit.disabled=true;
	}
}
if (ErrInfo!='') alert(ErrInfo);
</script>