📄 topic_buylist.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>
<script language="JavaScript">
<!--
//分页
function gotoPage(pNo){
window.location="${_UrlUtil.encodeURL("/topicBuy.do?topic_id=${topic_id}&_pNo=\" + pNo")};
}
//-->
</script>
<body><!-- topic_buylist.ftl -->
<div id="wrap">
<#include "header.ftl"/>
<div id="content">
<#assign forum_id=topicInfo.forum_id/>
<div class="commonNavLine">
<#assign nextForumNavStr="<a class=\"forumName\" href=\"${_UrlUtil.encodeURL(\"/\"+_PostUtil.getTopicURL(topicInfo.post_id))}\">${topicInfo.post_title?html}</a><img src=\"${_resPath}/img/arrowhead.gif\" /><span class=\"forumName\">购买用户列表</span>" />
<#include "forum_nav.ftl"/>
</div><#comment>end commonNavLine </#comment>
<div id="commonLeft">
<div id="topicBuyLeft" class="commonNavBox">
<table class="outline">
<tr class="hd">
<td class="td1">
汇总信息
</td>
<td class="td2">
<img src="${_resPath}/img/side_view_yes.gif" style="cursor:pointer;" onclick="expandContent('topicBuyTable');">
</td>
</tr>
<tbody id="topicBuyTable" class="content">
<tr class="infoLine">
<td class="option" colspan="2">
主题售价:<span class="number">${topicInfo.post_money}</span>
</td>
</tr>
<tr class="infoLine">
<td class="option" colspan="2">
税率:<span class="number">${_ConfigUtil.getConfigInfo( "CREDIT_BARGAIN_TAX" )}%</span>
</td>
</tr>
<tr class="infoLine">
<td class="option" colspan="2">
交易次数限制:<#assign maxTimes = _ForumUtil.getConfigInfo(forum_id, "FORUM_POST_BUY_MAXTIMES" )?default("0")?number><#if maxTimes==0>不限制<#else> <span class="number">${maxTimes}</span> 次</#if>
</td>
</tr>
<tr class="infoLine">
<td class="option" colspan="2">
已购买人数:<span class="number">${topicInfo.post_tradenum}</span>
</td>
</tr>
<tr class="infoLine">
<td class="option" colspan="2">
楼主已收入:<span class="number">${topicInfo.buy_income?default("0")}</span>
</td>
</tr>
<#assign tmp = topicInfo.post_tradetype?default("0")?number/>
<#if tmp == _Constants.POST_TRADE_TYPE_FREE>
<tr class="infoLine">
<td class="option" colspan="2">
主题已被强制免费
</td>
</tr>
<#elseif tmp == _Constants.POST_TRADE_TYPE_REFUND>
<tr class="infoLine">
<td class="option" colspan="2">
主题已被强制退款
</td>
</tr>
</#if>
</tbody>
</table>
</div><#comment> end topicBuyLeft </#comment>
</div><#comment> end commonLeft </#comment>
<#assign pagination=Context["TOPICBUT_LIST"]?default(_EmptyObject.pagination()) />
<div id="commonRight">
<div class="commonBox">
<table class="commonTable">
<tr class="hd1">
<td colspan="4" class="td1">用户列表</td>
</tr>
<tr class="hd2">
<td>用户</td>
<td>花费</td>
<td>楼主收入</td>
<td>时间</td>
</tr>
<#list topic_buy_list as user>
<tr class="content list">
<td>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(user.user_id))}">${_EFUserUtil.getNickName(user.user_id)}</a>
</td>
<td class="number">
${user.buy_money}
</td>
<td class="number">${user.post_userincome}</td>
<td class="time">${_DateUtil.getDateTimeStr(_EFUser,user.buy_time?number)}</td>
</tr>
</#list>
<tr class="footer"><td colspan=4></td></tr>
</table>
</div><#comment> end commonBox </#comment>
<div id="pageNavigationDiv">
<@html.doPagination pagination=pagination/>
</div>
</div><#comment> end commonRight </#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 + -