<!--#include file="conn.asp" -->
                  <%
					'读取注册资料，以确定显示那个字段
					showRealName=GetKey("RealName",WebUserID,"member")
					showSex=GetKey("Sex",WebUserID,"member")
					showAddress=GetKey("Address",WebUserID,"member")
					showTel=GetKey("Tel",WebUserID,"member")
					
					showProvince=GetKey("Province",WebUserID,"member")
					showLike=GetKey("Like",WebUserID,"member")
					showDepict=GetKey("Depict",WebUserID,"member")
				%>
<html>
<head>
<title>会员注册</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="common/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="admin/common/JS_CheckForm.js"></script>

<script language="JavaScript">
function checkform(theform){
	if(!CheckEmpty(theform.txtName,"用户名")) return false;
	if(!CheckEmpty(theform.txtPassWord1,"密码")) return false;
	
	if(theform.txtPassWord1.value!=theform.txtPassWord2.value){
		alert("两次输入密码不一致！　");
		return false;
	}
	if(!CheckEmpty(theform.txtEmail,"电子邮箱")) return false;
	if(!CheckEmail(theform.txtEmail)) return false;

}
</script>
</head>
<body bgcolor="#D4D0C8" leftmargin="0" topmargin="0" BodyBegin>
<!--#include file="top.asp" -->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td colspan="5" rowspan="3"><table width="760" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="183" valign="top" background="images/index_r4_c1.gif"><table width="100%" height="421" border="0" cellpadding="0" cellspacing="0" background="images/index_r3_c1.gif" style="background-repeat:No-repeat";>
              <tr> 
                <td height="58" valign="top"><img src="images/dl.gif" width="183" height="49"></td>
              </tr>
              <tr> 
                <td height="59" align=center>
				<!--#include file="login.asp" -->
				</td>
              </tr>
              <tr> 
                <td height="158" align="center">&nbsp; </td>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table></td>
          <td width="577" colspan="4" valign="top" bgcolor="#FFFFFF">
<TABLE cellSpacing=0 cellPadding=0 width=98% align=center border=0>
              <TBODY>
                <TR> 
                  <TD width="509"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td width="44%"><font color="#FF6600"><strong>会员注册</strong></font></td>
                        <td width="54%" align="right"><a href="javascript:;" onClick="window.open('shopping.asp?mnid=<%=strCurrMenu%>','','width=580,height=250,scrollbars=yes,resizable=yes');"><img src="images/buycar.gif" width="101" height="22" border="0"></a></td>
                        <td width="2%">&nbsp;</td>
                      </tr>
                    </table></TD>
                </TR>
                <TR> 
                  <TD bgColor=#ffffff><form action="register.asp" method="post" name="regform" id="regform" onSubmit="return checkform(this)">
                      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr> 
                          <td><table width="100%" height="0%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#C8C8C8" class="p9">
                              <tr bgcolor="#FED3DC"> 
                                <td height="6%" colspan="3"> 　请填写下述注册内容,注意:标有*的必须填写.</td>
                              </tr>
                              <tr> 
                                <td height="4%" align="right" width="18%" bgcolor="#E4E4E4">用户名： 
                                </td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <input name=txtName type=text class="p9" id="txtName" style="" size=30 maxlength=30> 
                                  <font color="red">*</font> </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4">登录时的用户名,请用英文或数字及下划线填写</td>
                              </tr>
                              <tr> 
                                <td align="right" width="18%" height="4%" bgcolor="#E4E4E4">密码：</td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <input name="txtPassWord1" type="password" class=p9 id="txtPassWord1" style="" size=30 maxlength=30> 
                                  <font color="red">*</font> </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4">除空格,单双引号(',")外的任意字符，最长15位</td>
                              </tr>
                              <tr> 
                                <td align="right" width="18%" height="4%" bgcolor="#E4E4E4">确认密码：</td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <input name="txtPassWord2" type="password" class=p9 id="txtPassWord2" style="" size=30 maxlength=30> 
                                  <font color="red">*</font> </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4">请与您的口令保持一致</td>
                              </tr>
                              <tr> 
                                <td height="4%" align="right" width="18%" bgcolor="#E4E4E4">E-mail： 
                                </td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <input name=txtEmail type=text class="p9" id="txtEmail" style="" size=30 maxlength=60> 
                                  <font color="red">*</font> </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4">格式如 
                                  abc@ce.net.cn</td>
                              </tr>
                          <%if showRealName<> "none" then%>
                              <tr> 
                                <td height="4%" align="right" width="18%" bgcolor="#E4E4E4">真实姓名： 
                                </td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <input name=txtRealName type=text class="p9" id="txtRealName" style="" size=30 maxlength=50> 
                                </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4"></td>
                              </tr>
                          <%end if%>
                          <%if showSex<> "none" then%>
                              <tr> 
                                <td height="4%" align="right" width="18%" bgcolor="#E4E4E4">性别： 
                                </td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <input type="radio" value="先生" name="rdoSex" checked>
                                  先生　 
                                  <input type="radio" value="女士" name="rdoSex" >
                                  女士　 </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4"></td>
                              </tr>
                          <%end if%>
                          <%if showAddress<> "none" then%>
                              <tr> 
                                <td height="4%" align="right" width="18%" bgcolor="#E4E4E4">详细地址： 
                                </td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <input name=txtAddress type=text class="p9" id="txtAddress" style="" size=30 maxlength=100> 
                                </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4"></td>
                              </tr>
                          <%end if%>
                          <%if showTel<> "none" then%>
                              <tr> 
                                <td height="4%" align="right" bgcolor="#E4E4E4">联系电话： 
                                </td>
                                <td height="4%" bgcolor="#F2F2F2"> 
                                  <input name=txtTel type=text class="p9" id="txtTel" style="" size=30 maxlength=100> 
                                </td>
                                <td height="4%" bgcolor="#E4E4E4"></td>
                              </tr>
                          <%end if%>
                          <%if showProvince<> "none" then%>
                              <tr> 
                                <td height="4%" align="right" width="18%" bgcolor="#E4E4E4">省份： 
                                </td>
                                <td width="39%" height="4%" bgcolor="#F2F2F2"> 
                                  <select name="selProvince" class=p9 id="selProvince" style="">
                                    <option value="" selected>========请选择========</option>
                                    <option value="北京">北京</option>
                                    <option value="上海">上海</option>
                                    <option value="天津">天津</option>
                                    <option value="重庆">重庆</option>
                                    <option value="黑龙江">黑龙江</option>
                                    <option value="辽宁">辽宁</option>
                                    <option value="吉林">吉林</option>
                                    <option value="河北">河北</option>
                                    <option value="内蒙古">内蒙古</option>
                                    <option value="陕西">陕西</option>
                                    <option value="山西">山西</option>
                                    <option value="甘肃">甘肃</option>
                                    <option value="宁夏">宁夏</option>
                                    <option value="新疆">新疆</option>
                                    <option value="西藏">西藏</option>
                                    <option value="青海">青海</option>
                                    <option value="四川">四川</option>
                                    <option value="云南">云南</option>
                                    <option value="贵州">贵州</option>
                                    <option value="湖南">湖南</option>
                                    <option value="湖北">湖北</option>
                                    <option value="河南">河南</option>
                                    <option value="山东">山东</option>
                                    <option value="安徽">安徽</option>
                                    <option value="江苏">江苏</option>
                                    <option value="浙江">浙江</option>
                                    <option value="台湾">台湾</option>
                                    <option value="香港">香港</option>
                                    <option value="澳门">澳门</option>
                                    <option value="广东">广东</option>
                                    <option value="广西">广西</option>
                                    <option value="江西">江西</option>
                                    <option value="福建">福建</option>
                                    <option value="海南">海南</option>
                                    <option value="其它国家">其它国家</option>
                                  </select> </td>
                                <td width="43%" height="4%" bgcolor="#E4E4E4">其他国家的用户选择“其他国家”</td>
                              </tr>
                          <%end if%>
                          <%if showLike<> "none" then%>
                              <tr> 
                                <td height="35%" align="right" width="18%" bgcolor="#E4E4E4">兴趣爱好： 
                                </td>
                                <td width="39%" height="35%" bgcolor="#F2F2F2"> 
                                  <input name="chkLike" type="checkbox" id="chkLike" value="计算机行业/软硬件发展">
                                  计算机行业/软硬件发展<br> <input name="chkLike" type="checkbox" id="chkLike" value="旅游、度假">
                                  旅游、度假　<br> <input name="chkLike" type="checkbox" id="chkLike" value="上网聊天、游戏">
                                  上网聊天、游戏　<br> <input name="chkLike" type="checkbox" id="chkLike" value="时尚、化妆品">
                                  时尚、化妆品　<br> <input name="chkLike" type="checkbox" id="chkLike" value="服装服饰">
                                  服装服饰 
                                  <input name="chkLike" type="checkbox" id="chkLike" value="房产家居">
                                  房产家居<br> <input name="chkLike" type="checkbox" id="chkLike" value="家用电器">
                                  家用电器 
                                  <input name="chkLike" type="checkbox" id="chkLike" value="阅读、图书音像">
                                  阅读、图书音像<br> <input name="chkLike" type="checkbox" id="chkLike" value="日常消费">
                                  日常消费 <br> <input name="chkLike" type="checkbox" id="chkLike" value="体育、户外运动、健身">
                                  体育、户外运动、健身　 <br> <input name="chkLike" type="checkbox" id="chkLike" value="时事新闻">
                                  时事新闻　 <br> <input name="chkLike" type="checkbox" id="chkLike" value="财经信息/股市行情">
                                  财经信息/股市行情　 <br> <input name="chkLike" type="checkbox" id="chkLike" value="购物指南">
                                  购物指南 
                                  <input name="chkLike" type="checkbox" id="chkLike" value="汽车">
                                  汽车　 <br> <input name="chkLike" type="checkbox" id="chkLike" value="文化/教育/育儿">
                                  文化/教育/育儿 
                                  <input name="chkLike" type="checkbox" id="chkLike" value="情感生活">
                                  情感生活 <br> <input name="chkLike" type="checkbox" id="chkLike" value="生活资讯">
                                  生活资讯　 
                                  <input name="chkLike" type="checkbox" id="chkLike" value="影音娱乐">
                                  影音娱乐　 <br> <input name="chkLike" type="checkbox" id="chkLike" value="医疗健康">
                                  医疗健康　 
                                  <input name="chkLike" type="checkbox" id="chkLike" value="其他">
                                  其他　 </td>
                                <td width="43%" height="35%" bgcolor="#E4E4E4">最多只能选5项</td>
                              </tr>
                          <%end if%>
                          <%if showDepict<> "none" then%>
                              <tr> 
                                <td height="16%" align="right" width="18%" bgcolor="#E4E4E4">个人简介： 
                                </td>
                                <td width="39%" height="16%" bgcolor="#F2F2F2"> 
                                  <textarea name=txtDepict cols=30 rows=6 class=p9 id="txtDepict" style=""></textarea> 
                                </td>
                                <td width="43%" height="16%" bgcolor="#E4E4E4">最多只能输入120个字符</td>
                              </tr>
                          <%end if%>
                              <tr bgcolor="#FED3DC"> 
                                <td height="7%" colspan="3" align="center"> 
                                  <input type="submit" name="Submit5" value="注册" class="s02" style="width:80px;height:22px"> 
                                  <input type="reset" name="reset" value="重填" class="s02" style="width:80px;height:22px">
                                </td>
                              </tr>
                            </table></td>
                        </tr>
                      </table>
                    </form></TD>
                </TR>
              </TBODY>
            </TABLE>
            
          </td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td><img src="images/spacer.gif" width="1" height="15" border="0" alt=""></td>
  </tr>
  <tr> 
    <td><img src="images/spacer.gif" width="1" height="210" border="0" alt=""></td>
  </tr>
  <tr> 
    <td colspan="5"><img name="index_r6_c1" src="images/index_r10_c1.gif" width="760" height="30" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="1" height="30" border="0" alt=""></td>
  </tr>
  <tr> 
    <td colspan="5" valign="top" bgcolor="#EF3A75"> <div align="center"> 
        <TABLE width=98% height="41" 
border=0 cellPadding=4 cellSpacing=5>
          <TBODY>
            <TR> 
              <TD height=19 align=center background="images/bg.gif"><FONT 
      color=#ffffff> &nbsp;购物流程:</FONT><FONT 
      color=#ffffff>选购-&gt;加入购物车-&gt;去收银台-&gt;确认收货人信息-&gt;选配送方式-&gt;确定下订单-&gt;下单后汇款-&gt;汇款确认-&gt;发货-&gt;完成</FONT></TD>
            </TR>
          </TBODY>
        </TABLE>
        公司地址：未知电话： <BR>E-Mail:test@test.com<BR>Copyright&copy;2004-2005 test All Rights Reserved.<br>ICP<br>
        <font color="#FFFFFF">您是本站第 
        <script language="JavaScript" src="admin/count/counter.asp"></script>
        位访问者</font></div></td>
    <td><img src="images/spacer.gif" width="1" height="135" border="0" alt=""></td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script>

</body>
</html>

