<!--#include file="../conn/conn.asp"-->
<!--#include file="../conn/nosql.asp"-->
<!--#include file="../conn/config.asp"-->
<!--#include file="../conn/page.asp"-->
<%if Not ChkPosturl then response.redirect ("login.asp")
if session("adminname")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if
if isChkInteger(request("id")) then
id=request("id")
else
Response.Redirect ("../index.asp")
end if
if id="" then 
response.write "<script language='javascript'>"
response.write "alert('您没还有登录，请登录后再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
end if
 if request("action")="save" then
       name1=nosql(request.form("name"))
       ch=nosql(request.form("ch"))
       face=nosql(request.form("face"))
       email=nosql(request.form("email"))
       dh=nosql(request.form("dh"))
       address=nosql(request.form("address"))
       mobile=nosql(request.form("mobile"))
       post=nosql(request.form("post"))
	   jifen=nosql(request.form("jifen"))
	   jine=nosql(request.form("jine"))
	   homename=nosql(request.form("homename"))

       set rs=server.CreateObject("adodb.recordset")
       sql="select * from snsn_user where id="&id
       rs.open sql,conn,1,3
              if not (rs.Bof and rs.eof) then
              rs("name")=name1  '真实名称
              rs("ch")=ch  '性别
              rs("face")=face  '头像
              rs("email")=email  '用户邮箱
              rs("dh")=dh  '电话
              rs("address")=address  '地址
			  rs("homename")=homename 
              rs("mobile")=mobile  '手机
              rs("post")=post  '邮编
			  rs("jifen")=jifen  
			  rs("jine")=jine  

              rs("reg_ip")=Request.ServerVariables("REMOTE_ADDR")  '用户IP
              rs.update
                     if nosql(request("advshow"))<>"" or nosql(request("yesok"))<>"" then 
                     set rs111=server.createobject("adodb.recordset")
                     rs111.open"select * from snsn_user1 where username='"&rs("username")&"'",conn,3,3
                     if not rs111.eof then
                     rs111("username2")=nosql(request("username2"))
                     rs111("szd")=rs("szd")
                     rs111("ch")=rs("ch")
                     rs111("job")=nosql(request("job"))
                     rs111("shengao")=nosql(request("shengao"))
                     rs111("tizhong")=nosql(request("tizhong"))
                     rs111("xuexing")=nosql(request("xuexing"))
                     rs111("shouru")=nosql(request("shouru"))
                     rs111("shengxiao")=nosql(request("shengxiao"))
                     rs111("constellation")=nosql(request("constellation"))
                     rs111("house")=nosql(request("house"))
                     rs111("jobtitle")=nosql(request("jobtitle"))
                     rs111("work_status")=nosql(request("work_status"))
                     rs111("martial")=nosql(request("martial"))
                     rs111("friend_object")=nosql(request("friend_object"))
                     rs111("xueli")=nosql(request("xueli"))
                     rs111("relation")=nosql(request("relation"))
                     rs111("xianshi")=nosql(request("xianshi"))
                     rs111.update
                     else
                     conn.execute"insert into snsn_user1(username,szd,ch,srdate,username2,job,shengao,tizhong,xuexing,shouru,shengxiao,constellation,house,jobtitle,work_status,martial,friend_object,xueli,relation,nl,xianshi,regdate)values('"&rs("username")&"','"&rs("szd")&"','"&rs("ch")&"','"&nosql(request("byear"))&"-"&nosql(request("bmonth"))&"-"&nosql(request("bday"))&"','"&nosql(request("username2"))&"','"&nosql(request("job"))&"','"&nosql(request("shengao"))&"','"&nosql(request("tizhong"))&"','"&nosql(request("xuexing"))&"','"&nosql(request("shouru"))&"','"&nosql(request("shengxiao"))&"','"&nosql(request("constellation"))&"','"&nosql(request("house"))&"','"&nosql(request("jobtitle"))&"','"&nosql(request("work_status"))&"','"&nosql(request("martial"))&"','"&nosql(request("friend_object"))&"','"&nosql(request("xueli"))&"','"&nosql(request("relation"))&"',"&year(date())-nosql(request("byear"))&","&nosql(request("xianshi"))&",getdate())"
                     end if
                     end if

                     response.write"<SCRIPT language=JavaScript>alert('资料修改成功，正在返回！');"
                     response.write"javascript:history.go(-1)</SCRIPT>"
                     response.end
              else
              response.write"<SCRIPT language=JavaScript>alert('您填写的会员登陆名E-mail不存在，请返回！');"
              response.write"javascript:history.go(-1)</SCRIPT>"
              response.end
              end if
              rs.close
              set rs=nothing

       else
       sql="select * from snsn_user where id="&id
       Set rs= Server.CreateObject("ADODB.Recordset") 
       rs.open sql,conn,1,1
              if rs.eof or rs.bof then 
              response.write"<SCRIPT language=JavaScript>alert('对不起，没有您要查询的信息！');"
              response.write"javascript:history.go(-1)</SCRIPT>"
              response.end
              else
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../css.css" REL="stylesheet" TYPE="text/css">
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
<script Language="JavaScript"> 
function FormCheck() 
{ 
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 (Form1.advshow.checked==1){
if (trim(document.Form1.username2.value) =="")
{ 
alert("请输入您的昵称！"); 
document.Form1.username2.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>
<body onload=showadv()>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td width="30%" style="font-size:14px;color:#ffffff">&nbsp;<strong><font color="#000000">用户管理</font></strong></td>
    <td width="70%" align="right">&nbsp;</td>
  </tr>
</table>
<table width="95%" border="0" align="center" cellPadding="0" cellSpacing="0" bgColor="#BBD7FF">
  <FORM name="Form1" action="?action=save&id=<%=id%>" method="post">
    <tr>
      <td height="31" colSpan="2" bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
    <tr>
      <td>
        <TABLE cellSpacing=1 cellPadding=2 width="100%" 
            border=0>
          <TBODY>
            <TR bgcolor="#e8f4ff">
              <TD width=100 height="22" align=right noWrap><B><FONT 
                  color=#ff6600><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>会员登录名</FONT>：</B></TD>
              <TD width="512" colspan="2">&nbsp;&nbsp;<%=rs("username")%></TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width=100 height="22" align=right noWrap><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>真实姓名：</B></TD>
              <TD>&nbsp;&nbsp;
                  <input name="name" 
                  class=wenbenkuang value="<%=rs("name")%>" size=22 maxlength=20></TD>
              <TD width="256" rowspan="5"><span class="S"><img id=face src="/ico/<%=rs("face")%>-2.gif"></span></TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width="100" height="10" align=right><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>性别 ：</B></TD>
              <TD class="S">&nbsp;&nbsp;
                  <INPUT name="ch" 
                  type=radio value="先生" <%if rs("ch")="先生" then%>checked<%end if%>>
                  <FONT class=f2>先生 &nbsp;</FONT>
                  <INPUT type=radio value="女士" name="ch" <%if rs("ch")="女士" then%>checked<%end if%>>
                  <FONT 
                  class=f2>女士 &nbsp;</FONT> </TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width="100" height="11" align=right><B>头像 ：</B></TD>
              <TD class="S">&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%>'  <%if rs("face")=i then%>selected<%end if%>><%=i%></option>
                    <%next%>
                </select></TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width="100" height="22" align=right noWrap><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>电子邮箱：</B></TD>
              <TD >&nbsp;&nbsp;
                  <INPUT name="email" class=wenbenkuang value="<%=rs("email")%>" size=30 maxLength=50></TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width="100" height="22" align=right><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>固定电话：</B></TD>
              <TD>&nbsp;&nbsp;
                  <INPUT 
                              name="dh" class=wenbenkuang id="dh2" value="<%=rs("dh")%>" size=13 maxLength=30>
                如05513625300</TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width="100" height="22" align=right><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>地址：</B></TD>
              <TD colspan="2"> <span class="S">&nbsp;&nbsp;</span>
                  <INPUT 
                        name="address" class="wenbenkuang" title=请补充后面的详细街道地址 value="<%=rs("address")%>" size=35 maxLength=100>
                填写县（区）、街道、门牌号</TD>
            </TR>
            <TR vAlign=top bgcolor="#FFFFFF">
              <TD width="100" height="22" align=right><B>手机：</B></TD>
              <TD colspan="2">&nbsp;&nbsp;
                  <INPUT 
                  name="mobile" class="wenbenkuang" value="<%=rs("mobile")%>" size=34 maxLength=15></TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width="100" height="22" align=right><B>邮政编码：</B></TD>
              <TD colspan="2">&nbsp;&nbsp;
                  <INPUT 
                  name="post" class="wenbenkuang" value="<%=rs("post")%>" size=34 maxLength=10></TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width=100 height="10" align=right><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>主页名称：</B></TD>
              <TD colspan="2"> &nbsp;&nbsp;
                  <INPUT name="homename" 
                  class=wenbenkuang id="homename2" value="<%=rs("homename")%>" size=35 maxLength=50>
              </TD>
            </TR>
            <TR bgcolor="#FFFFFF">
              <TD width=100 height="11" align=right><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>用户银两：</B></TD>
              <TD colspan="2">&nbsp;&nbsp;
              <INPUT name="jifen" 
                  class=wenbenkuang id="homename" value="<%=rs("jifen")%>" size=35 maxLength=50></TD>
            </TR>
			 <TR bgcolor="#FFFFFF">
              <TD width=100 height="11" align=right><B><span class="font_11"><IMG hspace="3" src="/img/regent2.gif" align="absMiddle"></span>预存款：</B></TD>
              <TD colspan="2">&nbsp;&nbsp;
              <INPUT name="jine" 
                  class=wenbenkuang id="jine" value="<%=rs("jine")%>" size=35 maxLength=50></TD>
            </TR>
          </TBODY>
        </TABLE>
        <table width="100%"  border="0" align="center" cellpadding="2" cellspacing="1">
          <tr bgcolor="#e8f4ff">
            <td height="25" colspan="2"><%
					  set rs111=server.createobject("adodb.recordset")
rs111.open"select * from snsn_user1 where username='"&rs("username")&"'",conn,1,3
%>
&nbsp;&nbsp;&nbsp;<span class="style1"><strong>是否加入交友中心</strong></span>
              <%if rs111.eof then%>
              <INPUT id=advcheck name=advshow type=checkbox value=1 onclick=showadv()>
              <%else%>
              <INPUT name=advshow type=checkbox id=advcheck onclick=showadv() value=1 checked  disabled>
              <%end if%>
              <input name="yesok" type="hidden" id="yesok" value="<%if not rs111.eof then%>ok<%end if%>">
              (建议选择)</td>
          </tr>
          <tbody id="dhs1" >
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>昵称：</strong></td>
              <td width="512">&nbsp;&nbsp;
                  <input name="username2" type="text" id="username2" class="wenbenkuang" value="<%if not rs111.eof then%><%=rs111("username2")%><%end if%>" maxlength="30"></td>
            </tr>
            <% if rs111.eof then%>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>生日：</strong></td>
              <td>&nbsp;&nbsp;
                  <select name=byear size=1 class="wenbenkuang">
                    <option selected    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>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=bmonth size=1 class="wenbenkuang">
                  <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=bday 
                              size=1 class="wenbenkuang">
                  <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;<span class="style1">（不可修改）</span></td>
            </tr>
            <%end if%>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>交友对象：</strong></td>
              <td>&nbsp;&nbsp;
                  <select name=friend_object size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option value="<%=rs111("friend_object")%>"><%=rs111("friend_object")%></option>
                    <%end if %>
                    <option value=都可以>都可以</option>
                    <option value=男 >男</option>
                    <option  value=女>女</option>
                </select></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>交友类型：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=relation size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("relation")%>"><%=rs111("relation")%></option>
                    <%end if %>
                    <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>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>婚姻状况：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=martial size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("martial")%>"><%=rs111("martial")%></option>
                    <%end if %>
                    <OPTION value="未婚">未婚</OPTION>
                    <OPTION  value=已婚>已婚</OPTION>
                    <OPTION 
                                value=分居>分居</OPTION>
                    <OPTION 
                                value=离异>离异</OPTION>
                    <OPTION 
                                value=丧偶>丧偶</OPTION>
                </SELECT></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>工作状况：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=work_status size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("work_status")%>"><%=rs111("work_status")%></option>
                    <%end if %>
                    <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>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>职业类别：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=job size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("job")%>"><%=rs111("job")%></option>
                    <%end if %>
                    <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>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>职业头衔：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=jobtitle size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("jobtitle")%>"><%=rs111("jobtitle")%></option>
                    <%end if %>
                    <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>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>住房情况：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=house size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("house")%>"><%=rs111("house")%></option>
                    <%end if %>
                    <OPTION 
                                value="保密">保密</OPTION>
                    <OPTION value=有自己的房子>有自己的房子</OPTION>
                    <OPTION value=住单位的房子>住单位的房子</OPTION>
                    <OPTION  value=与父母同住>与父母同住</OPTION>
                    <OPTION value=结婚时可买房>结婚时可买房</OPTION>
                    <OPTION value=暂时租房>暂时租房</OPTION>
                    <OPTION  value=住集体宿舍>住集体宿舍</OPTION>
                </SELECT></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>生肖：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=shengxiao size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("shengxiao")%>"><%=rs111("shengxiao")%></option>
                    <%end if %>
                    <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>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>星座：&nbsp;</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=constellation size=1 class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("constellation")%>"><%=rs111("constellation")%></option>
                    <%end if %>
                    <OPTION 
                                value="保密">保密</OPTION>
                    <OPTION 
                                value=白羊座(03.21-04.19)>白羊座(03.21-04.19)</OPTION>
                    <OPTION 
                                value=金牛座(04.20-05.20)>金牛座(04.20-05.20)</OPTION>
                    <OPTION 
                                value=双子座(05.21-06.21)>双子座(05.21-06.20)</OPTION>
                    <OPTION 
                                value=巨蟹座(06.21-07.22)>巨蟹座(06.21-07.22)</OPTION>
                    <OPTION 
                                value=狮子座(07.23-08.22)>狮子座(07.23-08.22)</OPTION>
                    <OPTION
                                value=处女座(08.23-09.22)>处女座(08.23-09.22)</OPTION>
                    <OPTION 
                                value=天秤座(09.23-10.22)>天秤座(09.23-10.22)</OPTION>
                    <OPTION 
                                value=天蝎座(10.23-11.21)>天蝎座(10.23-11.21)</OPTION>
                    <OPTION 
                                value=射手座(11.22-12.21)>射手座(11.22-12.21)</OPTION>
                    <OPTION 
                                value=摩羯座(12.22-01.19)>摩羯座(12.22-01.19)</OPTION>
                    <OPTION 
                                value=水瓶座(01.20-02.18)>水瓶座(01.20-02.18)</OPTION>
                    <OPTION 
                                value=双鱼座(02.19-03.20)>双鱼座(02.19-03.20)</OPTION>
                </SELECT></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>血型：&nbsp;</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=xuexing size=1 id="xuexing" class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("xuexing")%>"><%=rs111("xuexing")%></option>
                    <%end if %>
                    <OPTION 
                                value="保密">保密</OPTION>
                    <OPTION 
                                value=A型>A型</OPTION>
                    <OPTION 
                                value=B型>B型</OPTION>
                    <OPTION 
                                value=AB型>AB型</OPTION>
                    <OPTION 
                                value=O型>O型</OPTION>
                </SELECT></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>身高：</strong></td>
              <td>&nbsp;&nbsp;
                  <input name="shengao" type="text" class="wenbenkuang" id="shengao" value="<% if not rs111.eof then%><%=rs111("shengao")%><%end if%>" size="5" maxlength="5" onkeypress="return event.keyCode>=46&&event.keyCode<=57">
                (cm)</td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>体重：&nbsp;</strong></td>
              <td>&nbsp;&nbsp;
                  <input name="tizhong" type="text" class="wenbenkuang" id="tizhong" value="<% if not rs111.eof then%><%=rs111("tizhong")%><%end if%>" size="5" maxlength="5" onkeypress="return event.keyCode>=46&&event.keyCode<=57">
                (kg)</td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>平均月收入：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=shouru size=1 id="shouru" class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("shouru")%>"><%=rs111("shouru")%></option>
                    <%end if %>
                    <OPTION 
                                value="保密">保密</OPTION>
                    <OPTION 
              value=RMB1000以下>RMB1000以下</OPTION>
                    <OPTION 
              value=RMB1000-2000>RMB1000-2000</OPTION>
                    <OPTION 
              value=RMB2000-3500>RMB2000-3500</OPTION>
                    <OPTION 
              value=RMB3500-5000>RMB3500-5000</OPTION>
                    <OPTION 
              value=RMB5000-7500>RMB5000-7500</OPTION>
                    <OPTION 
              value=RMB7500-10000>RMB7500-10000</OPTION>
                    <OPTION 
              value=RMB10000以上>RMB10000以上</OPTION>
                </SELECT></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>学历：</strong></td>
              <td>&nbsp;&nbsp;
                  <SELECT name=xueli size=1 id="xueli" class="wenbenkuang">
                    <% if not rs111.eof then%>
                    <option selected value="<%=rs111("xueli")%>"><%=rs111("xueli")%></option>
                    <%end if %>
                    <OPTION value="保密">保密</OPTION>
                    <OPTION 
                                value=初中>初中</OPTION>
                    <OPTION 
                                value=高中>高中</OPTION>
                    <OPTION 
                                value=专科>专科</OPTION>
                    <OPTION 
                                value=本科>本科</OPTION>
                    <OPTION 
                                value=硕士>硕士</OPTION>
                    <OPTION 
                                value=博士>博士</OPTION>
                    <OPTION value=7>其它</OPTION>
                </SELECT></td>
            </tr>
            <tr bgcolor="#FFFFFF">
              <td width="100" height="22" align="right"><strong>显示联系方式：</strong></td>
              <td>&nbsp;&nbsp;
                  <%if not rs111.eof then%>
                  <input name="xianshi" type="radio" value="1" <% if  rs111("xianshi")=1 then%> checked <%end if%>>
                是
                <input type="radio" name="xianshi" value="0" <% if  rs111("xianshi")=0 then%> checked <%end if%>>
                否
                <%else%>
                <input name="xianshi" type="radio" value="1"  checked >
                是
                <input type="radio" name="xianshi" value="0" >
                否
                <%end if%></td>
            </tr>
          </tbody>
      </table></TD>
    </TR>
    <tr bgColor="#ffffff">
      <td height="32" colSpan="2">
        <table cellSpacing="1" cellPadding="2" width="100%" align="center" border="0">
          <tr>
            <td height="23" class="font_11">
                <input name=Next type="button" class="go-wenbenkuang" onClick="FormCheck()" value=看过并同意服务条款！确认提交>
                &nbsp;&nbsp;
                <input name="IacceptCheck" type="checkbox" id="IacceptCheck2" value="1" checked="checked" / DISABLED>
              我接受&nbsp; [<FONT align="center"><B><%=webname%></B></FONT>平台用户协议]
              
</td>
          </tr>
      </table></td>
    </tr>
  </form>
</table>
<%end if
end if%>
</body>
</html>
<script language=javascript>
						function showadv(){
						if (Form1.advshow.checked==1){
						dhs1.style.display=""}else{
						dhs1.style.display="none"
						}
						
						}
						</script>
						