<!--#include file="conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="../webconfig.asp"-->
<!--#include file="../fuction.asp"-->
<%if session("username")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆,请登录后查看！');window.location.href='login.asp';</script>"
response.End
end if
%>

<style type="text/css">
<!--
.style1 {font-weight: bold}
-->
</style>
<style type="text/css">
<!--
.style2 {
	color: #FF0000;
	font-weight: bold;
}
-->
</style>
<!--#include file="../webtop.asp"-->

<table width="1000" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="6" colspan="3"></td>
  </tr>
  <tr>
    <td width="20"></td>
    <td valign="bottom"><img src="<%=weburl%>images/arrow01.gif" width="11" height="11" /> Your present position: <a href="<%=weburl%>"><%=webname%></a> -> <span class="table-shangxia"><span class="b14"><a href=index.asp><%=bbsname%></a> → <%=username%>的详资料</span></span></td>
    <td valign="bottom"></td>
  </tr>
  <tr>
    <td height="6" colspan="3"></td>
  </tr>
</table>
<!--#include file="top.asp"-->
           

<% username=nosql(HTMLEncode(request.querystring("username")))
set rs1=conn.execute("SELECT*FROM shop_user where username='"&username&"'")
if rs1.EOF or rs1.bof  then
response.write"<SCRIPT language=JavaScript>alert('没有该用户的资料，可能该用户已被删除');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end 
end if
%>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td valign="top">
            <table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="8"></td>
              </tr>
            </table>
            <table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="8"></td>
              </tr>
            </table>
            <TABLE width=670 border=0 align="center" cellPadding=4 cellSpacing=1 bgcolor="#999999">
              <TBODY>
                <TR bgcolor="CCCCCC" class=line1>
                  <TD width="120"  align="center" ><span style="font-weight: bold"> 用户昵称： </span></TD>
                  <TD colspan="2" class=line1><span class="style2"><FONT  
                        class=fontcolor2><%=rs1("username")%></font></span> [ <a href=mysms.asp?menu=write&username=<%=rs1("username")%>>给<%=rs1("username")%>发信息</a> ]</TD>
                </TR>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF">
                    <p align="center" style="font-weight: bold">用户性别：</TD>
                  <TD colspan="2" class=line1><FONT color=#ff6600>
                    <% if rs1("sex")=1 then%>
        男
        <%elseif rs1("sex")=2 then%>
        女
        <%else%>
        保密
        <%end if%>
                  </FONT></TD>
                </TR>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><strong>商城身份：</strong></TD>
                  <TD colspan="2" class=line1><%if rs1("reglx")=1 then%>普通会员<%end if%>
          <%if rs1("reglx")=2 then%>VIP 会员<%end if%>
          <%if rs1("reglx")=3 then%>批发会员<%end if%></TD>
                </TR>
                <%if trim(rs1("nianling"))<>"" then%><TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><span style="font-weight: bold">用户年龄：</span></TD>
                  <TD colspan="2" class=line1><%=trim(rs1("nianling"))%></TD>
                </TR><%end if%>
                <%if rs1("szsheng")<>"" or rs1("szshi")<>"" then%><TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><strong>所在省市：</strong></TD>
                  <TD colspan="2" class=line1><%=rs1("szsheng")%> <%=rs1("szshi")%></TD>
                </TR><%end if%>
                <%if rs1("oicq")<>"" then%><TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><span style="font-weight: bold"> O I C Q：</span></TD>
                  <TD colspan="2" class=line1><%=rs1("oicq")%></TD>
                </TR><%end if%><%if rs1("useremail")<>"" then%>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><span style="font-weight: bold">用户邮箱：</span></TD>
                  <TD colspan="2" class=line1><%=rs1("useremail")%></TD>
                </TR><%end if%><%if rs1("usertel")<>"" then%>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><strong>联系电话：</strong></TD>
                  <TD colspan="2" class=line1><%=trim(rs1("usertel"))%></TD>
                </TR><%end if%><%if rs1("shouhuodizhi")<>"" then%>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><strong>详细地址：</strong> </TD>
                  <TD colspan="2" class=line1><%=trim(rs1("shouhuodizhi"))%></TD>
                </TR><%end if%>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><span style="font-weight: bold"> 用户职位：</span></TD>
                  <TD width="402" class=line1><%=rs1("zw")%></TD>
                  <TD width="120" rowspan="4" align="center" class=line1><img src="images/<%=rs1("pic")%>" width="82" height="90" align="absmiddle"></TD>
                </TR>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><span style="font-weight: bold"> 发帖数量：</span></TD>
                  <TD width="402" class=line1><%=rs1("topic")%></TD>
                </TR>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF">
                      <strong>注册时间：</strong></TD>
                  <TD width="402" class=line1><%=rs1("adddate")%></TD>
                </TR>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF">
                     <strong>最近登录：</strong></TD>
                  <TD width="402" class=line1><%=rs1("zjdlsj")%></TD>
                </TR><%if rs1("homepage")<>"" then%>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center" bgcolor="#FFFFFF"><strong>个人主页：</strong></TD>
                  <TD colspan="2" class=line1><%=trim(rs1("homepage"))%></TD>
                </TR><%end if%>
                <TR bgcolor="#FFFFFF" class=line1>
                  <TD align="center"><strong>个人签名：</strong></TD>
                  <TD colspan="2" class=line1><%=rs1("content")%></TD>
                </TR>
              </TBODY>
            </TABLE>
            <table border="0" cellpadding="0" cellspacing="0" width="778" bgcolor="#FFFFFF" align="center">
              <tr>
                <td width="24%"></td>
                <td width="76%">&nbsp; </td>
              </tr>
            </table>
            <p>&nbsp;</p></td>
        </tr>
    </table></td>
  </tr>
</table>         
<!--#include file="../copyright.asp"-->             