<!--#include file="conn.asp"-->
<!--#include file="inc/function.asp"-->
<!--#include file="config.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>快问我知道 - 会员信息</title>
<link href="css.css" rel="stylesheet" type="text/css">
<SCRIPT language=javascript1.2>
function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
if (whichEl.style.display == "none")
{
eval("submenu" + sid + ".style.display=\"\";");
}
else
{
eval("submenu" + sid + ".style.display=\"none\";");
}
}
</SCRIPT>
</head>
<body>
<!--#include file="top.asp"-->
<%
dim rs,sql,u,i
u=request.QueryString("u")
set rs=server.CreateObject("adodb.recordset")
if u=1 then
sql ="Select * from kw_user where zhuan=1"
else
sql ="Select * from kw_user where zhuan=0"
end if
rs.open sql,conn,1,1
%>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#EFEFEF" class="top_new">
  <tr align="center" bgcolor="#62A11C">
    <td colspan="2"><font color="#FFFFFF"><b>注册名称</b></font></td>
    <td width="136"><font color="#FFFFFF"><b>等 级</b></font></td>
    <td width="124"><font color="#FFFFFF"><b>积 分</b></font></td>
    <td width="217">&nbsp;</td>
  </tr>
  <%
  for i=1 to 20
     if rs.eof then
	   exit for
	 end if
  %>
  <tr  onclick="showsubmenu(<%=i%>)" onmouseover="this.style.backgroundColor='#ffffff'" onmouseout="this.style.backgroundColor=''" bgColor="#EEFFEE">
    <td width="141" height="30">&nbsp;&nbsp;<img src="images/userinfo.gif" align="absmiddle">&nbsp;<font color="#0000FF" face="Arial, Helvetica, sans-serif"><b><%=rs("username")%></b></font></td>
    <td width="152" align="center">查看</td>
    <td align="center"><%=rs("dengji")%>&nbsp;<%if rs("zhuan")=1 then%><img src="images/zhuan.gif"><%end if%></td>
    <td align="center"><%=rs("jifen")%></td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#FFFFFF" id='submenu<%=i%>' style="display:none">
    <td height="26" colspan="5" bgcolor="#FFCCFF">
<br>
	<table width="96%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#88C488">
	  <tr bgcolor="#669933">
	    <td height="26" colspan="2" align="center"><font face="Arial, Helvetica, sans-serif" color="#FFFFFF"><b><%=rs("username")%> 的详细资料</b></font></td>
	    </tr>
	  <tr bgcolor="#FFFFFF">
        <td width="38%" height="40" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;用户ID：&nbsp;&nbsp;&nbsp;<%=rs("username")%></td>
        <td width="38%" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;注&nbsp;册&nbsp;时&nbsp;间&nbsp;：&nbsp;&nbsp;<%=rs("regtime")%></td>
        </tr>
      <tr bgcolor="#FFFFFF">
        <td height="40" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;积&nbsp;&nbsp;分：&nbsp;&nbsp;&nbsp;<%=rs("jifen")%></td>
        <td>&nbsp;&nbsp;&nbsp;最后登陆时间：&nbsp;&nbsp;<%=rs("lasttime")%></td>
        </tr>
      <tr bgcolor="#FFFFFF">
        <td height="40" colspan="2" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;等&nbsp;&nbsp;级：&nbsp;&nbsp;&nbsp;<%=rs("dengji")%>&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FF0000">*&nbsp;本站设定等级不一定和积分相当，需要登陆才进行积分和等级的转换。</font></td>
        </tr>
    </table>
	<br>
<%if rs("openp")=1 then%>
<table width="96%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#88C488">
      
	  <tr bgcolor="#FFFFFF">
        <td width="38%" height="40" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;用户名：&nbsp;&nbsp;&nbsp;<%=session("userid")%></td>
        <td width="38%" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;性&nbsp;&nbsp;别：&nbsp;&nbsp;<%=rs("sex")%>
		</td>
        <td rowspan="4" align="center" bgcolor="#FFFFFF"><IMG src="<%=rs("pic")%>" name="userpic" width="100" height="132" border="1">
</td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="40" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;姓&nbsp;&nbsp;名：&nbsp;&nbsp;<%=rs("realname")%></td>
        <td>&nbsp;&nbsp;&nbsp;生&nbsp;&nbsp;日：&nbsp;&nbsp;<%=rs("birthday")%></td>
        </tr>
      <tr bgcolor="#FFFFFF">
        <td height="40" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;国&nbsp;&nbsp;家：&nbsp;&nbsp;<%=rs("country")%></td>
        <td>&nbsp;&nbsp;&nbsp;血&nbsp;&nbsp;型：&nbsp;&nbsp;<%=rs("blood")%>
		</td>
        </tr>
      <tr bgcolor="#FFFFFF">
        <td height="40" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;省&nbsp;&nbsp;份：&nbsp;&nbsp;<%=rs("city")%>
		</td>
        <td>&nbsp;&nbsp;&nbsp;职&nbsp;&nbsp;业：&nbsp;&nbsp;<%=rs("zhiye")%>
		</td>
        </tr>
      <tr bgcolor="#FFFFFF">
        <td height="40" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;学&nbsp;&nbsp;历：&nbsp;&nbsp;<%=rs("xueli")%>
		</td>
        <td colspan="2" bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;头&nbsp;&nbsp;像：&nbsp;&nbsp;<IMG src="<%=rs("images")%>" name=tus align="absmiddle">
		</td>
        </tr>
    </table><br>
<TABLE width="96%" height=96 border=1 align="center" cellPadding=0 cellSpacing=0 borderColor=#88C488 bgColor=#FFFFFF style="BORDER-COLLAPSE: collapse" valign="top">
        <TR>
          <TD align=middle height=181 
rowSpan=3>联<BR>
            系<BR>方<BR>式</TD>
          <TD align=left colSpan=2 height=30>
            <P style="TEXT-INDENT: 10pt">联系电话：<%=rs("tel")%>
            </P></TD>
          <TD align=left colSpan=2 height=30>
            <P style="TEXT-INDENT: 10pt">Email：<%=rs("mail")%>
            </P></TD></TR>
        <TR>
          <TD align=left colSpan=2 height=30>
            <P style="TEXT-INDENT: 10pt">OICQ号码：<%=rs("qq")%>
            </P></TD>
          <TD align=left colSpan=2>
            <P style="TEXT-INDENT: 10pt">MSN：<%=rs("msn")%>
            </P></TD></TR>
        <TR>
          <TD align=left colSpan=4 height=30>
            <P style="TEXT-INDENT: 10pt">地址/邮编：<%=rs("address")%>
            </P></TD></TR>
        <TR>
          <TD vAlign=top colSpan=6 
            height=300>
			<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="40" align="center"><b>个人介绍：</b></td>
  </tr>
  <tr>
    <td><%=HTMLcode(rs("userinfo"))%></td>
  </tr>
</table>
</TD>
        </TR>
	  </TABLE>
<%else%>
&nbsp;&nbsp;<font color="#FF6600">* 用户设定其他信息不公开 *</font>
<%end if%>
	  <br>

	
	</td>
  </tr>
  <%
  rs.movenext
  next
  %>
</table>
<%
rs.close
set rs=nothing
closedb
%>
<!--#include file="end.asp"-->
</body>
</html>
