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

.net编程

开发平台:

C#

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