📄 forumlistcommon.ftl
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=${_encoding?default("GBK")}" />
<#assign navtitle = "">
<#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/eforumad.js"></script>
</head>
<body><!-- forumlistcommon.ftl -->
<#assign fashionIndex = _ConfigUtil.isYes("STYLE_INDEX") >
<#if !fashionIndex>
<#comment>论坛顶部广告</#comment>
<#comment>对联广告</#comment>
${_AdsUtil.getAds("Index_FloatScrollLeft",_tplStyle)}
${_AdsUtil.getAds("Index_FloatScrollRight",_tplStyle)}
<#comment>右下POPUP广告</#comment>
${_AdsUtil.getAds("Index_ButtomPopup",_tplStyle)}
<#comment>首页浮动广告</#comment>
${_AdsUtil.getAds("Index_Float",_tplStyle)}
<#comment>首页弹出广告</#comment>
${_AdsUtil.getAds("Page_NewWin",_tplStyle)}
</#if>
<div id="wrap">
<#include "header.ftl"/>
<div id="content">
<div id="count" class="commonNavLine">
<#include "usercount_inc.ftl"/>
<#include "forumcount_inc.ftl"/>
</div><#comment>end count</#comment>
<#assign Forum_ListTop = _AdsUtil.getAds("Forum_ListTop",_tplStyle)>
<#if Forum_ListTop?? && Forum_ListTop!="">
<div class="bannerAD">
${Forum_ListTop}
</div>
</#if>
<div class="clean"></div>
<#include "placard.ftl"/>
<#if !fashionIndex>
<#include "toptopics_inc.ftl"/>
<#include "stat_inc.ftl"/>
</#if>
<div id="indexActionLine" class="actionLine">
<div id="action" class="left">
<#include "forumorderaction_inc.ftl"/>
</div>
<div id="quickSearch" class="right">
<#include "searchshortcut_inc.ftl"/>
</div>
</div>
<#if !fashionIndex>
<#include "forumpoptag_inc.ftl"/>
</#if>
<#comment> 获取分类论坛 </#comment>
<#assign groupForums = _ForumUtil.getGroups()/>
<#comment> 循环所有分类论坛 </#comment>
<#list groupForums as groupForum>
<#comment>判断当前论坛关闭,只有管理角色(管理员\超级管理员)才可以查看</#comment>
<#if groupForum.forum_status?number == _Constants.FORUM_STATUS_USE ||
_EFUser.groupId?number == _Constants.USERGROUP_SYSTEM_SUPERADMIN ||
_EFUser.groupId?number == _Constants.USERGROUP_SYSTEM_ADMIN>
<#comment>判断当前论坛隐藏,只有管理角色(管理员\超级管理员)和允许查看隐藏论坛的用户组才可以查看</#comment>
<#if groupForum.forum_ishide?number == _Constants.FORUM_ISHIDEN_SHOW ||
!_ConfigUtil.isYes("SECURITY_HIDE_FORBIDDEN_FORUM") ||
_EFUser.groupId?number == _Constants.USERGROUP_SYSTEM_SUPERADMIN ||
_EFUser.groupId?number == _Constants.USERGROUP_SYSTEM_ADMIN || _GroupUtil.isYes(_EFUser.groupId?string,"USERGROUP_VISIT_HIDDENFORUM")>
<#comment> 获取此分类论坛的所有子论坛 </#comment>
<#assign childForums = _ForumUtil.getChildForums(groupForum.forum_id)/>
<#assign parentForumName = groupForum.forum_name>
<#assign parentForumURL = _contextPath + "/forum-1-" + groupForum.forum_id + ".fhtml"/>
<#include "forumlist_inc.ftl"/>
</#if>
</#if>
</#list>
<#if !fashionIndex>
<#include "friendlink_inc.ftl"/>
</#if>
<#include "forumstatus_inc.ftl">
<#assign Forum_ListBottom = _AdsUtil.getAds("Forum_ListBottom",_tplStyle)>
<#if Forum_ListBottom?? && Forum_ListBottom!="">
<div class="bannerAD" style="margin-top:6px;">
${Forum_ListBottom}
</div>
</#if>
</div><#comment>end content</#comment>
<#include "footer.ftl"/>
</div><#comment>end wrap</#comment>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -