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

📄 userinfo1.asp

📁 电子商务购物系统
💻 ASP
字号:
 
<table width="100%" class="table-shangxia" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td height="23" bgcolor="f1f1f1"> 会员注册</td>
  </tr>
</table>
<table width=100% border=0 align=center cellpadding=0 cellspacing=0>
  <tr> 
    <td height=41 > 
      <div align=center> 
        <%if request.cookies("snsn")("username")="" then%>
        <%'禁止网页缓存
Response.Buffer = True 
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache"
'验证码生成
dim yz1
randomize timer
yz1=Int((8999)*Rnd +1009)
session("ok")=yz1
%>
        <script language="javascript">
	<!--//
	function checksignup() {

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

	//-->
	</script>
        <table width="90%" 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"> 
                <table align="center" cellpadding="0" cellspacing="2" border="0">
                  <tr valign="middle"> 
                    <td height="20" align="center">名&nbsp; 称&nbsp; </td>
                    <td> 
                      <div align="left"> 
                        <input name="username" type="text" class="wenbenkuang" id="username" size="12" maxlength="12">
                      </div>
                    </td>
                  </tr>
                  <tr valign="middle"> 
                    <td align="center">密&nbsp; 码&nbsp; </td>
                    <td> 
                      <div align="left"> 
                        <input name="userpassword" type="password" class="wenbenkuang" id="userpassword" size="12" maxlength="12">
                      </div>
                    </td>
                  </tr>
                  <tr valign="middle"> 
                    <td align="center">验证码&nbsp; </td>
                    <td> 
                      <input name="yz1" type="password" class="wenbenkuang" id="yz1" size="7" maxlength="5">
                      <span style="background-color: #FFFFFF"><font color="#ff3333"><%=yz1%></font></span> 
                    </td>
                  </tr>
                  <tr valign="middle"> 
                    <td colspan="2" align="center"> 
                      <input name="Submit" type="submit" class="go-wenbenkuang" value="登录" onClick="javascript:return checksignup()">
                      <input name="Submit2" type="reset" class="go-wenbenkuang" value="注册" onClick="window.location='reg.asp'">
                      <input name="Submit3" type="button" class="go-wenbenkuang" value="忘密" onClick="window.location='getpwd.asp'">
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </form>
        </table>
        <%else%>
        <br> <table width="90%%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="22" width="15%" align="right"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"><a href="user.asp">专区首页</a></td>
            <td height="22" width="15%" align="left"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"><a href="user.asp?action=shoucang">我的收藏</a></td>
          </tr>
          <tr> 
            <td height="22" width="15%" align="right"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"><a href="user.asp?action=myinfo">我的信息</a></td>
            <td height="22" width="15%" align="left"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"><a href="user.asp?action=jifen">我的积分</a></td>
          </tr>
          <tr> 
            <td height="22" width="15%" align="right"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"><a href="user.asp?action=userziliao">个人资料</a></td>
            <td height="22" width="15%" align="left"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left">VIP 活动</td>
          </tr>
          <tr> 
            <td height="22" width="15%" align="right"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"> <a href="user.asp?action=savepass">修改密码</a></td>
            <td height="22" width="15%" align="left"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left">申请VIP</td>
          </tr>
          <tr> 
            <td height="22" width="15%" align="right"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"><a href="user.asp?action=dindan">我的订单</a></td>
            <td height="22" width="15%" align="left"> 
              <div align="center">·</div>
            </td>
            <td height="22" width="35%" align="left"><a href=logout.asp>退出登录</a></td>
          </tr>
          <%if Request.Cookies("snsn")("reglx")=2 then%>
          <%else%>
          <%end if%>
        </table>
        <%end if%>
      </div>
    </td>
  </tr>
  <tr> 
    <td height=3>&nbsp;</td>
  </tr>
</table>

⌨️ 快捷键说明

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