?? hottopiccontent.jsp
字號(hào):
<%@ page language="java" import="java.util.List" pageEncoding="gbk"%>
<%@ page import="com.elan.forum.model.ForumTopic"%>
<%@ page import="com.elan.forum.model.Forumpiece"%>
<%
Integer topicCount = (Integer) (request.getAttribute("topicCount"));
Forumpiece piece = null;
List<ForumTopic> list = (List<ForumTopic>) request
.getAttribute("topicList");
if (list.size() > 0) {
piece = ((ForumTopic) list.get(0)).getPiece();
}
%>
<div class="bodywidth">
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td height="25">
<%
if(piece != null) {
%>
<a
href="<%=request.getContextPath()%>/forum/topic.do?action=newForm&pieceId=<%=piece.getId()%>"><img
src="/ElanNet/forum/view/skin/default/newtopic.gif" width="99"
height="28" border="0" /> </a>
<a href="<%=request.getContextPath()%>/forum/view/ForumError.jsp"></a>
<%
}
%>
</td>
<td height="30" colspan="2" align="right">
<div class='forum_page'>
<strong>最多顯示最新的<%=topicCount%>條 </strong>
</div>
</td>
</tr>
</table>
<table width='100%' border='0' cellspacing='0' cellpadding='0'
class='topic_list_tb'>
<tr class='topic_list_mt'>
<td class='topic_list_mt_status'></td>
<td class='topic_list_mt_title'>
標(biāo)題
</td>
<td class='topic_list_mt_author'>
作者
</td>
<td class='topic_list_mt_reply'>
回復(fù)/查看
</td>
</tr>
<tr class='topic_list_commontitle'>
<td colspan='5'>
版塊帖子列表
</td>
</tr>
<%
for (int i = 0; i < list.size(); i++) {
ForumTopic fa = (ForumTopic) list.get(i);
%>
<tr class='topic_list_tr'
onmouseover="this.className='topic_list_over'"
onmouseout="this.className='topic_list_tr'">
<td class='topic_list_icon'>
<img src="/ElanNet/forum/view/skin/default/folder_hot.gif"
alt="論壇帖子" border="0">
</td>
<td class='topic_list_title'>
<a
href='/ElanNet/forum/topic.do?action=showTopic&topicId=<%=fa.getId()%>'><%=fa.getTitle()%></a>
<td class='topic_list_author'>
<cite><a href='/User/ShowUser.asp?UserID=1'><%=fa.getAuthor()%></a>
</cite><em><%=fa.getCreateTime()%></em>
</td>
<td class='topic_list_reply_hits'>
<strong class='topic_list_reply'><%=fa.getReply()%></strong>/
<strong class='topic_list_hits'><%=fa.getClick()%></strong>
</td>
</tr>
<%
}
%>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td height="30" colspan="2" align="right">
</td>
</tr>
<tr>
<td width="44%" height="30">
<form name="search" action="/Forum/Search.asp" method="get">
論壇搜索:
<input name="keyword" type="text" id="keyword" />
<input type="submit" value="搜索" />
<input name="ModuleType" type="hidden" id="ModuleType" value="-1" />
</form>
</td>
</tr>
</table>
</div>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -