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

📄 watches.jsp

📁 Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛2.6版本的源程序
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"><%= SkinUtils.getLocalizedString("skin.default.watches.by_forum",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %></font><select size="1" name="forum" onchange="location.href='watches.jsp?forum='+this.options[this.selectedIndex].value;"><option value="-1"><%= SkinUtils.getLocalizedString("skin.default.global.all_forums_default",locale) %><%  for (Iterator iter=forumFactory.forums(); iter.hasNext();) {        Forum f = (Forum)iter.next();        String selected = "";        if (f.getID() == forumID) {            selected = " selected";        }%>    <option value="<%= f.getID() %>"<%= selected %>>&nbsp;&#149;&nbsp; <%= f.getName() %><%  } %></select><noscript><input type="submit" value="<%= SkinUtils.getLocalizedString("skin.default.global.go",locale) %>"></noscript></form><%  if (forumID != -1) { %>    <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>">    <%= SkinUtils.getLocalizedString("skin.default.watches.list",locale) %> <b><%= forum.getName() %></b>    <%= SkinUtils.getLocalizedString("skin.default.global.left_bracket",locale) %><a href="watches.jsp"><%= SkinUtils.getLocalizedString("skin.default.watches.show_all_watches",locale) %></a><%= SkinUtils.getLocalizedString("skin.default.global.right_bracket",locale) %>    </font><%  } %><%  if (!watchedThreads.hasNext()) { %>    <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"    color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>">    <%  if (forumID == -1) { %>        <%= SkinUtils.getLocalizedString("skin.default.watches.not_watching1",locale) %>    <%  } else {         List forumLink = new ArrayList(2);        forumLink.add("<a href=\"forum.jsp?forum="+forumID+"\">");        forumLink.add("</a>");    %>        <%= SkinUtils.getLocalizedString("skin.default.watches.not_watching2", forumLink) %>    <%  } %>    </font>    <p><%  } else { %><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><form action="watches.jsp"><td width="99%">    &nbsp;</td></form><form action="watches.jsp" method="post"><input type="hidden" name="deleteWatch" value="true"><input type="hidden" name="start" value="<%= start %>"><input type="hidden" name="range" value="<%= range %>"><%  if (watchedThreads.hasNext()) { %><td width="1%" valign="bottom">&nbsp;</td><%  } %></tr></table><%  if (watchedThreads.hasNext()) { %><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><table bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableBorderColor") %>" cellpadding="3" cellspacing="1" border="0" width="100%"><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableHeaderBgColor") %>">    <td width="1%">&nbsp;</td>    <td width="96%"><font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.tableHeaderTextColor") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"><b>&nbsp; <%= SkinUtils.getLocalizedString("skin.default.global.topic",locale).toUpperCase(JiveGlobals.getLocale()) %></b></font></td>    <td width="1%" nowrap align="center"><font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.tableHeaderTextColor") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"><b>&nbsp; <%= SkinUtils.getLocalizedString("skin.default.global.forum",locale).toUpperCase(JiveGlobals.getLocale()) %> &nbsp;</b></font></td>    <td width="1%" nowrap align="center"><font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.tableHeaderTextColor") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"><b>&nbsp; <%= SkinUtils.getLocalizedString("skin.default.global.options",locale).toUpperCase(JiveGlobals.getLocale()) %> &nbsp;</b></font></td>    <td width="1%" align="center" nowrap><font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" color="<%= JiveGlobals.getJiveProperty("skin.default.tableHeaderTextColor") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>"><b>&nbsp; <%= SkinUtils.getLocalizedString("skin.default.global.delete",locale).toUpperCase(JiveGlobals.getLocale()) %> &nbsp;</b></font></td></tr><%      int watchStart = start;        while (watchStart-- > 0 && watchedThreads.hasNext()) {            watchedThreads.next();        }        int watchRange = range;        while (watchRange-- > 0 && watchedThreads.hasNext()) {            ForumThread t = (ForumThread)watchedThreads.next();            Forum f = t.getForum();            long tID = t.getID();            long fID = f.getID();            User author = t.getRootMessage().getUser();            boolean isEmailUpdatable = watchManager.isWatchedThread(pageUser, t, WatchManager.EMAIL_NOTIFY_WATCH);            boolean isExpirable = watchManager.isWatchExpirable(pageUser, t, WatchManager.NORMAL_WATCH);            boolean isNew = (t.getModifiedDate().getTime() > lastVisited.getTime());%><tr bgcolor="<%= JiveGlobals.getJiveProperty("skin.default.tableRowColor1") %>">    <td nowrap width="1%" valign="top">    <%  if (isNew) { %>        <img src="images/topic_new.gif" width="8" height="8" vspace="4" hspace="2" border="0">    <%  } else { %>        <img src="images/topic_old.gif" width="8" height="8" vspace="4" hspace="2" border="0">    <%  } %>    </td>    <td width="97%">        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"         color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>">        <a href="thread.jsp?forum=<%= fID %>&thread=<%= tID %>" title="<%= f.getName() %>"         ><b><%= t.getName() %></b></a>        </font>        <br>        <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" color="#333333" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>">        <%  if (author != null) { %>        &nbsp;&nbsp; <%= SkinUtils.getLocalizedString("skin.default.global.posted_by",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <a href="profile.jsp?user=<%= author.getID() %>"><%= author.getUsername() %></a>        <%  } else { %>        <%= SkinUtils.getLocalizedString("skin.default.global.posted_by",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <i><%= SkinUtils.getLocalizedString("skin.default.global.guest",locale) %></i>        <%  } %>        <br>        &nbsp;&nbsp; (<%= SkinUtils.getLocalizedString("skin.default.watches.last_updated",locale) %><%= SkinUtils.getLocalizedString("skin.default.global.colon",locale) %> <%= SkinUtils.formatDate(request,pageUser,t.getModifiedDate()) %>)        </font>    </td>    <td width="1%" align="center" nowrap>        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>"         face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"         color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>">        <a href="forum.jsp?forum=<%= f.getID() %>"         ><%= f.getName() %></a>        </font>    </td>    <td width="1%" nowrap>        <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"><%  if (emailWatchesEnabled) { %>    <%  if (isEmailUpdatable) { %>    &#149; <a href="watches.jsp?forum=<%= fID %>&thread=<%= tID %>&remove=true&type=<%= WatchManager.EMAIL_NOTIFY_WATCH %>&redirect=<%= "watches.jsp?forum="+forumID %>"    ><%= SkinUtils.getLocalizedString("skin.default.watches.remove_email",locale) %></a>    <%  } else { %>    &#149; <a href="watches.jsp?forum=<%= fID %>&thread=<%= tID %>&add=true&type=<%= WatchManager.EMAIL_NOTIFY_WATCH %>&redirect=<%= "watches.jsp?forum="+forumID %>"    ><%= SkinUtils.getLocalizedString("skin.default.watches.add_email",locale) %></a>    <%  } %><%  } %><%  if (isExpirable) { %><br>&#149; <a href="watches.jsp?forum=<%= fID %>&thread=<%= tID %>&doExpire=true&expire=false&redirect=<%= "watches.jsp?forum="+forumID %>"><%= SkinUtils.getLocalizedString("skin.default.watches.save_watch",locale) %></a><%  } else { %><br>&#149; <a href="watches.jsp?forum=<%= fID %>&thread=<%= tID %>&doExpire=true&expire=true&redirect=<%= "watches.jsp?forum="+forumID %>"><%= SkinUtils.getLocalizedString("skin.default.watches.dont_save_watch",locale) %></a><%  } %>        </font>    </td>    <td width="1%" align="center">        <table cellpadding="0" cellspacing="0" border="0" width="60">        <tr><td align="center">        <input type="hidden" name="<%= "thread"+tID+"forumID" %>" value="<%= fID %>">        <input type="checkbox" name="deleteWatchThreadID" value="<%= tID %>">        </td></tr>        </table>    </td></tr><%      } // end while %></table></td></tr></table><p><table cellpadding="3" cellspacing="0" border="0" width="100%"><tr><td width="1%">    <img src="images/topic_new.gif" width="8" height="8" vspace="2" hspace="2" border="0"></td><td width="98%">    <font size="<%= JiveGlobals.getJiveProperty("skin.default.fontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.fontFace") %>"    color="<%= JiveGlobals.getJiveProperty("skin.default.textColor") %>">    <i><%= SkinUtils.getLocalizedString("skin.default.watches.new_messages",locale) %></i>    </font></td><td width="1%">    <input type="submit" value="<%= SkinUtils.getLocalizedString("skin.default.global.delete",locale) %>"></td></tr></table><p><%  if (start > 0 || ((start+range) < watchCount)) { %><table cellpadding="2" cellspacing="0" border="0" width="100%"><tr>    <td width="1%" nowrap>    <%  if (start > 0) { %>    <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>">    <a href="watches.jsp?start=<%= (start-range) %>&range=<%= range %>"     ><img src="images/prev.gif" width="10" height="10" title="<%= SkinUtils.getLocalizedString("skin.default.global.previous",locale) %> <%= range %> <%= SkinUtils.getLocalizedString("skin.default.global.watches",locale).toLowerCase(JiveGlobals.getLocale()) %>" hspace="3" border="0"></a>    <a href="watches.jsp?start=<%= (start-range) %>&range=<%= range %>"     ><%= SkinUtils.getLocalizedString("skin.default.global.previous",locale) %> <%= range %> <%= SkinUtils.getLocalizedString("skin.default.global.watches",locale).toLowerCase(JiveGlobals.getLocale()) %></a>    </font>    <%  } %>    </td>    <td width="98%">&nbsp;</td>    <td width="1%" nowrap>    <font size="<%= JiveGlobals.getJiveProperty("skin.default.headerFontSize") %>" face="<%= JiveGlobals.getJiveProperty("skin.default.headerFontFace") %>">    <%  if ((start+range) < watchCount) { %>    <a href="watches.jsp?start=<%= (start+range) %>&range=<%= range %>"     ><%= SkinUtils.getLocalizedString("skin.default.global.next",locale) %> <%= range %> <%= SkinUtils.getLocalizedString("skin.default.global.watches",locale).toLowerCase(JiveGlobals.getLocale()) %></a>    <a href="watches.jsp?start=<%= (start+range) %>&range=<%= range %>"     ><img src="images/next.gif" width="10" height="10" title="<%= SkinUtils.getLocalizedString("skin.default.global.next",locale) %> <%= range %> <%= SkinUtils.getLocalizedString("skin.default.global.watches",locale).toLowerCase(JiveGlobals.getLocale()) %>" hspace="3" border="0"></a>    <%  } %>    </font>    </td></tr></table><%  } %><p><%  } // end else %></form><%  } // end if no watches %><br><center><form action="watches.jsp"><input type="submit" name="back" value="<%= SkinUtils.getLocalizedString("skin.default.global.back",locale) %>"></form></center><%@ include file="footer.jsp" %>

⌨️ 快捷键说明

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