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

📄 login.asp

📁 用户界面 一次作业
💻 ASP
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>登陆</title>
</head>
<body bgcolor="#EDFDFE">
<form class='MainForm' name='frmAction' method='POST' action=''>
		<input type='hidden' name='check'>
<LINK href="images/csssf.css" type=text/css rel=stylesheet>


<table width="559" border="0" align="center" cellpadding="0" cellspacing="0" background="images/logbjtp.gif">
  <!--DWLayoutTable-->
  <tr>
    <td width="559"valign="top"><table width="559" border="0">
      <tr>
        <th colspan="4" scope="row" height="43">&nbsp;</th>
      </tr>
      <tr>
        <th colspan="4" align="left" scope="row"><IMG height=66 src="images/bslogin_02.gif" width=559><br>
		<IMG height=87 src="images/bslogin_03.gif" width=559></th>
      </tr>
      <tr>
        <th colspan="4" scope="row">&nbsp;</th>
      </tr>
      <tr>
        <th width="133" align="right" scope="row"><IMG height=16 src="images/name.gif" width=11> 用户名:</th>
        <th width="130" align="left" scope="row">
		<input name="username" type="text" value='' size="15"></th>
        <th width="77" align="right" scope="row"><IMG height=12 src="images/mm.gif" width=11> 密 
      码:</th>
        <th width="211" align="left" scope="row">
		<input name="password" type="password" value='' size="15"></th>
      </tr>
      <tr>
        <th scope="row"></th>
        <th align="right" scope="row">
		
		<img src="images/dl.gif" onClick='btn_save();' style="cursor:hand">
        </th>
        <th scope="row"></th>
        <th align="left" scope="row">
		<img src="images/zc.gif" onClick='btn_zc();' style="cursor:hand"></th>
      </tr>
    </table></td>
  </tr>
</table>
		<script LANGUAGE='javascript'>
	function btn_save(){
					var bool=true;
	        if(frmAction.username.value==""){
	          bool=false;
	          alert("用户名必填!");
	          frmAction.username.focus();
	          return;
	        }
	        if(frmAction.password.value==""){
	          bool=false;
	          alert("密码必填!");
	          frmAction.password.focus();
	          return;
	        }
			 if(frmAction.password.value.length>=12){
	         bool=false;
	         alert("密码应小于12位!");
	       }
		      if(bool){
			  frmAction.check.value="into";
			  frmAction.action="check.asp";
		      frmAction.submit();
		      }
	}
function btn_zc(){
          frmAction.action="register.asp";
          frmAction.submit();
        }
</script>
</form>
</body>
</html>

⌨️ 快捷键说明

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