⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 threadlist.jsp

📁 相信大家不会很陌生的
💻 JSP
字号:
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/MultiPages.tld" prefix="MultiPages" %>
<%@ page contentType="text/html; charset=UTF-8" %>


<bean:define id="threadList" name="threadListForm" property="list" />

<bean:define id="forum" name="threadListForm" property="oneModel" />
<bean:define id="title" name="forum" property="name" />
<jsp:include page="../common/IncludeTop.jsp" flush="true">
   <jsp:param name="title" value="<%=title%>" />
</jsp:include>

<!-- 导航区  -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
    <td valign="top" width="99%">
    <%@include file="nav.jsp"%>    
    <br>


    </td>
    <td valign="top"  align="center">

<table cellpadding="0" cellspacing="0" border="0">
<tr>
	<td><img src="images/post.gif" width="17" height="17" alt="Click to start a new topic" border="0"></td>
	<td nowrap><font class=p2 face="verdana,arial,sans-serif">
        &nbsp;<html:link page="/message/messageAction.shtml" paramId="forumId" paramName="forum" paramProperty="forumId" />发新帖</a>
        </font>
    </td>
    <td><img src="images/blank.gif" width="10" height="1" border="0"></td>
	<td><img src="images/search.gif" width="17" height="17" alt="在此论坛中搜索消息" border="0"></td>
	<td nowrap><font class=p2 face="verdana,arial,sans-serif">
        &nbsp;<a href="search.jsp?forums=16" title="在此论坛中搜索消息">搜索论坛</a>
        </font>
    </td>
    <td><img src="images/blank.gif" width="30" height="1" border="0"></td>
	<td><img src="images/back_to.gif" width="12" height="12" alt="返回论坛列表" border="0"></td>
	<td nowrap><font class=p2 face="verdana,arial,sans-serif">
        &nbsp;<a href="index.jsp" title="返回论坛列表">返回论坛列表</a>
        </font>
    </td>
</tr>
</table>


    
    </td>
</tr>
</table>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
    <td>
    <font class=p2 face="arial,sans-serif">
     当前有<b><bean:write name="threadListForm" property="allCount"/></b>页 [ 
<MultiPages:pager actionFormName="threadListForm" page="/message/threadList.shtml" paramId="forumId" paramName="forum" paramProperty="forumId">
<MultiPages:prev><img src="/images/prev.gif" width="10" height="10" hspace="2" border="0" alt="上页"></MultiPages:prev>
<MultiPages:index />
<MultiPages:next><img src="/images/next.gif" width="10" height="10" hspace="2" border="0" alt="下页"></MultiPages:next>
</MultiPages:pager>     
      ]
    </font>
    </td>
</tr>
</table>




<table bgcolor="#cccccc"
 cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td>
    <table bgcolor="#cccccc"
     cellpadding="3" cellspacing="1" border="0" width="100%">
    <tr bgcolor="#868602">
        <td width="1%">&nbsp;</td>
        <td width="96%">
        <table width="100%"><tr><td>
          <font class=p2 color="#ffffff" face="verdana,arial,sans-serif"><b>&nbsp; 主题名</b></font>
          </td><td >

           </td></tr>
         </table>
        </td>
        <td width="1%" nowrap><font class=p2 color="#ffffff" face="verdana,arial,sans-serif"><b>&nbsp; 回复 &nbsp;</b></font></td>
        <td width="1%" align="center" nowrap><font class=p2 color="#ffffff" face="verdana,arial,sans-serif"><b>&nbsp; 作者 &nbsp;</b></font></td>
        <td width="1%" nowrap align="center"><font class=p2 color="#ffffff" face="verdana,arial,sans-serif"><b>最后回复</b></font></td>
    </tr>

<logic:iterate indexId="i"   id="forumThread" name="threadListForm" property="list" >
    <tr bgcolor="#E3E7F0">
        <td nowrap>
            <img src="images/topic_old.gif" width="8" height="8" vspace="4" border="0" alt="">
        </td>
        <td>
            <font size="-1" face="arial,sans-serif">
             <a href="<html:rewrite page="/message/messageList.shtml" paramId="forumId" paramName="forumThread" paramProperty="forum.forumId" />&threadId=<bean:write name="forumThread" property="threadId" />"  class="forum">
             <bean:write name="forumThread" property="name" /></a>
            </font>

        </td>
        <td align="center">
            <font size="-1" face="arial,sans-serif"
            color="#000000">
            <bean:write name="forumThread" property="messageCount" />            
            </font>
        </td>
        <td nowrap>
            <font size="-1" face="arial,sans-serif">
            &nbsp;

            <a href="profile.jsp?user=7373"><b><bean:write name="forumThread" property="rootMessage.account.username" /></b></a>

            &nbsp;
            </font>
        </td>
        <td nowrap>
            <font size="-1" face="arial,sans-serif"
             color="#000000">
            <bean:define id="lastPost" name="forumThread" property="lastPost"/>
            <bean:write name="lastPost" property="modifiedDate" />
            </font>
                <font size="-2" face="verdana">

                    by: <a href="thread.jsp?forum=46&thread=7925&message=2386481#2386481"
                         title="Jump to Message"
                         ><bean:write name="lastPost" property="account.username" /></a>

                </font>
        </td>
    </tr>
</logic:iterate>


    </table>
    </td>
</tr>
</table>


<%@include file="../common/IncludeBottom.jsp"%></p></p>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -