⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 topic_man.ftl

📁 学生选课系统 赶快来下载啊啊好东西 呵呵啊啊 啊啊啊啊啊
💻 FTL
字号:
<#include "lib/report.tpl"/>
<#import "lib/html.tpl" as html>
<!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" />
<link href="${_resPath}/lib/Calendar.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/Calendar.js"></script>
<SCRIPT LANGUAGE="JavaScript" src="${_contextPath}/ef/js/post.js"></SCRIPT>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>

</head>
<body><!-- topic_man.ftl -->

<div id="wrap">

<#include "header.ftl"/>

<div id="content">

<div class="commonNavLine">
  <#assign topicUrl="">
  <#if topicInfo?exists>
    <#assign topicUrl = "<a class=\"forumName\" href=\"${_UrlUtil.encodeURL(\"/\"+_PostUtil.getTopicURL(topicInfo.post_id))}\">${topicInfo.post_title?html}</a><img src=\"${_resPath}/img/arrowhead.gif\" />" />
  </#if>
	<#assign nextForumNavStr=topicUrl+"<span class=\"forumName\">${_CodeUtil.getCodeName(\"TOPIC_MANAGE\",  manageType)}</span>" />
	<#include "forum_nav.ftl"/>
</div><#comment>end commonNavLine </#comment>
<@_report/>
<div class="clean"></div>
<div id="topicManDiv">
  <form method="post" name="topicManForm" id="topicManForm" action="${_UrlUtil.encodeURL("/topicMan.do")}">
  <input type="hidden" name="forum_id" value="${forum_id}" />
  <input type="hidden" name="_fn" value="${manageType}" />
  <input type="hidden" name="_redirect_to" value="${_redirect_to}" />
  <input type="hidden" id="all_topic_selected" name="all_topic_selected" value="${all_topic_selected}" />
  <#assign topic_man_tpl = "topic_man_" + manageType?lower_case + ".ftl"/>
  <#include topic_man_tpl/>
</div>

<#comment>主题管理日志</#comment>
<#if topic_manlogs?exists>
<div id="topicManLogs" class="commonBox"><#comment>主题管理记录 start</#comment>
<table class="commonTable">
  <tr class="hd1">
    <td colspan="5" class="td1">主题管理记录</td>
  </tr>
  <tr class="hd2">
    <td>操作者</td>
    <td>时间</td>
    <td>管理操作</td>
    <td>操作原因</td>
    <td>有效期 </td>
  </tr>
  <#list topic_manlogs as log>
  <#assign status = (log.log_status="1")>
  <tr class="content list" <#if status> disabled</#if>>
    <td>
      <a target="_blank" href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(log.log_username))}"> ${_EFUserUtil.getNickName(log.log_username)}</a>
    </td>
    <td>${_DateUtil.getDateTimeStr(_EFUser,log.log_managetime?number)}</td>
    <td>${_CodeUtil.getCodeName("EF_POST_MAN", log.log_action?string)}</td>
    <td>${log.log_reason?default("")?html}&nbsp;</td>
    <td>
    <#if log.log_expiration?default("0")=="0">
      永久有效
    <#else>
      ${_DateUtil.getDateStr(_EFUser,log.log_expiration?number)}
    </#if>
    </td>
  </tr>
  </#list>
  <tr class="footer"><td colspan=5></td></tr>
</table>
</div><#comment>end topicManLogs </#comment>

<#elseif topic_list?exists>
<div id="topicManTopicList" class="commonBox">
<table class="topicList commonTable">
  <tr class="hd1">
    <td colspan="6" class="td1">主题记录</td>
  </tr>
  <tr class="hd2">
    <td>&nbsp;</td>
    <td>标题</td>
    <td>作者</td>
    <td>回复数/浏览数</td>
    <td colspan="2">最新回复</td>
  </tr>
 <#list topic_list as topic>
  <tr class="content list">
    <td class="td10">
      <input type="checkbox" name="chk_topic_id" value="${topic.post_id}" onclick="selectTopic(this);" checked="true">
    </td>
    <td class="td2"><div class="topicTitle">
      <a target="_blank" href="${_UrlUtil.encodeURL("/"+_PostUtil.getTopicURL(topic.post_id))}" title="${topic.post_title?html}" <#if topic.post_highlight?default("")!="">style="${topic.post_highlight}"</#if>>
      ${topic.post_title?html}</a></div>
    </td>
    <td class="td4"><div class="nickName">
    <#assign postUser = topic.user_id/>
    <#if _EFUserUtil.isGuest(postUser)>
        ${_EFUserUtil.getNickName(postUser)}
    <#else>
      <a target="_blank" href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(postUser))}" title="${_EFUserUtil.getNickName(postUser)}">${_EFUserUtil.getNickName(postUser)}</a>
    </#if>
      </div>
    </td>
    <td class="td5">${topic.post_replynum}/${topic.post_viewnum}</td>
    <td class="td6">
      <#if topic.post_lastuser ? exists>
      <#assign lastPostTime = _DateUtil.miniHappenedTime(_EFUser,topic.post_lasttime?number)/>
      <a target="_blank" href="${_UrlUtil.encodeURL("/"+_PostUtil.getLastPostURL(topic.post_id))}">${lastPostTime}</a>
      <#else>&nbsp;
      </#if>
    </td>
    <td class="td7">
  <#comment> 沙发 </#comment>
  <#if topic.post_firstuser ? exists>
    <#assign postUser = topic.post_firstuser/>
    <#if _EFUserUtil.isGuest(postUser)>
        <a href="javascript:void(0);"><img src="${_contextPath}/${_EFUserUtil.getUserHead(postUser)}" title="沙发:${_EFUserUtil.getNickName(postUser)}" class="smallHeadPic"></a>
     <#else>
      <#if topic.post_firsthide?default(_Constants.STATUS_NO)?number == _Constants.STATUS_YES>
        <a href="#">
        <img src="${_contextPath}/${_EFUserUtil.getAnonyousHead()}" title="沙发:匿名用户" class="smallHeadPic"></a>
        <#else>
        <a target="_blank" href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(postUser))}">
        <img src="${_contextPath}/${_EFUserUtil.getUserHead(postUser)}" title="沙发:${_EFUserUtil.getNickName(postUser)}" class="smallHeadPic"></a>
      </#if>
     </#if>
  </#if>
  <#comment> 最后回复 </#comment>
  <#if topic.post_lastuser ? exists>
    <#assign postUser = topic.post_lastuser/>
    <#if _EFUserUtil.isGuest(postUser)>
        <a href="javascript:void(0);"><img src="${_contextPath}/${_EFUserUtil.getUserHead(postUser)}" title="最后回复:${_EFUserUtil.getNickName(postUser)}" class="smallHeadPic"></a>
     <#else>
      <#if topic.post_lasthide?default(_Constants.STATUS_NO)?number == _Constants.STATUS_YES>
        <a href="#">
        <img src="${_contextPath}/${_EFUserUtil.getAnonyousHead()}" title="最后回复:匿名用户" class="smallHeadPic"></a>
        <#else>
        <a target="_blank" href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(postUser))}">
        <img src="${_contextPath}/${_EFUserUtil.getUserHead(postUser)}" title="最后回复:${_EFUserUtil.getNickName(postUser)}" class="smallHeadPic"></a>
      </#if>
     </#if>
    </#if>
    <#if ! topic.post_firstuser ? exists && ! topic.post_lastuser ? exists>&nbsp;
    </#if>
    </td>
  </tr>
  </#list>
  <tr class="footer"><td colspan=6></td></tr>
</table>
</div><#comment>end topicManTopicList </#comment>

</#if>

</div><#comment>end content</#comment>

<#assign _show_temp_=false>
<#include "footer.ftl"/>

</div><#comment>end wrap</#comment>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -