<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> 
<%Session.CodePage=936%> 
<!--#include file="../conn/conn.asp" -->
<!--#include file="../inc/md5.asp"-->
<%
'禁止网页快取
Response.Buffer = True 
response.expires = 0
response.expiresabsolute = now() - 0
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.CacheControl = "no-cache"
set rs=server.CreateObject("adodb.recordset")
sql="select SiteName,EnableSoftKey from JOB_siteconfig"
rs.open sql,conn,1,1
if not rs.eof then
	if rs("EnableSoftKey")=True then
		EnableSoftKey=1
	else
		EnableSoftKey=0
	end if
	if rs("SiteName")<>"" then
		SiteName=rs("SiteName")
	else
		SiteName="Finereason HRCMS 7.0"
	end if
end if	 
rs.close
set rs=nothing
CloseConn
%> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=SiteName%>管理登陆</title>
<style type="text/css">
.style2 {font-size: 12px}
.style3 {font-size: 14px}
body{background-color: #adcbda;margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;}
body,td,th{font-size: 12px;}
a:link{text-decoration: none;}
a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
a:active{text-decoration: none;}
</style>
<script language="JavaScript" src="../inc/Keyboard.js"></script>
<script language="javascript">
<!--//
function checksignup()
{
	if ( document.form.username.value == '' )
	{
		window.alert('请输入用户名!');
		document.form.username.focus();
	}
	else if
	( document.form.pwd.value == '' ) {
		window.alert('请输入登陆密码!!');
		document.form.pwd.focus();
	}
	else if ( document.form.verifycode.value == '' )
	{
		window.alert('请输入网页上显示的四位数验证码!!');
		document.form.verifycode.focus();
	}
   else
   {
	return true;
	}
	return false;
}
//-->
</script>
</head>
<body>
  <table width="487" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:120px;">
  <form  name="form" method="post"  action="check.asp"onSubmit="return checksignup()">
    <tr>
      <td width="16"><img src="Images/admin_login_01.gif" width="16" height="302"></td>
      <td width="456" valign="top" background="Images/admin_login_02.gif"><table width="456" height="69" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="61">&nbsp;</td>
          <td>&nbsp;</td>
          </tr>
      </table>
      <table width="452" height="193" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="131" height="193" align="center" style="background:url(Images/admin_login_04.gif) 10px 50px no-repeat;"></td>
          <td width="261" valign="middle"><table width="239" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#F5F3FC" style="border:1px #cccccc solid">
        <tr align="center">
          <td height="5"></td>
          <td></td>
        </tr>
        <tr align="center">
          <td width="92" height="25"><div align="right"><span class="style2">管理员帐号:</span></div></td>
          <td width="126"><div align="left">
            <input name="username" type="text" id="username" size="15">
          </div></td>
        </tr>
        <tr align="center">
          <td width="92" height="25"><div align="right"><span class="style2">管理员密码:</span></div></td>
       
		 <% if EnableSoftKey=1 then%>
		  <td><div align="left">
            <input type=password size=15 name=pwd onFocus="this.select();" readOnly onKeyDown="Calc.password.value=this.value" onChange="Calc.password.value=this.value" onclick= "password1=this;showkeyboard();this.readOnly=1;Calc.password.value=''">
          </div></td>
		  <%else%>
		  <%response.Write "<td><div align='left'>"%>
          <%response.Write "<input type=password size=15 name=pwd id=pwd >"%>
          <%response.Write "</div></td>"%>
		  <%end if%>
        </tr>
        <tr align="center">
          <td width="92" height="25"><div align="right"><span class="style2">管理认证码:</span></div></td>
          <td><div align="left">
                <input type="text" name="admincode" size="15"<%if FRHRADMIN="8888" then%> title="认证码初始值“8888”,为了系统的安全请及时修改CONN目录下的conn.asp文件参数!"><%end if%></div></td>
        </tr>
        <tr align="center">
          <td width="92" height="25"><div align="right"><span class="style2">登录验证码:</span></div></td>
          <td><div align="left">
                <input type="text" name="verifycode" size="7">  <img src="../inc/verifycode.asp"  alt="验证码,看不清楚?请点击刷新验证码" height="10" style="cursor : pointer;" onClick="this.src=this.src+'?'+Math.random();" /></div></td>
        </tr>
        <tr>
          <td colspan="2" align="center" height=28>
            <input type="submit" name="Submit3" value=" 确 认 " class="input1" >
&nbsp;
      <input type="reset" name="Submit2" value=" 复 位 " class="input1"></td>
        </tr>
      </table></td>
        </tr>
      </table>
      <table width="447" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="35" align="center" style="padding-top:4px;"><span class="copyright">Copyright &copy; 2007 <a href="http://www.finereason.com" target="_blank"><font color=#708796><b>FineReason<font color=#CC0000>.COM</font></b></font></a> All Rights Reserved</span></td>
          </tr>
      </table></td>
      <td width="15"><img src="Images/admin_login_03.gif" width="15" height="302"></td>
    </tr>
	</form>
</table>
  <p class="style1">&nbsp;</p>

</body>