<!--#include file="../Include/Conno.asp" -->
<!--#include file="../Include/const.asp" -->
<!--#include file="../Include/char.asp" -->
<%
m_grade=Session("Curgrade")
m_ID = Session("CurUserID")
m_username_a=Session("CurUserName")
m_username=CheckStr(request("username"))
	 if m_username="" then
     Call Msgbox("对不起，参数不足错误！",1)
    Response.end
     end if
	mc_sql="SELECT f_id,f_username,f_realname,f_erealname,f_sex,f_birthday,f_edu,f_area,f_blood,f_nation,f_star,f_marry,f_regtime,f_qq,f_weight,f_height,f_language,f_motive,f_memo,f_email,f_grade,f_cardnumber,f_regtime,f_lastlogintime,f_hide FROM T_Member where f_username='"&m_username&"'"
	set rs=server.createobject("adodb.recordset")
    rs.open mc_sql,conn,1,1
	if rs.eof then
	Call Msgbox("对不起，无此会员信息！",5)
    Response.end
	end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>个人隐私:</title>
<link href="../css/member.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css"></style>
</head>

<body onLoad="MM_preloadImages('../images/member/hy_b_1b.gif','../images/member/hy_b_3b.gif','../images/member/cl_03.gif','../images/member/cl_04.gif','../images/member/cl_05.gif','../images/member/cl_06.gif','../images/member/cl_07.gif','../images/member/cl_08.gif','../Images/member/cl_03.gif','../Images/member/cl_04.gif','../Images/member/cl_05.gif','../Images/member/cl_06.gif','../Images/member/cl_07.gif','../Images/member/cl_08.gif')">
<!--#include file="../include/top.asp" -->
<!--#include file="../include/member_top.asp" --><!--#include file="club_top.asp" -->
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="112" rowspan="3"><img src="../Images/member/cl_01.gif" width="112" height="200"></td>
    <td width="132" rowspan="3"><img src="../Images/member/cl_02.gif" width="132" height="200"></td>
    <td width="536"><table width="536" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="85"><a href="club_member.asp?username=<%=m_username%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','../Images/member/cl_03.gif',1)"><img src="../Images/member/cl_03.gif" name="Image9" width="85" height="37" border="0"></a></td>
          <td width="90"><a href="club_member_hide.asp?username=<%=m_username%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','../Images/member/cl_04.gif',1)"><img src="../Images/member/club_a_04.gif" name="Image10" width="90" height="37" border="0"></a></td>
          <td width="88"><a href="club_member_ilike.asp?username=<%=m_username%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','../Images/member/cl_05.gif',1)"><img src="../Images/member/club_a_05.gif" name="Image11" width="88" height="37" border="0"></a></td>
          <td width="88"><a href="club_member_amity.asp?username=<%=m_username%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','../Images/member/cl_06.gif',1)"><img src="../Images/member/club_a_06.gif" name="Image12" width="88" height="37" border="0"></a></td>
          <td width="89"><a href="club_member_photo.asp?username=<%=m_username%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','../Images/member/cl_07.gif',1)"><img src="../Images/member/club_a_07.gif" name="Image13" width="89" height="37" border="0"></a></td>
          <td width="86"><a href="club_member_diary.asp?username=<%=m_username%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','../Images/member/cl_08.gif',1)"><img src="../Images/member/club_a_08.gif" name="Image14" width="86" height="37" border="0"></a></td>
          <td><img src="../Images/member/cl_09.gif" width="10" height="37"></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="../Images/member/cl_10.gif" width="536" height="5"></td>
  </tr>
  <tr>
    <td><table width="536" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="10"><img src="../Images/member/cl_11.gif" width="16" height="158"></td>
          <td width="493" bgcolor="#FFFFFF"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="69" height="30" class="p1">编　　号：</td>
                <td width="98">
                  <%
				m_id=(rs("f_id")*574)-int(rs("f_id")/7)'ID算法
				%>
                  <%=m_id%></td>
                <td width="68" class="p1">会 员 名:</td>
                <td width="112"><%=rs("f_username")%></td>
                <td width="68" class="p1">会员类型：</td>
                <td width="78">
                  <% if rs("f_grade")=1 then %>
                  <font color="#FF0000">VIP会员</font>
                  <% else %>
                  普通会员
                  <% end if %>
                </td>
              </tr>
              <tr>
                <td height="1" colspan="6" background="images/line.gif"></td>
              </tr>
              <tr>
                <td height="30" class="p1">注册时间：</td>
                <td><%=rs("F_RegTime")%></td>
                <td class="p1">最后登陆：</td>
                <td colspan="3"><%=rs("F_LastLoginTime")%></td>
              </tr>
              <tr>
                <td height="1" colspan="6" background="images/line.gif"></td>
              </tr>
              <tr>
                <td height="1" colspan="6" background="images/line.gif"></td>
              </tr>
              <tr>
                <td height="50" colspan="6"><table width="72%"  border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="180"><a onclick="return confirm('您确定要将“<%=rs("f_username")%>”加为好友吗？他将有可能看到您的个人隐私。')" href="addfriend.asp?username=<%=rs("f_username")%>&flag=1"><img src="../Images/member/club_b_5.gif" width="120" height="30" border="0"></a></td>
                      <td width="180"><a onclick="return confirm('您确定要将“<%=rs("F_username")%>”打入您的黑名单吗？他将无法给您发送短讯。')" href="addfriend.asp?username=<%=rs("f_username")%>&flag=0"><img src="../Images/member/club_b_6.gif" width="120" height="30" border="0"></a></td>
                      <td width="180"><a href="message_send.asp?re_username=<%=rs("f_username")%>"><img src="../Images/member/club_b_7.gif" width="120" height="30" border="0"></a></td>
                    </tr>
                </table></td>
              </tr>
          </table></td>
          <td width="27"><img src="../Images/member/cl_13.gif" width="27" height="158"></td>
        </tr>
    </table></td>
  </tr>
  <tr bgcolor="#59C601">
    <td height="1" colspan="3"></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td height="10" valign="top"></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="25" valign="top">&nbsp;</td>
    <td width="730" valign="top"><table width="730" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="198" height="40" valign="bottom"><img src="../Images/member/club_c_1.gif" width="198" height="25"></td>
        <td width="532" align="right"><img src="../Images/member/club_c_1b.gif" width="100" height="40"></td>
      </tr>
    </table>
      <table width="730" border="1" cellpadding="0" cellspacing="8" bordercolor="#E0F1E0" bgcolor="#E0F1E0">
        <tr>
          <td height="250" align="center" valign="top" bordercolor="#C6E6C6" bgcolor="#FFFFFF"> 
           <%
		   	set rs_cn=server.createobject("adodb.recordset")
			mSql = "Select f_id From my_friend where F_flag='1' and F_username_a='"&m_username&"' and f_username='"&m_username_a&"'"
			rs_cn.open msql,conn,1,1
			if not rs_cn.eof then
		   %>
		    <table width="98%" border="0" cellspacing="2" cellpadding="3">
              <tr>
                <td><%=rs("F_hide")%></td>
              </tr>
            </table>
			<%
			else
			%>
			   <table width="98%" border="0" align="center" cellpadding="3" cellspacing="2">
              <tr>
                <td height="100" align="center"><strong><font color="#666666"><br>
                  对不起，以您跟该会员的关系，暂且不能查看该会员的个人隐私！！ </font> </strong></td>
              </tr>
            </table>
			<%
			end if
			rs_cn.close
			set rs_cn=nothing
			%>
          </td>
        </tr>
      </table></td>
    <td width="25" align="center" valign="top">&nbsp;</td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td height="10" valign="top"></td>
  </tr>
</table>
<!--#include file="../Include/Bottom.asp" -->
</body>
</html>
