<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<%
Response.Buffer = True 
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache"

dim yz
randomize timer
yz=Int((8999)*Rnd +1009)
session("ok")=yz
%>
<!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>
<title>网软志成在线购物系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	background-color: #333333;
}
-->
</style>
<script language="JavaScript">
<!--
if (self != top) top.location.href = window.location.href
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css.css" rel="stylesheet" type="text/css">
<script LANGUAGE="javascript">
<!--
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
function check()
{
  if(checkspace(document.admininfo.admin.value)) {
	document.admininfo.admin.focus();
    alert("请填写用户名");
	return false;
  }
  if(checkspace(document.admininfo.password.value)) {
	document.admininfo.password.focus();
    alert("请填写密码");
	return false;
  }
    if(checkspace(document.admininfo.yzm.value)) {
	document.admininfo.yzm.focus();
    alert("请填写验证码");
	return false;
  }
    if(document.admininfo.yzm.value != document.admininfo.yzm1.value) {
	document.admininfo.yzm.focus();
	document.admininfo.yzm.value = '';
	document.admininfo.yzm1.value = '';
    alert("验证码错误");
	return false;
  }
	document.admininfo.submit();
  }
//-->
</script> 
<style type="text/css">
<!--
.STYLE25 {color: #FF0000}
-->
</style>
</head>
<script language="JavaScript" src="top.js"></script>
<script>
	var curEditName
	curEditName="admininfo.password"
		</script>
<body>
<form name="admininfo" method="post" action="chkadmin.asp" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="50">&nbsp;</td>
  </tr>
  <tr>
    <td height="60" bgcolor="#000000">&nbsp;</td>
  </tr>
  <tr>
    <td height="300" bgcolor="#CCCCCC"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="29%" height="156" valign="top"><div align="center"></div></td>
        <td width="71%" rowspan="2" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
          <tr>
            <td width="66%" height="160" background="images/login02.jpg"><table width="90%" border="0" align="right" cellpadding="0" cellspacing="0">
              <tr>
                <td width="49%" height="30"> 
                  用户名：
                    <input name="admin" type="text" class="wenbenkuang" id="admin" value="admin" size="18" /></td>
                <td width="51%" rowspan="3" valign="middle"><div align="center"><input border=0 onClick="return check();" name=Submit32 src="images/login03.gif" type=image> 
                  <input type="hidden" name="action" value="login"></div></td>
              </tr>
              <tr>
                <td height="30"> 密&nbsp;&nbsp;&nbsp;&nbsp;码：
                  <input name="password" type="password" class="wenbenkuang" id="password" value="admin" size="18" />
                  <a onClick="showkeyboard(curEditName)"><img src="../img/login/login.gif" alt="点击激活小键盘" width="14" height="13" hspace="5" align="absMiddle"></a></td>
                </tr>
              <tr>
                <td height="30"> 验证码：
                  <input name="yzm" type="password" class="wenbenkuang" id="yz3" size="13" maxlength="5" /><span style="background-color: #cccccc"><font color="#ff3333">
                  <%=yz%><input name="yzm1" type="hidden" class="wenbenkuang" id="yzm1" value="<%=yz%>" size="8" maxlength="5">
                  </font></span></td>
                </tr>
            </table></td>
            <td width="34%">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="29%" height="14" valign="middle"><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td>提示：请勿非法登录，任何非授权情况下的登录对您而言，均有法律上的风险存在，请三思而后行！ 
</td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
  
  <tr>
    <td height="60" bgcolor="#000000"><div align="center"><span class="STYLE25">本管理系统由广州广州网软志成信息科技有限公司出品，欲了解更多信息，请登录公司网站</span><a href="http://www.wrzc.net/" class="STYLE25"> http://www.wrzc.net</a></div></td>
  </tr>
</table>
</form>
</body>
</html>
