<!--#include file="conn.asp" -->
<!--#include file="inc/gl1.asp" -->
<% 
call gl(Trim(request.Form("userid")))
 %>
<% 
userid=Trim(Request.Form("userid"))
sql="select * from user where userid='"&userid&"'"
rs.open sql,conn,1,1
if not rs.eof then
Response.redirect "reg.asp?w=1&u="&userid
response.end
end if
if len(userid)<3 or len(userid)>20 then
Response.redirect "reg.asp?w=2&u="&userid
response.end
end if
rs.close

 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=page_title%></title>
<link href="css.css" rel="stylesheet" type="text/css">
<script language="VBScript" type="text/VBScript">
sub check()

  if frm1.password1.value=empty then 
  msgbox "请输入您的密码！！"
  focusto(2)
  exit sub
  end if

  if frm1.password1.value<>frm1.password2.value then 
  msgbox "您两次输入的密码不正确！！"
  focusto(3)
  exit sub
  end if
 if frm1.email.value=empty then 
  msgbox "请输入您的电子邮件,以便我们和您联系！"
  focusto(8)
  exit sub
  end if
if instr(frm1.email.value,"@")=0 then
  msgbox "你的电子邮件不对哦 没有 @  "
    focusto(8)
  exit sub 
  end if
if instr(frm1.email.value,".")=0 then
  msgbox "你的电子邮件不对哦 没有 . "
    focusto(8)
  exit sub 
  end if
  
  frm1.submit
end sub

sub focusto(x)
document.frm1.elements(x).focus()
end sub


</script>

</head>


<body leftmargin="3" topmargin="2" bgcolor="#C0C0C0">

<!--#include file="head.asp" -->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="174" height="301" valign="top" bgcolor="#FFFFFF"> 
      <div align="center">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td><div align="center">　</div></td>
          </tr>
          <tr> 
            <td><font size="2">&nbsp;</font></td>
          </tr>
          <tr>
            <td><font size="2">&nbsp;</font></td>
          </tr>
        </table>
      </div></td>
    <td width="1" valign="top" bgcolor="#FFFFFF"> </td>
    <td width="603" valign="top" bgcolor="#FFFFFF"> 
      <form name="frm1" method="post" action="reg_3.asp">
        <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td height="25"><strong><font size="2">新用户注册<font color="#FF0000"> 第二步..</font></font></strong><font color="#FF0000">(带*号为必填     
              其他项请认真填写如果没有英文的请用拼音代替，一下所有空格都必须认真填写，否则无法成功注册！！！)</font> </td>
          </tr>
          <tr> 
            <td><table width="97%" height="410" border="0" align="right" cellpadding="2" cellspacing="2">
                <tr> 
                  <td width="19%" bgcolor="#C0C0C0"><font size="2">用户名：</font></td>
                  <td width="81%"><font size="2"><input name="us" type="text" id="us" value="<%=userid%>" size="15" disabled> 
                    <font color="#FF0000">＊</font>  <font color="#FF0000">必填！</font><input name="userid" type="hidden" id="userid" value="<%=userid%>"></font></td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">用户密码：</font></td>
                  <td><font size="2"><input name="password1" type="password" id="password1" size="20"> 
                    <font color="#FF0000">＊必填！</font></font></td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">重复密码</font></td>
                  <td><font size="2"><input name="password2" type="password" id="password2" size="20"> 
                    <font color="#FF0000">＊必填！</font></font></td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">&nbsp;</font></td>
                  <td><font color="#FF0000" size="2">请重复输入两次相同的密码，以后您将用此密码进行登录．．</font></td>
                </tr>
                <tr> 
                  <td height="22" bgcolor="#C0C0C0"><font size="2">联系人：</font></td>
                  <td><p align="left"><font size="2">中文:     
                      <input name="name" type="text" id="name" size="15">
                    <font color="#FF0000">＊</font></font><font color="#FF0000" size="2">必填！你的真实姓名</font> 
                    </p></td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">省会：</font></td>
                  <td><font size="2"><SELECT name=province>
                      <OPTION 
                                selected value=北京|Beijing>北京</OPTION>
                      <OPTION 
                                value=天津|Tianjin>天津</OPTION>
                      <OPTION 
                                value=辽宁|Liaoning>辽宁</OPTION>
                      <OPTION 
                                value=河北|Hebei>河北</OPTION>
                      <OPTION 
                                value=山东|Henan>山东</OPTION>
                      <OPTION 
                                value=吉林|Jilin>吉林</OPTION>
                      <OPTION 
                                value=黑龙江|Heilongjiang>黑龙江</OPTION>
                      <OPTION 
                                value=内蒙古|Neimenggu>内蒙古</OPTION>
                      <OPTION 
                                value=山东|Shandong>山东</OPTION>
                      <OPTION 
                                value=山西|Shan1xi>山西</OPTION>
                      <OPTION 
                                value=陕西|Shan2xi>陕西</OPTION>
                      <OPTION 
                                value=甘肃|Gansu>甘肃</OPTION>
                      <OPTION 
                                value=宁夏|Ningxia>宁夏</OPTION>
                      <OPTION 
                                value=青海|Qinghai>青海</OPTION>
                      <OPTION 
                                value=新疆|Xinjiang>新疆</OPTION>
                      <OPTION 
                                value=上海|Shanghai>上海</OPTION>
                      <OPTION 
                                value=江苏|Jiangsu>江苏</OPTION>
                      <OPTION 
                  ??琼????????????????琯???????????琼???摴??????????琯??????????琼????????????摴??????琯???????????琼?渦獢??摴??????????琯??????????琼????????????摴??????琯???????????琼?渦獢??摴??????????琯??????????琼???????????琼?渦獢??摴???????????摴?扮灳?琯???????????牴?????????琯扡敬?琯????????牴??????琯扡敬?????是牯?????瀼?扮灳?瀯??????渦獢???????瀼?扮灳?瀯??????渦獢???????瀼?扮灳?瀯??????渦獢???????瀼?扮灳?瀯??????渦獢????摴???琯???慴汢????椣据畬敤映汩?琢灯愮灳?????戯摯???瑨汭?
?
R              value=浙江|Zhejiang>浙江</OPTION>
                      <OPTION 
                                value=安徽|Anhui>安徽</OPTION>
                      <OPTION 
                                value=广东|Guangdong>广东</OPTION>
                      <OPTION 
                                value=海南|Hainan>海南</OPTION>
                      <OPTION 
                                value=广西|Guangxi>广西</OPTION>
                      <OPTION 
                                value=云南|Yunnan>云南</OPTION>
                      <OPTION 
                                value=贵州|Guizhou>贵州</OPTION>
                      <OPTION 
                                value=四川|Sichuan>四川</OPTION>
                      <OPTION 
                                value=重庆|Chongqing>重庆</OPTION>
                      <OPTION 
                                value=西藏|Xizang>西藏</OPTION>
                      <OPTION 
                                value=香港|Hongkong>香港</OPTION>
                      <OPTION 
                                value=澳门|Macao>澳门</OPTION>
                      <OPTION 
                                value=福建|Fujian>福建</OPTION>
                      <OPTION 
                                value=江西|Jiangxi>江西</OPTION>
                      <OPTION 
                                value=湖南|Hunan>湖南</OPTION>
                      <OPTION 
                                value=湖北|Hubei>湖北</OPTION>
                      <OPTION 
                                value=台湾|Taiwan>台湾</OPTION>
                      <OPTION 
                                value=其它|Others>其它</OPTION>
                    </SELECT>
                    所在城市:     
                    <input name="biz" type="text" id="biz" size="10"><font color="#FF0000">＊</font></font> </td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">详细地址(中文)</font></td>
                  <td><font size="2"><input name="address" type="text" id="address" size="35"><font color="#FF0000">＊</font></font><font color="#FF0000">（十分重要，邮寄赠品所需你的详细地址！）</font></td>
                </tr>
                <tr>
                  <td bgcolor="#C0C0C0"><font size="2">单 位:</font></td>    
                  <td><font size="2"><input name="unit" type="text" id="unit" size="15">
                    <font color="#FF0000">＊单位或学校名称</font></font></td> 
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">邮政编码;</font></td>
                  <td><font size="2"><input name="zip" type="text" id="zip" size="10"><font color="#FF0000">＊</font></font> </td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">联系电话：</font></td>
                  <td><font size="2"><input name="tel" type="text" id="tel"><font color="#FF0000">＊（十分重要，填常用联系和电话手机！）</font></font></td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">传 真:</font></td>    
                  <td><font size="2"><input name="cz" type="text" id="cz" size="15"></font></td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">电子邮件：</font></td>
                  <td><font size="2"><input name="email" type="text" id="email" size="020"> <font color="#FF0000">＊（十分重要，开通服务联系方式）</font></font></td>
                </tr>
                <tr> 
                  <td bgcolor="#C0C0C0"><font size="2">&nbsp;</font></td>
                  <td><font color="#FF0000" size="2">请输入您常用的电子邮件地址。注意，以后您的电子邮件将成为确认您身份的唯一标准，所以请保证输入正确的邮件地址，以后取回密码也将需要用到这个邮箱．．</font></td>
                </tr>
                <tr>
                  <td height="23" bgcolor="#C0C0C0"><font size="2">QQ/icq/msn:</font></td>
                  <td><font size="2"><input name="qq" type="text" id="qq" size="020"><font color="#FF0000">＊（十分重要，开通服务联系方式）</font></font></td>
                </tr>
                <tr> 
                  <td height="23" bgcolor="#C0C0C0"><font size="2">从哪里到我们:</font></td>
                  <td><font size="2"><input type="checkbox" name="C1" value="ON">百度 
                    <input type="checkbox" name="C2" value="ON">雅虎 <input type="checkbox" name="C3" value="ON"> 
                    新浪 <input type="checkbox" name="C4" value="ON"> 搜狐 <input type="checkbox" name="C5" value="ON"> 
                    网络实名<input type="checkbox" name="C6" value="ON">动网论坛<input type="checkbox" name="C7" value="ON"> 
                    朋友介绍 <input type="checkbox" name="C8" value="ON"> 
                    报纸 <input type="checkbox" name="C9" value="ON"> 
                    电视台 <input type="checkbox" name="C10" value="ON"> 
                    友情连接 <font color="#FF0000">＊</font></font></td>
                </tr>
                <tr> 
                  <td height="29" colspan="2"> <div align="center"> 
                      <p><font size="2">&nbsp;</font></p>
                      <p> 
                        <font size="2"> 
                        <input type="button" name="Submit2" value="下一步" onclick="check">
                        　     
                        <input type="reset" name="Submit3" value="重提">
                        <font color="#FFFFFF">圭寺f圭寺f圭寺ff</font></font></p>    
                      <p><font size="2">&nbsp;</font></p>
                    </div></td>
                </tr>
              </table></td>
          </tr>
        </table>
      </form>
      
    </td>
  </tr>
</table>
<!--#include file="top.asp" -->

</body>
</html>
























