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

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="user_board_post.aspx.cs" AutoEventWireup="false" Inherits="kuangren.user_board_post" %>
  2. <%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <meta name="vs_showGrid" content="False">
  7. <title>狂人论坛-用户发布文章</title>
  8. <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  9. <meta name="CODE_LANGUAGE" Content="C#">
  10. <meta name="vs_defaultClientScript" content="JavaScript">
  11. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  12. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  13. <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
  14. </HEAD>
  15. <body leftmargin="0" topmargin="0">
  16. <!--#include file="sitehead.aspx" -->
  17. <div align="center">
  18. <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  19. <tr>
  20.       <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle">
  21.   <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2> →<a href="user_board.aspx">
  22. <%=usercookies%>的控制面板</a> → 用户发表文章</td>
  23. </tr>
  24. </table>
  25. <br>
  26. <table width="97%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6595d6"
  27. style="BORDER-COLLAPSE: collapse">
  28. <tr class="title_link">
  29. <td class="title"><div align="center">
  30. <strong><a href="user_board.aspx">控制面板首页</a></strong>
  31. </div>
  32. </td>
  33. <td class="title"><div align="center">
  34. <strong><a href="user_board_inforup.aspx">基本资料修改</a></strong>
  35. </div>
  36. </td>
  37. <td class="title"><div align="center">
  38. <strong><a href="user_board_passup.aspx">用户密码修改</a></strong>
  39. </div>
  40. </td>
  41. <td class="title"><div align="center">
  42. <strong><a href="modifyadd.asp"></a><a href="user_board_message.aspx">用户短信服务</a></strong>
  43. </div>
  44. </td>
  45. <td class="title"><div align="center">
  46. <strong><a href="user_board_upload.aspx">我的附件箱</a></strong>
  47. </div>
  48. </td>
  49. <td class="title"><div align="center">
  50. <strong><a href="user_board_favord.aspx">用户收藏管理</a></strong>
  51. </div>
  52. </td>
  53. <td class="title">
  54. <div align="center"><a href="user_board_post.aspx"><strong>我所发表的文章</strong></a>
  55. </div>
  56. </td>
  57. </tr>
  58. </table>
  59. <br>
  60. <table cellSpacing="1" cellPadding="4" width="97%" align="center" bgColor="#6595d6" border="0">
  61. <tr bgColor="#ffffff">
  62.       <td colSpan="5" height="28"> <div align="center">当前论坛数据很可能进行了分表保存数据<br>
  63.           当前每页显示您在当前数据表中最前20帖,如果您需要查询更多数据请到搜索页面 </div></td>
  64. </tr>
  65. <tr class="title_link" align="center">
  66. <td class="title" style="HEIGHT: 2px" width="10%">状态</td>
  67. <td class="title" style="HEIGHT: 2px">主题 (点<IMG height="9" hspace="3" src="skin/dvbbs/images/%2B.gif" width="9" align="absMiddle"
  68. border="0">即可展开贴子列表)</td>
  69. <td class="title" style="HEIGHT: 2px" width="12%">作者</td>
  70. <td class="title" style="HEIGHT: 2px" width="13%">回复/人气</td>
  71. <td class="title" style="HEIGHT: 2px" width="27%">最后更新 | 回复人</td>
  72. </tr>
  73. <asp:repeater id="Repeater1" runat="server">
  74. <itemtemplate>
  75. <tr align="center" bgcolor="#FFFFFF" style="padding-top: 5px; padding-bottom: 5px;">
  76.           <td width="10%"> 
  77.             <img src="images/<%# JudgeImage(DataBinder.Eval(Container.DataItem,"f3_top").ToString(),DataBinder.Eval(Container.DataItem,"f3_distillate").ToString(),DataBinder.Eval(Container.DataItem,"f3_state").ToString(),Convert.ToInt32(DataBinder.Eval(Container.DataItem,"f3_replynum").ToString())) %>" > 
  78.           </td>
  79. <td bgcolor="#e2ebf5"><div align="left">
  80. <a href="article_det.aspx?f2_id=<%# DataBinder.Eval(Container.DataItem,"f3_sy") %>&f3_id=<%# DataBinder.Eval(Container.DataItem,"f3_id") %>&pageindex=1">
  81. <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"f3_motif")).ToString())%>
  82. </a>
  83. </div>
  84. </td>
  85. <td width="12%">
  86. <a href="user_infor.aspx?u_user=<%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_name").ToString()) %>" target="_blank">
  87. <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_name").ToString()) %>
  88. </a>
  89. </td>
  90. <td width="13%" bgcolor="#e2ebf5">
  91. <%# DataBinder.Eval(Container.DataItem,"f3_replynum") %>
  92. /
  93. <%# DataBinder.Eval(Container.DataItem,"f3_count") %>
  94. </td>
  95. <td width="27%">
  96. <table width="85%" border="0" cellspacing="0" cellpadding="0">
  97. <tr>
  98. <td>
  99. <%# DataBinder.Eval(Container.DataItem,"f3_now") %>
  100. <font color="#CC0000">|</font>
  101. <%# Server.HtmlEncode(GetReply(DataBinder.Eval(Container.DataItem,"f3_replyname")).ToString())%>
  102. </td>
  103. </tr>
  104. </table>
  105. </td>
  106. </tr>
  107. </itemtemplate>
  108. </asp:repeater>
  109. <tr align="center" bgColor="#ffffff" height="28">
  110. <form id="repeater" method="post" runat="server">
  111. <td colSpan="5"><WEBDIYER:ASPNETPAGER id="AspNetPager1" runat="server" AlwaysShow="True" UrlPageIndexName="pageindex"
  112. UrlPaging="True" ShowCustomInfoSection="Left" Width="100%" NumericButtonTextFormatString="-{0}-" PagingButtonSpacing="8"
  113. NextPageText=">>" PrevPageText="<<" LastPageText=">>|" FirstPageText="|<<" NumericButtonCount="8" PageSize="20"
  114. CssClass="mypager" HorizontalAlign="Right" ShowBoxThreshold="5"></WEBDIYER:ASPNETPAGER></td>
  115. </form>
  116. </tr>
  117. </table>
  118. </div>
  119. <!--#include file="sitefloor.aspx" -->
  120. </body>
  121. </HTML>