<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../conn/nosql.asp"-->
<!--#include file="../../conn/config.asp"-->
<!--#include file="../../conn/count.asp"-->
<!--#include file="../page.asp"-->
<!--#include file="../count.asp"-->
<%if Not ChkPosturl then response.redirect ("/login.asp")
if isChkInteger(request("web_id")) then
web_id=request("web_id")
else
Response.Redirect ("../../index.asp")
end if
sql="select * from snsn_user where id="&web_id
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "<script language='javascript'>"
response.write "alert('没有此用户，请确认后或联系管理员再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
else
Set rs1= Server.CreateObject("ADODB.Recordset") 
rs1.open"select * from snsn_user where  id="&web_id&"",conn,1,1
end if
%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link rel="stylesheet" href="css.css" type="text/css">
<style type="text/css">
<!--
.style1 {color: #000000}
.picxian {
	border-top: 3px solid #EAEAEA;
	border-right: 3px solid #CCCCCC;
	border-bottom: 3px solid #CCCCCC;
	border-left: 3px solid #EAEAEA;
}
-->
</style>
</head>
<body>
<table width="420"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="22">
      <table width="420"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="1" height="1"></td>
          <td height="1" colspan="2" bgcolor="#CCCCCC"></td>
          <td width="1" height="1"></td>
        </tr>
        <tr>
          <td width="1" bgcolor="#CCCCCC"></td>
          <td width="30" bgcolor="#F1F1F1"><div align="center"><span class="M"><IMG 
                              src="img/icon_04.gif" 
                              name=image1754891 width="16" height="13" border=0></span></div></td>
          <td height="25" bgcolor="#F1F1F1"><span class="M"><FONT 
                              color=#000000><a href="web.asp?web_id=<%=web_id%>"><U><%=home%></U></a></FONT> -&gt; <FONT 
                              color=#000000><a href="user.asp?web_id=<%=web_id%>"><U><%=xx%></U></a></FONT></span></td>
          <td width="1" bgcolor="#CCCCCC"></td>
        </tr>
        <tr>
          <td width="1" height="1"></td>
          <td height="1" colspan="2" bgcolor="#CCCCCC"></td>
          <td width="1" height="1"></td>
        </tr>
      </table></td>
  </tr><tr>
    <td height="22"></td>
  </tr>
  <tr>
    <td valign="top"><table width="400"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="150" align="center"><table  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="150" align="center" valign="middle"><%if  rs.eof then%>
                <img id=face src="/ico/<%=rs1("face")%>-2.gif">
                <%else%>
                <%set rs3=conn.execute("select * from snsn_uppic where username='"&rs1("username")&"' and mink=1")
		if rs3.eof or rs3.bof then%>
                <img src="/ico/<%=rs1("face")%>-2.gif" id=face>
                <%else%>
                <img src="<%=rs3("uppic")%>"  id=aaa>
                <%end if
		rs3.close
set rs3=nothing%>
                <%end if%>
                <span class="style1">
                </span>
                </td>
          </tr>
        </table>
          <span class="style1">          </span></td>
        <td width="250" align="center"><table width="90%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="22" colspan="2"><span class="style1"><img src="img/h.gif" width="5" height="11"> 用户：</span>
                
                <%=rs1("username")%><%=rs1("ch")%>
                  <%set rsdj=conn.execute("select * from [snsn_zy] where zy='"&rs1("zy")&"' and dj="&rs1("dj")&"")%>
              (<%=rsdj("djname")%>)</tr>
          <tr>
            <td height="1" colspan="2" ></td>
          </tr> 
		            <tr>
            <td height="22" colspan="2">&nbsp;&nbsp;<span class="style1">资产： <%=rs1("jifen")%> </span></td>
          </tr>
          <tr>
            <td height="1" colspan="2" ></td>
          </tr>  <tr>
            <td height="22" colspan="2">&nbsp;&nbsp;<span class="style1"><span class="link_redblank"><img src="/img/icon_comm3.gif" width="15" height="15"> <a href="/my/love/addfriend.asp?user=<%=rs("username")%>" target="_blank">加为好友</a> <img src="/img/icon_comm2.gif" width="13" height="15"> <a href="/my/getprice/sendnewmessage.asp?selected_friend_id=<%=rs("username")%>" target="_blank">发送信息</a></span></span></td>
          </tr>
          <tr>
            <td height="1" colspan="2" ></td>
          </tr>
          <tr>
            <td height="22" colspan="2"><span class="style1"><img src="img/h.gif" width="5" height="11"> 真实姓名：</span>
                <%=rs1("name")%></td>
          </tr>
          <tr>
            <td width="38%" height="22"><span class="style1"><img src="img/h.gif" width="5" height="11"> 年龄：<%shen=split(rs1("shenri"),"-")%><%=shen(3)%></span></td>
            <td width="62%"><span class="style1">&nbsp;<img src="/img/ico/
			<%	if shen(4)= "白羊座" then
			response.Write("01")
			end if
			if shen(4)= "水瓶座" then
			response.Write("02")
			end if
			if shen(4)= "双鱼座" then
			response.Write("03")
			end if
			if shen(4)= "摩羯座" then
			response.Write("04")
			end if
			if shen(4)= "金牛座" then
			response.Write("05")
			end if
			if shen(4)= "双子座" then
			response.Write("06")
			end if
			if shen(4)= "巨蟹座" then
			response.Write("07")
			end if
			if shen(4)= "狮子座" then
			response.Write("08")
			end if
			if shen(4)= "处女座" then
			response.Write("09")
			end if
			if shen(4)= "天秤座" then
			response.Write("10")
			end if
			if shen(4)= "天蝎座" then
			response.Write("11")
			end if
			if shen(4)= "射手座" then
			response.Write("12")
			end if
			
			
			
			%>.gif" alt="星座:<%=shen(4)%>" width="19" height="19"></span></td>
          </tr>
          <tr>
            <td height="1" colspan="2" ></td>
          </tr>
          <tr>
            <td height="22" colspan="2"><span class="style1"><img src="img/h.gif" width="5" height="11"> 家园：</span>
http://<%=rs1("username")%>.snsn.net</td>
          </tr>
          <tr>
            <td height="1" colspan="2" ></td>
          </tr>
          <tr>
            <td height="22" colspan="2"><span class="style1"><img src="img/h.gif" width="5" height="11"> 邮箱：</span><%=rs1("email")%><span class="style1"></span></td>
          </tr>
        </table>          
        <span class="style1">
</span></td>
      </tr>
      <tr>
        <td colspan="2"><table width="98%"  border="0" align="center" cellpadding="7" cellspacing="1" bgcolor="efefef">
          <tr>
            <td bgcolor="f9f9f9"><%=rs1("myuser")%></td>
          </tr>
        </table></td>
      </tr>
    </table>    <br>    </td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
function cc(){
	var style1=document.all.aaa.width	
	if(style1>150){
	document.all.aaa.style.width="150px"
	}
}
cc()
</script>