<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Include/Connect.asp"-->
<%
Username=Checkstr(request.querystring("Username"))
if Username="" then
response.end()
end if
%>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../CSS/Hompy/hompy.css" type=text/css rel=stylesheet>
<title></title>
<script language="JavaScript" type="text/JavaScript">
<!--
function winOpen(Url,width,height,scrollbar,resize)
{

ow = width;
oh = height;
os = scrollbar;
or = resize;
var xposition=0; 
var yposition=0;
if ((parseInt(navigator.appVersion) >= 4 ))
  {
    xposition = (screen.width - width) / 2;
    yposition = (screen.height - height-25) / 2;
  }
  window.open (Url,"","width ="+ow+",height="+oh+",scrollbars = "+os+",resizable="+or+",left="+xposition+",top="+yposition );
}
//-->
</script>
</head>
<body  oncontextmenu="window.event.returnValue=false" onselectstart="return false">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from Show5_ALLUser where Username='"&request.querystring("Username")&"'"
rs.open sql,cn,1,1
%>
<TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
  <TBODY>
  <TR>
                                                  <TD height=20 class="orange2_b">个人资料</TD>
                                                </TR>
  <TR>
    <TD bgColor=#dddddd height=1></TD></TR>
  <TR>
    <TD height=10></TD></TR>
  <TR>
    <TD height=10>
      <TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
          <TBODY>
            <TR> 
              <TD width="151" height=110><TABLE cellSpacing=1 cellPadding=3 align=center bgColor=#cccccc border=0>
<TBODY>
  <TR>
    <TD align=middle bgColor=#ffffff><%
if rs("Userpic")="user_photo.gif" then
response.write "<img src='../Userpic/user_photo.gif' width='164' height='125'>"
else
response.write "<img src='../Userpic/"&username&"/"&rs("Userpic")&"' width='164' height='125'>"
end if
%></TD>
  </TR>
</TBODY>
</TABLE></TD>
              <TD width="317" vAlign=top align="right"><TABLE height="100%" cellSpacing=1 cellPadding=0 width=291 
            bgColor=#dddddd border=0>
                  <TBODY>
                    <TR> 
                      <TD class=font_black9 align=middle width=97 bgColor=#f5f5f5 
                height=20>姓名</TD>
                      <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px" width=368 
                bgColor=#ffffff><%=rs("Truename")%> <%if rs("sex")=0 then%> <img src="../Images/Hompy/man.gif" width="13" height="13" align="absmiddle"> 
                        <%else%> <img src="../Images/Hompy/woman.gif" width="13" height="13" align="absmiddle"> 
                        <%end if%></TD>
                    </TR>
                    <TR> 
                      <TD class=font_black9 align=middle width=97 bgColor=#f5f5f5 
                height=18>昵称</TD>
                      <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px" width=368 
                bgColor=#ffffff> <DIV 
                id=connMgr_id><%=rs("Nickname")%></DIV></TD>
                    </TR>
                    <TR> 
                      <TD class=font_black9 align=middle width=97 bgColor=#f5f5f5 
                height=18>出生年月</TD>
                      <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px" width=368 
                bgColor=#ffffff> <DIV id=connMgr_id><%=rs("birthday_Year")%>.<%=rs("birthday_Month")%>.<%=rs("birthday_Day")%></DIV></TD>
                    </TR>
                    <TR> 
                      <TD class=font_black9 align=middle width=97 bgColor=#f5f5f5 
                height=49>个人简介</TD>
                      <TD style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px" width=368 
                bgColor=#ffffff height=24><%=rs("Selfintro")%></TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
          </TBODY>
        </TABLE></TD></TR>
  <TR>
    <TD height=10></TD></TR>
<%
if session("username")= username then
%>
  <TR>
      <TD height=25 align="center">想改变你的形象照片吗？点击“<a href="javascript:;" onClick="javascript:winOpen('../ptt/setuserpic.asp?username=<%=username%>', 468, 294, 'no','no')"><font color="#FF0000">我要拍贴</font></a>”</TD>
    </TR>
<%end if %>
  <TR>
    <TD height=10>
      <TABLE cellSpacing=1 cellPadding=0 width=468 bgColor=#dddddd border=0>
        <TBODY>
        <TR>
                                                          <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>所在地/地址</TD>
                                                          <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("Province")%><%=rs("City")%></TD>
                                                        </TR>
        <TR>
                                                          <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>学历</TD>
                                                          <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("Study")%></TD>
                                                        </TR>
        <TR>
                                                          <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>职业</TD>
                                                          <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("Job")%></TD>
                                                        </TR>
<TR>
                                                          
              <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>兴趣爱好</TD>
                                                          
              <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("Interest")%></TD>
                                                        </TR>
	        <TR>
                                                          <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>联系电话</TD>
                                                          <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("TEL")%></TD>
                                                        </TR>
        <TR>
                                                          <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>E-mail</TD>
                                                          <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("Email")%></TD>
                                                        </TR>
        <TR>
                                                          <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>QQ</TD>
                                                          <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("QQ")%></TD>
                                                        </TR>
        <TR>
                                                          <TD class=font_black9 style="PADDING-LEFT: 16px" width=122 
          bgColor=#f5f5f5 height=23><IMG height=5 
            src="../Images/Hompy/bullet_angle.gif" width=10 align=absMiddle>MSN</TD>
                                                          <TD class=font_gray8e style="PADDING-LEFT: 10px" width=338 
          bgColor=#ffffff height=23><%=rs("MSN")%></TD>
                                                        </TR>
														</TBODY></TABLE></TD></TR>
  <TR>
    <TD height=4></TD></TR>
  <TR>
      <TD height=30 align="right">
<%
if session("username")=username then
%>
        <a href="manage/manage_index.asp?username=<%=username%>" target="_parent"><img src="../Images/Hompy/btn_modifyinfo.gif" width="112" height="19" border="0"></a> 
        <%
end if
%>
</TD>
    </TR></TBODY></TABLE>
<%
rs.close
set rs=nothing
%>
</body>
</html>
