📄 jsprun.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/jrun-tag.tld" prefix="jrun"%>
<jsp:include flush="true" page="header.jsp" />
<div id="foruminfo"><div id="userinfo">
<div id="nav"><c:choose><c:when test="${!empty gid||jsprun_uid==0}"><a href="${settings.indexname}">${settings.bbname}</a></c:when><c:otherwise><a href="space.jsp?action=viewpro&uid=${jsprun_uid}" class="dropmenu" id="creditlist" onmouseover="showMenu(this.id)">${jsprun_userss}</a></c:otherwise></c:choose><c:if test="${jsprun_uid>0&&settings.spacestatus==1}"> - <c:choose><c:when test="${spaceurlurl}"><a href="space-uid-${jsprun_uid}.html" target="_blank">个人空间</a></c:when><c:otherwise><a href="space.jsp?uid=${jsprun_uid}" target="_blank">个人空间</a></c:otherwise></c:choose></c:if></div>
<p><c:choose><c:when test="${jsprun_uid>0}"><c:if test="${usergroups.allowinvisible==1}">状态: <span id="loginstatus"><a href="member.jsp?action=switchstatus" title="切换到${user.invisible==1?'正常模式':'隐身模式'}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">${user.invisible==1?"隐身模式":"正常模式"}</a></span>,</c:if> 您上次访问是在: <em>${user_lastvisit}</em> ${(settings.google_status==1&&google_searchbox>0)||(settings.baidu_status==1&&baidu_searchbox>0)?"<br/>":" "} <a href="search.jsp?srchfrom=${newthreads}&searchsubmit=yes">查看新帖</a> <a href="member.jsp?action=markread" id="ajax_markread" onclick="ajaxmenu(event, this.id)">标记已读</a></c:when>
<c:when test="${empty settings.passport_status}">
<form id="loginform" method="post" name="login" action="logging.jsp?action=login&loginsubmit=true">
<input type="hidden" name="formhash" value="${formhash}" />
<input type="hidden" name="cookietime" value="2592000" />
<input type="hidden" name="accessing" value="logging" />
<input type="hidden" name="loginfield" value="username" />
<input type="text" id="username" name="username" size="15" maxlength="40" tabindex="1" value="用户名" onclick="this.value = ''" />
<input type="password" id="password" name="password" size="10" tabindex="2" onkeypress="if((event.keyCode ? event.keyCode : event.charCode) == 13) $('loginform').submit()" />
<button name="userlogin" type="submit" value="true">登录</button>
</form>
</c:when></c:choose></p>
</div>
<div id="forumstats"><p>今日: <em>${todayposts}</em>, 昨日: <em>${postdata['0']}</em>, 最高日: <em>${postdata['1']}</em> <a href="digest.jsp">精华区</a> <c:if test="${settings.rssstatus==1}"><a href="rss.jsp?auth=${rssauth}" title="RSS 订阅全部版块" target="_blank"><img src="images/common/xml.gif" alt="RSS 订阅全部版块" /></a></c:if> </p><p>主题: <em>${threads}</em>, 帖子: <em>${posts}</em>, 会员: <em>${settings.totalmembers}</em>, 欢迎新会员 <cite><c:choose><c:when test="${spaceurlurl}"><a href="space-username-<jrun:encoding value="${settings.lastmember}"/>.html">${settings.lastmember}</a></c:when><c:otherwise><a href="space.jsp?username=<jrun:encoding value="${settings.lastmember}"/>">${settings.lastmember}</a></c:otherwise></c:choose></cite></p></div>
<c:if test="${(settings.google_status==1&&google_searchbox>0)||(settings.baidu_status==1&&baidu_searchbox>0)}">
<div id="headsearch" style="clear: both">
<c:if test="${settings.google_status==1&&google_searchbox>0}"><script type="text/javascript" src="forumdata/cache/google_var.js"></script><script type="text/javascript" src="include/javascript/google.js"></script></c:if>
<c:if test="${settings.baidu_status==1&&baidu_searchbox>0}"><script type="text/javascript" src="forumdata/cache/baidu_var.js"></script><script type="text/javascript" src="include/javascript/baidu.js"></script></c:if>
</div>
</c:if></div>
<c:if test="${empty gid&&announcements!=null}">
<div id="ann" onmouseover="annstop = 1" onmouseout="annstop = 0"><dl><dt>公告:</dt><dd><div id="annbody"><ul id="annbodylis">${announcements}</ul></div></dd></dl></div>
<script type="text/javascript">
var anndelay = 3000;
var annst = 0;
var annstop = 0;
var annrowcount = 0;
var anncount = 0;
var annlis = $('annbody').getElementsByTagName("LI");
var annrows = new Array();
var annstatus;
function announcementScroll() {
if(annstop) {
annst = setTimeout('announcementScroll()', anndelay);
return;
}
if(!annst) {
var lasttop = -1;
for(i = 0;i < annlis.length;i++) {
if(lasttop != annlis[i].offsetTop) {
if(lasttop == -1) {
lasttop = 0;
}
annrows[annrowcount] = annlis[i].offsetTop - lasttop;
annrowcount++;
}
lasttop = annlis[i].offsetTop;
}
if(annrows.length == 1) {
$('ann').onmouseover = $('ann').onmouseout = null;
} else {
annrows[annrowcount] = annrows[1];
$('annbodylis').innerHTML += $('annbodylis').innerHTML;
annst = setTimeout('announcementScroll()', anndelay);
}
annrowcount = 1;
return;
}
if(annrowcount >= annrows.length) {
$('annbody').scrollTop = 0;
annrowcount = 1;
annst = setTimeout('announcementScroll()', anndelay);
} else {
anncount = 0;
announcementScrollnext(annrows[annrowcount]);
}
}
function announcementScrollnext(time) {
$('annbody').scrollTop++;
anncount++;
if(anncount != time) {
annst = setTimeout('announcementScrollnext(' + time + ')', 10);
} else {
annrowcount++;
annst = setTimeout('announcementScroll()', anndelay);
}
}
</script>
</c:if>
<c:if test="${empty gid&&pmlists!=null}"><div style="clear: both; margin-top: 5px" id="pmprompt"><jsp:include flush="true" page="pmprompt.jsp" /></div></c:if>
<div id="ad_text"></div>
<table summary="HeadBox" class="portalbox" cellpadding="0" cellspacing="1">
<tr><c:if test="${settings.tagstatus==1&&settings.hottags>0&&!empty tags.tags}"><td><div id="hottags"><h3><a href="tag.jsp" target="_blank">热门标签</a></h3>${tags.tags}</div></td></c:if></tr>
</table>
<c:forEach items="${catlists}" var="cat"><c:if test="${cat.forumscount>0}"><div class="mainbox forumlist">
<span class="headactions"><c:if test="${!empty cat.moderators}">分区版主: ${cat.moderators}</c:if> <img id="category_${cat.fid}_img" src="${styles.IMGDIR}/${cat.collapseimg}" title="收起/展开" alt="收起/展开" onclick="toggle_collapse('category_${cat.fid}');" /></span>
<h3><a href="${settings.indexname}?gid=${cat.fid}">${cat.name}</a></h3><c:set var="category" value="category_${cat.fid}" scope="page"/>
<table id="category_${cat.fid}" summary="category${cat.fid}" cellspacing="0" cellpadding="0" style="${collapseMap[category]}"><c:choose>
<c:when test="${cat.forumcolumns>0}"><tbody><tr><c:forEach items="${forums[cat.fid]}" var="forum" varStatus="index"><th width="${cat.forumcolwidth}" ${forum.folder}><h2><c:choose><c:when test="${forumdisplayurl}"><a href="forum-${forum.fid}-1.html">${forum.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${forum.fid}">${forum.name}</a></c:otherwise></c:choose><c:if test="${forum.todayposts>0}"><em> (今日: ${forum.todayposts})</em></c:if></h2><p>主题: ${forum.threads}, 帖数: ${forum.posts}</p><p><c:choose><c:when test="${forum.permission == 1}">私密版块</c:when><c:otherwise><c:set var="lastpost" value="${lastposts[forum.fid]}" scope="page"/>最后发表: <c:choose><c:when test="${lastpost.tid>0}"><a href="redirect.jsp?tid=${lastpost.tid}&goto=lastpost#lastpost">${lastpost.dateline}</a> by ${lastpost.author == '' ? "匿名" : lastpost.author}</c:when><c:otherwise>从未</c:otherwise></c:choose></c:otherwise></c:choose></p></th>${(index.count%(cat.forumcolumns))==0?"</tr></tbody><tbody><tr>":""}</c:forEach>${cat.endrows}</tr></tbody></c:when>
<c:otherwise><thead class="category"><tr><th>版块</th><td class="nums">主题</td><td class="nums">帖数</td><td class="lastpost">最后发表</td></tr></thead><c:forEach items="${forums[cat.fid]}" var="forum"><tbody id="forum${forum.fid}"><tr><th ${forum.folder}>${forum.icon}<h2><c:choose><c:when test="${forumdisplayurl}"><a href="forum-${forum.fid}-1.html">${forum.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${forum.fid}">${forum.name}</a></c:otherwise></c:choose><c:if test="${forum.todayposts>0&&empty forum.redirect}"><em> (今日: ${forum.todayposts})</em></c:if></h2><c:if test="${forum.description!=''}"><p>${forum.description}</p></c:if><c:if test="${forum.subforums!=''}"><p>子版块: ${forum.subforums}</p></c:if><c:if test="${forum.moderators!=''}"><c:choose><c:when test="${settings.moddisplay == 'flat'}"><p class="moderators">版主: ${forum.moderators}</p></c:when><c:otherwise><span class="dropmenu" id="mod${forum.fid}" onmouseover="showMenu(this.id)">版主</span><ul class="moderators popupmenu_popup" id="mod${forum.fid}_menu" style="display: none"><c:forTokens items="${forum.moderators}" delims="," var="moderator"><li>${moderator}</li></c:forTokens></ul></c:otherwise></c:choose></c:if></th><td class="nums">${empty forum.redirect ? forum.threads : "--"}</td><td class="nums">${empty forum.redirect ? forum.posts : "--"}</td><td class="lastpost"><c:choose><c:when test="${forum.permission == 1}">私密版块</c:when><c:otherwise><c:set var="lastpost" value="${lastposts[forum.fid]}" scope="page"/><c:choose><c:when test="${!empty forum.redirect}">--</c:when><c:when test="${lastpost.tid>0}"><a href="redirect.jsp?tid=${lastpost.tid}&goto=lastpost#lastpost">${lastpost.subject}</a><cite>by ${lastpost.author == '' ? "匿名" : lastpost.author} - ${lastpost.dateline}</cite></c:when><c:otherwise>从未</c:otherwise></c:choose></c:otherwise></c:choose></td></tr></tbody></c:forEach></c:otherwise>
</c:choose></table>
</div><div id="ad_intercat_${cat.fid}"></div></c:if></c:forEach>
<c:if test="${settings.forumlinkstatus==1&&forumlinks!=null}"><div class="box">
<span class="headactions"><img id="forumlinks_img" src="${styles.IMGDIR}/${collapseimgMap['forumlinks']}" alt="" onclick="toggle_collapse('forumlinks');" /></span>
<h4>友情链接</h4>
<table summary="友情链接" id="forumlinks" cellpadding="0" cellspacing="0" style="${collapseMap['forumlinks']}">
<c:forEach items="${forumlinks}" var="link"><tr><td><c:if test="${link.value.type==1}"><img src="${link.value.logo}" alt="" class="forumlink_logo" /></c:if>${link.value.content }</td></tr></c:forEach>
</table>
</div></c:if>
<c:if test="${empty gid&&(whosonlinestatus||settings.maxbdays>0)}"><div class="box" id="online">
<c:choose><c:when test="${whosonlinestatus}"><c:choose><c:when test="${detailstatus}"><span class="headactions"><a href="${settings.indexname}?showoldetails=no#online" title="关闭"><img src="${styles.IMGDIR}/collapsed_no.gif" alt="关闭" /></a></span><h4><strong><a href="member.jsp?action=online">在线会员</a></strong> - <em>${onlinenum}</em> 人在线 - <em>${membercount}</em> 会员(<em>${invisiblecount}</em> 隐身), <em>${guestcount}</em> 位游客 - 最高记录是 <em>${onlineinfo[0]}</em> 于 <em>${onlineinfo[1]}</em>.</h4></c:when><c:otherwise><span class="headactions"><a href="${settings.indexname}?showoldetails=yes#online" class="nobdr"><img src="${styles.IMGDIR}/collapsed_yes.gif" alt="" /></a></span><h4><strong><a href="member.jsp?action=online">在线会员</a></strong> - 共 <em>${onlinenum}</em> 人在线 - 最高记录是 <em>${onlineinfo[0]}</em> 于 <em>${onlineinfo[1]}</em>.</h4></c:otherwise></c:choose></c:when><c:otherwise><h4><strong><a href="member.jsp?action=online">在线会员</a></strong></h4></c:otherwise></c:choose>
<c:if test="${settings.maxbdays>0}"><div id="bdayslist"><c:choose><c:when test="${!empty birthdays_index.todaysbdays}"><a href="member.jsp?action=list&type=birthdays">今日生日</a>: ${birthdays_index.todaysbdays}</c:when><c:otherwise>今天没有过生日的用户</c:otherwise></c:choose></div></c:if>
<c:if test="${whosonlinestatus}"><dl id="onlinelist"><dt>${onlinelist.legend}</dt><c:if test="${detailstatus}"><dd><ul class="userlist"><c:choose><c:when test="${whosonline!=null}"><c:forEach items="${whosonline}" var="online"><li title="时间: ${online.lastactivity}<%="\n" %> 操作: ${online.action}${online.fid}"><img src="images/common/${online.icon}" alt="" /> <c:choose><c:when test="${online.uid>0}"><a href="space.jsp?uid=${online.uid}">${online.username}</a></c:when><c:otherwise>${online.username}</c:otherwise></c:choose></li></c:forEach></c:when><c:otherwise><li style="width: auto">当前只有游客或隐身会员在线</li></c:otherwise></c:choose></ul></dd></c:if></dl></c:if>
</div></c:if>
<div class="legend"><label><img src="${styles.IMGDIR}/forum_new.gif" alt="有新帖的版块" />有新帖的版块</label><label><img src="${styles.IMGDIR}/forum.gif" alt="无新帖的版块" />无新帖的版块</label></div>
<ul class="popupmenu_popup" id="creditlist_menu" style="display: none"><li>积分: ${user.credits}</li><c:forEach items="${extcredits}" var="extcredit"><li><c:set var="extcr" value="extcredits${extcredit.key}" />${extcredit.value.title}: ${user[extcr]} ${extcredit.value.unit}</li></c:forEach></ul>
<c:if test="${empty gid&&announcements!=null}"><script type="text/javascript">announcementScroll();</script></c:if>
<jsp:include flush="true" page="footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -