<!--#include file="conn.asp" -->
<%
strCurrMenu=FirstMenu()
ThisPage=request.ServerVariables("URL")
%>
                  <%
					'读取注册资料，以确定显示那个字段
					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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<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.key, "关键字")) return false;
}

function checkreg(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 leftmargin="0" topmargin="0" BodyBegin>
<!--#include file="top.asp"-->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="190" valign="top" background="images/left.gif"> <table width="180" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="26" align="center" background="images/index_01.gif">::会员登陆::</td>
              </tr>
              <tr> 
                  <td align="center"> 
				  <!--#include file="login.asp"-->
				  </td>
              </tr>
            </table>
            <table width="180" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="26" align="center" background="images/index_01.gif">::产品搜索::</td>
              </tr>
              <tr> 
                <td align="center"><table width="156" border="0" align="center" cellpadding="0" cellspacing="0">
                    <form name="form1" method="post" action="search.asp">
                      <tr> 
                        <td width="58" height="8" align="right"></td>
                        <td width="98" height="8"></td>
                      </tr>
                      <tr> 
                        <td width="58" height="26" align="right">分　类：</td>
                        <td width="98" height="26"> <select name="class" id="select2" style="width:80px">
                            <%
								'开始输出分类
								strSQL="Select * From web_product_class Where mn_id=" & strCurrMenu & " Order by c_index"
								Set rs=Server.CreateObject("ADODB.RecordSet")
								rs.open strSQL,conn,1,1
								for i=1 to rs.recordcount
								%>
                            
                            <option value="<%=rs("id")%>"><%=trim(rs("c_name"))%></option>
                            <%
									rs.movenext
								next
								%>
                            
                          </select> </td>
                      </tr>
                      <tr> 
                        <td height="26" align="right">关键字：</td>
                        <td height="26"> <input name="key" type="text" id="key4" size="14" maxlength="50" style="width:80px"> 
                        </td>
                      </tr>
                      <% if showPrice<>"none" then %>
                      
                      <tr> 
                        <td height="26" align="right">价　格：</td>
                        <td height="26"> <input name="price1" type="text" id="price1" size="2" maxlength="5" style="width:30px">
                          到 
                          <input name="price2" type="text" id="price2" size="2" style="width:30px"> 
                        </td>
                      </tr>
                      <%end if%>
                      
                      <tr align="left"> 
                        <td height="30" colspan="2"> <table width="156" height="40" border="0" cellpadding="0" cellspacing="0">
                            <tr> 
                              <td width="117" height="40" align="right"> <input type="submit" name="Submit" value="开始搜索"></td>
                              <td width="39" height="40" valign="bottom">&nbsp;&nbsp;</td>
                            </tr>
                          </table></td>
                      </tr>
                    </form>
                  </table></td>
              </tr>
            </table>
            <table width="180" height="239" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="26" align="center" background="images/index_01.gif">::热销产品::</td>
              </tr>
              <tr> 
                <td height="180" align="center"> <p><img src="images/cp.gif" width="110" height="83" border="1"></p>
                  <p><img src="images/cp.gif" width="110" height="83" border="1"></p></td>
              </tr>
            </table></td>
          <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              
              <tr> 
                <td align="center"><img src=IMAGES/banner.gif ></td>
              </tr>
            </table>
             
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td><img src="images/go.gif" width="22" height="19" hspace="10" align="absmiddle"><strong>会员注册</strong></td>
              </tr>
            </table>
			<form action="register.asp" method="post" name="regform" id="regform" onSubmit="return checkreg(this)">
            <table width="97%" height="0%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#C8C8C8" class="p9">
              <tr bgcolor="#FFFFFF"> 
                <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="#F2F2F2"> 
                <td height="56" 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>
			</form></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="3" bgcolor="#0D9DE3"></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="8" cellspacing="0">
  <tr> 
    <td align="center" bgcolor="F3F3F3">公司地址：未知<br>电话： E-Mail:zfadshu@cn9sky.com<br>Copyright&copy;2005-2006 dddddd All Rights Reserved.<br><br>
      您是本站第 
      <script language="JavaScript" src="admin/count/counter.asp"></script>
      位访问者&nbsp;</td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script><br><script language=Javascript src="common/tranbig5.Js"></script>
</body>
</html>


