<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>用户信息</title>
<STYLE type=text/css>
A:link {COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:visited {	COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active { COLOR: #ff0000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:hover {COLOR: #ff0000; TEXT-DECORATION: none}
BODY {FONT-SIZE: 9pt}
TH {FONT-SIZE: 9pt}
TD {FONT-SIZE: 9pt}
</STYLE>

</head>

<body bgcolor="#F0F0FF">

<!--#include file="conn.asp"-->
<%
if len(request.querystring("id"))<8 then
	id=replace(request.querystring("id"),"'","")
set tmprs=server.createobject("adodb.recordset")
tmpRs.open "Select * from ["&session("roomid")&"] Where UserID="&id,conn,1,3
if tmprs.bof then 
	tmpRs.close
	conndata.close
	%>
    <script language=vbscript>  
  		MsgBox "错误：该用户不存在！"  
  		location.href = "javascript:history.back()"  
	</script>
<%else
    	usex="保密"
    	if tmprs("userSex")=1 then
	    	usex="男"
    	end if 
    	if tmprs("userSex")=0 then
	    	usex="女"
    	end if 

	if tmprs("userEnable")=1 then
		ue="正常"
	else
		ue="被封"
	end if	
%>

<table border="1" width="480" cellspacing="0" cellpadding="3">
  <tr>
    <td width="100%" bgcolor="#C8C8FF">
      <p align="center">iChat聊天室用户信息</p>
    </td>
  </tr>
</table>
<table border="1" width="480" cellspacing="0" cellpadding="5">
  <tr>
    <td width="90" rowspan="4">
      <p align="center"><img border="0" src="<%=tmprs("userPhoto")%>" width="75" height="100"></p>
    </td>
    <td width="68" align="right" bgcolor="#C8C8FF">用户呢称</td>
    <td width="119"><%=tmprs("username")%>　</td>
    <td width="35" align="right" bgcolor="#C8C8FF">性别</td>
    <td width="76"><%=usex%></td>
  </tr>
  <tr>
    <td width="68" align="right" bgcolor="#C8C8FF">积分</td>
    <td width="119"><%=tmprs("usercredit")%>　</td>
    <td width="35" align="right" bgcolor="#C8C8FF">级别</td>
    <td width="76"><%=tmprs("userlevel")%>　</td>
  </tr>
  <tr>
    <td width="68" align="right" bgcolor="#C8C8FF">E_mail</td>
    <td width="119"><%=tmprs("userEmail")%>　</td>
    <td width="35" align="right" bgcolor="#C8C8FF">OICQ</td>
    <td width="76"><%=tmprs("userOicq")%>　</td>
  </tr>
  <tr>
    <td width="68" align="right" bgcolor="#C8C8FF">注册时间</td>
    <td width="119"><%=tmprs("CreateDate")%>　</td>
    <td width="35" align="right" bgcolor="#C8C8FF">状态</td>
    <td width="76"><%=ue%>　</td>
  </tr>
  <tr>
    <td width="90" height="80">
      <p align="center">留言</td>
    <td width="319" colspan="4" align="right" height="80">
      <p align="left"><%=tmprs("userResume")%></td>
  </tr>
</table>

<%end if
end if
%>
</body>

</html>
