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

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="list.aspx.cs" AutoEventWireup="false" Inherits="kuangren.list" %>
  2. <%@ Import Namespace="System.Data" %>
  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 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"> <!--#include file="sitehead.aspx" -->
  16. <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  17. <tr>
  18.       
  19.     <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle"> 
  20.       <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2>→ 
  21.       <a href="list.aspx?f1_id=<%=Request.QueryString["f1_id"]%>"><%=f1name%></a> → 论坛列表</td>
  22. </tr>
  23. </table>
  24. <br>
  25. <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#6595D6">
  26.   <tr class="title_link"> 
  27.     <td class="title"><img src="skin/dvbbs/images/-.gif" width="9" height="9" hspace="6" align="absmiddle" /> 
  28.       <strong><font color="#FFFFFF"><%=f1name%></font></strong> </td>
  29.   </tr>
  30.   <!-- start child repeater -->
  31.  <asp:repeater id="parent" runat="server">
  32. <itemtemplate>
  33.       <tr> 
  34.         <td class="board"> <table width="100%" border="0" cellspacing="0" cellpadding="3">
  35.             <tr> 
  36.               <td width="9%" rowspan="2" align="center" class="boardstate"><div align="center"><img src="<%#GetPath1(DataBinder.Eval(Container.DataItem,"["f2_pass"]"))%>" width="24" height="24" /></div></td>
  37.               <td width="77%"><table width="100%" height="100%" border="0" cellpadding="2" cellspacing="0">
  38.                   <tr> 
  39.                     <td width="67%"><font color="#000000">『<a href="maintable.aspx?f2_id=<%#DataBinder.Eval(Container.DataItem,"["f2_id"]")%>"> 
  40.                       <%#DataBinder.Eval(Container.DataItem,"["f2_caption"]")%>
  41.                       </a>』</font></td>
  42.                     <td width="10%" rowspan="3">
  43.                       <%# GetPath(DataBinder.Eval(Container.DataItem,"["f2_forumpic"]"))%>
  44.                     </td>
  45.                     <td width="23%">主题:<a href="article_det.aspx?f2_id=<%#DataBinder.Eval(Container.DataItem,"["f2_id"]")%>&f3_id=<%#DataBinder.Eval(Container.DataItem,"["f2_lastrootid"]")%>&pageindex=1"> 
  46.                       <%#dotrim(DataBinder.Eval(Container.DataItem,"["f2_lasttopic"]").ToString(),8)%>
  47.                       </a></td>
  48.                   </tr>
  49.                   <tr> 
  50.                     <td width="67%" rowspan="2" valign="top"><img src="skin/dvbbs/images/forum_readme.gif" width="5" height="9" /> 
  51.                       <%#DataBinder.Eval(Container.DataItem,"["f2_explain"]")%>
  52.                       <font color="#000000">&nbsp; </font></td>
  53.                     <td>作者: <a href="user_infor.aspx?u_user=<%#DataBinder.Eval(Container.DataItem,"["f2_lastpostuser"]")%>" target="_blank"> 
  54.                       <%#DataBinder.Eval(Container.DataItem,"["f2_lastpostuser"]")%>
  55.                       </a> </td>
  56.                   </tr>
  57.                   <tr> 
  58.                     <td width="23%">日期: 
  59.                       <%#DataBinder.Eval(Container.DataItem,"["f2_lastposttime"]")%>
  60.                       <img src="skin/dvbbs/images/lastpost.gif" width="11" height="10" hspace="7" align="bottom" /> 
  61.                     </td>
  62.                   </tr>
  63.                 </table></td>
  64.             </tr>
  65.             <tr> 
  66.               <td bgcolor="#E2EBF5">版主:
  67.                 <%#getModerator(DataBinder.Eval(Container.DataItem,"["f2_master"]").ToString())%>
  68.               </td>
  69.             </tr>
  70.           </table>
  71.   </td>
  72.       </tr>
  73.     </itemtemplate>
  74.   </asp:repeater>
  75.   <!-- end child repeater -->
  76. </table>
  77. <!--#include file="sitefloor.aspx" -->
  78. </body>
  79. </HTML>