📄 huanke_list.jsp
字号:
<table bordercolor=#edeced cellspacing=0 cellpadding=1 width="98%" align=center border=1>
<tbody>
<tr>
<td noWrap align=middle width=30 bgcolor=#f8f8f8>
<%if (recount>20){ %>
<img alt="<lt:Label res="res.label.forum.listtopic" key="open_topic_hot"/>" src="../../images/f_hot.gif">
<%}
else if (recount>0) {%>
<img alt="<lt:Label res="res.label.forum.listtopic" key="open_topic_reply"/>" src="../../images/f_new.gif">
<%}
else {%>
<img alt="<lt:Label res="res.label.forum.listtopic" key="open_topic_no_reply"/>" src="../../images/f_norm.gif">
<%}%> </td>
<td align=middle width=17 bgcolor=#ffffff>
<% String urlboardname = StrUtil.UrlEncode(myboardname,"utf-8"); %>
<a href="../../showtopic_tree.jsp?boardcode=<%=myboardcode%>&hit=<%=(hit+1)%>&rootid=<%=id%>" target=_blank>
<% if (type==1) { %>
<IMG height=15 alt="" src="../../images/f_poll.gif" width=17 border=0>
<%}else { %>
<img src="../../images/brow/<%=expression%>.gif" border=0>
<%}%>
</a></td>
<td onMouseOver="this.style.backgroundColor='#ffffff'" onMouseOut="this.style.backgroundColor=''" align=left bgcolor=#f8f8f8>
<%
if (recount==0) {
%>
<img id=followImg<%=id%> title="<lt:Label res="res.label.forum.listtopic" key="no_reply"/>" src="../../images/minus.gif" loaded="no">
<% }else { %>
<img id=followImg<%=id%> title=<lt:Label res="res.label.forum.listtopic" key="extend_reply"/> style="CURSOR: hand"
onClick=loadThreadFollow(<%=id%>,<%=id%>,"&boardcode=<%=myboardcode%>&hit=<%=hit+1%>&boardname=<%=urlboardname%>") src="../../images/plus.gif" loaded="no">
<% } %>
<a href="../../showtopic_tree.jsp?boardcode=<%=myboardcode%>&hit=<%=(hit+1)%>&rootid=<%=id%>"><%=StrUtil.toHtml(topic)%></a>
<%
// 计算共有多少页回贴
int allpages = (int)Math.ceil((double)recount/showPageSize);
if (allpages>1)
{
out.print("[");
for (int m=1; m<=allpages; m++)
{ %>
<a href="../../showtopic.jsp?boardcode=<%=myboardcode%>&hit=<%=(hit+1)%>&boardname=<%=urlboardname%>&rootid=<%=id%>&CPages=<%=m%>"><%=m%></a>
<% }
out.print("]");
}%> </td>
<td align=middle width=91 bgcolor=#ffffff>
<% if (privilege.getUser(request).equals(name)) { %>
<IMG height=14 src="../../images/my.gif" width=14>
<% } %>
<a href="../../../userinfo.jsp?username=<%=StrUtil.UrlEncode(name)%>"><%=StrUtil.toHtml(um.getUser(name).getNick())%></a> </td>
<td align=middle width=55 bgcolor=#f8f8f8><font color=red>[<%=recount%>]</font></td>
<td align=middle width=55 bgcolor=#ffffff><%=hit%></td>
<td align=left width=80 bgcolor=#f8f8f8>
<table cellspacing=0 cellpadding=2 width="100%" align=center border=0>
<tbody>
<tr>
<td width="10%"> </td>
<td><%=lydate%></td>
</tr>
</tbody>
</table> </td>
<td align=middle width=91 bgcolor=#ffffff>
<%if (!myboardcode.equals(Leaf.CODE_BLOG)) {%>
<a href="../../listtopic.jsp?boardcode=<%=StrUtil.UrlEncode(myboardcode)%>"><%=myboardname%></a>
<%}else{%>
<a href="../../../blog/myblog.jsp?userName=<%=StrUtil.UrlEncode(md.getName())%>"><%=myboardname%></a>
<%}%> </td>
</tr>
<tr id=follow<%=id%> style="DISPLAY: none">
<td noWrap align=middle width=30 bgcolor=#f8f8f8> </td>
<td align=middle width=17 bgcolor=#ffffff> </td>
<td onMouseOver="this.style.backgroundColor='#ffffff'"
onMouseOut="this.style.backgroundColor=''" align=left bgcolor=#f8f8f8 colspan="6">
<div id=followDIV<%=id%>
style="WIDTH: 100%;BACKGROUND-COLOR: lightyellow"
onClick=loadThreadFollow(<%=id%>,<%=id%>,"&hit=<%=hit+1%>&boardname=<%=urlboardname%>")><span style="WIDTH: 100%;">
<lt:Label res="res.label.forum.listtopic" key="wait"/>
</span></div></td>
</tr>
<tr>
<td
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px"
colspan=5> </td>
</tr>
</tbody>
</table>
<%}%>
<table width="98%" border="0" cellspacing="1" cellpadding="3" align="center" class="9black">
<tr>
<td width="13%" height="23"><select name="selboard" onChange="if(this.options[this.selectedIndex].value!=''){location='../../listtopic.jsp?' + this.options[this.selectedIndex].value;}">
<option value="" selected>
<lt:Label res="res.label.forum.listtopic" key="sel_board"/>
</option>
<%
com.redmoon.forum.LeafChildrenCacheMgr dlcm = new com.redmoon.forum.LeafChildrenCacheMgr("root");
java.util.Vector vt = dlcm.getChildren();
Iterator ir = vt.iterator();
while (ir.hasNext()) {
Leaf leaf = (Leaf) ir.next();
String parentCode = leaf.getCode();
if (leaf.isDisplay(request, privilege)) {
%>
<option style="BACKGROUND-COLOR: #f8f8f8" value="">╋ <%=leaf.getName()%></option>
<%
com.redmoon.forum.LeafChildrenCacheMgr dl = new com.redmoon.forum.LeafChildrenCacheMgr(parentCode);
java.util.Vector v = dl.getChildren();
Iterator ir1 = v.iterator();
while (ir1.hasNext()) {
Leaf lf = (Leaf) ir1.next();
%>
<option value="boardcode=<%=StrUtil.UrlEncode(lf.getCode(),"utf-8")%>"> ├『<%=lf.getName()%>』</option>
<%}
}
}%>
</select>
<%if (!boardcode.equals("")) {%>
<script language=javascript>
<!--
var v = "boardcode=<%=StrUtil.UrlEncode(boardcode,"utf-8")%>";
selboard.value = v;
//-->
</script>
<%}%>
</td>
<td height="23" align="right" valign="baseline">
<%
String querystr = "huankeType="+huankeType+"&boardCode="+StrUtil.UrlEncode(boardcode,"utf-8");
out.print(paginator.getCurPageBlock(request, "huanke_list.jsp?" + querystr));
%> </td>
</tr>
</table>
<TABLE cellSpacing=0 cellPadding=0 width="98%" border=0>
<TBODY>
<TR>
<TD><TABLE width="100%" border=0 align="center"
cellPadding=0 cellSpacing=4 borderColor=#111111 style="BORDER-COLLAPSE: collapse">
<TBODY>
<TR>
<TD noWrap width=200><IMG height=12 alt=""
src="../../<%=skinPath%>/images/f_new.gif" width=18 border=0>
<lt:Label res="res.label.forum.listtopic" key="topic_reply"/></TD>
<TD noWrap width=100><IMG height=12 alt=""
src="../../<%=skinPath%>/images/f_hot.gif" width=18 border=0>
<lt:Label res="res.label.forum.listtopic" key="topic_hot"/>
</TD>
<TD noWrap width=100><IMG height=15 alt=""
src="../../<%=skinPath%>/images/f_locked.gif" width=17 border=0>
<lt:Label res="res.label.forum.listtopic" key="topic_lock"/></TD>
<TD noWrap width=150><IMG src="../../images/topicgood.gif">
<lt:Label res="res.label.forum.listtopic" key="topic_elite"/></TD>
<TD noWrap width=150><IMG height=15 alt="" src="../../images/top_forum.gif" width=15 border=0>
<lt:Label res="res.label.forum.listtopic" key="topic_all_top"/></TD>
</TR>
<TR>
<TD noWrap width=200><IMG height=12 alt=""
src="../../<%=skinPath%>/images/f_norm.gif" width=18 border=0>
<lt:Label res="res.label.forum.listtopic" key="topic_no_reply"/></TD>
<TD noWrap width=100><IMG height=15 alt=""
src="../../<%=skinPath%>/images/f_poll.gif" width=17 border=0>
<lt:Label res="res.label.forum.listtopic" key="topic_vote"/></TD>
<TD noWrap width=100><IMG height=15 alt=""
src="../../<%=skinPath%>/images/f_top.gif" width=15 border=0>
<lt:Label res="res.label.forum.listtopic" key="topic_top"/></TD>
<TD noWrap width=150><IMG height=14 src="../../<%=skinPath%>/images/my.gif"
width=14>
<lt:Label res="res.label.forum.listtopic" key="topic_my"/></TD>
<TD noWrap width=150> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR></TBODY></TABLE>
</CENTER>
<%@ include file="../../inc/footer.jsp"%>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -