<!--#include file="../main.asp" -->
<!--#include file="../IsLogin.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>管理中心-这里是所有管理的入口</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/global.css" type=text/css rel=stylesheet><LINK 
href="images/main.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY id=main background="../images/bj.gif">
<%
 dim rs,mSql
 dim mUserID
 mUserID = Request.Cookies("aspxnet")("CurUserID")
 m_username=Request.Cookies("aspxnet")("CurUsername")
 'Read
 mSql = "SELECT * FROM T_Member WHERE F_ID="&mUserID
 Set rs = conn.Execute(mSql)
 if Not rs.Eof then 
 pic=rs("T_pic")
   coname=rs("F_coname")
   mUserName = rs("F_UserName")
   mRealName = rs("F_RealName")
   mSex = rs("F_Sex")
   mIDCard = rs("F_IDCard")
   mAddress = rs("F_Address")
   mZipcode = rs("F_Zipcode")
   mCorp = rs("F_Corp")
   mCorpTel = rs("F_CorpTel")
   mCorpAddress = rs("F_CorpAddress")
   mBirthday = rs("F_Birthday")
   mTel = rs("F_Tel")
   mMobile = rs("F_Mobile")
   mPas = rs("F_Pas")
   mEmail = rs("F_Email")
   mGrade = rs("F_Grade")

   mQuestion = rs("F_Question")
   mAnswer = rs("F_Answer")
   mMyImage = rs("F_MyImage")
   mMemo = rs("F_Memo")
    mqq = rs("F_qq")
   mNation = rs("F_Nation")
   mBlood = rs("F_Blood")
   mStar = rs("F_Star")
   mArea = rs("F_Area")
   mEdu = rs("F_Edu")
   mMarry = rs("F_Marry")
   mErealname = rs("F_Erealname")
   mWeight = rs("F_Weight")
   mHeight = rs("F_Height")
   mMotive = rs("F_Motive")
   mLanguage = rs("F_Language")
   F_ypaddone=rs("F_ypaddone")
   F_ypaddtwo=rs("F_ypaddtwo")
 Else
   Response.Write "对不起，操作有误，请重新登陆！"
   Response.End()
 End if
 rs.Close
 
 'Write
 if Request.ServerVariables("REQUEST_METHOD")="POST" then
if request("addone_id")="" then
addone=request("addone_")
addtwo=request("addtwo_")
else
addone=request("addone_id")
addtwo=request("addtwo_id")

end if
   coname=checkStr(Trim(Request.Form("coname")))
   mQuestion = checkStr(Trim(Request.Form("txtQuestion")))
   mAnswer = checkStr(Trim(Request.Form("txtAnswer")))
   mMyImage  = Request.Form("selMyImage")
   mRealName = checkStr(Trim(Request.Form("txtRealName")))
   mSex = checkStr(Trim(Request.Form("radSex")))
   if mSex="" then mSex = "1"
   mIDCard = checkStr(Trim(Request.Form("txtIDCard")))
   mBirthday = checkStr(Trim(Request.Form("bornyear")))&"-"&checkStr(Trim(Request.Form("bornmonth")))&"-"&checkStr(Trim(Request.Form("bornday")))
   mAddress = checkStr(Trim(Request.Form("txtAddress")))
   mZipcode = checkStr(Trim(Request.Form("txtZipcode")))
   mEmail = checkStr(Trim(Request.Form("txtEmail")))
   mCorp = checkStr(Trim(Request.Form("txtCorp")))
   mCorpTel = checkStr(Trim(Request.Form("txtCorpTel")))
   mCorpAddress = checkStr(Trim(Request.Form("txtCorpAddress")))
   mTel = checkStr(Trim(Request.Form("txtTel")))
   mMobile = checkStr(Trim(Request.Form("txtMobile")))
   mPas = checkStr(Trim(Request.Form("txtPas")))
   mMemo = checkStr(rTrim(Request.Form("txtMemo")))
   mqq=checkStr(rTrim(Request.Form("qq")))
   	 mNation=checkStr(rTrim(Request.Form("nation")))
	 mblood=checkStr(rTrim(Request.Form("blood")))
	 mErealname=checkStr(rTrim(Request.Form("erealname")))
	 mStar=checkStr(rTrim(Request.Form("star")))
	 mArea=checkStr(rTrim(Request.Form("area")))
	 mEdu=checkStr(rTrim(Request.Form("edu")))
	 mMarry=checkStr(rTrim(Request.Form("marry")))
	 mHeight=checkStr(rTrim(Request.Form("height")))
	 mWeight=checkStr(rTrim(Request.Form("weight")))
	 mLanguage=checkStr(rTrim(Request.Form("language")))
	  mmotive=checkStr(rTrim(Request.Form("motive")))
   
   mSql = "UPDATE T_Member SET"
   mSql = mSql+" F_Answer='"&mAnswer&"',"
   mSql = mSql+" F_Question='"&mQuestion&"',"
   mSql = mSql+" F_RealName='"&mRealName&"',"
   mSql = mSql+" F_coname='"&coname&"',"
   mSql = mSql+" F_MyImage='"&mMyImage&"',"
   mSql = mSql+" F_Sex="&mSex&","
   mSql = mSql+" F_IDCard='"&mIDCard&"',"
   mSql = mSql+" F_Birthday='"&mBirthday&"',"
   mSql = mSql+" F_Address='"&mAddress&"',"
   mSql = mSql+" F_Zipcode='"&mZipcode&"',"

   mSql = mSql+" F_Corp='"&mCorp&"'," 
   mSql = mSql+" F_Email='"&mEmail&"'," 
   mSql = mSql+" F_CorpAddress='"&mCorpAddress&"'," 
   mSql = mSql+" F_CorpTel='"&mCorpTel&"'," 
   
   	 
     mSql = mSql+" F_erealname='"&merealname&"'," 
	 mSql = mSql+" F_nation='"&mnation&"'," 
	 mSql = mSql+" F_qq='"&mqq&"'," 
	  mSql = mSql+" F_blood='"&mblood&"'," 
	 mSql = mSql+" F_star='"&mstar&"'," 
	 mSql = mSql+" F_area='"&marea&"'," 
	 mSql = mSql+" F_edu='"&medu&"'," 
	 mSql = mSql+" F_marry='"&mmarry&"'," 
	 mSql = mSql+" F_height="&mheight&"," 
	 mSql = mSql+" F_weight="&mweight&","  
	 mSql = mSql+" F_language='"&mlanguage&"',"
	 mSql = mSql+" F_motive='"&mmotive&"',"
	 mSql = mSql+" F_ypaddone='"&addone&"',"
	 mSql = mSql+" F_ypaddtwo='"&addtwo&"',"

   mSql = mSql+" F_Tel='"&mTel&"'," 
   mSql = mSql+" F_Mobile='"&mMobile&"'," 
   mSql = mSql+" F_Pas='"&mPas&"'," 
   mSql = mSql+" F_Memo='"&mMemo&"'" 
   mSql = mSql +" WHERE F_ID=" & mUserID 

   conn.execute(mSql)
   Call CloseDatabase()
   call MsgBox("祝贺您，资料保存成功!","Modify.asp")
 End if
%>
<DIV id=wrapper>
<!--#include file="top.asp"-->
<DIV class=row>
<!--#include file="left.asp"-->
<DIV class=right_side>
<DIV class=col id=bulletin>
<DIV class=col_head>
<H3><IMG height=16 alt=a hspace=3 src="images/ico_dots.gif" 
width=20 align=left vspace=3>修改个人信息</H3>
</DIV>
<DIV class=col_body><P>
<TABLE width=99% border=1 align="center" cellPadding=2 cellSpacing=1 borderColor=#B5DFDE 
      >
                <TBODY>
                <form name="thisForm" method="post" action="Modify.asp">
				<input name="addone_" type="hidden" value="<%=F_ypaddone%>">
                <input name="addtwo_" type="hidden" value="<%=F_ypaddtwo%>">
                  <TR> 
				 
                    <TD height="22" align=right bgColor=#ffffff><span class="STYLE2"> 用 户 名： </span></TD>
                    <TD colSpan=2 align=left bgColor=#ffffff><span class="STYLE2"><b><%=mUserName%></b></span></TD>
                  </TR>
                  <TR>
                    <TD height="22" align=right bgColor=#ffffff><span class="STYLE2">主页名称： </span></TD>
                    <TD align=left bgColor=#ffffff><input name=coname class="text " id="coname" value="<%=coname%>" size=30 maxlength=20></TD>
                    <TD width="21%" rowspan="6" align=center bgColor=#ffffff><table width="85%" height="110" border="0" cellpadding="0" cellspacing="1" bgcolor="#333333">
                      <tr> 
                        <td align="center" bgcolor="#FFFFFF" class="STYLE2"><font class=cha2> 
                          <img src="../<%=pic%>"  alt=个人形象代表 name="MyImage" width="105" height="97" id=MyImage ></font></td>
                      </tr>
                    </table></TD>
                  </TR>
                  <TR> 
                    <TD height="22" align=right bgColor=#ffffff><span class="STYLE2">密码问题：</span></TD>
                    <TD align=left bgColor=#D6E8EC><input name=txtQuestion class="text " value="<%=mQuestion%>" size=18 maxlength=20></TD>
                  </TR>
                  <TR> 
                    <TD height="22" align=right bgColor=#ffffff><span class="STYLE2">问题答案：</span></TD>
                    <TD align=left bgColor=#ffffff><input name=txtAnswer class="text " value="<%=mAnswer%>" size=18 maxlength=20></TD>
                  </TR>
                  <TR> 
                    <TD height="22" align=right bgcolor="#ffffff"><span class="STYLE2">电子邮件：</span></TD>
                    <TD align=left bgcolor="#ffffff"><input name=txtEmail class="text " value="<%=mEmail%>" size=18 maxlength=20></TD>
                  </TR>
                  <TR> 
                    <TD height="22" align=right bgColor=#ffffff><span class="STYLE2">真实姓名：</span></TD>
                    <TD align=left bgColor=#ffffff><span class="STYLE2">
                    <input name=txtRealName class="text" value="<%=mRealName%>" size=18 maxlength=20>
                    　　性别： 
                    <input name=radSex type=radio value=1 <%if mSex="1" then Response.Write "checked"%>>
                    男 
                    <input name=radSex type=radio value=0 <%if mSex="0" then Response.Write "checked"%>>
                    女 </span></TD>
                  </TR>
                  <TR> 
                    <TD width=12% height=22 align=right bgcolor="#ffffff"><span class="STYLE2">英文名：</span></TD>
                    <TD align=left bgcolor="#ffffff"><input name=erealname id="erealname" value="<%=merealName%>" size=18 maxlength=20 ></TD>
                  </TR>
                  <TR> 
                    <TD width=11% height=22 align=right bgcolor="#ffffff"><span class="STYLE2">出生日期：</span></TD>
                    <TD height=7 align=left bgcolor="#ffffff"> <span class="STYLE2">
                      <select 
      name=bornyear style="BACKGROUND-COLOR: #f2f2f2; WIDTH: 55px">
                        <% 
						if mBirthday<>"" then 
						m_bornyear=cstr(year(mBirthday))
						m_bornmonth=cstr(month(mBirthday))
						m_bornday=cstr(day(mbirthday))
						else
					    m_bornyear=""
						m_bornmonth=""
						m_bornday=""
						end if
						%>
                       
                        <option value=1960 <% if m_bornyear="1960" then %>selected<% end if %>>1960</option>
                        <option value=1961 <% if m_bornyear="1961" then %>selected<% end if %>>1961</option>
                        <option value=1962 <% if m_bornyear="1962" then %>selected<% end if %>>1962</option>
                        <option value=1963 <% if m_bornyear="1963" then %>selected<% end if %>>1963</option>
                        <option value=1964 <% if m_bornyear="1964" then %>selected<% end if %>>1964</option>
                        <option value=1965 <% if m_bornyear="1965" then %>selected<% end if %>>1965</option>
                        <option value=1966 <% if m_bornyear="1966" then %>selected<% end if %>>1966</option>
                        <option value=1967 <% if m_bornyear="1967" then %>selected<% end if %>>1967</option>
                        <option value=1968 <% if m_bornyear="1968" then %>selected<% end if %>>1968</option>
                        <option value=1969 <% if m_bornyear="1969" then %>selected<% end if %>>1969</option>
                        <option value=1970 <% if m_bornyear="1970" then %>selected<% end if %>>1970</option>
                        <option value=1971 <% if m_bornyear="1971" then %>selected<% end if %>>1971</option>
                        <option value=1972 <% if m_bornyear="1972" then %>selected<% end if %>>1972</option>
                        <option value=1973 <% if m_bornyear="1973" then %>selected<% end if %>>1973</option>
                        <option value=1974 <% if m_bornyear="1974" then %>selected<% end if %>>1974</option>
                        <option value=1975 <% if m_bornyear="1975" then %>selected<% end if %>>1975</option>
                        <option value=1976 <% if m_bornyear="1976" then %>selected<% end if %>>1976</option>
                        <option value=1977 <% if m_bornyear="1977" then %>selected<% end if %>>1977</option>
                        <option value=1978 <% if m_bornyear="1978" then %>selected<% end if %>>1978</option>
                        <option value=1979 <% if m_bornyear="1979" then %>selected<% end if %>>1979</option>
                        <option value=1980 <% if m_bornyear="1980" then %>selected<% end if %>>1980</option>
                        <option value=1981 <% if m_bornyear="1981" then %>selected<% end if %>>1981</option>
                        <option value=1982 <% if m_bornyear="1982" then %>selected<% end if %>>1982</option>
                        <option value=1983 <% if m_bornyear="1983" then %>selected<% end if %>>1983</option>
                        <option value=1984 <% if m_bornyear="1984" then %>selected<% end if %>>1984</option>
                        <option value=1985 <% if m_bornyear="1985" then %>selected<% end if %>>1985</option>
                        <option value=1986 <% if m_bornyear="1986" then %>selected<% end if %>>1986</option>
                        <option value=1987 <% if m_bornyear="1987" then %>selected<% end if %>>1987</option>
                        <option value=1988 <% if m_bornyear="1988" then %>selected<% end if %>>1988</option>
                        <option value=1989 <% if m_bornyear="1989" then %>selected<% end if %>>1989</option>
                        <option value=1990 <% if m_bornyear="1990" then %>selected<% end if %>>1990</option>
                        <option value=1991 <% if m_bornyear="1991" then %>selected<% end if %>>1991</option>
                        <option value=1992 <% if m_bornyear="1992" then %>selected<% end if %>>1992</option>
                        <option value=1993 <% if m_bornyear="1993" then %>selected<% end if %>>1993</option>
                        <option value=1994 <% if m_bornyear="1994" then %>selected<% end if %>>1994</option>
                        <option value=1995 <% if m_bornyear="1995" then %>selected<% end if %>>1995</option>
                        <option value=1996 <% if m_bornyear="1996" then %>selected<% end if %>>1996</option>
                        <option value=1997 <% if m_bornyear="1997" then %>selected<% end if %>>1997</option>
                        <option value=1998 <% if m_bornyear="1998" then %>selected<% end if %>>1998</option>
                        <option value=1999 <% if m_bornyear="1999" then %>selected<% end if %>>1999</option>
                        <option value=2000 <% if m_bornyear="2000" then %>selected<% end if %>>2000</option>
						<option value=2001 <% if m_bornyear="2001" then %>selected<% end if %>>2001</option>
                        <option value=2002 <% if m_bornyear="2002" then %>selected<% end if %>>2002</option>
                        <option value=2003 <% if m_bornyear="2003" then %>selected<% end if %>>2003</option>
                        <option value=2004 <% if m_bornyear="2004" then %>selected<% end if %>>2004</option>
                        <option value=2005 <% if m_bornyear="2005" then %>selected<% end if %>>2005</option>
                        <option value=2006 <% if m_bornyear="2006" then %>selected<% end if %>>2006</option>
                        <option value=2007 <% if m_bornyear="2007" then %>selected<% end if %>>2007</option>
                        <option value=2008 <% if m_bornyear="2008" then %>selected<% end if %>>2008</option>
                        <option value=2009 <% if m_bornyear="2009" then %>selected<% end if %>>2009</option>
                        <option value=2010 <% if m_bornyear="2010" then %>selected<% end if %>>2010</option>
                      </select>
                    年 
                    <select name=bornmonth 
      style="BACKGROUND-COLOR: #f2f2f2; WIDTH: 40px">
                      <option value=1 <% if m_bornmonth="1" then %>selected<% end if %>>1</option>
                      <option value=2 <% if m_bornmonth="2" then %>selected<% end if %>>2</option>
                      <option value=3 <% if m_bornmonth="3" then %>selected<% end if %>>3</option>
                      <option value=4 <% if m_bornmonth="4" then %>selected<% end if %>>4</option>
                      <option value=5 <% if m_bornmonth="5" then %>selected<% end if %>>5</option>
                      <option value=6 <% if m_bornmonth="6" then %>selected<% end if %>>6</option>
                      <option value=7 <% if m_bornmonth="7" then %>selected<% end if %>>7</option>
                      <option value=8 <% if m_bornmonth="8" then %>selected<% end if %>>8</option>
                      <option value=9 <% if m_bornmonth="9" then %>selected<% end if %>>9</option>
                      <option value=10 <% if m_bornmonth="10" then %>selected<% end if %>>10</option>
                      <option value=11 <% if m_bornmonth="11" then %>selected<% end if %>>11</option>
                      <option value=12 <% if m_bornmonth="12" then %>selected<% end if %>>12</option>
                    </select>
                    月 
                    <select 
      name=bornday style="BACKGROUND-COLOR: #f2f2f2; WIDTH: 40px">
                      <option value=1 <% if m_bornday="1" then %>selected<% end if %>>1</option>
                      <option value=2 <% if m_bornday="2" then %>selected<% end if %>>2</option>
                      <option value=3 <% if m_bornday="3" then %>selected<% end if %>>3</option>
                      <option value=4 <% if m_bornday="4" then %>selected<% end if %>>4</option>
                      <option value=5 <% if m_bornday="5" then %>selected<% end if %>>5</option>
                      <option value=6 <% if m_bornday="6" then %>selected<% end if %>>6</option>
                      <option value=7 <% if m_bornday="7" then %>selected<% end if %>>7</option>
                      <option value=8 <% if m_bornday="8" then %>selected<% end if %>>8</option>
                      <option value=9 <% if m_bornday="9" then %>selected<% end if %>>9</option>
                      <option value=10 <% if m_bornday="10" then %>selected<% end if %>>10</option>
                      <option value=11 <% if m_bornday="11" then %>selected<% end if %>>11</option>
                      <option value=12 <% if m_bornday="12" then %>selected<% end if %>>12</option>
                      <option value=13 <% if m_bornday="13" then %>selected<% end if %>>13</option>
                      <option value=14 <% if m_bornday="14" then %>selected<% end if %>>14</option>
                      <option value=15 <% if m_bornday="15" then %>selected<% end if %>>15</option>
                      <option value=16 <% if m_bornday="16" then %>selected<% end if %>>16</option>
                      <option value=17 <% if m_bornday="17" then %>selected<% end if %>>17</option>
                      <option value=18 <% if m_bornday="18" then %>selected<% end if %>>18</option>
                      <option value=19 <% if m_bornday="19" then %>selected<% end if %>>19</option>
                      <option value=20 <% if m_bornday="20" then %>selected<% end if %>>20</option>
                      <option value=21 <% if m_bornday="21" then %>selected<% end if %>>21</option>
                      <option value=22 <% if m_bornday="22" then %>selected<% end if %>>22</option>
                      <option value=23 <% if m_bornday="23" then %>selected<% end if %>>23</option>
                      <option value=24 <% if m_bornday="24" then %>selected<% end if %>>24</option>
                      <option value=25 <% if m_bornday="25" then %>selected<% end if %>>25</option>
                      <option value=26 <% if m_bornday="26" then %>selected<% end if %>>26</option>
                      <option value=27 <% if m_bornday="27" then %>selected<% end if %>>27</option>
                      <option value=28 <% if m_bornday="28" then %>selected<% end if %>>28</option>
                      <option value=29 <% if m_bornday="29" then %>selected<% end if %>>29</option>
                      <option value=30 <% if m_bornday="30"then %>selected<% end if %>>30</option>
                      <option value=31 <% if m_bornday="31" then %>selected<% end if %>>31</option>
                    </select>
                    日 </span></TD>
                    <TD height=7 align=center bgcolor="#ffffff"><a href="image.asp" class="STYLE2">重新上传个人照片</a></TD>
                  </TR>
                  <TR> 
                    <TD width=11% height=22 align=right bgcolor="#ffffff"><span class="STYLE2">血　型：</span></TD>
                    <TD height=13 colSpan=2 align=left bgcolor="#ffffff"><span style="font-size: 9pt">
                      <select 
      name=blood style="BACKGROUND-COLOR: #f2f2f2; WIDTH: 90px">
                        <option 
        selected value=A <% if mblood="A" then %>selected<% end if %>>A</option>
                        <option value=B <% if mblood="B" then %>selected<% end if %>>B</option>
                        <option value=AB <% if mblood="AB" then %>selected<% end if %>>AB</option>
                        <option value=O <% if mblood="O" then %>selected<% end if %>>O</option>
                        <option value=其他 <% if mblood="其他" then %>selected<% end if %>>其他</option>
                        <option value=不知道 <% if mblood="不知道" then %>selected<% end if %>>不知道</option>
                      </select>
                    星 座： 
                    <select name=star style="BACKGROUND-COLOR: #f2f2f2; WIDTH: 190px">
                      <option value=白羊座 <% if mstar="白羊座" then %>selected<% end if %>>白羊座（3月21日-4月19日）</option>
                      <option value=金牛座 <% if mstar="金牛座" then %>selected<% end if %>>金牛座（4月20日-5月20日）</option>
                      <option value=双子座 <% if mstar="双子座" then %>selected<% end if %>>双子座（5月21日-6月20日）</option>
                      <option value=巨蟹座 <% if mstar="巨蟹座" then %>selected<% end if %>>巨蟹座（6月21日-7月21日）</option>
                      <option value=狮子座 <% if mstar="狮子座" then %>selected<% end if %>>狮子座（7月22日-8月22日）</option>
                      <option value=处女座 <% if mstar="处女座" then %>selected<% end if %>>处女座（8月23日-9月22日）</option>
                      <option value=天秤座 <% if mstar="天秤座" then %>selected<% end if %>>天秤座（9月23日-10月22日）</option>
                      <option value=天蝎座 <% if mstar="天蝎座" then %>selected<% end if %>>天蝎座（10月23日-11月21日）</option>
                      <option value=射手座 <% if mstar="射手座" then %>selected<% end if %>>射手座（11月22日-12月21日）</option>
                      <option value=摩羯座 <% if mstar="摩羯座" then %>selected<% end if %>>摩羯座（12月22日-1月19日）</option>
                      <option value=水瓶座 <% if mstar="水瓶座" then %>selected<% end if %>>水瓶座（1月20日-2月18日）</option>
                      <option value=双鱼座 <% if mstar="双鱼座" then %>selected<% end if %>>双鱼座（2月19日-3月20日）</option>
                    </select>
                    </span></TD>
                  </TR>
                  <TR bgcolor="#FFFFFF"> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">民　族：</span></TD>
                    <TD height=13 colSpan=2 align=left bgcolor="#ffffff"> <span class="STYLE2">
                      <select 
      name=nation style="BACKGROUND-COLOR: #ffffff; WIDTH: 100px">
                        <option value=汉族  <% if mnation="汉族" then %>selected<% end if %>>汉族</option>
                        <option value=蒙古族 <% if mnation="蒙古族" then %>selected<% end if %>>蒙古族</option>
                        <option value=回族 <% if mnation="回族" then %>selected<% end if %>>回族</option>
                        <option value=藏族 <% if mnation="藏族" then %>selected<% end if %>>藏族</option>
                        <option value=维吾尔族 <% if mnation="维吾尔族" then %>selected<% end if %>>维吾尔族</option>
                        <option value=苗族 <% if mnation="苗族" then %>selected<% end if %>>苗族</option>
                        <option value=彝族 <% if mnation="彝族" then %>selected<% end if %>>彝族</option>
                        <option value=壮族 <% if mnation="壮族" then %>selected<% end if %>>壮族</option>
                        <option value=布依族 <% if mnation="布依族" then %>selected<% end if %>>布依族</option>
                        <option value=朝鲜族 <% if mnation="朝鲜族" then %>selected<% end if %>>朝鲜族</option>
                        <option value=满族 <% if mnation="满族" then %>selected<% end if %>>满族</option>
                        <option value=侗族 <% if mnation="侗族" then %>selected<% end if %>>侗族</option>
                        <option value=瑶族 <% if mnation="瑶族" then %>selected<% end if %>>瑶族</option>
                        <option value=白族 <% if mnation="白族" then %>selected<% end if %>>白族</option>
                        <option value=土家族 <% if mnation="土家族" then %>selected<% end if %>>土家族</option>
                        <option value=哈尼族 <% if mnation="哈尼族" then %>selected<% end if %>>哈尼族</option>
                        <option value=哈萨克族 <% if mnation="哈萨克族" then %>selected<% end if %>>哈萨克族</option>
                        <option value=傣族 <% if mnation="傣族" then %>selected<% end if %>>傣族</option>
                        <option value=黎族 <% if mnation="黎族" then %>selected<% end if %>>黎族</option>
                        <option value=傈僳族 <% if mnation="傈僳族" then %>selected<% end if %>>傈僳族</option>
                        <option value=佤族 <% if mnation="佤族" then %>selected<% end if %>>佤族</option>
                        <option value=畲族 <% if mnation="畲族" then %>selected<% end if %>>畲族</option>
                        <option value=高山族 <% if mnation="高山族" then %>selected<% end if %>>高山族</option>
                        <option value=拉祜族 <% if mnation="拉祜族" then %>selected<% end if %>>拉祜族</option>
                        <option value=水族 <% if mnation="水族" then %>selected<% end if %>>水族</option>
                        <option value=东乡族 <% if mnation="东乡族" then %>selected<% end if %>>东乡族</option>
                        <option value=纳西族 <% if mnation="纳西族" then %>selected<% end if %>>纳西族</option>
                        <option value=景颇族 <% if mnation="景颇族" then %>selected<% end if %>>景颇族</option>
                        <option value=柯尔克孜族 <% if mnation="柯尔克孜族" then %>selected<% end if %>>柯尔克孜族</option>
                        <option value=土族 <% if mnation="土族" then %>selected<% end if %>>土族</option>
                        <option value=达斡尔族 <% if mnation="达斡尔族" then %>selected<% end if %>>达斡尔族</option>
                        <option value=仫佬族 <% if mnation="仫佬族" then %>selected<% end if %>>仫佬族</option>
                        <option value=羌族 <% if mnation="羌族" then %>selected<% end if %>>羌族</option>
                        <option value=布朗族 <% if mnation="布朗族" then %>selected<% end if %>>布朗族</option>
                        <option value=撒拉族 <% if mnation="撒拉族" then %>selected<% end if %>>撒拉族</option>
                        <option value=毛南族 <% if mnation="毛南族" then %>selected<% end if %>>毛南族</option>
                        <option value=仡佬族 <% if mnation="仡佬族" then %>selected<% end if %>>仡佬族</option>
                        <option value=锡伯族 <% if mnation="锡伯族" then %>selected<% end if %>>锡伯族</option>
                        <option value=阿昌族 <% if mnation="阿昌族" then %>selected<% end if %>>阿昌族</option>
                        <option value=普米族 <% if mnation="普米族" then %>selected<% end if %>>普米族</option>
                        <option value=塔吉克族 <% if mnation="塔吉克族" then %>selected<% end if %>>塔吉克族</option>
                        <option value=怒族 <% if mnation="怒族" then %>selected<% end if %>>怒族</option>
                        <option value=乌孜别克族 <% if mnation="乌孜别克族" then %>selected<% end if %>>乌孜别克族</option>
                        <option value=俄罗斯族 <% if mnation="俄罗斯族" then %>selected<% end if %>>俄罗斯族</option>
                        <option value=鄂温克族 <% if mnation="鄂温克族" then %>selected<% end if %>>鄂温克族</option>
                        <option value=德昂族 <% if mnation="德昂族" then %>selected<% end if %>>德昂族</option>
                        <option value=保安族 <% if mnation="保安族" then %>selected<% end if %>>保安族</option>
                        <option value=裕固族 <% if mnation="裕固族" then %>selected<% end if %>>裕固族</option>
                        <option value=京族 <% if mnation="京族" then %>selected<% end if %>>京族</option>
                        <option value=塔塔尔族 <% if mnation="塔塔尔族" then %>selected<% end if %>>塔塔尔族</option>
                        <option value=独龙族 <% if mnation="独龙族" then %>selected<% end if %>>独龙族</option>
                        <option value=鄂伦春族 <% if mnation="鄂伦春族" then %>selected<% end if %>>鄂伦春族</option>
                        <option value=赫哲族 <% if mnation="赫哲族" then %>selected<% end if %>>赫哲族</option>
                        <option value=门巴族 <% if mnation="门巴族" then %>selected<% end if %>>门巴族</option>
                        <option value=珞巴族 <% if mnation="珞巴族" then %>selected<% end if %>>珞巴族</option>
                        <option value=基诺族 <% if mnation="基诺族" then %>selected<% end if %>>基诺族</option>
                        <option value=其他 <% if mnation="其他" then %>selected<% end if %>>其他</option>
                      </select>
                    　 　　 学 历： 
                    <select name=edu 
      style="BACKGROUND-COLOR: #ffffff; WIDTH: 90px">
                      <option value=高中 <% if medu="高中" then %>selected<% end if %>>高中</option>
                      <option value=中专 <% if medu="中专" then %>selected<% end if %>>中专</option>
                      <option 
        value=大专 <% if medu="大专" then %>selected<% end if %>>大专</option>
                      <option value=本科 <% if medu="本科" then %>selected<% end if %>>本科</option>
                      <option 
        value=硕士 <% if medu="硕士" then %>selected<% end if %>>硕士</option>
                      <option value=博士 <% if medu="博士" then %>selected<% end if %>>博士</option>
                    </select>
                    </span></TD>
                  </TR>
                  <TR> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">身 份 证：</span></TD>
                    <TD height=13 colSpan=2 align=left bgcolor="#ffffff"><span class="STYLE2">
                    <input name="txtIDCard" class="text" value="<%=mIDCard%>" size="18"  maxlength="18">
                    婚姻状况： 
                    <select 
      name=marry style="BACKGROUND-COLOR: #f2f2f2; WIDTH: 90px">
	   <option 
        selected value=保密  <% if mmarry="保密" then %>selected<% end if %>>保密</option>
                      <option 
        selected value=未婚  <% if mmarry="未婚" then %>selected<% end if %>>未婚</option>
                      <option value=已婚  <% if mmarry="已婚" then %>selected<% end if %>>已婚</option>
                      <option 
        value=离异  <% if mmarry="离异" then %>selected<% end if %>>离异</option>
                      <option value=丧偶  <% if mmarry="丧偶" then %>selected<% end if %>>丧偶</option>
                    </select>
                    </span></TD>
                  </TR>
                  <TR bgcolor="#FFFFFF"> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">身 高：</span></TD>
                    <TD height=13 colSpan=2 align=left bgcolor="#ffffff"> <span class="STYLE2">
                      <SELECT 
      name=height style="BACKGROUND-COLOR: #ffffff; WIDTH: 90px">
                        <% if mheight<>"" then %>
                        <OPTION value=<%=mheight%> selected><%=mheight%>cm</OPTION>
                        <% end if %>
                        <OPTION value=130>130cm</OPTION>
                        <OPTION value=131>131cm</OPTION>
                        <OPTION 
        value=132>132cm</OPTION>
                        <OPTION value=133>133cm</OPTION>
                        <OPTION 
        value=134>134cm</OPTION>
                        <OPTION value=135>135cm</OPTION>
                        <OPTION 
        value=136>136cm</OPTION>
                        <OPTION value=137>137cm</OPTION>
                        <OPTION 
        value=138>138cm</OPTION>
                        <OPTION value=139>139cm</OPTION>
                        <OPTION 
        value=140>140cm</OPTION>
                        <OPTION value=141>141cm</OPTION>
                        <OPTION 
        value=142>142cm</OPTION>
                        <OPTION value=143>143cm</OPTION>
                        <OPTION 
        value=144>144cm</OPTION>
                        <OPTION value=145>145cm</OPTION>
                        <OPTION 
        value=146>146cm</OPTION>
                        <OPTION value=147>147cm</OPTION>
                        <OPTION 
        value=148>148cm</OPTION>
                        <OPTION value=149>149cm</OPTION>
                        <OPTION 
        value=150>150cm</OPTION>
                        <OPTION value=151>151cm</OPTION>
                        <OPTION 
        value=152>152cm</OPTION>
                        <OPTION value=153>153cm</OPTION>
                        <OPTION 
        value=154>154cm</OPTION>
                        <OPTION value=155>155cm</OPTION>
                        <OPTION 
        value=156>156cm</OPTION>
                        <OPTION value=157>157cm</OPTION>
                        <OPTION 
        value=158>158cm</OPTION>
                        <OPTION value=159>159cm</OPTION>
                        <OPTION value=160>160cm</OPTION>
                        <OPTION value=161>161cm</OPTION>
                        <OPTION value=162>162cm</OPTION>
                        <OPTION value=163>163cm</OPTION>
                        <OPTION value=164>164cm</OPTION>
                        <OPTION value=165>165cm</OPTION>
                        <OPTION value=166>166cm</OPTION>
                        <OPTION value=167>167cm</OPTION>
                        <OPTION value=168>168cm</OPTION>
                        <OPTION value=169>169cm</OPTION>
                        <OPTION value=170>170cm</OPTION>
                        <OPTION value=171>171cm</OPTION>
                        <OPTION value=172>172cm</OPTION>
                        <OPTION value=173>173cm</OPTION>
                        <OPTION value=174>174cm</OPTION>
                        <OPTION value=175>175cm</OPTION>
                        <OPTION value=176>176cm</OPTION>
                        <OPTION value=177>177cm</OPTION>
                        <OPTION value=178>178cm</OPTION>
                        <OPTION value=179>179cm</OPTION>
                        <OPTION value=180>180cm</OPTION>
                        <OPTION value=181>181cm</OPTION>
                        <OPTION value=182>182cm</OPTION>
                        <OPTION value=183>183cm</OPTION>
                        <OPTION value=184>184cm</OPTION>
                        <OPTION value=185>185cm</OPTION>
                        <OPTION value=186>186cm</OPTION>
                        <OPTION value=187>187cm</OPTION>
                        <OPTION value=188>188cm</OPTION>
                        <OPTION value=189>189cm</OPTION>
                        <OPTION value=190>190cm</OPTION>
                        <OPTION value=191>191cm</OPTION>
                        <OPTION value=192>192cm</OPTION>
                        <OPTION value=193>193cm</OPTION>
                        <OPTION value=194>194cm</OPTION>
                        <OPTION value=195>195cm</OPTION>
                        <OPTION value=196>196cm</OPTION>
                        <OPTION value=197>197cm</OPTION>
                        <OPTION value=198>198cm</OPTION>
                        <OPTION value=199>199cm</OPTION>
                        <OPTION value=200>200cm</OPTION>
                      </SELECT>
                    　 　 　　体重： 
                    <SELECT 
      name=weight style="BACKGROUND-COLOR: #ffffff; WIDTH: 90px">
                      <% if mweight<>"" then %>
                      <OPTION value=<%=mweight%> selected><%=mweight%>cm</OPTION>
                      <% end if %>
                      <OPTION 
        value=40>40kg</OPTION>
                      <OPTION value=41>41kg</OPTION>
                      <OPTION 
        value=42>42kg</OPTION>
                      <OPTION value=43>43kg</OPTION>
                      <OPTION 
        value=44>44kg</OPTION>
                      <OPTION value=45>45kg</OPTION>
                      <OPTION 
        value=46>46kg</OPTION>
                      <OPTION value=47>47kg</OPTION>
                      <OPTION 
        value=48>48kg</OPTION>
                      <OPTION value=49>49kg</OPTION>
                      <OPTION value=50>50kg</OPTION>
                      <OPTION value=51>51kg</OPTION>
                      <OPTION 
        value=52>52kg</OPTION>
                      <OPTION value=53>53kg</OPTION>
                      <OPTION 
        value=54>54kg</OPTION>
                      <OPTION value=55>55kg</OPTION>
                      <OPTION 
        value=56>56kg</OPTION>
                      <OPTION value=57>57kg</OPTION>
                      <OPTION 
        value=58>58kg</OPTION>
                      <OPTION value=59>59kg</OPTION>
                      <OPTION 
        value=60>60kg</OPTION>
                      <OPTION value=61>61kg</OPTION>
                      <OPTION 
        value=62>62kg</OPTION>
                      <OPTION value=63>63kg</OPTION>
                      <OPTION 
        value=64>64kg</OPTION>
                      <OPTION value=65>65kg</OPTION>
                      <OPTION 
        value=66>66kg</OPTION>
                      <OPTION value=67>67kg</OPTION>
                      <OPTION 
        value=68>68kg</OPTION>
                      <OPTION value=69>69kg</OPTION>
                      <OPTION 
        value=70>70kg</OPTION>
                      <OPTION value=71>71kg</OPTION>
                      <OPTION 
        value=72>72kg</OPTION>
                      <OPTION value=73>73kg</OPTION>
                      <OPTION 
        value=74>74kg</OPTION>
                      <OPTION value=75>75kg</OPTION>
                      <OPTION 
        value=76>76kg</OPTION>
                      <OPTION value=77>77kg</OPTION>
                      <OPTION 
        value=78>78kg</OPTION>
                      <OPTION value=79>79kg</OPTION>
                      <OPTION 
        value=80>80kg</OPTION>
                      <OPTION value=81>81kg</OPTION>
                      <OPTION 
        value=82>82kg</OPTION>
                      <OPTION value=83>83kg</OPTION>
                      <OPTION 
        value=84>84kg</OPTION>
                      <OPTION value=85>85kg</OPTION>
                      <OPTION 
        value=86>86kg</OPTION>
                      <OPTION value=87>87kg</OPTION>
                      <OPTION 
        value=88>88kg</OPTION>
                      <OPTION value=89>89kg</OPTION>
                      <OPTION 
        value=90>90kg</OPTION>
                      <OPTION value=91>91kg</OPTION>
                      <OPTION 
        value=92>92kg</OPTION>
                      <OPTION value=93>93kg</OPTION>
                      <OPTION 
        value=94>94kg</OPTION>
                      <OPTION value=95>95kg</OPTION>
                      <OPTION 
        value=96>96kg</OPTION>
                      <OPTION value=97>97kg</OPTION>
                      <OPTION 
        value=98>98kg</OPTION>
                      <OPTION value=99>99kg</OPTION>
                      <OPTION 
        value=100>100kg</OPTION>
                    </SELECT>
                    </span></TD>
                  </TR>
                  <TR> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">语言能力：</span></TD>
                    <TD height=13 colSpan=2 align=left bgcolor="#ffffff"><span class="STYLE2">
                      <INPUT name=language type=checkbox value="普通话" <% if instr(mlanguage,"普通话")<>0 then %>CHECKED <% end if %>>
                      普通话 
                      <INPUT name=language 
      type=checkbox value="重庆话" <% if instr(mlanguage,"重庆话")<>0 then %>CHECKED <% end if %>>
                      重庆话 
                      <INPUT name=language type=checkbox 
      value=粤语  <% if instr(mlanguage,"粤语")<>0 then %>CHECKED <% end if %>>
                      粤语 
                      <INPUT name=language type=checkbox value=闽南话 <% if instr(mlanguage,"闽南话")<>0 then %>CHECKED <% end if %>>
                      闽南话 
                      <INPUT 
      name=language type=checkbox value=上海话 <% if instr(mlanguage,"上海话")<>0 then %>CHECKED <% end if %>>
                      上海话 
                      <INPUT name=language 
      type=checkbox value=湖南话 <% if instr(mlanguage,"湖南话")<>0 then %>CHECKED <% end if %>>
                      湖南话 
                      <INPUT name=language type=checkbox 
      value=四川话 <% if instr(mlanguage,"四川话")<>0 then %>CHECKED <% end if %>>
                      四川话<br>
                      <INPUT name=language type=checkbox value=赣语 <% if instr(mlanguage,"赣语")<>0 then %>CHECKED <% end if %>>
                      赣语 
                      <INPUT 
      name=language type=checkbox value=其他方言 <% if instr(mlanguage,"其他方言")<>0 then %>CHECKED <% end if %>>
                      其他方言 
                      <INPUT name=language 
      type=checkbox value=英语 <% if instr(mlanguage,"英语")<>0 then %>CHECKED <% end if %>>
                      英语 
                      <INPUT name=language type=checkbox 
      value=俄语 <% if instr(mlanguage,"俄语")<>0 then %>CHECKED <% end if %>>
                      俄语 
                      <INPUT name=language type=checkbox value=法语 <% if instr(mlanguage,"法语")<>0 then %>CHECKED <% end if %>>
                      法语 
                      <INPUT 
      name=language type=checkbox value=德语 <% if instr(mlanguage,"德语")<>0 then %>CHECKED <% end if %>>
                      德语 
                      <INPUT name=language type=checkbox 
      value=日语 <% if instr(mlanguage,"日语")<>0 then %>CHECKED <% end if %>>
                      日语 
                      <INPUT name=language type=checkbox value=韩语 <% if instr(mlanguage,"韩语")<>0 then %>CHECKED <% end if %>>
                      韩语<br>
                      <INPUT 
      name=language type=checkbox value=阿拉伯语 <% if instr(mlanguage,"阿拉伯语")<>0 then %>CHECKED <% end if %>>
                      阿拉伯语 
                      <INPUT name=language 
      type=checkbox value=西班牙语 <% if instr(mlanguage,"西班牙语")<>0 then %>CHECKED <% end if %>>
                      西班牙语 <font class=cha2>
                      <input name=language2 type=checkbox 
      value=葡萄牙语 <% if instr(mlanguage,"葡萄牙语")<>0 then %>CHECKED <% end if %>>
                      </font>葡萄牙语 
                      <INPUT name=language type=checkbox value=意大利语 <% if instr(mlanguage,"意大利语")<>0 then %>CHECKED <% end if %>>
                      意大利语 
                      <INPUT 
      name=language type=checkbox value=其他外语 <% if instr(mlanguage,"其他外语")<>0 then %>CHECKED <% end if %>>
                    其他外语</span></TD>
                  </TR>
                  <TR bgcolor="#FFFFFF"> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">所在区域：</span></TD>
                    <TD height=13 colSpan=2 align=left bgcolor="#ffffff"><font class=cha2 STYLE2><font class=cha2> 
                      
                                      <%sql = "select *  from ypaddtwo order by date desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1%>
                    <script language = "JavaScript">
var onecount1;
onecount1=0;
subcat1 = new Array();
<%count = 0
do while not rs.eof%>
subcat1[<%=count%>] = new Array("<%= trim(rs("addtwo"))%>","<%= trim(rs("addone_id"))%>","<%= trim(rs("addtwo_id"))%>");
        <%count = count + 1
        rs.movenext
        loop
        rs.close
        set rs=nothing%>
onecount1=<%=count%>;

function changelocation1(addone)
    {
    document.thisForm.addtwo_id.length = 0; 

    var addone_id=addone_id;
    var i;
    document.thisForm.addtwo_id.options[0] = new Option('请选择地区(市)','');
    for (i=0;i < onecount1; i++)
        {
            if (subcat1[i][1] == addone)
            { 
                document.thisForm.addtwo_id.options[document.thisForm.addtwo_id.length] = new Option(subcat1[i][0], subcat1[i][2]);
            }        
        }
        
    }
                                      </script>
                    <select name="addone_id" onChange="changelocation1(document.thisForm.addone_id.options[document.thisForm.addone_id.selectedIndex].value)">
                                        
                                        
                      <option value="" selected>请选择地区(省)</option>
                                        
                                        
                      <%
sql="select *  from ypaddone order by date desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
while not rs.eof%>
                      <option value="<%=rs("addone_id")%>"><%=rs("addone")%></option>
                      <%rs.movenext
wend
rs.Close()
%>
                    </select>
                    <select name="addtwo_id">
                      <option selected value="">请选择地区(市)</option>
                    </select>
                    </font></font></TD>
                  </TR>
                  <TR> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">联系地址：</span></TD>
                    <TD height=13 colSpan=2 align=left bgcolor="#ffffff"><span class="STYLE2">
                    <input name=txtAddress class="text" value="<%=mAddress%>" size=46 maxlength=80>
                    邮编： 
                    <input name=txtZipcode class="text" value="<%=mZipcode%>" size=12 maxlength=6>
                    </span></TD>
                  </TR>
                  <TR> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">单位名称：</span></TD>
                    <TD height=14 colspan="2" align=left bgcolor="#ffffff"> <input name=txtCorp class="text " value="<%=mCorp%>" size=46 maxlength=80></TD>
                  </TR>
                  <TR bgcolor="f2f2f2"> 
                    <TD height=22 align=right bgcolor="#ffffff"><span class="STYLE2">单位地址：</span></TD>
                    <TD height=4 colspan="2" align=left bgcolor="#ffffff"> 
                    <INPUT name=txtCorpAddress class="text " value="<%=mCorpAddress%>" size=46 maxLength=50></TD>
                  </TR>
                  <TR> 
                    <TD height=22 align=right><span class="STYLE2">单位电话：</span></TD>
                    <TD height=5 colspan="2" align=left> <span class="STYLE2">
                    <input name=txtCorpTel class="text" value="<%=mCorpTel%>" size=18 maxlength=20>
                    <font class=cha2><font class=cha2> &nbsp; OICQ/ICQ号码<font class=cha2>： 
                    <input name=QQ class="text" value="<%=mQQ%>" size=15 maxlength=12>
                    </font></font></font></span></TD>
                  </TR>
                  <TR> 
                    <TD height="22" align=right bgcolor="#ffffff"><span class="STYLE2">宅　　电：</span></TD>
                    <TD colspan="2" align=left bgcolor="#ffffff"> <span class="STYLE2">
                    <INPUT name=txtTel class="text" value="<%=mTel%>" size=15 maxLength=20>
                    手　　机： 
                    <INPUT name=txtMobile class="text" value="<%=mMobile%>" size=15 maxLength=20>
                    小 灵 通： 
                    <INPUT name=txtPas class="text" value="<%=mPas%>" size=12 maxLength=20>
                    </span></TD>
                  </TR>
                  <TR>
                    <TD height="22" align=right bgcolor="#ffffff"><span class="STYLE2">加入目地：</span></TD>
                    <TD colspan="2" align=left bgcolor="#ffffff"><span class="STYLE2">
                    <INPUT 
      name=motive type=checkbox value=友情  <% if instr(mmotive,"友情")<>0 then %>CHECKED <% end if %>>
                    友情 
                    <INPUT name=motive 
      type=checkbox value=爱情 <% if instr(mmotive,"爱情")<>0 then %>CHECKED <% end if %>>
                    爱情 
                    <INPUT name=motive type=checkbox value=娱乐 <% if instr(mmotive,"娱乐")<>0 then %>CHECKED <% end if %>>
                    娱乐 
                    <INPUT name=motive type=checkbox value=学习 <% if instr(mmotive,"学习")<>0 then %>CHECKED <% end if %>>
                    学习 
                    <INPUT name=motive type=checkbox value=商业  <% if instr(mmotive,"商业")<>0 then %>CHECKED <% end if %>>
                    商业</span></TD>
                  </TR>
                  <TR> 
                    <TD width=11% align=right><span class="STYLE2">人个简介：</span></TD>
                    <TD colSpan=2 align=left> <textarea  name="txtMemo" cols="65" rows="4" class="text STYLE2"><%=mMemo%></textarea></TD>
                  </TR>
                  <TR align="center"> 
                    <TD height=51 colspan="3"> <input name=Step2  class=button type=submit value=修改保存> 
                      <INPUT name=Step22  class=button type=reset value=恢复原状>                    </TD>
                  </TR>
                </form>
          </TABLE> 
  </P>
</DIV>
</DIV>
</DIV>
</DIV>
<!--#include file="bottom.asp"-->

</DIV></BODY></HTML>
