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

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="maintable.aspx.cs" AutoEventWireup="false" Inherits="kuangren.maintable" %>
  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>狂人论坛|<%=title%></title>
  7. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  8. <meta content="C#" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  12. <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
  13. </HEAD>
  14. <body leftMargin="0" topMargin="0"> <!--#include file="sitehead.aspx" -->
  15. <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  16. <tr>
  17.       
  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> 
  21.       帖子列表 </td>
  22. </tr>
  23. </table>
  24. <br>
  25. <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  26. <tr>
  27.     <td class="title">总在线 <strong><%=(showpower+showpower2)%></strong> 人,其中『<%=title%>』上共有<strong> 
  28.       <%=showpower2%></strong> 位会员与 <strong><%=showpower%></strong> 位客人. [<a href="bbsonline_detail.aspx">显示详细列表</a>]</td>
  29. </tr>
  30. <tr bgColor="#ffffff">
  31.     <td>今日贴子 <%=todaynum%> 昨日帖子:<%=yestoday%></td>
  32. </tr>
  33. </table>
  34. <table cellSpacing="0" cellPadding="0" width="97%" align="center" border="0" >
  35. <tr>
  36. <td colSpan="2" height="10"></td>
  37. </tr>
  38.   <tr style="PADDING-BOTTOM: 3px" vAlign="bottom"> 
  39.     <td><a href="add_article.aspx?f2_id=<%=Request.QueryString["f2_id"]%>"><IMG src="skin/dvbbs/images/newtopic.gif" width="72" height="21" hspace="1" border="0" align="bottom"></a><IMG height="21" hspace="10" src="skin/dvbbs/images/newpoll.gif" width="72" align="bottom"></td>
  40. <td style="PADDING-RIGHT: 3px" align="right"><IMG src="skin/dvbbs/images/moderator.gif" alt="管理团队" width="20" height="20" hspace="3" align="absMiddle"><%=getModerator(master)%></td>
  41. </tr>
  42. </table>
  43. <table cellSpacing="1" cellPadding="4" width="97%" align="center" bgColor="#6595d6" border="0">
  44. <tr bgColor="#ffffff">
  45. <td colSpan="5" height="28">
  46. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  47. <tr>
  48. <td align="center" width="50"><strong>广播:</strong></td>
  49. <td>广播。。。。</td>
  50. <td align="right" style="PADDING-RIGHT: 3px"><div align="right"><strong><a href="query_article.aspx?f2_id=<%=Request.QueryString["f2_id"]%>&pageindex=1&type=1"><font color="#FF0000">精华</font></a></strong> 
  51.               | <a href="bbsonline.aspx">在线</a> | <a href="bbslog.aspx?f2_id=<%=Request.QueryString["f2_id"]%>&type=1">事件</a> 
  52.               | 权限 | 管理</div></td>
  53. </tr>
  54. </table>
  55. </td>
  56. </tr>
  57. <tr class="title_link" align="center">
  58. <td class="title" style="HEIGHT: 2px" width="10%">状态</td>
  59. <td class="title" style="HEIGHT: 2px">主题 (点<IMG height="9" hspace="3" src="skin/dvbbs/images/%2B.gif" width="9" align="absMiddle"
  60. border="0">即可展开贴子列表)</td>
  61. <td class="title" style="HEIGHT: 2px" width="12%">作者</td>
  62. <td class="title" style="HEIGHT: 2px" width="13%">回复/人气</td>
  63. <td class="title" style="HEIGHT: 2px" width="27%">最后更新 | 回复人</td>
  64. </tr>
  65. <asp:repeater id="Repeater1" runat="server">
  66. <itemtemplate>
  67. <tr align="center" bgcolor="#FFFFFF" style="padding-top: 5px; padding-bottom: 5px;">
  68. <td width="10%">
  69. <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())) %>" >
  70. </td>
  71. <td bgcolor="#e2ebf5"><div align="left"> 
  72.             <a href="article_det.aspx?f2_id=<%=Request.QueryString["f2_id"]%>&f3_id=<%# DataBinder.Eval(Container.DataItem,"f3_id") %>&pageindex=1">
  73.             <%# FilterBadWords(Server.HtmlEncode((DataBinder.Eval(Container.DataItem,"f3_motif")).ToString()))%>
  74.             </a> </div>
  75. </td>
  76.         <td width="12%"> 
  77.           <a href="user_infor.aspx?u_user=<%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_name").ToString()) %>" target="_blank">
  78.           <%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"f3_name").ToString()) %>
  79.           </a> </td>
  80. <td width="13%" bgcolor="#e2ebf5">
  81. <%# DataBinder.Eval(Container.DataItem,"f3_replynum") %>
  82. /
  83. <%# DataBinder.Eval(Container.DataItem,"f3_count") %>
  84. </td>
  85. <td width="27%">
  86. <table width="85%" border="0" cellspacing="0" cellpadding="0">
  87. <tr>
  88. <td>
  89. <%# DataBinder.Eval(Container.DataItem,"f3_now") %>
  90.                 <font color="#CC0000">|</font> <%# GetReply(DataBinder.Eval(Container.DataItem,"f3_replyname").ToString())%> </td>
  91. </tr>
  92. </table>
  93. </td>
  94. </tr>
  95. </itemtemplate>
  96. </asp:repeater>
  97. <%=shownone%>
  98. <tr align="center" bgColor="#ffffff" height="28">
  99. <td colSpan="5"><form id="repeater" method="post" runat="server"><WEBDIYER:ASPNETPAGER id="AspNetPager1" runat="server" AlwaysShow="True" UrlPageIndexName="pageindex"
  100. UrlPaging="True" ShowCustomInfoSection="Left" Width="100%" NumericButtonTextFormatString="-{0}-" PagingButtonSpacing="8"
  101. NextPageText=">>" PrevPageText="<<" LastPageText=">>|" FirstPageText="|<<" NumericButtonCount="8" PageSize="20"
  102. CssClass="mypager" HorizontalAlign="Right" ShowBoxThreshold="5"></WEBDIYER:ASPNETPAGER></form></td>
  103. </tr>
  104. </table>
  105. <table width="97%" border="0" align="center" cellpadding="4" cellspacing="1">
  106.    <form name="form1" method="get" action="query_article.aspx"><tr>
  107.     <td>快速搜索:     
  108.         <input name="title" type="text" id="title" size="15">
  109.         <input type="submit" name="Submit" value="搜索">
  110.         <input name="f2_id" type="hidden" id="f2_id" value="<%=Request.QueryString["f2_id"]%>">
  111.         <input name="pageindex" type="hidden" id="pageindex" value="1">
  112.         <input name="type" type="hidden" id="type" value="2"></td>
  113.   </tr></form>
  114. </table>
  115. <table width="97%" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#6595d6" >
  116.   <tr class="title"> 
  117.     <td width="49%"><div align="left"><strong><font color="#FFFFFF">-=&gt; 
  118.         狂人论坛图例</font></strong></div></td>
  119.     <td><div align="right"><strong><font color="#FFFFFF">所有时间均为 
  120.         - 北京时间</font></strong></div></td>
  121.   </tr>
  122.   <tr> 
  123.     <td colspan="2"><div align="center"> </div>
  124.       <table width="100%" border="0" cellspacing="5">
  125.         <tr> 
  126.           <td width="14%" height="21"><img src="images/folder.gif" width="16" height="16">开放的主题</td>
  127.           <td width="16%"><img src="images/hotfolder.gif" width="16" height="16">回复超过10贴</td>
  128.           <td width="14%"><img src="images/lockfolder.gif" width="16" height="16">锁定的主题</td>
  129.           <td width="15%"><img src="images/istop.gif" width="15" height="17">固顶的主题 
  130.           </td>
  131.           <td width="16%"><img src="images/ztop.gif" width="17" height="17">总固顶的主题</td>
  132.           <td width="12%"><img src="images/isbest.gif" width="17" height="17">精华帖子</td>
  133.           <td width="13%"><img src="images/closedb.gif" width="13" height="15">投票帖子</td>
  134.         </tr>
  135.       </table></td>
  136.   </tr>
  137. </table>
  138. <!--#include file="sitefloor.aspx" -->
  139. </body>
  140. </HTML>