📄 post_arguelist.ftl
字号:
${_PostUtil.getUserBannedContent()}
<#else>
${argue.post_content?default("")}
</#if>
</div>
<div class="pointMask">
<#if isManager && !isUserBanned>
<#if !isPostBanned>
<a href="javascript:banPost('${argue.post_id}')"
class="opLink">屏蔽观点</a>
<#else>
<a href="javascript:banPost('${argue.post_id}')" class="opLink"
>解除屏蔽</a>
</#if>
</#if>
</div>
<#if argue.argue_comment.size() !=0>
<#list argue.argue_comment as comment>
<#assign isPostBanned = _Constants.POST_BANNED_YES == comment.post_banned?number />
<#assign commentUser = _EFUserUtil.getEFUser(comment.user_id)/>
<#assign isUserBanned = _EFUserUtil.isBanned(commentUser.groupId) />
<#assign isGuest = _EFUserUtil.isGuest(commentUser)>
<div class="pointComment">
<div class="commentLogo">
<img src="${_resPath}/img/comments.png"/>
</div><#comment> end commentsLogo </#comment>
<div class="commentHeadPic">
<#if isGuest>
<img src="${_contextPath}/${commentUser.headPic}" title="${commentUser.nickName?default("")}">
<#else>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(commentUser.id))}" target="_blank"><img src="${_contextPath}/${commentUser.headPic}" title="${commentUser.nickName?default("")}"></a>
</#if>
</div>
<div class="commentTimeAndUser">
<#if isGuest>
${commentUser.nickName?html} <span class="time">${_PostUtil.getGuestIP(comment,isManager)}</span>
<#else>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(comment.user_id))}" target="_blank">${commentUser.nickName?html}</a>
</#if>
<span class="time">${_DateUtil.getDateTimeStr(_EFUser,comment.post_time?number)}</span>
</div>
<div class="commentContent" style="font-size:${fontSize}px;">
<#if isPostBanned>${_PostUtil.getBannedContent()}
<#elseif isUserBanned>${_PostUtil.getUserBannedContent()}
<#else>${comment.post_content?default("")}
</#if>
</div>
<#if isManager && !isUserBanned>
<div class="commentMask">
<#if !isPostBanned>
<a href="javascript:banPost('${comment.post_id}')" class="opLink">屏蔽评论</a>
<#else>
<a href="javascript:banPost('${comment.post_id}')">解除屏蔽</a>
</#if>
</div>
</#if>
</div>
<#comment>网友内容循环</#comment>
</#list>
<#if argue.show_more_content>
<div class="moreComment">
<a href="${_UrlUtil.encodeURL("/point-"+argue.post_id+".fhtml")}" title="查看此观点的所有评论">>>更多评论</a>
</div>
</#if>
</#if>
</div>
</div><#comment> end arguePoint </#comment>
</#list>
</div><#comment> end positiveList </#comment>
<div class="morePoint">
<a href="${_UrlUtil.encodeURL("/oposepoint-"+topic_id+"-1.fhtml")}" title="查看反方所有观点" class="opLink">>>更多观点</a>
</div>
</div><#comment> end argueOpose </#comment>
<#if showThird?default(true) && argue_third_list? exists>
<div id="argueThird">
<div id="thirdInfo">
<div class="argueSideLogo">
<img src="${_resPath}/img/argue_third.png"/>
</div>
<div class="argueSideTitle" style="font-size:${fontSize}px;">
${argueMap.argue_thirdviewpoint?default("第三方观点")?html}
</div>
<div class="argueSideAddPoint">
<input id="loginbutton" type="button" class="middleButton" value="发表观点" onclick="commitThirdPoint(this)">
</div>
<div class="argueSideOption">
<span><a href="${_UrlUtil.encodeURL("/thirdpoint-"+topic_id+"-1.fhtml")}" title="查看第三方所有观点" class="opLink">所有第三方观点</a></span>
</div>
</div><#comment> end thirdInfo </#comment>
<div id="thirdList" class="argueList">
<#list argue_third_list as argue>
<#assign isPostBanned = _Constants.POST_BANNED_YES == argue.post_banned?number />
<#assign pointUser = _EFUserUtil.getEFUser(argue.user_id)/>
<#assign isUserBanned = _EFUserUtil.isBanned(pointUser.groupId) />
<#assign isGuest = _EFUserUtil.isGuest(pointUser)>
<div class="arguePoint">
<div class="pointTimeAndUser">
<#if isGuest>
${pointUser.nickName?html} <span class="time">${_PostUtil.getGuestIP(argue,isManager)}</span>
<#else>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(pointUser.id))}" target="_blank">${pointUser.nickName?html}</a>
</#if>
<span class="time">${_DateUtil.getDateTimeStr(_EFUser,argue.post_time?number)}</span>
</div>
<div class="pointOption">
<#if !(argue.argue_diguser?exists)><a href="javascript:doArgueDig('${argue.post_id}','${argue.argue_type}')" title="支持此观点" class="opLink">支持</a><#else>支持</#if>:<span class="number">${argue.argue_dignum}</span> <a href="${_UrlUtil.encodeURL("/postArgue.do?_fn=Comment&post_parent="+argue.post_id+"&post_type="+_Constants.POST_TYPE_ARGUE)}" title="评论此观点" class="opLink">评论</a>:<span class="number">${argue.argue_commentnum}</span>
</div>
<div class="pointHeadPic">
<#if isGuest>
<img src="${_contextPath}/${pointUser.headPic}" title="${pointUser.nickName?default("")}">
<#else>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(pointUser.id))}" target="_blank"><img src="${_contextPath}/${pointUser.headPic}" title="${pointUser.nickName?default("")}"></a>
</#if>
</div>
<div class="pointContent">
<div class="pointTitle" title="${argue.post_title?default("第三方观点")?html}" style="font-size:${fontSize}px;">${argue.post_title?default("第三方观点")?html}
</div>
<div class="pointValue" style="font-size:${fontSize}px;">
<#if isPostBanned>
${_PostUtil.getBannedContent()}
<#elseif isUserBanned>
${_PostUtil.getUserBannedContent()}
<#else>
${argue.post_content?default("")}
</#if>
</div>
<div class="pointMask">
<#if isManager && !isUserBanned>
<#if !isPostBanned>
<a href="javascript:banPost('${argue.post_id}')"
class="opLink">屏蔽观点</a>
<#else>
<a href="javascript:banPost('${argue.post_id}')" class="opLink"
>解除屏蔽</a>
</#if>
</#if>
</div>
<#if argue.argue_comment.size() !=0>
<#list argue.argue_comment as comment>
<#assign isPostBanned = _Constants.POST_BANNED_YES == comment.post_banned?number />
<#assign commentUser = _EFUserUtil.getEFUser(comment.user_id)/>
<#assign isUserBanned = _EFUserUtil.isBanned(commentUser.groupId) />
<#assign isGuest = _EFUserUtil.isGuest(commentUser)>
<div class="pointComment">
<div class="commentLogo">
<img src="${_resPath}/img/comments.png"/>
</div><#comment> end commentsLogo </#comment>
<div class="commentHeadPic">
<#if isGuest>
<img src="${_contextPath}/${commentUser.headPic}" title="${commentUser.nickName?default("")}">
<#else>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(commentUser.id))}" target="_blank"><img src="${_contextPath}/${commentUser.headPic}" title="${commentUser.nickName?default("")}"></a>
</#if>
</div>
<div class="commentTimeAndUser">
<#if isGuest>
${commentUser.nickName?html} <span class="time">${_PostUtil.getGuestIP(comment,isManager)}</span>
<#else>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(comment.user_id))}" target="_blank">${commentUser.nickName?html}</a>
</#if>
<span class="time">${_DateUtil.getDateTimeStr(_EFUser,comment.post_time?number)}</span>
</div>
<div class="commentContent" style="font-size:${fontSize}px;">
<#if isPostBanned>${_PostUtil.getBannedContent()}
<#elseif isUserBanned>${_PostUtil.getUserBannedContent()}
<#else>${comment.post_content?default("")}
</#if>
</div>
<#if isManager && !isUserBanned>
<div class="commentMask">
<#if !isPostBanned>
<a href="javascript:banPost('${comment.post_id}')" class="opLink">屏蔽评论</a>
<#else>
<a href="javascript:banPost('${comment.post_id}')">解除屏蔽</a>
</#if>
</div>
</#if>
</div>
<#comment>网友内容循环</#comment>
</#list>
<#if argue.show_more_content>
<div class="moreComment">
<a href="${_UrlUtil.encodeURL("/point-"+argue.post_id+".fhtml")}" title="查看此观点的所有评论">>>更多评论</a>
</div>
</#if>
</#if>
</div><#comment> end pointContent </#comment>
</div><#comment> end arguePoint </#comment>
</#list>
</div><#comment> end thirdList </#comment>
<div class="morePoint">
<a href="${_UrlUtil.encodeURL("/thirdpoint-"+topic_id+"-1.fhtml")}" title="查看第三方所有观点" class="opLink">>>更多观点</a>
</div>
</div><#comment> end argueThird </#comment>
</#if>
<#comment>最近反问的论坛,主题管理选项</#comment>
<div id="bottomOperation">
<#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 bottomOperation</#comment>
<#include "post_tag_topiclist.ftl"><#comment>相关主题列表</#comment>
</div><#comment>end content</#comment>
<#include "footer.ftl"/>
</div><#comment>end wrap</#comment>
</body>
</html>
<script language="javascript">
<!--
new StyleChange("addPositivePoint", "button_narrow");
new StyleChange("addOposePoint", "button_narrow");
new StyleChange("addThirdPoint", "button_narrow");
function changeSepHeight(){
if($("arguePositive").scrollHeight > $("argueOpose").scrollHeight){
$("argueSeparator").style.height=$("arguePositive").scrollHeight+"px";
}else {
$("argueSeparator").style.height=$("argueOpose").scrollHeight+"px";
}
}
changeSepHeight();
//-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -