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

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="user_board.aspx.cs" AutoEventWireup="false" Inherits="kuangren.user_board" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <meta name="vs_showGrid" content="False">
  6. <title>狂人论坛-用户控制面板</title>
  7. <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  8. <meta name="CODE_LANGUAGE" Content="C#">
  9. <meta name="vs_defaultClientScript" content="JavaScript">
  10. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  11. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  12. <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
  13. <script language="JavaScript" type="text/JavaScript">
  14. <!--
  15. function MM_openBrWindow(theURL,winName,features) { //v2.0
  16.   window.open(theURL,winName,features);
  17. }
  18. //-->
  19. </script>
  20. </HEAD>
  21. <body leftmargin="0" topmargin="0">
  22. <!--#include file="sitehead.aspx" -->
  23. <div align="center"> 
  24.   <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  25. <tr>
  26.       <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle">
  27.   <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2> → <a href="user_board.aspx"><%=usercookies%>的控制面板</a> → 控制面板</td>
  28.     </tr>
  29.   </table>
  30.   <br>
  31.   <table width="97%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6595d6"
  32. style="BORDER-COLLAPSE: collapse">
  33.     <tr class="title_link"> 
  34.       <td class="title"><div align="center"> <strong><a href="user_board.aspx">控制面板首页</a></strong> 
  35.         </div></td>
  36.       <td class="title"><div align="center"> <strong><a href="user_board_inforup.aspx">基本资料修改</a></strong> 
  37.         </div></td>
  38.       <td class="title"><div align="center"> <strong><a href="user_board_passup.aspx">用户密码修改</a></strong> 
  39.         </div></td>
  40.       <td class="title"><div align="center"> <strong><a href="modifyadd.asp"></a><a href="user_board_message.aspx">用户短信服务</a></strong> 
  41.         </div></td>
  42.       <td class="title"><div align="center"> <strong><a href="user_board_upload.aspx">我的附件箱</a></strong> 
  43.         </div></td>
  44.       <td class="title"><div align="center"> <strong><a href="user_board_favord.aspx">用户收藏管理</a></strong> 
  45.         </div></td>
  46.       <td class="title"> <div align="center"><a href="user_board_post.aspx"><strong>我所发表的文章</strong></a> 
  47.         </div></td>
  48.     </tr>
  49.   </table>
  50.   <br>
  51. <table width="97%" height="349" align="center" cellpadding="0" cellspacing="0">
  52. <tr>
  53. <td width="22%" height="347" valign="top">
  54. <table width="100%" border="1" cellpadding="3" cellspacing="2" bordercolor="#6595d6" style="border-collapse: collapse">
  55. <tr>
  56. <td class="title"><font color="#FFFFFF"><strong>用户头像</strong></font></td>
  57. </tr>
  58. <tr>
  59. <td height="57">
  60. <div align="center"> <img src="images/touxiang.gif"> 
  61.               </div>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td class="title"><font color="#FFFFFF"><strong>基本信息</strong></font></td>
  66. </tr>
  67.           <tr> 
  68.             <td>
  69. <table width="97%" border="0" align="center" cellpadding="2" cellspacing="0">
  70.                 <tr> 
  71.                   <td><br>
  72.                     发贴: 
  73.                     <%#dsPending.Tables[0].Rows[0]["u_post"]%>
  74.                     <br>
  75.                     积分: 
  76.                     <%#dsPending.Tables[0].Rows[0]["u_fenshu"]%>
  77.                     <br> <span class="pt9-000099">威望值: 
  78.                     <%#Convert.ToInt32(dsPending.Tables[0].Rows[0]["u_fenshu"])/10%>
  79.                     </span><br>
  80.                     来自: 
  81.                     <%#dsPending.Tables[0].Rows[0]["u_address"]%>
  82.                     <br>
  83.                     注册:<span class="pt9-000099"> 
  84.                     <%#(Convert.ToDateTime(dsPending.Tables[0].Rows[0]["u_regtime"])).ToString("yyyy-MM-dd ")%>
  85.                     </span></td>
  86. </tr>
  87. </table>
  88.             </td>
  89. </tr>
  90. </table>
  91. <br>
  92. <br>
  93. <table width="98%" border="1" cellpadding="3" cellspacing="2" bordercolor="#6595d6">
  94. <tr>
  95. <td class="title"><font color="#FFFFFF"><strong>好友在线</strong></font></td>
  96. </tr>
  97. <tr>
  98. <td><img src="images/msg_new_bar.gif" width="16" height="16"></td>
  99. </tr>
  100. <tr>
  101. <td height="13">*点击图标给好友发送短讯!</td>
  102. </tr>
  103. </table>
  104. <br>
  105. </td>
  106. <td valign="top">
  107. <div align="right">
  108. <table width="98%" border="1" cellspacing="2" cellpadding="3" bordercolor="#6595d6">
  109. <tr>
  110. <td class="title"><font color="#FFFFFF"><strong>-=&gt; 论坛短信息</strong></font></td>
  111. </tr>
  112. <tr>
  113.               <td><font color="#663333">&nbsp; <%=messagejudge%></font> </td>
  114. </tr>
  115. </table>
  116. <font color="#663333"><span class="pt9-red"><b></b></span></font>
  117. <br>
  118. <table width="98%" border="1" cellpadding="0" cellspacing="0" bordercolor="#6595d6" style="BORDER-COLLAPSE: collapse" >
  119. <tr>
  120. <td colspan="5" class="title"><strong><font color="#FFFFFF">-=&gt; 最新收到的短讯</font></strong></td>
  121. </tr>
  122. <tr bgcolor="">
  123. <td width="7%" height="24"><div align="center"><font color="#000000"><strong>状态</strong></font></div>
  124. </td>
  125. <td width="21%" bgcolor=""><div align="center"><font color="#000000"><strong>发件人</strong></font></div>
  126. </td>
  127. <td width="37%" bgcolor=""><div align="center"><font color="#000000"><strong>主题 </strong></font>
  128. </div>
  129. </td>
  130. <td width="21%"><div align="center"><font color="#000000"><strong>日期</strong></font></div>
  131. </td>
  132. <td width="14%"><div align="center"><font color="#000000"><strong>大小</strong></font></div>
  133. </td>
  134. </tr>
  135.    <asp:repeater id="usernews" runat="server" >
  136. <itemtemplate>   
  137. <tr>
  138. <td height="26"><div align="center">
  139.                       <div align="center"> <img src="images/<%# JudgeImage(DataBinder.Eval(Container.DataItem,"p_yn"))%>.gif"></div>
  140. </div>
  141. </td>
  142. <td><div align="center">
  143.                       <div align="center"> <a href="user_infor.aspx?u_user=<%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_send")).ToString())%>" target="_blank">
  144.                         <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_send")).ToString())%>
  145.                         </a> <strong> </strong> </div>
  146. </div>
  147. </td>
  148. <td><div align="center">                    
  149.                       <a href="#" onclick="MM_openBrWindow('user_board_messagedetail.aspx?p_id=<%# DataBinder.Eval(Container.DataItem,"p_id")%>&j_take=<%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_send")).ToString())%>','','scrollbars=yes,resizable=yes,width=520,height=400')">
  150.                 <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_title")).ToString())%>
  151.                 </a>
  152.                       <strong><a href="#" onclick="MM_openBrWindow('user_board_messagedetail.aspx?p_id=<%# DataBinder.Eval(Container.DataItem,"p_id")%>&j_take=<%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_send")).ToString())%>','','scrollbars=yes,resizable=yes,width=520,height=400')"> 
  153.                       </a></strong> </div>
  154. </td>
  155.                   <td> 
  156.                     <div align="center">
  157.                       <div align="center"> 
  158.                         <%# DataBinder.Eval(Container.DataItem,"p_stime")%>
  159.                         <strong> </strong> </div>
  160. </div>
  161. </td>
  162. <td>
  163. <div align="center">
  164.                       <div align="center"> 
  165.                         <table width="100%" border="0" cellspacing="0" cellpadding="2">
  166.                           <tr> 
  167.                             <td width="50%"> <div align="right"> 
  168.                                 <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"p_content")).ToString()).Length%>
  169.                                 &nbsp;</div></td>
  170.                             <td width="50%">字符</td>
  171.                           </tr>
  172.                         </table>
  173.                         <strong></strong> </div>
  174. </div>
  175. </td>
  176. </tr>
  177. </itemtemplate>
  178. </asp:repeater>
  179. <tr>
  180.               <td height="25" colspan="5">
  181. <table width="50%" border="0" align="center" cellpadding="3" cellspacing="0">
  182. <tr>
  183. <td><%=norecord%></td>
  184. </tr>
  185. </table>
  186. </td>
  187. </tr>
  188. </table>
  189. <br>
  190. <table width="98%" border="1" cellspacing="2" cellpadding="3" bordercolor="#6595d6">
  191. <tr>
  192. <td width="100%" height="14" class="title"><font color="#FFFFFF"><strong>-=&gt; 最新上传文件</strong></font></td>
  193. </tr>
  194.             <tr> 
  195.               <td height="20" bgcolor="#e2ebf5">
  196. <div align="center"><font color="#FF0000">功能未完成</font></div>
  197. </td>
  198. </tr>
  199. </table>
  200. <br>
  201. <table width="98%" border="1" cellspacing="2" cellpadding="3" bordercolor="#6595d6">
  202. <tr>
  203. <td class="title"><strong><font color="#FFFFFF">-=&gt; 最近发表的文章</font></strong></td>
  204. </tr>
  205. <tr>
  206.               <td height="33"> <table width="70%" border="0" cellspacing="0" cellpadding="0"><%=nopower%>
  207.                   <asp:repeater id="userpower" runat="server" > 
  208.                     <itemtemplate> 
  209.                       <tr> 
  210.                         <td width="9%"><img src="<%# DataBinder.Eval(Container.DataItem,"f3_face") %>"></td>
  211.                         <td width="60%"> <a href="article_det.aspx?f2_id=<%# DataBinder.Eval(Container.DataItem,"f3_sy") %>&f3_id=<%# DataBinder.Eval(Container.DataItem,"f3_id")%>&pageindex=1" target="_blank"> 
  212.                           <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_motif").ToString()) %>
  213.                           </a> </td>
  214.                         <td width="44%">  
  215.                           <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_now").ToString()) %>
  216.                         </td>
  217.                       </tr>
  218.                     </itemtemplate>
  219.                   </asp:repeater>
  220.                 </table></td>
  221. </tr>
  222. </table>
  223. </div>
  224. </td>
  225. </tr>
  226. </table>
  227. </div> <!--#include file="sitefloor.aspx" -->
  228. </body>
  229. </HTML>