threadmode1.jsp
来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· JSP 代码 · 共 785 行 · 第 1/3 页
JSP
785 行
}%> <a name="<%= message.getID() %>"></a> <% if (isRootMessage) { %><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr> <td> <table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="4" cellspacing="1" border="0" width="100%"> <tr bgcolor="<%= bgcolor %>"> <td width="1%" rowspan="2" valign="top"> <table cellpadding="0" cellspacing="0" border="0" width="140"> <tr><td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"><% if (author == null) { if (nameAndEmail != null) {%> <i><%= SkinUtils.getLocalizedString("skin.default.global.guest",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= nameAndEmail %></i><% } else { %> <i><%= SkinUtils.getLocalizedString("skin.default.global.guest",locale) %></i><% } } else { // author != null String userStatus = author.getProperty("status"); String authorName = author.getName();%> <a href="profile.jsp?user=<%= author.getID() %>" title="<%= (authorName!=null)?authorName:"" %>" ><b><%= author.getUsername() %></b></a> </font> <font size="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <br><br> <%= SkinUtils.getLocalizedString("skin.default.global.posts",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= SkinUtils.getLocalizedNumber(userManager.userMessageCount(author),locale) %> <br> <% String location = author.getProperty("jiveLocation"); if (location != null) { %> <%= SkinUtils.getLocalizedString("skin.default.global.from",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= location %><br> <% } %> <%= SkinUtils.getLocalizedString("skin.default.global.registered",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= shortDateFormatter.format(author.getCreationDate()) %> <br><br><% } // end if author == null %> </font> </td> </tr> </table> </td> <td width="98%"> <table cellpadding="2" cellspacing="0" border="0" width="100%"> <tr><td width="99%" valign="top"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <b><%= message.getSubject() %></b> </font> </td> <td width="1%" nowrap> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.posted",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= SkinUtils.formatDate(request,pageUser,message.getCreationDate()) %> </font> </td></tr> </table> </td> <td width="1%" nowrap align="center"> <table cellpadding="2" cellspacing="0" border="0"> <tr> <td><a href="post.jsp?forum=<%= forumID %>&thread=<%= threadID %>&message=<%= message.getID() %>&reply=true" title="<%= SkinUtils.getLocalizedString("skin.default.thread.reply_message",locale) %>"><img src="images/reply.gif" width="17" height="17" title="<%= SkinUtils.getLocalizedString("skin.default.thread.reply_message",locale) %>" hspace="3" border="0" ></a></td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <a href="post.jsp?forum=<%= forumID %>&thread=<%= threadID %>&message=<%= message.getID() %>&reply=true" title="<%= SkinUtils.getLocalizedString("skin.default.thread.reply_message",locale) %>"><%= SkinUtils.getLocalizedString("skin.default.global.reply",locale) %></a> </font> </td> </tr> </table> </td> </tr> <tr bgcolor="<%= bgcolor %>"> <td width="99%" colspan="3" valign="top"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <% if (body != null) { %><%= body %><% } %> </font><p> </td> </tr> </table></td></tr></table><% } else { // if not rootMessage %><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr> <td width="1%" bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.bgColor") %>" ><img src="images/blank.gif" width="<%= (30*messageDepth) %>" height="1" border="0" ></td> <td width="99%"> <table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="4" cellspacing="1" border="0" width="100%"> <tr bgcolor="<%= bgcolor %>"> <td width="99%"> <table cellpadding="2" cellspacing="0" border="0" width="100%"> <tr><td width="99%" valign="top"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <b><%= message.getSubject() %></b> </font> </td> <td width="1%" nowrap> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.posted",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= SkinUtils.formatDate(request,pageUser,message.getCreationDate()) %> </font> </td></tr> </table> </td> <td width="1%" nowrap align="center"> <table cellpadding="2" cellspacing="0" border="0"> <tr> <td><a href="post.jsp?forum=<%= forumID %>&thread=<%= threadID %>&message=<%= message.getID() %>&reply=true" title="<%= SkinUtils.getLocalizedString("skin.default.thread.reply_message",locale) %>"><img src="images/reply.gif" width="17" height="17" title="<%= SkinUtils.getLocalizedString("skin.default.thread.reply_message",locale) %>" hspace="3" border="0" ></a></td> <td> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"> <a href="post.jsp?forum=<%= forumID %>&thread=<%= threadID %>&message=<%= message.getID() %>&reply=true" title="<%= SkinUtils.getLocalizedString("skin.default.thread.reply_message",locale) %>"><%= SkinUtils.getLocalizedString("skin.default.global.reply",locale) %></a> </font> </td> </tr> </table> </td> </tr> <tr bgcolor="<%= bgcolor %>"> <td colspan="3" valign="top"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.posted_by",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <% if (author == null) { %> <% if (nameAndEmail != null) { %> <i><%= SkinUtils.getLocalizedString("skin.default.global.guest",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= nameAndEmail %></i> <% } else { %> <i><%= SkinUtils.getLocalizedString("skin.default.global.guest",locale) %></i> <% } %> </font> <% } else { %> <a href="profile.jsp?user=<%= author.getID() %>"><b><%= author.getUsername() %></b></a> </font> <font size="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <%= SkinUtils.getLocalizedString("skin.default.global.posts",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= SkinUtils.getLocalizedNumber(userManager.userMessageCount(author),locale) %> <%= SkinUtils.getLocalizedString("skin.default.global.slash",locale) %> <% String location = author.getProperty("jiveLocation"); if (location != null) { %> <%= SkinUtils.getLocalizedString("skin.default.global.from",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= location %> <%= SkinUtils.getLocalizedString("skin.default.global.slash",locale) %> <% } %> <%= SkinUtils.getLocalizedString("skin.default.global.registered",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= shortDateFormatter.format(author.getCreationDate()) %> </font> <% } %> </td> </tr> <tr bgcolor="<%= bgcolor %>"> <td colspan="3" valign="top"> <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>"> <% if (body != null) { %><%= body %><% } %> </font><p> </td> </tr> </table></td></tr></table><% } // end if (messageDepth <= lastMessageDepth+1) %><br><% } // end if moderation value is high enough %><% } // end if rootMessage %> <% } // end of while %><table cellpadding="0" cellspacing="2" border="0" width="100%" align="center"><tr> <td width="1%" nowrap valign="top"><% if (nav && prevThread != null) { String subj = prevThread.getRootMessage().getSubject(); // Replace any " in the subject subj = StringUtils.replace(subj, "\"", """);%> <a href="thread.jsp?forum=<%= forumID %>&thread=<%= prevThread.getID() %>" title="<%= subj %>"><img src="images/prev.gif" width="10" height="10" hspace="2" title="<%= SkinUtils.getLocalizedString("skin.default.global.topic",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= subj %>" border="0"></a> <font size="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontFace") %>"> <a href="thread.jsp?forum=<%= forumID %>&thread=<%= prevThread.getID() %>" title="<%= SkinUtils.getLocalizedString("skin.default.global.topic",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= subj %>"><%= SkinUtils.getLocalizedString("skin.default.thread.previous_topic",locale) %></a> </font><% } else { %> <% } %> </td> <td width="98%" align="center"> <table cellpadding="0" cellspacing="2" border="0"><tr> <td><a href="forum.jsp?forum=<%= forumID %>"><img src="images/back_to.gif" width="12" height="12" title="<%= SkinUtils.getLocalizedString("skin.default.global.go_back_to_topic_list",locale) %>" border="0"></a></td> <td nowrap> <font size="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontFace") %>"> <a href="forum.jsp?forum=<%= forumID %>" title="<%= SkinUtils.getLocalizedString("skin.default.global.go_back_to_topic_list",locale) %>" ><%= SkinUtils.getLocalizedString("skin.default.thread.back_to_topic",locale) %></a> </font> </td> <td nowrap> </td> <td><a href="#top"><img src="images/up_to.gif" width="12" height="12" title="<%= SkinUtils.getLocalizedString("skin.default.thread.click_top_page",locale) %>" border="0"></a></td> <td nowrap> <font size="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontFace") %>"> <a href="#top" title="<%= SkinUtils.getLocalizedString("skin.default.thread.click_top_page",locale) %>" ><%= SkinUtils.getLocalizedString("skin.default.thread.top_page",locale) %></a> </font> </td></tr></table> </td> <td width="1%" nowrap valign="top"><% if (nav && nextThread != null) { String subj = nextThread.getRootMessage().getSubject();%> <font size="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.buttonFontFace") %>"> <a href="thread.jsp?forum=<%= forumID %>&thread=<%= nextThread.getID() %>&tstart=<%= nextStart %>&trange=<%= range %>" title="<%= SkinUtils.getLocalizedString("skin.default.global.topic",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= subj %>" ><%= SkinUtils.getLocalizedString("skin.default.thread.next_topic",locale) %></a> </font> <a href="thread.jsp?forum=<%= forumID %>&thread=<%= nextThread.getID() %>&tstart=<%= nextStart %>&trange=<%= range %>" title="<%= subj %>"><img src="images/next.gif" width="10" height="10" hspace="2" title="<%= SkinUtils.getLocalizedString("skin.default.global.topic",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= subj %>" border="0"></a><% } else { %> <% } %> </td></tr></table><br><%@ include file="footer.jsp" %>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?