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

📄 reg.asp

📁 asp商城之王
💻 ASP
📖 第 1 页 / 共 3 页
字号:
              </td>
            </tr>
          </table>
                    <table width="748" border="0" cellspacing="0" cellpadding="0" align="center" background="images/bj_x.gif">
            <tr>
              <td height="1"></td>
            </tr>
          </table><%case "yes"%>
          
      
<table width="770" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#EDECEC">
  <tr> 
              
    <td height="22" bgcolor="#FFFFFF" bordercolor="#FFFFFF"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
                  <tr> 
                    <td> 
                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td rowspan="2"> 
                            
                        <table width="750" border="0" cellspacing="0" cellpadding="0" class="12v">
                          <tr> 
                                <td class="12v" >                                   
                              <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="750">
                                <tr> 
                                    <td> <br>
                                       <table border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                  <td width="114"></td>
                                  <td width="636" height="230"> <p><b><font color="#666666">请填写用户信息(带<font color=red>*</font>为必填项)</font></b></p>
                                    <form name=userinfo method=post action="reg.asp?action=save">
                                      <table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" >
                                        <tr> 
                                          <td colspan="2" class=pad><font color="#cb6f00">用 
                                            户 名:</font> <input name="username"  style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; type="text" id="username"> 
                                            <font color=red>*</font>您用来登录的用户名</td>
                                        </tr>
                                        <tr> 
                                          <td colspan="2" class=pad><font color="#cb6f00">电子邮件:</font> 
                                            <input name="useremail"  style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; type="text" id="useremail"> 
                                            <font color=red>*</font>请填写您有效的邮件地址,以便于我们为您提供有效的服务。</td>
                                        </tr>
                                        <tr> 
                                          <td colspan="2" class=pad><font color="#cb6f00">密  码: 
                                            <input name="userpassword"  style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; type="password" id="userpassword">
                                            <font color=red>*</font></font>长度必须大于4个小于10个字符,只能为英语字、数字</td>
                                        </tr>
                                        <tr> 
                                          <td colspan="2" class=pad><font color="#cb6f00">确认密码: 
                                            <input name="userpassword1" style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff";  type="password" id="userpassword1">
                                            <font color=red>*</font></font>请将输入的密码再次输入<font color="#cb6f00">&nbsp; 
                                            </font></td>
                                        </tr>
                                        <tr>
                                          <td colspan="2" class=pad><font color=#cb6f00>密码提问:</font> 
                                            <input name="quesion" style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; type="text" id="quesion"> 
                                            <font color=red>*</font>用于密码遗忘时使用</td>
                                        </tr>
                                        <tr> 
                                          <td colspan="2" class=pad><font color=#cb6f00>密码答案:</font> 
                                            <input name="answer" type="text" style="BORDER-RIGHT: #ffffff 0px groove; BORDER-TOP: #ffffff 0px groove; BORDER-LEFT: #ffffff 0px groove; COLOR: #333333; BORDER-BOTTOM: #3333331px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; id="answer"> 
                                            <font color=red>*</font>密码遗忘时将验证此答案</td>
                                        </tr>
                                        <tr> 
                                          <td width="55%" align="center" class=pad> <br> <input onClick="return checkuserinfo();" type="image" border="0" name="submit" src="images/xx.gif" width="54" height="18" > 
                                          </td>
                                          <td width="45%" align="center" class=pad>&nbsp;</td>
                                        </tr>
                                      </table>
                                    </form>
                                    <table width="10" border="0" align="center" cellpadding="0" cellspacing="0">
                                      <tr> 
                                        <td height="7"></td>
                                      </tr>
                                    </table></td>
                                </tr>
                              </table>
                                        <br>
                                      </td>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
		<%case "yes2"%>
          <script language=JavaScript>
<%dim i,j
	set rs_s=server.createobject("adodb.recordset")
	rs_s.open "select * from sh_province order by shengorder",conn,1,1
%>
	var selects=[];
	selects['xxx']=new Array(new Option('请选择城市……','xxx'));
<%
	for i=1 to rs_s.recordcount
%>
	selects['<%=rs_s("ShengNo")%>']=new Array(
<%
	set rs_s1=server.createobject("adodb.recordset")
	rs_s1.open "select * from sh_city where shengid="&rs_s("id")&" order by shiorder",conn,1,1
	if rs_s1.recordcount>0 then 
		for j=1 to rs_s1.recordcount
		if j=rs_s1.recordcount then 
%>
		new Option('<%=trim(rs_s1("shiname"))%>','<%=trim(rs_s1("shiNo"))%>'));
<%		else
%>
		new Option('<%=trim(rs_s1("shiname"))%>','<%=trim(rs_s1("shiNo"))%>'),
<%
		end if
		rs_s1.movenext
		next
	else 
%>
		new Option('','0'));
<%
	end if
	rs_s1.close
	set rs_s1=nothing
	rs_s.movenext
	next
rs_s.close
set rs_s=nothing
%>
	function chsel(){
		with (document.shouhuoxx){
			if(province.value) {
				city.options.length=0;
				for(var i=0;i<selects[province.value].length;i++){
					city.add(selects[province.value][i]);
				}
			}
		}
	}
</script>
          
      
<table width="770" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#EDECEC">
  <tr> 
              
    <td height="22" bordercolor="#FFFFFF" bgcolor="#FFFFFF"> 
      <table width=100% border=0 align=center cellpadding=1 cellspacing=1>
        <form name=shouhuoxx method=post action=reg.asp?action=save>
          <tr align="center"> 
            <td height=15 colspan=2><br> <font color="#000000"><b><font color="#666666">请您仔细填写以下详细资料信息,以便所购买的商品能够及时投递。</font></b></font><br> 
              <br> </td>
          </tr>
          <tr> 
            <td width=18% height=16 style='PADDING-LEFT: 20px'>&nbsp;</td>
            <td width=82% height=28 style='PADDING-LEFT: 20px'> <font color="#cb6f00">真实姓名: 
              <input name="userzhenshiname" type="text" 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"; id="userzhenshiname">
              </font><font color=red>*</font>用来收货</td>
          </tr>
          <!--<tr> 
                      <td width=18% height=16 style='PADDING-LEFT: 20px'>性质:</td>
                      <td width=82% height=28 style='PADDING-LEFT: 20px'> 
                        <select name=dadyname  size="1">
                          <option  value="个人注册"  selected>个人注册</option>
                          <option value="单位注册" >单位注册</option>
                        </select>
                        <font color=red>*</font></td>
                    </tr>-->
          <tr> 
            <td height=16 style='PADDING-LEFT: 20px'>&nbsp;</td>
            <td height=28 style='PADDING-LEFT: 20px'>所在省/市<font color="#cb6f00">:</font> 
              <select size="1" name="province" onChange=chsel()>
                <option value="xxx" selected>请选择省份……</option>
                <%
set rs_s=server.createobject("adodb.recordset")
rs_s.open "select * from sh_province order by shengorder",conn,1,1
while not rs_s.eof
%>
                <option value="<%=rs_s("ShengNo")%>"><%=trim(rs_s("ShengName"))%></option>
                <%
    rs_s.movenext
wend
rs_s.close
set rs_s=nothing
%>
              </select>
              <select size="1" name="city">
                <option value="xxx" selected>请选择城市……</option>
              </select>
            </td>
          </tr>
          <tr> 
            <td height=16 style='PADDING-LEFT: 20px'>&nbsp;</td>
            <td height=28 style='PADDING-LEFT: 20px'>详细地址: 
              <input name=shouhuodizhi type=text 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"; id=shouhuodizhi size=40 value="">
              <font color=red>*</font></td>
          </tr>
          <tr> 
            <td height=16 style='PADDING-LEFT: 20px'>&nbsp;</td>
            <td height=28 style='PADDING-LEFT: 20px'>邮  编: 
              <input name=youbian 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"; type=text id=youbian value="" maxlength="6" onKeyPress="event.returnValue=IsDigit();">
              <font color=red>*</font></td>
          </tr>
          <tr> 
            <td height=17 style='PADDING-LEFT: 20px'>&nbsp;</td>
            <td height=28 style='PADDING-LEFT: 20px'>联系电话: 
              <input name=usertel 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"; type=text id=usertel value="">
              <font color=red>*</font></td>
          </tr>
          <!--<tr> 

⌨️ 快捷键说明

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