user_infor.aspx
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:10k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="user_infor.aspx.cs" AutoEventWireup="false" Inherits="kuangren.user_infor" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>狂人论坛-浏览个人资料</title>
  6. <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  7. <meta name="CODE_LANGUAGE" Content="C#">
  8. <meta name="vs_defaultClientScript" content="JavaScript">
  9. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  11. <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
  12. <script language="JavaScript" type="text/JavaScript">
  13. <!--
  14. function MM_openBrWindow(theURL,winName,features) { //v2.0
  15.   window.open(theURL,winName,features);
  16. }
  17. //-->
  18. </script>
  19. </HEAD>
  20. <body leftmargin="0" topmargin="0">
  21. <!--#include file="sitehead.aspx" -->
  22. <div align="center">
  23. <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0"> <tr>       <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle">   <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2> → 浏览个人资料</td>
  24. </tr>
  25. </table>
  26.   <br>
  27.   <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  28.     <tr> 
  29.       <td bgColor="#f0f0f0" height="25"><strong><font color="#000000"> 
  30.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_user"].ToString())%>
  31.         </font></strong><font color="#000000">的基本资料</font></td>
  32.     </tr>
  33.   </table>
  34.   <table width="97%" border="1" align="center" cellpadding="2" cellspacing="0" bordercolor="#6595d6"  style="border-collapse: collapse">
  35.     <tr> 
  36.       <td colspan="2"><div align="left">
  37.           <p class="title"><strong><font color="#FFFFFF"><%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_user"].ToString())%>基本资料</font> </strong></p>
  38.         </div></td>
  39.       <td width="44%" rowspan="9" valign="top"><table border="0" align="center">
  40.           <tr> 
  41.             <td valign="top"> <div align="center"> 
  42.                                <img> 
  43.                                &nbsp;</div></td>
  44.           </tr>
  45.         </table></td>
  46.     </tr>
  47.     <tr> 
  48.       <td width="27%"><div align="right"><strong> 性 别:</strong></div></td>
  49.       <td width="29%"><div align="left"> <strong>
  50.           <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_msn"].ToString())%>
  51.           </strong> </div></td>
  52.     </tr>
  53.     <tr> 
  54.       <td><div align="right"><strong> 出 生:</strong></div></td>
  55.       <td><div align="left"><strong> </strong></div></td>
  56.     </tr>
  57.     <tr> 
  58.       <td> <div align="right"><strong> 星 座:</strong></div></td>
  59.       <td><div align="left"><strong> </strong></div></td>
  60.     </tr>
  61.     <tr> 
  62.       <td> <div align="right">Email:</div></td>
  63.       <td><div align="left">
  64.           <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_email"].ToString())%>
  65.         </div></td>
  66.     </tr>
  67.     <tr> 
  68.       <td> <div align="right">Q Q:</div></td>
  69.       <td> <div align="left">
  70.           <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_Oicq"].ToString())%>
  71.         </div></td>
  72.     </tr>
  73.     <tr> 
  74.       <td><div align="right">ICQ:</div></td>
  75.       <td><div align="left">
  76.           <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_icq"].ToString())%>
  77.         </div></td>
  78.     </tr>
  79.     <tr> 
  80.       <td> <div align="right"><strong>职业</strong>:</div></td>
  81.       <td> <div align="left">
  82.           <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_Occupation"].ToString())%>
  83.         </div></td>
  84.     </tr>
  85.     <tr> 
  86.       <td height="14"> <div align="right"><strong>主 页:</strong></div></td>
  87.       <td><div align="left"> <a href="<%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_homepage"].ToString())%>" target="_blank">
  88.           <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_homepage"].ToString())%>
  89.           </a> </div></td>
  90.     </tr>
  91.     <tr> 
  92.       <td height="19"> </td>
  93.       <td> </td>
  94.       <td><div align="center"><strong><a href="#" onclick="MM_openBrWindow('messagesend.aspx?j_take=<%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_user"].ToString())%>','','scrollbars=yes,resizable=yes,width=520,height=400')">给他留言</a> | 加为好友</strong></div></td>
  95.     </tr>
  96.   </table>
  97.   <br>
  98.   <table width="97%" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#6595d6"  style="border-collapse: collapse">
  99.     <tr > 
  100.       <td colspan="4" class="title" ><strong><font color="#FFFFFF">论坛属性</font></strong></td>
  101.     </tr>
  102.     <tr> 
  103.       <td width="20%"><div align="right">经验值:</div></td>
  104.       <td width="30%"> <strong> 
  105.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_fenshu"].ToString())%>
  106.         </strong> </td>
  107.       <td width="20%"><div align="right">精华帖子:</div></td>
  108.       <td width="30%"><strong>
  109.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_finearticle"].ToString())%>
  110.         </strong>篇</td>
  111.     </tr>
  112.     <tr> 
  113.       <td width="20%"><div align="right">魅力值:</div></td>
  114.       <td width="30%"> <strong> 
  115.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_fenshu"].ToString())%>
  116.         </strong> </td>
  117.       <td width="20%"><div align="right">帖子总数:</div></td>
  118.       <td width="30%"><strong>
  119.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_post"].ToString())%>
  120.         </strong>篇</td>
  121.     </tr>
  122.     <tr> 
  123.       <td width="20%"><div align="right">论坛等级:</div></td>
  124.       <td width="30%"> <strong> 
  125.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["g_txt"].ToString())%>
  126.         </strong> </td>
  127.       <td width="20%"> <div align="right">被删主题:</div></td>
  128.       <td width="30%"><strong><font color="#FF0000">-</font></strong><strong>
  129.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_postdel"].ToString())%>
  130.         </strong>篇</td>
  131.     </tr>
  132.     <tr> 
  133.       <td width="20%"><div align="right">威望值:</div></td>
  134.       <td width="30%"><strong> 
  135.         <%#Convert.ToInt32(dsPending.Tables[0].Rows[0]["u_fenshu"])/10%>
  136.         </strong></td>
  137.       <td width="20%"> <div align="right">被删除率:</div></td>
  138.       <td width="30%"><strong><font color="#FF0000">
  139.         <%=upostdel%>%</font></strong></td>
  140.     </tr>
  141.     <tr> 
  142.       <td width="20%"><div align="right">门 派:</div></td>
  143.       <td width="30%"><strong> 
  144.                 <font color="#666666">无门无派</font> 
  145.                </strong></td>
  146.       <td width="20%"> <div align="right">登陆次数:</div></td>
  147.       <td width="30%"><strong>
  148.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_loginnum"].ToString())%>
  149.         </strong></td>
  150.     </tr>
  151.     <tr> 
  152.       <td width="20%"><div align="right">注册日期:</div></td>
  153.       <td width="30%"><%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_regtime"].ToString())%>
  154.         <strong> </strong></td>
  155.       <td width="20%"> <div align="right">上次登录:</div></td>
  156.       <td width="30%"><strong>
  157.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_lastime"].ToString())%>
  158.         </strong></td>
  159.     </tr>
  160.   </table>
  161.   <br>
  162.   <table width="97%" border="1" style="border-collapse: collapse" bordercolor="#6595d6"  cellpadding="3" cellspacing="0">
  163.     <tr > 
  164.       <td colspan="3" class="title" ><font color="#FFFFFF"><strong>资产情况</strong></font></td>
  165.     </tr>
  166.     <tr> 
  167.       <td width="21%" height="20"><div align="right"><strong>现金货币:</strong></div></td>
  168.       <td width="29%">
  169.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_money"].ToString())%>
  170.       </td>
  171.       <td width="50%" rowspan="4" valign="top">论坛职务<br> <hr align="left" width="50%" color="#000000"> 
  172.                <font color="#999999"><%=nopower%></font> 
  173.             <asp:repeater id="userpower" runat="server" >
  174. <itemtemplate>   
  175. <table width="70%" border="0" cellspacing="0">   
  176.           <tr> 
  177.                 <td> 
  178.                   &nbsp;
  179.                   <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"um_title").ToString()) %>
  180.                   斑竹</td>
  181.           </tr>
  182.         </table></itemtemplate>
  183. </asp:repeater>
  184.       </td>
  185.     </tr>
  186.     <tr> 
  187.       <td><div align="right"><strong>股票市值:</strong></div></td>
  188.       <td>
  189.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_gupiao"].ToString())%>
  190.       </td>
  191.     </tr>
  192.     <tr> 
  193.       <td><div align="right"><strong>银行存款:</strong></div></td>
  194.       <td>
  195.         <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_savemoney"].ToString())%>
  196.       </td>
  197.     </tr>
  198.     <tr> 
  199.       <td><div align="right"><strong>总 资 产:</strong></div></td>
  200.       <td>
  201. <%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["u_money"].ToString())%>
  202.       </td>
  203.     </tr>
  204.   </table>
  205.   <br>
  206.   <table width="97%" border="1"  cellpadding="3" cellspacing="0" bordercolor="#6595d6" style="border-collapse: collapse">
  207.     <tr> 
  208.       <td class="title" ><font color="#FFFFFF"><strong>最近活动--搜索该用户所有帖子</strong></font></td>
  209.     </tr>
  210.     <tr> 
  211.       <td> <%=norecord%>
  212.         <table width="70%" border="0" cellspacing="0" cellpadding="0">
  213.           <asp:repeater id="userarticle" runat="server" > 
  214.             <itemtemplate> 
  215.               <tr> 
  216.                 <td width="9%"><img src="<%# DataBinder.Eval(Container.DataItem,"f3_face") %>"></td>
  217.                 <td width="60%"> 
  218.                   <a href="article_det.aspx?f2_id=<%# DataBinder.Eval(Container.DataItem,"f3_sy") %>&f3_id=<%# DataBinder.Eval(Container.DataItem,"f3_id")%>&pageindex=1">
  219.                   <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_motif").ToString()) %>
  220.                   </a> </td>
  221.                 <td width="44%">  
  222.                   <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_now").ToString()) %>    
  223.                 </td>
  224.               </tr>
  225.             </itemtemplate>
  226.           </asp:repeater>
  227.         </table></td>
  228.     </tr>
  229.   </table>  
  230. </div>
  231. <!--#include file="sitefloor.aspx" -->
  232. </body>
  233. </HTML>