📄 topiclist.ftl
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<#import "lib/html.tpl" as html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=${_encoding?default("GBK")}" />
<#assign navtitle = forum_name?default("")+" - ">
<#include "/common/title.ftl">
<#include "/common/meta.ftl">
<link href="${_resPath}/lib/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${_contextPath}/ef/js/prototype.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/base.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/post.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/ubb.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>
<script type="text/javascript">
// 鎻愪氦涓讳綋杩囨护;
function viewTopics(pageNo,pageSize,forumId,isBestPostPage,isClosedPostPage){
var timeType = $("timeType");
var topicType = $("topicType");
var subjectType = $("subjectType");
var orderName = $("orderName");
var orderType = $("orderType");
var timeValue = "";
if(timeType != null && timeType.value != "-1"){
timeValue = timeType.value;
}
var topicValue = "";
if(topicType != null && topicType.value != "-1"){
topicValue = topicType.value ;
}
var subjectValue = "";
if(subjectType != null && subjectType.value != "-1"){
subjectValue = subjectType.value ;
}
var orderValue = ""
if(orderName != null && orderName.value != "-1"){
orderValue = orderName.value ;
}
var orderTValue = "";
if(orderType != null && orderType.value != "-1"){
orderTValue = orderType.value ;
}
var isBestPostPageValue = "";
if(isBestPostPage != null && isBestPostPage != "-1"){
isBestPostPageValue = isBestPostPage;
}
var isClosedPostPageValue = "";
if(isClosedPostPage != null && isClosedPostPage != "-1"){
isClosedPostPageValue = isClosedPostPage;
}
window.location= "${_UrlUtil.encodeURL("/topics-\" + forumId + \"-\"+ pageNo +\"-\" + pageSize + \"-\"
+ timeValue + \"-\" + topicValue
+ \"-\" + encodeURIComponent(subjectValue) + \"-\"
+ isClosedPostPageValue + \"-\" + isBestPostPageValue + \"-\" + orderValue + \"-\" + orderTValue +\".fhtml")}";
}
//鍒嗛〉;
function gotoPage(pNo){
viewTopics(pNo,${_pSize?default(TOPICS_PAGE_SIZE)},${forum_id},${isBestPostPage?default(-1)},${isClosedPostPage?default(-1)});
}
</script>
</head>
<body><!-- topiclist.ftl -->
<div id="wrap">
<#include "header.ftl"/>
<div id="content">
<div id="count" class="commonNavLine">
<#include "forum_nav.ftl"/>
<#comment> 鑾峰彇璁哄潧淇℃伅 </#comment>
<#assign isManager = _GroupUtil.hasManaAuth(forum_id,_EFUser) />
<#assign forumInfo = _ForumUtil.getForumInfo(forum_id)/>
<#assign forumStat = _ForumUtil.getForumTodayStat(forum_id?string)?default("")/>
<#assign forumReflectURL = _ForumUtil.getConfigInfo(forum_id, "FORUM_REFLECT_URL")/>
<div id="siteCount">
<span class="title">鏈
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -