⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.asp

📁 西亚电子购物系统
💻 ASP
字号:
<% '禁止网页缓存
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="../conn/css.css" rel="stylesheet" type="text/css">
</head>

<body>
<form name="form" method="post" action="login-end.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="textbox" 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="textbox" 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="textbox" 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="textbox-1" value="登录" ONCLICK="javascript:return checksignup()"> 
        <input name="Submit2" type="reset" class="textbox-1" value="重置"> 
        <input name="Submit3" type="button" class="textbox-1" value="返回" onclick="javascript:window.history.go(-1)"></td>
    </tr>
  </table>
</form>
</body>
</html> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -