<!-- #include file="setup.asp" -->
<%
top
username=HTMLEncode(Request("username"))


sql="select * from [user] where username='"&username&"'"
Set Rs=Conn.Execute(sql)

if rs.eof then error("<li>"&username&"的用户资料不存在")

select case rs("sex")
case "male"
sex="男"
case "female"
sex="女"
end select



UserInfo=split(rs("UserInfo"),"\")
realname=UserInfo(0)
country=UserInfo(1)
province=UserInfo(2)
city=UserInfo(3)
postcode=UserInfo(4)
blood=UserInfo(5)
belief=UserInfo(6)
occupation=UserInfo(7)
marital=UserInfo(8)
education=UserInfo(9)
college=UserInfo(10)
address=UserInfo(11)
phone=UserInfo(12)
character=UserInfo(13)
personal=UserInfo(14)

UserIM=split(rs("UserIM"),"\")
qq=UserIM(0)
icq=UserIM(1)
uc=UserIM(2)
aim=UserIM(3)
msn=UserIM(4)
Yahoo=UserIM(5)


%>
<title><%=rs("username")%>用户资料 - Powered By BBSxp</title>
<script src="inc/birth.js"></script>
<table border=0 width=<%=dkuan%> align=center cellspacing=1 cellpadding=4 class=a2>
<tr class=a3>
<td height=25>&nbsp;<img src=images/Forum_nav.gif>&nbsp; <%ClubTree%> → 查看用户“<%=rs("username")%>”资料</td>
</tr>
</table><br>
<table width=<%=dkuan%> border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td><img src="<%=rs("userface")%>" width="32" height="32">　<b><%=rs("username")%></b></td>
<td align="right" valign="bottom"><b>:::相关操作:::</b>　｛
<img src="images/finds.gif"> <a href=search.asp?menu=ok&search=author&searchxm=username&content=<%=rs("username")%>> 搜索帖子</a>　
<img src="images/badlist.gif"> <a href=friend.asp?menu=bad&username=<%=rs("username")%>> 加为坏人</a>　

<img src="images/friend1.gif"> <a href=friend.asp?menu=add&username=<%=rs("username")%>> 加为好友</a>　
<img src="images/message1.gif"> <a href=# onclick="javascript:open('friend.asp?menu=post&incept=<%=rs("username")%>','','width=320,height=170')"> 发送讯息</a> ｝
</tr>
</table>

<SCRIPT>valigntop()</SCRIPT>
<table width=<%=dkuan%> align=center cellspacing=0 cellpadding=0 border=0>
<tr>
<td class=a2 height="676">
<table width=100% cellspacing=1 cellpadding=6 border=0>
<tr bgcolor="FFFFFF" class=a1>
<td colspan="2" height="25" valign="middle" align="left"><b>&nbsp;:::社区信息:::</b></td>
</tr>
<tr>
<td class=a3 height="5" align="left" valign="middle" width="50%"><b>　昵　　称：</b><%=rs("username")%></td>
<td class=a3 height="5" align="left" valign="middle" width="50%"><b>　发表原贴：</b><%=rs("posttopic")%></td>
</tr>
<tr>
<td class=a4 align="left" valign="middle" width="50%"><b>
　等级名称：</b><Script>document.write(level(<%=rs("experience")%>,<%=rs("membercode")%>,'','')+levelname);</Script></td>
<td class=a4 align="left" valign="middle" width="50%"><b>　发表回贴：</b><%=rs("postrevert")%></td>
</tr>
<tr>
<td align="left" width="50%" class=a3><b>　门　　派：</b><%
if rs("faction")=empty then
response.write "无"
else
response.write rs("faction")
end if
%></td>
<td align="left" width="50%" class=a3>

<b>　收录精华：</b><%=rs("goodtopic")%></td>
</tr>
<tr class=a4>
<td align="left" width="50%"><b>　配　　偶：</b><%
if rs("consort")=empty then
response.write "无"
else
response.write "<a href=Profile.asp?username="&rs("consort")&">"&rs("consort")&"</a>"
end if
%></td>
<td align="left" width="50%">

<b>　被删原贴：</b><%=rs("deltopic")%></td>
</tr>
<tr class=a3>
<td align="left" width="50%"><b>
　注册日期：</b><%=rs("regtime")%></td>
<td align="left" width="50%"><b>　社区金币：</b><%=rs("money")%></td>
</tr>
<tr class=a4>
<td align="left" width="50%"><b>
　上次登录：</b><%=rs("landtime")%></td>
<td align="left" width="50%"><b>
　体 力 值：</b><%=rs("userlife")%></td>
</tr>
<tr class=a3>
<td align="left" width="50%"><b>
　登录次数：</b><%=rs("degree")%></td>
<td align="left" width="50%"><b>　经 验 值：</b><%=rs("experience")%></td>
</tr>

<tr bgcolor="FFFFFF" class=a1>
<td height="25" align="left" valign="middle" colspan="2"><b>&nbsp;:::生活信息:::</b></td>
</tr>
<tr>
<td valign="top" class=a3 width="50%"> 　<b>真实姓名：</b><%=realname%>
</td>
<td height="100%" align="left" valign="bottom" class=a3 rowspan="17" width="50%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">



<tr><td valign=top align=center height="100%"><div align=left><b> 　用户照片：</b></div>
<script>
if("<%=rs("userphoto")%>"!=""){
document.write("<a target=_blank href=<%=rs("userphoto")%>><img src=<%=rs("userphoto")%> onload='javascript:if(this.height>120)this.height=120' border=0></a>")
}
</script>



</td></tr>





<tr>
<td height="100">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class=a2>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td class=a4 height="100" valign="top"><b>
&nbsp;性　　格：</b><br>
　<table border="0">
<tr>
<td width="100%"><%=character%></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="120">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class=a2 height="100">
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td class=a4 height="100" valign="top"><b>&nbsp;简　介：</b><br>
<br>
<%=personal%> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="100">
<table width="100%" border="0" cellspacing="0" cellpadding="1" style=TABLE-LAYOUT:fixed>
<tr>
<td class=a2>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td class=a4 height="100" valign="top"><b>&nbsp;签名档：</b><br>
<br><script>document.write(ybbcode("<%=rs("sign")%>"))</script>
</td>
</tr>
</table>
</td>
</tr>
</table>


</td>
</tr>


</table>
</td>
</tr>
<tr>
<td valign="top" class=a4 width="50%"><b>　性　　别：</b><%=sex%> </td>
</tr>
<tr>
<td valign="top" class=a3 width="50%"><b> 　国　　家：</b><%=country%>
</td>
</tr>
<tr>
<td valign="top" class=a4 width="50%">　<b>省　　份：</b><%=province%> </td>
</tr>
<tr>
<td valign="top" class=a3 width="50%">　<b>城　　市：</b><%=city%></td>
</tr>
<tr>
<td valign="top" class=a4 width="50%">　<b>邮政编码：</b><%=postcode%></td>
</tr>
<tr>
<td valign="top" class=a3 width="50%">　<b>生　　肖：</b><script>document.write(getpet("<%=rs("birthday")%>"));</script></td>
</tr>
<tr>
<td valign="top" class=a4 width="50%">　<b>血　　型：</b><%=blood%> </td>
</tr>
<tr>
<td valign="top" class=a3 width="50%">　<b>星　　座：</b><script>document.write(astro("<%=rs("birthday")%>"));</script></td>
</tr>
<tr>
<td valign="top" class=a4 width="50%">　<b>信　　仰：</b><%=belief%>
</td>
</tr>
<tr>
<td valign="top" class=a3 width="50%">　<b>职　　业：</b><%=occupation%>
</td>
</tr>
<tr>
<td valign="top" class=a4 width="50%">　<b>婚姻状况：</b><%=marital%>
</td>
</tr>
<tr>
<td valign="top" class=a3 width="50%">　<b>最高学历：</b><%=education%>
</td>
</tr>
<tr>
<td valign="top" class=a4 width="50%">　<b>毕业院校：</b><%=college%>
</td>
</tr>
<tr class=a1>
<td valign="top" bgcolor="FFFFFF" width="50%"><b>&nbsp;:::联系方法:::</b></td>
</tr>
<tr>
<td valign="top" class=a4 width="50%">　<b>电子邮件：</b><a href="mailto:<%=rs("usermail")%>"><%=rs("usermail")%></a></td>
</tr>
<tr>
<td valign="top" class=a3 width="50%">　<b>个人主页：</b><a target="_blank" href="<%=rs("userhome")%>"><%=rs("userhome")%></a></td>
</tr>
<tr bgcolor="FFFFFF" class=a1>
<td colspan="2" height="25" align="left"><b>&nbsp;:::即时通讯:::</b></td>
</tr>
<tr bgcolor="FFFFFF" class=a3>
<td height="4" valign="middle" align="left">　<b>QQ号码：</b><%if qq<>"" then%><a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=<%=qq%>&Menu=yes&Site=<%=clubname%>><%=qq%></a><%end if%>
</td>
<td height="4" valign="middle" align="left">　<b>ICQ：</b><%=icq%></td>
</tr>
<tr bgcolor="FFFFFF" class=a4>
<td height="4" valign="middle" align="left">　<b>UC号码：</b><%=uc%></td>
<td height="4" valign="middle" align="left">　<b>AIM：</b><%=aim%></td>
</tr>
<tr bgcolor="FFFFFF" class=a3>
<td height="4" valign="middle" align="left">　<b>MSN IM：</b><%=msn%>　</td>
<td height="4" valign="middle" align="left">　<b>Yahoo IM：</b><%=Yahoo%></td>
</tr>





</table>

</td>
</tr>
</table>


<%rs.close%>

<center>
<SCRIPT>valignbottom()</SCRIPT>

<br>
<INPUT onclick=history.back(-1) type=button value=" << 返 回 ">
<br><%htmlend%>