<!--#include file="conn/conn.asp"-->
<!--#include file="conn/config.asp"-->
<!--#include file="conn/nosql.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用户注册-<%=webname%></title>
<link href="css.css" REL="stylesheet" TYPE="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {color: #FFFFFF}
.style2 {color: #FF0000}
-->
</style>
<SCRIPT language=javascript>
//--检测登陆-->

	   function DoLogin() {

	      var UsernameGet = trim(document.loginForm.UsernameGet.value);
		  var PasswordGet = trim(document.loginForm.PasswordGet.value);
		  var Verifycode = trim(document.loginForm.Verifycode.value);

          if(UsernameGet == "") {
		    alert("请输入会员登录名！");
			document.loginForm.UsernameGet.focus();
		    return false;
		  } 
		  if(PasswordGet == "") {
		    alert("请输入您的会员密码！");
			document.loginForm.PasswordGet.focus();
		    return false;
		  } 
		  if(Verifycode == "") {
		    alert("请输入您的登录验证码！");
			document.loginForm.Verifycode.focus();
		    return false;
		  }  
		  
		  
		 }

           function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 

//-->
</SCRIPT>
<script language="JavaScript" type="text/JavaScript">
<!--



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<script Language="JavaScript"> 
function FormCheck() 
{ 
if (trim(document.Form1.user.value) =="")
{
alert("请填写您的用户名！");
document.Form1.user.focus();
return false;
}
var filter=/^\s*[A-Za-z0-9]{6,20}\s*$/;
if (!filter.test(document.Form1.user.value)) { 
alert("用户名填写不正确,请重新填写！可使用的字符为（A-Z a-z 0-9）长度不小于6个字符，不超过20个字符，注意不要使用空格。"); 
document.Form1.user.focus();
document.Form1.user.select();
return false; 
} 
if (trim(document.Form1.pass.value) =="") 
{
alert("请填写您的密码！");
document.Form1.pass.focus();
return false; 
}
var filter=/^\s*[A-Za-z0-9]{6,20}\s*$/;
if (!filter.test(document.Form1.pass.value)) { 
alert("密码填写不正确,请重新填写！可使用的字符为（A-Z a-z 0-9 ）长度不小于6个字符，不超过20个字符，注意不要使用空格。"); 
document.Form1.pass.focus();
document.Form1.pass.select();
return false; 
} 
if(trim(document.Form1.confirmpassword.value) ==""){
alert("请输入您的确认密码！");
document.Form1.confirmpassword.focus();
return false;
}
if (document.Form1.pass.value!=document.Form1.confirmpassword.value ){
alert("两次填写的密码不一致，请重新填写！"); 
document.Form1.pass.focus();
document.Form1.pass.select();
return false; 
} 
if (trim(document.Form1.question.value) =="") 
{ 
alert("请选择密码提示问题！"); 
document.Form1.question.focus(); 
return (false); 
} 
if (trim(document.Form1.answer.value) =="") 
{ 
alert("请输入密码提示答案！"); 
document.Form1.answer.focus(); 
return (false); 
} 
if (trim(document.Form1.name.value) =="") 
{ 
alert("请输入您的真实姓名！"); 
document.Form1.name.focus(); 
return (false); 
} 
var  check=true;
      for(var i=0;i<document.Form1.ch.length;i++){

 if (document.Form1.ch[i].checked) {
		 check=false;
		break;
        }	
       }
              if (check){
          alert("请填写您的性别！");
          document.Form1.ch[1].focus();
          return (false);
       }  
if (trim(document.Form1.email.value) =="")
{
alert("请输入您的电子邮件地址！");
document.Form1.email.focus();
document.Form1.email.select();
return false;
}
var str1 = document.Form1.email.value
if(str1.indexOf("@") == -1 || str1.indexOf(".") == -1){ 
alert("E-mail格式不正确,请重新填写！"); 
document.Form1.email.focus();
document.Form1.email.select();
return false; 
} 
if (trim(document.Form1.homename.value) =="") 
{ 
alert("请输入个人主页的名称！"); 
document.Form1.homename.focus(); 
return (false); 
}  
document.Form1.submit()
}
//-->
//-->
function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 

//--> 
</script>
</head>

<body><!--#include file="top.asp"-->

  <table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="200"><!--<!--#include file="left.asp"--></td>
      <td valign="top"><FORM name="Form1" action="Reg_Confirm.asp" method="post"><table cellSpacing="0" cellPadding="0" width="570" align="center" border="0">
        <tr>
          <td>
            <table cellSpacing="0" cellPadding="0" width="100%" bgColor="#efefef" border="0">
              <tr>
                <td height="31" colSpan="2" bgcolor="f9f9f9"><br>
                    <span class="style2">&nbsp;&nbsp;请认真填写以下表单，如注册时大部分资料乱填写，本站将会立即删除会员资格。<br>
&nbsp;&nbsp;凡注册会员后一个月未登录者立即删除不予另行通知。</span><br></td>
              </tr>
              <tr>
                <td>
                  <TABLE cellSpacing=1 cellPadding=2 width="100%" 
            border=0>
                    <TBODY>
                      <TR bgcolor="#FFFFFF">
                        <TD width=100 height="22" align=right noWrap><B><FONT 
                  color=#ff6600>会员登录名</FONT>：</B></TD>
                        <TD width="512" colspan="2">&nbsp;&nbsp;
                            <INPUT name="user" class="wenbenkuang" style="ime-mode:disabled"
                  size=22 maxlength="20">
                    6-20位，请使用英文(a-z、A-Z)、数字(0-9)</TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width="100" height="22" align=right><B>设置密码：</B></TD>
                        <TD colspan="2">&nbsp;&nbsp;
                            <INPUT 
                  name="pass" 
                  type="password" class="wenbenkuang" size=22 maxLength=20>
                    6-20位，请使用英文(a-z)、数字(0-9)</TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width="100" height="22" align=right noWrap><B>确认密码：</B></TD>
                        <TD colspan="2">&nbsp;&nbsp;
                            <INPUT 
                  name="confirmpassword" 
                  type="password" class="wenbenkuang" size=22 maxLength=20>
                    注意区分大小写</TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width="100" height="22" align=right><B>密码提示：</B></TD>
                        <TD>&nbsp;&nbsp;
                            <SELECT name="question" 
                  size=1 class="wenbenkuang">
                              <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>
                          </SELECT></TD>
                        <TD width="256" rowspan="5"><IMG id=face src="../ico/n.gif"></TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width="100" height="22" align=right><B>提示答案：</B></TD>
                        <TD>&nbsp;&nbsp;
                            <INPUT name="answer" class="wenbenkuang" size=22 
                  maxLength=100>
                        </TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width=100 height="10" align=right noWrap><B>真实姓名：</B></TD>
                        <TD width="512">&nbsp;&nbsp;
                            <input 
                  class=wenbenkuang maxlength=20 size=22 name="name">
                    此项乱填一略删除</TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD height="10" align=right noWrap><B>职业：</B></TD>
                        <TD><span class="S">&nbsp;&nbsp;
                              <INPUT name="zy" 
                  type=radio value="官" checked>
                    官员<FONT class=f2>&nbsp;</FONT>
                    <INPUT type=radio value="商" name="zy">
                    <FONT 
                  class=f2>商人&nbsp;</FONT> <a href="javascript:;" class="style2" onClick="window.open('/zyjs.asp','zyjs','scrollbars=no,resizable=no,width=620,height=410,menubar=no,top=10,left=188')">详细职业特点</a></span></TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width="100" height="11" align=right noWrap><B>头像 ：</B></TD>
                        <TD width="512">&nbsp;&nbsp;
                            <select name=face size=1 onChange="document.images['face'].src='../ico/'+options[selectedIndex].value+'-2.gif';">
                              <%for i=1 to 108%>
                              <option value='<%=i%>'><%=i%></option>
                              <%next%>
                          </select></TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width="100" height="22" align=right><B>性别 ：</B></TD>
                        <TD width="512" colspan="2" class="S">&nbsp;&nbsp;
                            <INPUT name="ch" 
                  type=radio value="先生" checked>
                            <FONT class=f2>先生 &nbsp;</FONT>
                            <INPUT type=radio value="女士" name="ch">
                            <FONT 
                  class=f2>女士 &nbsp;</FONT> </TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD height="22" align=right><B>生日 ：</B></TD>
                        <TD colspan="2" class="S">&nbsp;&nbsp;
                            <select name=n1 size=1 class="wenbenkuang" id="select" onChange="return shenr()">
                              <script language="javascript">
									function shenr(){
									if(Form1.y1.value==12&&Form1.r1.value>=22 || Form1.y1.value==1&&Form1.r1.value<=19){
									x1="摩羯座"
									}
									if(Form1.y1.value==1&&Form1.r1.value>=20 || Form1.y1.value==2&&Form1.r1.value<=18){
									x1="水瓶座"
									}
									if(Form1.y1.value==2&&Form1.r1.value>=19 || Form1.y1.value==3&&Form1.r1.value<=20){
									x1="双鱼座"
									}
									if(Form1.y1.value==3&&Form1.r1.value>=21 || Form1.y1.value==4&&Form1.r1.value<=19){
									x1="白羊座"
									}
									if(Form1.y1.value==4&&Form1.r1.value>=20 || Form1.y1.value==5&&Form1.r1.value<=20){
									x1="金牛座"
									}
									if(Form1.y1.value==5&&Form1.r1.value>=21 || Form1.y1.value==6&&Form1.r1.value<=21){
									x1="双子座"
									}
									if(Form1.y1.value==6&&Form1.r1.value>=21 || Form1.y1.value==7&&Form1.r1.value<=22){
									x1="巨蟹座"
									}
									if(Form1.y1.value==7&&Form1.r1.value>=23 || Form1.y1.value==8&&Form1.r1.value<=22){
									x1="狮子座"
									}
									if(Form1.y1.value==8&&Form1.r1.value>=23 || Form1.y1.value==9&&Form1.r1.value<=22){
									x1="处女座"
									}
									if(Form1.y1.value==9&&Form1.r1.value>=23 || Form1.y1.value==10&&Form1.r1.value<=22){
									x1="天秤座"
									}
									if(Form1.y1.value==10&&Form1.r1.value>=23 || Form1.y1.value==11&&Form1.r1.value<=21){
									x1="天蝎座"
									}
									if(Form1.y1.value==11&&Form1.r1.value>=22 || Form1.y1.value==12&&Form1.r1.value<=21){
									x1="射手座"
									}
									
									nn1=<%=year(now())%>-Form1.n1.value
									Form1.a1.value=nn1
									Form1.b1.value=x1									
									shenri.innerHTML="年龄:"+nn1+"岁&nbsp;星座:"+x1 
																		
									}
									</script>
                              <option    value=1999>1999</option>
                              <option    value=1998>1998</option>
                              <option    value=1997>1997</option>
                              <option 
                                value=1996>1996</option>
                              <option 
                                value=1995>1995</option>
                              <option 
                                value=1994>1994</option>
                              <option 
                                value=1993>1993</option>
                              <option 
                                value=1992>1992</option>
                              <option 
                                value=1991>1991</option>
                              <option 
                                value=1990>1990</option>
                              <option 
                                value=1989>1989</option>
                              <option 
                                value=1988>1988</option>
                              <option 
                                value=1987>1987</option>
                              <option 
                                value=1986 selected>1986</option>
                              <option 
                                value=1985>1985</option>
                              <option 
                                value=1984>1984</option>
                              <option 
                                value=1983>1983</option>
                              <option 
                                value=1982>1982</option>
                              <option 
                                value=1981>1981</option>
                              <option 
                                value=1980>1980</option>
                              <option 
                                value=1979>1979</option>
                              <option 
                                value=1978>1978</option>
                              <option 
                                value=1977>1977</option>
                              <option 
                                value=1976>1976</option>
                              <option 
                                value=1975>1975</option>
                              <option 
                                value=1974>1974</option>
                              <option 
                                value=1973>1973</option>
                              <option 
                                value=1972>1972</option>
                              <option 
                                value=1971>1971</option>
                              <option 
                                value=1970>1970</option>
                              <option 
                                value=1969>1969</option>
                              <option 
                                value=1968>1968</option>
                              <option 
                                value=1967>1967</option>
                              <option 
                                value=1966>1966</option>
                              <option 
                                value=1965>1965</option>
                              <option 
                                value=1964>1964</option>
                              <option 
                                value=1963>1963</option>
                              <option 
                                value=1962>1962</option>
                              <option 
                                value=1961>1961</option>
                              <option 
                                value=1960>1960</option>
                              <option 
                                value=1959>1959</option>
                              <option 
                                value=1958>1958</option>
                              <option 
                                value=1957>1957</option>
                              <option 
                                value=1956>1956</option>
                              <option 
                                value=1955>1955</option>
                              <option 
                                value=1954>1954</option>
                              <option 
                                value=1953>1953</option>
                              <option 
                                value=1952>1952</option>
                              <option 
                                value=1951>1951</option>
                              <option 
                                value=1950>1950</option>
                              <option 
                                value=1949>1949</option>
                              <option 
                                value=1948>1948</option>
                              <option 
                                value=1947>1947</option>
                              <option 
                                value=1946>1946</option>
                              <option 
                                value=1945>1945</option>
                              <option 
                                value=1944>1944</option>
                              <option 
                                value=1943>1943</option>
                              <option 
                                value=1942>1942</option>
                              <option 
                                value=1941>1941</option>
                              <option 
                                value=1940>1940</option>
                              <option 
                                value=1939>1939</option>
                              <option 
                                value=1938>1938</option>
                              <option 
                                value=1937>1937</option>
                              <option 
                                value=1936>1936</option>
                              <option 
                                value=1935>1935</option>
                              <option 
                                value=1934>1934</option>
                              <option 
                                value=1933>1933</option>
                              <option 
                                value=1932>1932</option>
                              <option 
                                value=1931>1931</option>
                              <option 
                                value=1930>1930</option>
                            </select>
                    年
                    <select 
                              name=y1 size=1 class="wenbenkuang" id="select2" onChange="return shenr()">
                      <option selected 
                                value=1>1</option>
                      <option 
                                value=2>2</option>
                      <option 
                                value=3>3</option>
                      <option 
                                value=4>4</option>
                      <option 
                                value=5>5</option>
                      <option 
                                value=6>6</option>
                      <option 
                                value=7>7</option>
                      <option 
                                value=8>8</option>
                      <option 
                                value=9>9</option>
                      <option 
                                value=10>10</option>
                      <option 
                                value=11>11</option>
                      <option 
                                value=12>12</option>
                    </select>
                    月&nbsp;
                    <select name=r1 
                              size=1 class="wenbenkuang" id="select3" onChange="return shenr()">
                      <option selected 
                                value=1>1</option>
                      <option 
                                value=2>2</option>
                      <option 
                                value=3>3</option>
                      <option 
                                value=4>4</option>
                      <option 
                                value=5>5</option>
                      <option 
                                value=6>6</option>
                      <option 
                                value=7>7</option>
                      <option 
                                value=8>8</option>
                      <option 
                                value=9>9</option>
                      <option 
                                value=10>10</option>
                      <option 
                                value=11>11</option>
                      <option 
                                value=12>12</option>
                      <option 
                                value=13>13</option>
                      <option 
                                value=14>14</option>
                      <option 
                                value=15>15</option>
                      <option 
                                value=16>16</option>
                      <option 
                                value=17>17</option>
                      <option 
                                value=18>18</option>
                      <option 
                                value=19>19</option>
                      <option 
                                value=20>20</option>
                      <option 
                                value=21>21</option>
                      <option 
                                value=22>22</option>
                      <option 
                                value=23>23</option>
                      <option 
                                value=24>24</option>
                      <option 
                                value=25>25</option>
                      <option 
                                value=26>26</option>
                      <option 
                                value=27>27</option>
                      <option 
                                value=28>28</option>
                      <option 
                                value=29>29</option>
                      <option 
                                value=30>30</option>
                      <option 
                                value=31>31</option>
                    </select>
                    日&nbsp;<font id=shenri color="red"> </font>
                    <input type="hidden" name="a1" id="a12" value="<%=year(now())-1986%>">
                    <input type="hidden" name="b1"  id="b12" value="摩羯座"></TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width="100" height="22" align=right noWrap><B>电子邮箱：</B></TD>
                        <TD width="512" colspan="2" >&nbsp;&nbsp;
                            <INPUT class=wenbenkuang maxLength=50 size=30 name="email">
                    请填写真实。 </TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD width=100 height="22" align=right><B>主页名称：</B></TD>
                        <TD width="512" colspan="2"> &nbsp;&nbsp;
                            <INPUT name="homename" 
                  class=wenbenkuang id="homename" size=35 maxLength=12>
                    此项乱填一略删除 </TD>
                      </TR>
                      <TR bgcolor="#FFFFFF">
                        <TD height="22" align=right><B>推荐人：</B></TD>
                        <TD colspan="2">&nbsp;&nbsp;
                            <INPUT name="tjr" 
                  class=wenbenkuang id="tjr" value="<%=session("snsn_tjr")%>" size=35 maxLength=50>
                    （推荐人用户名）</TD>
                      </TR>
                    </TBODY>
                </TABLE></TD>
              </TR>
              <tr bgColor="#ffffff">
                <td height="32" colSpan="2" bgcolor="#EFEFEF">
                  <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
                    <tr>
                      <td height="23" class="font_11">&nbsp;&nbsp;
                          <input name="IacceptCheck" type="checkbox" id="IacceptCheck" value="1" checked="checked" / DISABLED>
                  我接受&nbsp;<a href="javascript:;" onClick="window.open('reg2.asp','chengs','scrollbars=yes,resizable=no,width=595,height=500,menubar=no,top=168,left=168')" class=over> [<FONT align="center"><B><%=webname%></B></FONT>平台用户协议] </A>
                  <input name=Next type="button" class="go-wenbenkuang" onClick="FormCheck()" value=看过并同意服务条款！确认提交></td>
                    </tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <script language="javascript" type="text/javascript">
<!--
	var Page_Validators =  new Array(document.all["RequiredFieldValidator6"], document.all["RequiredFieldValidator8"], document.all["CompareValidator2"], document.all["RequiredFieldValidator4"], document.all["RegularExpressionValidator5"]);
		// -->
                </script>
</form>
<table width="90%" height="10"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td></td>
  </tr>
</table><!--#include file="end.asp"-->
</body>
</html>