📄 postlist.ftl
字号:
</#if>
${post.post_title?default("")?html}
</div>
</td>
</tr>
</#if>
<tr>
<td>
<div class="message">
<#if post_index ==0>
<#assign Post_ContentRight = _AdsUtil.getForumAds("Post_ContentRight",forum_id,_tplStyle)>
<#elseif post_index ==1>
<#assign Post_ContentRight = _AdsUtil.getForumAds("Post_ContentRight2",forum_id,_tplStyle)>
<#elseif post_index ==2>
<#assign Post_ContentRight = _AdsUtil.getForumAds("Post_ContentRight3",forum_id,_tplStyle)>
<#else>
<#assign Post_ContentRight = "">
</#if>
<#if Post_ContentRight?? && Post_ContentRight!="">
<div class="ads">
${Post_ContentRight}
</div>
</#if>
<#if showPostInfo>
<span style="font-size:${fontSize}px;">${post.post_content?default("")}</span>
</#if>
</div><#comment> end post content</#comment>
<#if isUserBanned>
<#assign noticeInfo = _PostUtil.getUserBannedContent()>
<#elseif isPostBanned>
<#assign noticeInfo = _PostUtil.getBannedContent()>
<#elseif isFirst && showPostInfo>
<#if _TopicUtil.showMoneyTopic(topicInfo)>
<#assign topic_buy_status = topicInfo.topic_buy_status?default(0)>
<#if topic_buy_status == 0>
<#assign noticeInfo = "我的状态:未购买 | 售价:<span class='number'>" + topicInfo.post_money + "</span>${credit1Name} [<a href='javascript:doBuy();' title='购买后可以看到全部内容' >购买</a>]">
<#elseif topic_buy_status==1>
<#assign noticeInfo = "已购买">
<#else>
<#assign noticeInfo = "无需购买">
</#if>
<#elseif topicInfo.post_needreply == "0">
<#assign noticeInfo = _PostUtil.getNeedReplyContent()>
</#if>
<#else>
<#assign noticeInfo = "">
</#if>
<#if noticeInfo?? && noticeInfo!="">
<div class="noticeInfo">
${noticeInfo}
</div>
</#if>
<#if isRateFlag && showPostInfo && rate_list.size() > 0>
<fieldset class="sorceList">
<legend>
<a href="${_UrlUtil.encodeURL("/postRate.do?post_id="+post.post_id)}" title="点击查看更多记录">本帖最近评分记录</a>
</legend>
<ul>
<#list rate_list as rate_list>
<#if _CreditUtil.getInfoMap(rate_list.rate_field)?exists >
<#assign credit = _CreditUtil.getInfoMap(rate_list.rate_field)/>
<li>
<span><a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(rate_list.rate_adminuser))}" class="black" target="_blank">${_EFUserUtil.getEFUser(rate_list.rate_adminuser).nickName}</a></span>
<span>${credit.credit_name}</span>
<#if rate_list.rate_score?number > 0><span class="positiveRateScore number">+${rate_list.rate_score}</span>
<#else>
<span class="negativeRateScore number">${rate_list.rate_score}</span>
</#if>
<span>${_StringUtil.cutString(rate_list.rate_remark?default(""),20,"...")?html}</span>
<span>${_DateUtil.getDateTimeStr(_EFUser, rate_list.rate_time?number)}</span>
</li>
</#if>
</#list>
</ul>
</fieldset>
</#if><#comment>end 显示评价列表</#comment>
</td>
</tr>
<#if isFirst>
<#assign Post_ContentBottom = _AdsUtil.getForumAds("Post_ContentBottom",forum_id,_tplStyle)>
<#if Post_ContentBottom?? && Post_ContentBottom!="">
<tr>
<td style="padding:5px 0px;">
<div style="float:left;">
${Post_ContentBottom}
</div>
</td>
</tr>
</#if>
</#if>
</table>
</td>
</tr>
<#if _PostUtil.showSignature(post_user,post) && !isPostBanned && !isUserBanned>
<tr>
<td class="signature">
<table style="table-layout:fixed;overflow:hidden;border-collapse: collapse;">
<tr><td>
<div class="signLine"><img style="vertical-align:auto;" src="${_resPath}/img/sigline.gif" alt=""></div>
<div class="signInfo" style="vertical-align:top;overflow:hidden;word-break:break-all;maxHeightIE: ${signHeight}px;max-height:${signHeight}px;height:expression(signature(this));">
${post_user.parsedSignature?default("")}
</div>
</td></tr>
</table>
</td>
</tr> <#comment> end sign</#comment>
</#if>
</table>
</td>
</tr>
<#assign bottomAds = _AdsUtil.getForumAds("Post_SignedBottom",forum_id,_tplStyle)>
<#if bottomAds?? && bottomAds!="">
<tr>
<td class="bottomAds">
<div class="bottomAds">${bottomAds}</div>
</td>
</tr> <#comment> end bottom ads</#comment>
</#if>
</table>
</div><#comment>end postView</#comment>
<#if post_index < post_list.size()-1 && (showListCenterAdTimes==0||post_index < showListCenterAdTimes)>
<#assign betweenAds = _AdsUtil.getForumAds("Post_ListCenter",forum_id,_tplStyle)>
<#if betweenAds?? && betweenAds != "">
<div class="bannerAD" style="margin: 4px auto;">
${betweenAds}
</div>
</#if><#comment> end ads</#comment>
</#if><#comment> 广告放置位置</#comment>
<#else>
<#assign betweenAds = _AdsUtil.getForumAds("Post_ListCenter",forum_id,_tplStyle)>
<#if betweenAds?? && betweenAds != "">
<div class="bannerAD" style="margin: 8px auto;">
${betweenAds}
</div>
</#if><#comment> end ads</#comment>
</#if><#comment> 显示本楼 </#comment>
</#list>
<div id="bottomActions" class="actionLine">
<div id="pageNavigationDiv" class="left">
<@html.doPagination pagination=pagination isUrl=true urlHead="/post-"+topic_id+"-" urlTail=".fhtml" />
</div><#comment>end pageNavigationDiv </#comment>
<div id="forumGoTo" class="right">
<#assign visitedQuota = _ConfigUtil.getConfigInfo("FORUMS_VISITED_QUOTA")/>
<#if visitedQuota != "" && visitedQuota?number > 0>
<select name="select" onchange="if(this.options[this.selectedIndex].value != '')
window.location=('${_UrlUtil.encodeURL("/topics-'+this.options[this.selectedIndex].value+'-1.fhtml")}')">
<option value=""> - 最近访问过的论坛 - </option>
<#assign _recent_forums=Cookie["_eforum_recent_forums"]?default("")/>
<#if _recent_forums?exists && _recent_forums != "">
<#assign tmpNum = 0/>
<#list _recent_forums?split("E") as m>
<#if visitedQuota?number > tmpNum?number>
<#if m != "">
<#assign _rec_forumInfo = _ForumUtil.getForumInfo(m)/>
<#if _rec_forumInfo?exists && !_rec_forumInfo.isEmpty()>
<option value="${m}">${_rec_forumInfo.forum_name}</option>
<#assign tmpNum= tmpNum + 1 />
</#if>
</#if>
</#if>
</#list>
</#if>
</select>
</#if>
<#if isManager>
<select name="manageType" onchange="submitPostManage(this)">
<option value="" selected> - 主题管理 - </option>
<option value="Light">高亮标题</option>
<option value="Delete">删除主题</option>
<option value="Move" >移动主题</option>
<option value="Subject" >修改版面专题</option>
<option value="Top" >设置置顶</option>
<option value="Excerption" >加入/解除精华</option>
<option value="CloseOpen" >关闭/打开主题</option>
<#if topicInfo.post_money?number > 0>
<option value="Free" >强制免费</option>
<option value="Refund" >强制退款</option>
</#if>
</select>
</#if>
</div><#comment>end forumGoTo</#comment>
</div><#comment>end bottomActions</#comment>
<#if _ConfigUtil.isYes("REPLYLIST_QUICK_POST") && canReply>
<#include "quick_reply.ftl"/>
</#if>
<#include "post_tag_topiclist.ftl">
<#assign Post_ListBottom = _AdsUtil.getForumAds("Post_ListBottom",forum_id,_tplStyle)>
<#if Post_ListBottom?? && Post_ListBottom!="">
<div class="bannerAD" style="margin-top:10px;">
${Post_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 + -