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

📄 userinfo.asp

📁 商业网站开发有源代码可以运行
💻 ASP
字号:
<SCRIPT LANGUAGE="JavaScript">
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}

  function checkuu()
{
    if(checkspace(document.userlogin.username.value)) {
	document.userlogin.username.focus();
    alert("用户名不能为空!");
	return false;
  }
    if(checkspace(document.userlogin.userpassword.value)) {
	document.userlogin.userpassword.focus();
    alert("密码不能为空!");
	return false;
  }
	
  }
</script> 
<table width=100% border=0 align=center cellpadding=0 cellspacing=0>
  <tr> 
    <td background="images/bj_x.gif" height="1"></td>
  </tr>
  <tr>
    <td height="22" bgcolor="EDECEC"> 
      <table cellspacing=0 cellpadding=0 width=170 height="20">
        <tr> 
          <td width=5>&nbsp;</td>
          <td> 
            <div align="center"></div>
             
            &nbsp;会员注册</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td background="images/bj_x.gif" height="1"></td>
  </tr>
  <tr> 
    <td height=41 > 
      <div align=center> 
        <%if request.cookies("songxf")("username")="" then%>
        <table width="95%" border="0" cellspacing="1" cellpadding="1" align="center">
          <form name="userlogin" method="post" action="checkuserlogin.asp">
            <tr> 
              <td align="center" height="22"><font color="#999999">顾客您好,购买商品请先登录</font></td>
            </tr>
            <tr> 
              <td align="center">用户名: 
                <input type="text" name="username" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; BORDER-LEFT: #ffffff 1px groove; COLOR: #333333; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; size="10" maxlength="10">
              </td>
            </tr>
            <tr> 
              <td align="center">密 码: 
                <input type="password" name="userpassword" size="10" maxlength="10"style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; BORDER-LEFT: #ffffff 1px groove; COLOR: #333333; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; >
              </td>
            </tr>
            <tr> 
              <td align="center" height="38"> 
                <input name="imageField" type="image" src="images/login_bt_login.gif" width="45" height="19" border="0" onFocus="this.blur()">
                <a href="reg.asp"><img src="images/login_bt_zc.gif" width="45" height="19" border="0"></a> 
                <a href="getpwd.asp"> <img src="images/login_bt_wm.gif" border="0"></a> 
              </td>
            </tr>
          </form>
        </table>
        <%end if%>
      </div>
    </td>
  </tr>
</table>

⌨️ 快捷键说明

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