<%if Session("weight")=0 then 
Response.Redirect "error.asp?cause=4"
 end if

%>
<html>
<head>
<!--#include file="const.asp" -->
<title><%=rs("title")%>---<%=rs("lovetitle")%></title>
<link rel="stylesheet" href="../images/css.css" type="text/css">
</head>
<body background="../images/index_con28.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<SCRIPT LANGUAGE=javascript>
//<!--
	function sss(URL)
	{
		newwin=window.open('','_blank','fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
		if(document.all){
		newwin.moveTo(200,40 )
		newwin.resizeTo(400,400 );
		}
		newwin.location=URL
		newwin.focus();
	}

	
//-->
</SCRIPT><object runat="server" id="conn1" progid="adodb.connection"></object><%application.Lock
conn1.Open Application("p_jyzx")
Application.UnLock
'session("Current_user")="domustdo"
'Session("weight")=2
%>
<!--#include file="top.asp" -->
<table width="770" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
        <td width="769"><TABLE cellSpacing=0 cellPadding=0 width="770" align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width="189">
      <TABLE class=border_black cellSpacing=0 cellPadding=0 width="100%" 
      bgColor=#fff7ea border=0>
        <TBODY>
        <TR>
          <TD vAlign=bottom align=middle height="0">	 <%
 set rs2=server.CreateObject ("ADODB.recordset")
 sql="select * from user where user_name='"&session("Current_user")&"'"
 rs2.Open sql,conn1,3
 charisma=rs2("charisma")
 if charisma<101 then
	rank="自由天使"
 elseif charisma>100 and charisma<301 then
	rank="梦幻天使"
 elseif charisma>300 and charisma<1001 then
	rank="星梦天使"
 elseif charisma>1000 and charisma<10001 then
	rank="寻梦天使"
 elseif charisma>100 and charisma<50001 then
	rank="追梦天使"
 elseif charisma>100 and charisma<150001 then
	rank="缘梦天使"
 elseif charisma>100 and charisma<500001 then
	rank="浪漫天使"
 elseif charisma>500000  then
	rank="守护天使"
end if
 %>   
<table border="0" height="2" cellspacing="0" cellpadding="0" width="100%">
 
  <tr>
    <td height="16" >&nbsp;&nbsp;&nbsp;会员类别：<font  color=red><%=user_type%></font></td>
  </tr>
  <tr>
    <td height="16" >&nbsp;&nbsp;&nbsp;天使级别：<font  color=red><%=rank%></font></td>
  </tr>
  <tr>
    <td height="16" >&nbsp;&nbsp;&nbsp;魅力积分：<font  color=red><%=charisma%></font>分</td>
  </tr>
   <tr>
    <td height="16" >&nbsp;&nbsp;&nbsp;上站次数：<font  color=red><%=rs2("counter")%></font>次</td>
  </tr>
  <tr>
    <td height="16" >&nbsp;&nbsp;&nbsp;档案浏览：<font  color=red><%=rs2("visited_counter")%></font>次</td>
  </tr>
  <tr>
    <td height="16" >&nbsp;&nbsp;&nbsp;入会日期：<font  color=red><%=formatdatetime(rs2("reg_date"),vblongdate)%></font></td>
  </tr>
  <tr>
    <td height="16" >&nbsp;&nbsp;&nbsp;最新访问：<font  color=red><%=formatdatetime(rs2("last_time"),vblongdate)%></font></td>
  </tr>
  
</table>
 </TD></TR>
        <TR>
          <TD align=middle height=10></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=185 border=0>
        <TBODY>
        <TR>
          <TD height=5></TD></TR></TBODY></TABLE>
<!--#include file="left.asp"--></TD>
    <TD width="1">&nbsp;</TD>
    <TD vAlign=top width="777">
                                    <div align="right">
                                    <table class="border_yellow1" cellpadding="0" cellspacing="0" width="568">
                                        <tr>
                                            <td width="568" height="21" bgcolor="#FFB252"><font size="4" color="#FF9933"><b>&nbsp;<img border="0" src="images/a0.gif" WIDTH="13" HEIGHT="13" align="absmiddle"> 
                                        </b></font><font color="white"><b><%=temp_nickname%>的征婚信息</b></font></td>
                                        </tr>
                                        <tr>
                                            <td width="568" height="2">
      <TABLE border=0 cellPadding=0 cellSpacing=10 width="100%">
        <TBODY>

      
        <TR>
          <TD vAlign=top><IMG height=12 
            src="images/dot.gif" width=15></TD>
            
          <TD><%
   set rs1=server.CreateObject ("ADODB.recordset")
    'rs.Supports (adUpdate)
   
  sql="select marry_public.*,user.nickname from marry_public,user where user.user_name=marry_public.user_name and marry_public.user_name='"&request("user_name")&"'"
  
   rs1.Open sql,conn1,3
  
  if rs1.RecordCount>0 then
	temp_nickname=rs1("nickname")
	'rs1("user_name")=session("Current_user")
	youdian=rs1("youdian")	
	quedian=rs1("quedian")
	single8to9=rs1("single8to9")
	marry8to9=rs1("marry8to9")
	single20to21=rs1("single20to21")
	marry20to21=rs1("marry20to21")
	childnow=rs1("childnow")
	childmarry=rs1("childmarry")
	tochild=rs1("tochild")
	partner=rs1("partner")
	notallow=rs1("notallow")
	enounceinfo=rs1("enounceinfo")

end if
	dim childnow_array(3)
	for i=1 to 3
			childnow_array(i)=""
	next
	childnow_array(3)="checked"
	for i=1 to 3
		if i=childnow then
			childnow_array(3)=""
			childnow_array(i)="checked"
		end if
	next
	
	
	dim childmarry_array(3)
	for i=1 to 3
			childmarry_array(i)=""
	next
	childmarry_array(3)="checked"
	for i=1 to 3
		if i=childmarry then
			childmarry_array(3)=""
			childmarry_array(i)="checked"
		end if
	next

 %>
           
          <SPAN style="line-height:22px;">征婚信息表：</SPAN><BR><SPAN style="line-height:22px;">单身生活的优点： <INPUT maxLength=100 class=myinput3
            name=youdian size=50 value=<%=youdian%> > </SPAN><BR><SPAN style="line-height:22px;">单身生活的缺点： <INPUT maxLength=100 class=myinput3
            name=quedian size=50 value=<%=quedian%> > </SPAN><BR><SPAN style="line-height:22px;">单身的<font color=red><%=temp_nickname%></font>周日8：00--9：00一般做什么？
            </SPAN><BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  class=myinput3  cols=70 name=single8to9><%=single8to9%></TEXTAREA> 
            </SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>希望婚后周日8：00--9：00一般做什么？
            </SPAN><BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  cols=70 name=marry8to9><%=marry8to9%></TEXTAREA> 
            </SPAN><BR><SPAN style="line-height:22px;">单身的<font color=red><%=temp_nickname%></font>周日20：00--21：00一般做什么？<BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  cols=70 name=single20to21><%=single20to21%></TEXTAREA> 
            </SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>希望婚后周日20：00--21：00一般做什么？ </SPAN><BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  cols=70 name=marry20to21><%=marry20to21%></TEXTAREA> 
            </SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>现在有孩子吗？　　 <INPUT name=childnow type=radio value=1 <%=childnow_array(1)%> > 有 <INPUT 
             name=childnow type=radio value=2 <%=childnow_array(2)%> > 没有 <INPUT name=childnow 
            type=radio value=3 <%=childnow_array(3)%> > 保留</SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>婚后是否想要孩子？　 <INPUT name=childmarry 
            type=radio value=1 <%=childmarry_array(1)%> > 要 <INPUT  name=childmarry type=radio 
            value=2 <%=childmarry_array(2)%> > 不要 <INPUT name=childmarry type=radio value=3 <%=childmarry_array(3)%> > 
            保留</SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>对婚后子女教育问题的看法：</SPAN><BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  cols=70 name=tochild><%=tochild%></TEXTAREA> 
            </SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>心中理想的伴侣是什么样子？</SPAN><BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  cols=70 name=partner><%=partner%></TEXTAREA> 
            </SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>最不能容忍对方的缺点是什么？</SPAN><BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  cols=70 name=notallow  wrap=auto><%=notallow%></TEXTAREA> 
            </SPAN><BR><SPAN style="line-height:22px;"><font color=red><%=temp_nickname%></font>的征婚宣言：</SPAN><BR><SPAN style="line-height:22px;"><TEXTAREA class=myinput3  cols=70 name=enounceinfo rows=3><%=enounceinfo%></TEXTAREA></SPAN></span> 
          </TD></TR>
        <TR>
          <TD vAlign=top>&nbsp;</TD>
          <TD>
          <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
	<TR>
		<TD></TD>
		<TD>
           </TD>
	</TR>
</TABLE>
<IMG height=1 src="../images/d.gif" 
            width=250> <INPUT name=back onclick=javascript:history.go(-1); type=button value="返　回"> 
          </TD></TR></TBODY></TABLE></td>
                                        </tr>
                                        <tr>
                                            <td width="568" height="2" bgcolor="#FF9E8C">
                                                <p></p>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="568" height="14" bgcolor="#FF9E8C"><IMG height=42 src="images/pic_shop.gif" 
          width=568></td>
                                        </tr>
                                    </table>
                                    </div>
</TD></TR>
</TBODY></TABLE></td>
    </tr>
    <tr>
        <td width="769"><p align="center"><!--#include file="../copyright.asp" --></td>
    </tr>
</table>
<p>&nbsp;</p>
</body>
</html>
