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

📄 statuserpost.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" />
<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><!-- statuserpost.ftl -->


<div id="wrap">

<#include "header.ftl"/>

<div id="content">

<div class="commonNavLine">
	<#assign onlyForumMenu = true/>
	<#assign nextForumNavStr = "会员发帖排行榜"/>
	<#include "forum_nav.ftl"/>
</div><#comment>end commonNavLine </#comment>

<#assign currentChoice="UserPostStat">
<#include "statleft.ftl"/>

<#assign maxNum = 20>
<#assign hilite = 0>
<#assign userPost = _StatUtil.getUserByPosts(maxNum)/>
<#assign userBestPost = _StatUtil.getUserByBestPosts(maxNum)/>
<#assign userMonthPost = _StatUtil.getUserByMonthPosts(maxNum)/>
<#assign user24HPost = _StatUtil.getUserBy24HPosts(maxNum)/>

<div id="statUserPost" class="statContent">

  <div id="statUserPostCreate" class="statBox">
    <div class="commonBox">
      <table class="commonTable">
        <tr class="hd1">
          <td class="td1">发帖排行榜</td>
        </tr>
        <tr class="content">
          <td>
            <ol>
            <#list 0..(maxNum - 1) as i>
              <li>
                <#if userPost.size() &gt; i>
                  <a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(userPost[i].user_id))}" title="${_EFUserUtil.getNickName(userPost[i].user_id)}" target="_blank">
                  <#if i &lt; hilite>
                    <div class="statWdithHeadPic">
                      <div class="statValue number">${userPost[i].user_posts}</div>
                      <span><img src="${_contextPath}/${_EFUserUtil.getUserHead(userPost[i].user_id)}" ></span>
                      <span class="topStateTitle">${_EFUserUtil.getNickName(userPost[i].user_id)}</span>
                    </div>
                  <#else>
                    <div class="statValue number">${userPost[i].user_posts}</div><span class="statTitle">${_EFUserUtil.getNickName(userPost[i].user_id)}</span>
                  </#if>
                  </a>
                <#else>
                &nbsp;
                </#if>
              </li>
            </#list>
            </ol>
          </td>
        <tr>
      </table>
    </div><#comment> end statUserPostCreate</#comment>
  </div>

  <div id="statUserPostBest" class="statBox">
    <div class="commonBox">
      <table class="commonTable">
        <tr class="hd1">
          <td class="td1">精华排行榜</td>
        </tr>
        <tr class="content">
          <td>
            <ol>
            <#list 0..(maxNum - 1) as i>
              <li>
                <#if userBestPost.size() &gt; i>
                  <a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(userBestPost[i].user_id))}" title="${_EFUserUtil.getNickName(userBestPost[i].user_id)}" target="_blank">
                  <#if i &lt; hilite>
                    <div class="statWdithHeadPic">
                      <div class="statValue number">${userBestPost[i].user_bestposts}</div>
                      <span><img src="${_contextPath}/${_EFUserUtil.getUserHead(userBestPost[i].user_id)}" ></span>
                      <span class="topStateTitle">${_EFUserUtil.getNickName(userBestPost[i].user_id)}</span>
                     </div>
                  <#else>
                    <div class="statValue number">${userBestPost[i].user_bestposts}</div><span class="statTitle">${_EFUserUtil.getNickName(userBestPost[i].user_id)}</span>
                  </#if>
                  </a>
                <#else>
                  &nbsp;
                </#if>
              </li>
            </#list>
            </ol>
          </td>
        <tr>
      </table>
    </div><#comment> end statUserPostBest</#comment>
  </div>

  <div id="statUserPostMonth" class="statBox">
    <div class="commonBox">
      <table class="commonTable">
        <tr class="hd1">
          <td class="td1">近30天发帖排行榜</td>
        </tr>
        <tr class="content">
          <td>
            <ol>
            <#list 0..(maxNum - 1) as i>
              <li>      
                <#if userMonthPost.size() &gt; i>
                  <a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(userMonthPost[i].user_id))}" title="${_EFUserUtil.getNickName(userMonthPost[i].user_id)}" target="_blank">
                  <#if i &lt; hilite>
                    <div class="statWdithHeadPic">
                      <div class="statValue number">${userMonthPost[i].postnum}</div>
                      <span><img src="${_contextPath}/${_EFUserUtil.getUserHead(userMonthPost[i].user_id)}" ></span>
                      <span class="topStateTitle">${_EFUserUtil.getNickName(userMonthPost[i].user_id)}</span>
                    </div>
                  <#else>
                    <div class="statValue number">${userMonthPost[i].postnum}</div><span class="statTitle">${_EFUserUtil.getNickName(userMonthPost[i].user_id)}</span>
                  </#if>
                </a>
                <#else>
                  &nbsp;
                </#if>
              </li>
            </#list>
            </ol>
          </td>
        <tr>
      </table>
    </div><#comment> end statUserPostMonth</#comment>
  </div>

  <div id="statUserPostDay" class="statBox">
    <div class="commonBox">
      <table class="commonTable">
        <tr class="hd1">
          <td class="td1">近24小时发帖排行榜</td>
        </tr>
        <tr class="content">
          <td>
            <ol>
            <#list 0..(maxNum - 1) as i>
              <li> 
                <#if user24HPost.size() &gt; i>
                  <a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(user24HPost[i].user_id))}" title="${_EFUserUtil.getNickName(user24HPost[i].user_id)}" target="_blank">
                  <#if i &lt; hilite>
                    <div class="statWdithHeadPic">
                      <div class="statValue number">${user24HPost[i].postnum}</div>
                      <span><img src="${_contextPath}/${_EFUserUtil.getUserHead(user24HPost[i].user_id)}" ></span>
                      <span class="topStateTitle">${_EFUserUtil.getNickName(user24HPost[i].user_id)}</span>
                    </div>
                  <#else>
                    <div class="statValue number">${user24HPost[i].postnum}</div><span class="statTitle">${_EFUserUtil.getNickName(user24HPost[i].user_id)}</span>
                  </#if>
                </a>
                <#else>
                  &nbsp;
                </#if>
              </li>
            </#list>
            </ol>
          </td>
        <tr>
      </table>
    </div><#comment> end statUserPostDay</#comment>
  </div>

</div><#comment> end statUserPost </#comment>


</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 + -