<!--#include file="../Include/Conn.jsp" -->
<!--#include file="../Include/const.jsp" -->
<!--#include file="../Include/char.jsp" -->
<!--#include file="../bbs/inc/UbbCode.jsp" -->
<!--#include file="../Include/md5.jsp" -->
<!-- #include file=../bbs/inc/qqlevel.jsp -->
<!--#include file="IsLogin.jsp" -->
<%
 dim rs,m_Sql
 dim m_ID 
 mUserID = Request.Cookies("aspxnet")("CurUserID")
  m_username= Request.Cookies("aspxnet")("CurUsername")
 m_ID = Request.Cookies("aspxnet")("CurUserID")
 m_Sql = "SELECT * FROM T_Member WHERE F_ID=" & m_ID
 Set rs = conn.Execute(m_Sql)
 if rs.Eof then
   Response.write "对不起，无此会员！"
   Response.end
 end if
 Session("m_Integral") = rs("F_Integral")
 m_MyImage = rs("F_MyImage")
 session("m_MyImage") = m_MyImage
 
 '短信
					sql_m="select count(f_id) as n_count from t_message where F_username_a='"&m_username&"' and F_accept=0"
					Set rs_m = conn.Execute(sql_m)
					m_count=rs_m("n_count")
					sql_m="select count(f_id) as n_count from t_message where F_username_a='"&m_username&"' and F_accept=0 and  F_active=0 "
					Set rs_m = conn.Execute(sql_m)
					m_newcount=rs_m("n_count")
					rs_m.close

 'Read
 mSql = "SELECT * FROM T_Member WHERE F_ID="&mUserID
 Set rsinfo = conn.Execute(mSql)
 if Not rsinfo.Eof then 
   mUserName = rsinfo("F_UserName")
   mRealName = rsinfo("F_RealName")
   mSex = rsinfo("F_Sex")
      mIDCard = rs("F_IDCard")
   mBirthday = rsinfo("F_Birthday")
      mErealname = rsinfo("F_Erealname")
   mBlood = rsinfo("F_Blood")
   mStar = rsinfo("F_Star")
mMarry = rsinfo("F_Marry")
   mEdu = rsinfo("F_Edu")
   mMyImage = rsinfo("F_MyImage")
   mMemo = rsinfo("F_Memo")
   
 Else
   Response.Write "对不起，操作有误，请重新登陆！"
   Response.End()
 End if
 rsinfo.Close
 
  'Read
 mSql = "SELECT * FROM LeadBBS_User WHERE UserName='"&m_username&"'"
 Set rsbbs = conn.Execute(mSql)
    mForm_UserTitle = rsbbs("UserTitle")
	mForm_FaceUrl = rsbbs("FaceUrl")
    mForm_Underwrite = rsbbs("Underwrite") 
	mForm_PrintUnderwrite = UBB_Code_UnderWrite(mForm_Underwrite)
 
  rsbbs.Close
  
  
 'Write
 if Request.ServerVariables("REQUEST_METHOD")="POST" then
   mMyImage  = Request.Form("selMyImage")
   mRealName = Request.Form("txtRealName")
      mIDCard = checkStr(Trim(Request.Form("txtIDCard")))
   mSex = Request.Form("radSex")
   if mSex="" then mSex = "1"
   mBirthday = Request.Form("bornyear")&"-"&Request.Form("bornmonth")&"-"&Request.Form("bornday")
   mMemo = Request.Form("txtMemo")
   	 mNation=Request.Form("nation")
	 mblood=Request.Form("blood")
	 mErealname=Request.Form("erealname")
	 mStar=Request.Form("star")
	 mEdu=Request.Form("edu")
	 mMarry=Request.Form("marry")
   
   mSql = "UPDATE T_Member SET"
   mSql = mSql+" F_RealName='"&mRealName&"',"
   mSql = mSql+" F_MyImage='"&mMyImage&"',"
   mSql = mSql+" F_Sex="&mSex&","
      mSql = mSql+" F_IDCard='"&mIDCard&"',"
   mSql = mSql+" F_Birthday='"&mBirthday&"',"
   
   	 
     mSql = mSql+" F_erealname='"&merealname&"'," 
	 mSql = mSql+" F_nation='"&mnation&"'," 
	  mSql = mSql+" F_blood='"&mblood&"'," 
	 mSql = mSql+" F_star='"&mstar&"'," 
	 mSql = mSql+" F_edu='"&medu&"'," 
	 mSql = mSql+" F_marry='"&mmarry&"'," 

   mSql = mSql+" F_Memo='"&mMemo&"'" 
   mSql = mSql +" WHERE F_ID=" & mUserID 
   conn.execute(mSql)
   
        if msex="1" then
   msex="男"
   else
   msex="女"
   end if
    mForm_UserTitle = Request.Form("txtForm_UserTitle")
	mForm_FaceUrl = "../../Club/"&mMyImage
    mForm_Underwrite = Request.Form("txtForm_Underwrite")
	mForm_PrintUnderwrite = UBB_Code_UnderWrite(mForm_Underwrite)
	mSql = "UPDATE LeadBBS_User SET"
   mSql = mSql+" Sex='"&mSex&"',"
   	mSql = mSql+" UserTitle='"&mForm_UserTitle&"'," 
	mSql = mSql+" FaceUrl='"&mForm_FaceUrl&"',"
    mSql = mSql+" Underwrite='"&mForm_Underwrite&"',"
    mSql = mSql+" PrintUnderWrite='"&mForm_PrintUnderwrite&"'" 
    mSql = mSql +" WHERE UserName='"&m_username&"'"

   conn.execute(mSql)
	
	
 
   conn.execute("Update huiyuan set name='"&mRealName&"',xb='"&mSex&"',idcard='"&mIDCard&"' where  huiyuan='" &m_username&"'")
   
   '更新俱乐部会员资料
   m_year=cint(year(now()))-cint(Trim(Request.Form("bornyear")))+1

   m_sql="UPDATE T_club_member SET f_sex='"&mSex&"', f_age="&m_year&", f_edu='"&medu&"', f_realname='"&mRealName&"'"
   m_sql = m_sql +" WHERE f_username='" &m_username&"'"
   conn.execute(m_sql)
'真情告白
    m_sql="UPDATE T_say SET f_sex='"&mSex&"', f_age="&m_year&" WHERE f_username='" &m_username&"'"
    conn.execute(m_sql)
   '结束
   Call CloseDatabase()
    ' Response.write "<script> alert('祝贺您，资料保存成功!');window.location.href='Center_userinfo.jsp'</script>"
   call MsgBox("祝贺您，资料保存成功!","Center_userinfo.jsp")
 End if
%>
<!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">
<META http-equiv=Page-Enter content=blendTrans(Duration=0.5)>
<META http-equiv=Page-Exit content=blendTrans(Duration=0.5)><LINK 
href="css/index.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1555" name=GENERATOR></HEAD>
<BODY><!--menu start-->
<DIV id=menu><SPAN>登陆帐号：<%m_TempUserName = Request.Cookies("aspxnet")("CurUserName")
				  if m_TempUserName = "" then Response.write "游客" else
				   Response.write ""&m_TempUserName&""
				  %> | <A 
href="Logout.jsp">退出</A></SPAN> <B>操作中心</B>
<DIV id=nav>
<DIV class=right><IMG src="img/nav_right.gif"></DIV>
<DIV class=left><IMG src="img/nav_left.gif"></DIV>
<UL>
  <LI><A href="Center_index.jsp">首 页</A> </LI>
  <LI><A href="friend_index.jsp">交友频道</A> </LI>
  <LI><A href="QQ_ployall.jsp">精彩活动</A> </LI>
  <LI><A href="../bbs/">论坛社区</A> </LI>
  <LI><A href="photo_default.jsp">网络相册</A> </LI>
  <LI><A href="QQ_index.jsp">小圈子</A> </LI>
  <LI><A href="../info/">分类广告</A> </LI>
  <LI><A href="../jubao/">折扣店</A> </LI>
  <LI><A href="../shop/">逛街购物</A> </LI></UL></DIV></DIV><!--menu end-->
<DIV id=main>
<DIV id=user>
<H3>欢迎您：<%m_TempUserName = Request.Cookies("aspxnet")("CurUserName")
				  if m_TempUserName = "" then Response.write "游客" else
				   Response.write ""&m_TempUserName&""
				  %></H3>
<DIV class=rim>
<DIV id=uinfo>
<DIV id=uimg align=center>
		  <img  src="<%=session("m_MyImage")%>" > 
		 </DIV>
<P>ID: <%m_TempUserName = Request.Cookies("aspxnet")("CurUserName")
				  if m_TempUserName = "" then Response.write "游客" else
				   Response.write ""&m_TempUserName&""
				  %></P>
<P><%
   sql_m = "SELECT OnlineTime FROM LeadBBS_User Where UserName='" & m_username & "'"
			Set Rstest = conn.Execute(sql_m)
%>
<script language=javascript>
			<!--
				document.write (""+qqlevel("<%=CLng(cCur(Rstest("OnlineTime"))/3600)%>")+"");
			//-->
			</script></P>
<HR>

<DIV id=usercon><A href="../bbs/" target=_blank><IMG height=20 
src="img/Center_left01.gif" width=27 border=0></A><A 
href="QQ_default.jsp" target=_blank><IMG height=21 
src="img/Center_left02.gif" width=21 border=0></A><A 
href="../blog/" target=_blank><IMG height=16 
src="img/Center_left03.gif" width=24 border=0></A><A 
href="#"><IMG 
src="img/ico4.gif"></A><A 
href="#" 
target=_blank><IMG src="img/ico5.gif" border=0></A> </DIV></DIV><%
   sql_m = "SELECT Points FROM LeadBBS_User Where UserName='" & m_username & "'"
			Set Rstest = conn.Execute(sql_m)
%>
<P class=uline><STRONG>用户金币：<%=rstest("Points")%></STRONG><BUTTON class=bot 
onclick="location.href='#a'">帐户冲值</BUTTON><BUTTON class=bot 
onclick="location.href='#a'"><B>VIP</B>冲值</BUTTON> </P>
<UL>
  <LI>·<A href="Center_userinfo.jsp">个人资料</A> </LI>
  <LI>·<A href="Center_msg.jsp">我的短信</A> </LI>
  <LI>·<A href="Center_contact.jsp">联系资料</A> </LI>
  <LI>·<A href="Center_wealth.jsp">金币兑换</A> </LI>
  <LI>·<A href="Center_editpassword.jsp">密码设置</A> </LI>
  <LI>·<A href="Center_ploy.jsp">我的活动</A> </LI></UL>
<DIV class=clear></DIV></DIV>
<H3>从这里开始</H3>
<DIV class=rim>
<DIV id=buildgroup>
<H4><A href="qq_ceaterclub.jsp" 
target=_blank><SPAN>建立小圈子</SPAN></A></H4>
<P>您可以在这里建立自己的小圈子，和更多的朋友一起互动。世界很小，圈子很大。您可以通过您的圈子认识更多志趣相投的朋友！</P></DIV>
<DIV id=invitefriend>
<H4><SPAN>邀请您的好友</SPAN></H4>
<P>您可以在这里建立自己的小圈子，和更多的朋友一起互动。世界很小，圈子很大。您可以通过您的圈子认识更多志趣相投的朋友！</P></DIV></DIV></DIV><!--contain-->
<DIV id=contain>
<DIV id=info>
<DIV id=infotop><IMG src="img/windows.gif">修改个人资料</DIV>
<FORM name=form_userinfo action=Center_userinfo.jsp method=post>
<DIV id=uface><IMG src="<%=session("m_MyImage")%>"> 更换图像
<SCRIPT type=text/javascript>
		<!--
		function San_Com(){
		var a = document.getElementById("face");
		if(a.style.display=='')
		{
			a.style.display='block';
			}else{
			a.style.display='none';
			}
		}
		-->
		</SCRIPT>
<BUTTON id=facebot onclick=San_Com();>更改↓</BUTTON> </DIV><LABEL><B>用户昵称:</B> 
<INPUT disabled readOnly size=18 value=<%=mUserName%> name=text> 
</LABEL><LABEL><B>真实姓名:</B> <INPUT id=txtRealName size=18 value="<%=mRealName%>"
name=txtRealName> 
</LABEL>
<DIV id=face><LABEL><B>自定义头像;</B><input name="selMyImage" type="text" value="<%=m_MyImage%>" size="36" readonly />  <input style="width:70;border:1 solid #9a9999; font-size:9pt; background-color:#ffffff" type="button" value="上传头像" name="UpImage13" onClick="javascript:window.open('UploadWindows.jsp?Uploadpath=user_ico&ReturnForm=form_userinfo&ReturnText=selMyImage','upload','top=20,left=30,height=134,width=420,scrollbars=no,resizable=no')"> 
</LABEL></DIV><LABEL><B>性别:</B> <SELECT 
id=radSex name=radSex> <OPTION value=2 <% if mSex="2" then %>selected<% end if %>>保密</OPTION> <OPTION value=1  <% if mSex="1" then %>selected<% end if %>>男</OPTION> <OPTION value=0 <% if mSex="0" then %>selected<% end if %>>女</OPTION></SELECT> 
<SPAN>出生年月:</SPAN><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=1940 <% if m_bornyear="1940" then %>selected<% end if %>>1940</option>
                        <option value=1941 <% if m_bornyear="1941" then %>selected<% end if %>>1941</option>
                        <option value=1942 <% if m_bornyear="1942" then %>selected<% end if %>>1942</option>
                        <option value=1943 <% if m_bornyear="1943" then %>selected<% end if %>>1943</option>
                        <option value=1944 <% if m_bornyear="1944" then %>selected<% end if %>>1944</option>
                        <option value=1945 <% if m_bornyear="1945" then %>selected<% end if %>>1945</option>
                        <option value=1946 <% if m_bornyear="1946" then %>selected<% end if %>>1946</option>
                        <option value=1947 <% if m_bornyear="1947" then %>selected<% end if %>>1947</option>
                        <option value=1948 <% if m_bornyear="1948" then %>selected<% end if %>>1948</option>
                        <option value=1949 <% if m_bornyear="1949" then %>selected<% end if %>>1949</option>
                        <option value=1950 <% if m_bornyear="1950" then %>selected<% end if %>>1950</option>
                        <option value=1951 <% if m_bornyear="1951" then %>selected<% end if %>>1951</option>
                        <option value=1952 <% if m_bornyear="1952" then %>selected<% end if %>>1952</option>
                        <option value=1953 <% if m_bornyear="1953" then %>selected<% end if %>>1953</option>
                        <option value=1954 <% if m_bornyear="1954" then %>selected<% end if %>>1954</option>
                        <option value=1955 <% if m_bornyear="1955" then %>selected<% end if %>>1955</option>
                        <option value=1956 <% if m_bornyear="1956" then %>selected<% end if %>>1956</option>
                        <option value=1957 <% if m_bornyear="1957" then %>selected<% end if %>>1957</option>
                        <option value=1958 <% if m_bornyear="1958" then %>selected<% end if %>>1958</option>
                        <option value=1959 <% if m_bornyear="1959" then %>selected<% end if %>>1959</option>
                        <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>
                      </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>
                      日 </LABEL><LABEL><B>身份证号:</B>  
                      <input name="txtIDCard" class="text" value="<%=mIDCard%>" size="18"  maxlength="18">
					  
					   </LABEL><LABEL><B>英文名:</B> <INPUT id=erealname 
size=18 value="<%=merealName%>" name=erealname> 
  <SPAN>民族:</SPAN> <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>
</LABEL><LABEL><B>学历:</B>  <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>星座:</SPAN> 
<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> </LABEL><LABEL><B>婚姻状况:</B>  
                      <select 
      name=marry style="BACKGROUND-COLOR: #f2f2f2; WIDTH: 90px">
                        <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>血型:</SPAN> <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> </LABEL><LABEL><B>个人说明:</B><textarea  name="txtMemo" cols="85" rows="4" class="text"><%=mMemo%></textarea>
</LABEL>
<LABEL><B>论坛头衔:</B>  
                      <input name="txtForm_UserTitle" class="text" value="<%=mForm_UserTitle%>" size="18"  maxlength="18">
					  
					   </LABEL>
					   
					   <LABEL><B>论坛签名-UBB:</B>  
                      <textarea  name="txtForm_Underwrite" cols="85" rows="4" class="text" id="txtForm_Underwrite"><%If mForm_Underwrite <> "" Then Response.Write VbCrLf & HtmlEncode(mForm_Underwrite)%></textarea>
					  
					   </LABEL>
					   
					   
<P class=botalign><INPUT class=bot type=submit value=确定修改 name=提交> <INPUT class=bot type=reset value=恢复原状 name=提交> </P></FORM>
<DIV id=infobot></DIV></DIV></DIV></DIV>
<STYLE type=text/css>.STYLE1 {
	COLOR: #ff0000
}
</STYLE>

<DIV id=rchart>
<DIV id=chart>
<DIV id=charttop>
<H6>&nbsp; </H6>
<P>用户等级:<%if rs("F_Grade") = 1 then Response.write "<font color=red><b>聚宝卡VIP会员</b></font>" else Response.write "普通会员"%>
                      <%if rs("F_Grade") <> 1 then%>
                      → <a href="UserGrade.jsp"> <font color="#FF0000">升级为VIP会员</font> 
                      </a> 
                      <%end if%></P>
<P>用户注册时间:<%=rs("F_RegTime")%></P>
<P id=mailone><a href="Center_msg.jsp">(<%=m_count%>/<font color="#FF0000"><%=m_newcount%>)</font>短信!</a></P></DIV>
<DIV id=chartlist>
<FORM name=form1 action=addfriend.jsp?return=add method=post><INPUT class=friendso 
id=username onBlur="if(this.value=='')this.value='输入好友';" 
onfocus="if(this.value=='输入好友')this.value='';" size=22 value=输入好友 name=username> 
<INPUT type=image src="img/friendso.gif" name=imageField> </FORM>
<DL>
  <SCRIPT type=text/javascript>
		<!--
		function SenFe_Com(){
		var a = document.getElementById("midrim");
		if(a.style.display=='none')
		{
			a.style.display='';
			}else{
			a.style.display='none';
			}
		}
		-->
		</SCRIPT>

    <DT id=SenFe onclick=SenFe_Com();><A 
  href="#">我的好友(<%
		m_SQL = "SELECT Count(*) FROM my_friend where F_flag=1 and F_userid="&mUserID
		Set rsh = conn.Execute(m_SQL)
		Response.write rsh(0)
		rsh.Close
		%>)</A> <SPAN 
  id=midrim></DT>
 <%m_Sql = "Select f_id,f_username From my_friend where F_flag=1 and F_userid="&mUserID&" order by f_id desc"
                   Set rshy = conn.Execute(m_Sql)
				   do while not rshy.eof%><DD> <DIV><A 
            href="club_member.jsp?username=<%=rshy("f_username")%>" 
            target=_blank><U><%=rshy("F_username")%></U></A> <A href="Center_msgsend.jsp?re_username=<%=rshy("f_username")%>" 
  target=_blank><IMG src="img/ico1.gif"></A> <A title="移到黑名单" 
  href="addfriend.jsp?username=<%=rshy("f_username")%>&amp;flag=0" 
  target=_blank><IMG src="img/ico2.gif"></A> <A 
  href="club_member.jsp?username=<%=rshy("f_username")%>" target=_blank><IMG 
  src="img/ico3.gif"></A></DIV><%rshy.movenext
				  loop
				  rshy.close
				  set rshy=nothing
				  %></SPAN>
 <DT><A href="#">黑名单(<%
		m_SQL = "SELECT Count(*) FROM my_friend where F_flag=0 and F_userid="&mUserID
		Set rst = conn.Execute(m_SQL)
		Response.write rst(0)
		rst.Close
		%>)</A> </DT>
    <%m_Sql = "Select f_id,f_username From my_friend where F_flag=0 and F_userid="&mUserID&" order by f_id desc"
                   Set rs_3 = conn.Execute(m_Sql)
				     do while not rs_3.eof%><DD> <DIV><A 
            href="club_member.jsp?username=<%=rs_3("f_username")%>" 
            target=_blank><U><%=rs_3("F_username")%></U></A> <A href="msgsend.asp?re_username=<%=rs_3("f_username")%>" 
  target=_blank><IMG src="img/ico1.gif"></A> <A title="移到我的好友"
  href="addfriend.jsp?username=<%=rs_3("f_username")%>&amp;flag=1" 
  target=_blank><IMG src="img/ico2.gif"></A> <A 
  href="club_member.jsp?username=<%=rs_3("f_username")%>" target=_blank><IMG 
  src="img/ico3.gif"></A></DIV><%rs_3.movenext
				  loop
				  rs_3.close
				  set rs_3=nothing
				  %></DD></DL></DIV>

<DIV id=chartbot></DIV></DIV>
</DIV>
</BODY></HTML>
