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

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="article_order.aspx.cs" AutoEventWireup="false" Inherits="kuangren.article_order" %>
  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>狂人论坛-<%=showinfor%></TITLE>
  8. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  9. <meta content="C#" name="CODE_LANGUAGE">
  10. <meta content="JavaScript" name="vs_defaultClientScript">
  11. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  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" MS_POSITIONING="GridLayout">
  16. <!--#include file="sitehead.aspx" -->
  17. <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> → 帖子列表 → <%=showinfor%></td>
  18. </tr>
  19. </table>
  20. <br>
  21. <table cellSpacing="1" cellPadding="4" width="97%" align="center" bgColor="#6595d6" border="0">
  22.   <tr bgColor="#ffffff"> 
  23.     <td colSpan="5" height="28"><strong>&gt;&gt; <%=showinfor%></strong> <strong>&lt;&lt;</strong></td>
  24.   </tr>
  25.   <tr class="title_link" align="center"> 
  26.     <td class="title" style="HEIGHT: 2px" width="10%">状态</td>
  27.     <td class="title" style="HEIGHT: 2px">主题 (点<IMG height="9" hspace="3" src="skin/dvbbs/images/%2B.gif" width="9" align="absMiddle"
  28. border="0">即可展开贴子列表)</td>
  29.     <td class="title" style="HEIGHT: 2px" width="12%">作者</td>
  30.     <td class="title" style="HEIGHT: 2px" width="13%">回复/人气</td>
  31.     <td class="title" style="HEIGHT: 2px" width="27%">最后更新 | 回复人</td>
  32.   </tr>
  33.   <asp:repeater id="Repeater1" runat="server"> 
  34.     <itemtemplate> 
  35.       <tr align="center" bgcolor="#FFFFFF" style="padding-top: 5px; padding-bottom: 5px;"> 
  36.         <td width="10%"> 
  37.           <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())) %>" > 
  38.         </td>
  39.         <td bgcolor="#e2ebf5"><div align="left"> 
  40.             <%# Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"f3_motif")).ToString())%>
  41.           </div></td>
  42.         <td width="12%"> 
  43.           <%# DataBinder.Eval(Container.DataItem,"f3_name") %>
  44.         </td>
  45.         <td width="13%" bgcolor="#e2ebf5"> 
  46.           <%# DataBinder.Eval(Container.DataItem,"f3_replynum") %>
  47.           / 
  48.           <%# DataBinder.Eval(Container.DataItem,"f3_count") %>
  49.         </td>
  50.         <td width="27%"> <table width="85%" border="0" cellspacing="0" cellpadding="0">
  51.             <tr> 
  52.               <td> 
  53.                 <%# DataBinder.Eval(Container.DataItem,"f3_now") %>
  54.                 <font color="#CC0000">|</font> 
  55.                 <%# GetReply(DataBinder.Eval(Container.DataItem,"f3_replyname")) %>
  56.               </td>
  57.             </tr>
  58.           </table></td>
  59.       </tr>
  60.     </itemtemplate>
  61.   </asp:repeater>
  62.   <form id="repeater" method="post" runat="server">
  63.   <tr align="center" bgColor="#ffffff" height="28"> 
  64.     <td colSpan="5"><WEBDIYER:ASPNETPAGER id="AspNetPager1" runat="server" AlwaysShow="True" UrlPageIndexName="pageindex"
  65. UrlPaging="True" ShowCustomInfoSection="Left" Width="100%" NumericButtonTextFormatString="-{0}-" PagingButtonSpacing="8"
  66. NextPageText=">>" PrevPageText="<<" LastPageText=">>|" FirstPageText="|<<" NumericButtonCount="8" PageSize="20"
  67. CssClass="mypager" HorizontalAlign="Right" ShowBoxThreshold="5"></WEBDIYER:ASPNETPAGER></td>
  68.   </tr></form>
  69. </table>
  70. <!--#include file="sitefloor.aspx" -->
  71. </body>
  72. </HTML>