<%'禁止网页缓存
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
%>
<html>
<head>
<title>商城管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>

<body>
<form name="form" method="post" action="go.asp">
    <script language="javascript">
	<!--//
	function checksignup() {

		if ( document.form.name.value == '' ) {
			window.alert('请输入名称!!');
			document.form.name.focus();
			
		}
		else if ( document.form.pass.value == '' ) {
			window.alert('请输入密码!!');
			document.form.pass.focus();
		}
		else if ( document.form.yz.value == '' ) {
			window.alert('请输入网页上显示的4位数的验证码!!');
			document.form.yz.focus();
		}
else {
			return true;
			}
		return false;
	}

	//-->
	</script>
    
  <p>&nbsp;</p>
  <p>&nbsp;</p>
    
  <p align="center">
  </p>
  <p>&nbsp;</p>
  <table width="250" align="center" cellpadding="2">
    <tr valign="middle" bgcolor="#CCCCCC"> 
      <td height="20" colspan="2"><font color="#FF3333">&gt;&gt;管理员登陆</font></td>
    </tr>
    <tr valign="middle" bgcolor="#f1f1f1"> 
      <td width="75" height="20" align="center" bgcolor="#f1f1f1">名&nbsp; 称</td>
      <td width="175"> 
        <div align="left"> 
          <input name="name" type="text" class="wenbenkuang" id="name" size="20" maxlength="20">
        </div></td>
    </tr>
    <tr valign="middle" bgcolor="#f1f1f1"> 
      <td width="75" align="center" bgcolor="#f1f1f1">密&nbsp; 码</td>
      <td width="175"> 
        <div align="left"> 
          <input name="pass" type="password" class="wenbenkuang" id="pass" size="20" maxlength="20">
        </div></td>
    </tr>
    <tr valign="middle" bgcolor="#f1f1f1"> 
      <td width="75" align="center" bgcolor="#f1f1f1">验证码</td>
      <td width="175"> 
        <input name="yz" type="password" class="wenbenkuang" id="yz" size="12" maxlength="5">
        &nbsp; <span style="background-color: #E5F0FF"><font color="#ff3333"><%=yz%></font></span> </td>
    </tr>
    <tr valign="middle" bgcolor="#f1f1f1"> 
      <td width="75" align="center" bgcolor="#f1f1f1">&nbsp;</td>
      <td width="175"> 
        <input name="Submit" type="submit" class="go-wenbenkuang" value="登录" ONCLICK="javascript:return checksignup()"> 
        <input name="Submit2" type="reset" class="go-wenbenkuang" value="重置"> 
        <input name="Submit3" type="button" class="go-wenbenkuang" value="返回" onclick="javascript:window.history.go(-1)"></td>
    </tr>
  </table>
</form>
</body>
</html> 

