<!--#include file="conn.asp"-->
<!--#include file="inc/publicfun.asp"-->
<%
userid=request.QueryString("userid")
sql="select * from clubuser where clubuser_id="&userid
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,3,1
if not rs2.eof then
   username=rs2("clubuser_name")
   userimg=rs2("userimg")
   homepagetitle=rs2("homepagetitle")
   cssfile="blogcss/"&rs2("cssfile")
   bokeer=rs2("bokeer")
   if isNull(cssfile) or cssfile="" or cssfile="blogcss/" then cssfile="blogcss/2.css"
   if isNull(rs2("userimg")) then
      blogheadimg="blogimages/nophoto.gif"
   else
      blogheadimg="userheadimg/"&rs2("userimg")
   end if
else
   response.write "<br><br><br><br><center>用户不存在</center>"
   response.end
end if
%>
<html><head><meta http-equiv=content-type content="text/html; chars2et=gb2312">
</head>
<script language="javascript" src="js/publicfun.js"></script>
<body>
<center>
<title><%=username%>的个人档案</title>
<link rel="stylesheet" type="text/css" href="<%=cssfile%>">
<!--#include file="usernav.asp" -->
<!--#include file="myhead.asp" -->
<div class="stage">
<div class="stagepad">
<div style="width:100%">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="modth">
	<tr><td class="modtl" width="7">&nbsp;</td>
	<td class="modtc" nowrap>
		<table border="0" cellspacing="0" cellpadding="0"><tr><td>
		<div class="modhead"><span class="modtit">个人档案</span> </div>
		</td></tr></table>
	</td>
	<td class="modtc" nowrap align="right"></td>
	<td class="modtr" width="7">&nbsp;</td>
	</tr></table>
<div id="m_blog" class="modbox">
<div style="width:100%">
            <div style="position:relative;margin:0 0 0 203px"> 
              <div style="position:absolute;left:-203px;top:5px"> 
                <table width="190" border="0" cellspacing="0" cellpadding="0" class="photo">
                  <tr> 
                    <td align="center" class="image"><img src="<%=blogheadimg%>" border="0" onload="javascript:if(this.width>120) this.width=120"> 
                      <div class="line"></div></td>
                  </tr>
                  <tr> 
                    <td height="28" align="center"> <div class="opt"> <a href="friend_add.asp?postuser=<%=rs2("clubuser_name")%>"> 
                        <img src='blogimages/ico_adfriend.gif' border='0' align='absmiddle'>加为好友</a> 
                        | <a href="blogsms_add.asp?postuser=<%=rs2("clubuser_name")%>"> 
                        <img src="blogimages/ico_sendmsg.gif" border="0" align="absmiddle">发送消息</a> 
                      </div></td>
                  </tr>
                </table>
              </div>
              <table width="100%" border="0" cellspacing="5" cellpadding="0" class="f12">
                <tr> 
                  <td width="113" class="tit"><span style="font-weight: 400">用户名：</span></td>
                  <td width="412"><%=rs2("clubuser_name")%></td>
                </tr>
                <tr> 
                  <td class="tit"><span style="font-weight: 400">性别：</span></td>
                  <td> <%=rs2("clubuser_sex")%></td>
                </tr>
                <tr> 
                  <td class="tit"><span style="font-weight: 400">邮箱：</span></td>
                  <td> <%=rs2("clubuser_email")%> </td>
                </tr>
                <tr> 
                  <td class="tit"><span style="font-weight: 400">婚姻状态：</span></td>
                  <td> <%=rs2("clubuser_marriage")%> </td>
                </tr>
                <tr> 
                  <td class="tit"><span style="font-weight: 400">住址：</span></td>
                  <td> <%=rs2("clubuser_address")%> </td>
                </tr>
                <tr> 
                  <td class="tit"><span style="font-weight: 400">注册时间：</span></td>
                  <td><%=rs2("clubuser_reg_date")%></td>
                </tr>
                <tr> 
                  <td valign="top" class="tit"><span style="font-weight: 400">blog标题：</span></td>
                  <td valign="top"> 
                    <%if isNull(rs2("homepagetitle")) then response.write "这家伙很懒什么没有填写" else response.write rs2("homepagetitle") end if%>
                  </td>
                </tr>
                <tr> 
                  <td valign="top" class="tit"><span style="font-weight: 400">简介：</span></td>
                  <td valign="top"> 
                    <%if isNull(rs2("clubuser_note")) then response.write "这家伙很懒什么没有填写" else response.write rs2("clubuser_note") end if%>
                  </td>
                </tr>
              </table>
              <div class="pline">　</div>
            </div>
            <br>
</div>
</div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" height="8">
	<tr><td class="modbl" width="7">&nbsp;</td>
	<td class="modbc">&nbsp;</td>
	<td class="modbr" width="7">&nbsp;</td>
	</tr></table>
</div>
</div>
</div>
</div>
<br>
<center><!--#include file="tail.asp" --></center>
</body></html>
<%closedb%>