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

📄 post_scorelist.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>

<script language="JavaScript">
<!--
function gotoPage(pNo){
  window.location = "${_UrlUtil.encodeURL("/postScore.do?topic_id=${topic_id}&post_score=${post_score?default(\"\")}&_pNo=\" + pNo")};
}
//-->
</script>

</head>
<body><#comment> post_scorelist.ftl </#comment>

<#assign pagination=Context["SCORE_PAGE"]?default(_EmptyObject.pagination()) />

<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("/post-${topicInfo.post_id}-1.fhtml")+"\">${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="postLeft" 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('scoreInfo');">
    </td>
  </tr>
<tbody id="scoreInfo" class="content">
	<tr>
		<td colspan="2">
			<table class="scoreInfo">
			  <tr>
			  <#list post_score_list as post_score>
          <#if post_score.value!="0">
						<td class="td2"><img src="${_resPath}/img/opinion${post_score_index}.png" title="${post_score.name}"></td>
						<td class="td3">&nbsp;&nbsp;<a href="${_UrlUtil.encodeURL("/postScore.do?topic_id="+topic_id+"&post_score="+post_score.value)}" title="查看${post_score.name}用户">×&nbsp;&nbsp;<span class="number">${post_score.count}</span></a></td>
          </#if>
				</#list>
			  </tr>
			</table>
    </td>
  </tr>
	<tr>
		<td colspan=""2>&nbsp;</td>
	</tr>
  <tr class="contentLine">
    <td class="title">
			总&nbsp;得&nbsp;分&nbsp;:
    </td>
    <td class="value">
			<span class="number">${topicInfo.post_score?default("0")}</span>分

    </td>
  </tr>
  <tr class="contentLine">
    <td class="title">
			我的评价:
    </td>
    <td class="value">
			<#if user_post_score ? exists>
				<#list post_score_list as post_score>
					<#if post_score.value == user_post_score.post_score><img src="${_resPath}/img/opinion${post_score_index}.png" title="${post_score.name}">
					</#if>
				</#list>
			<#else>无

			</#if>    
		</td>
  </tr>
</tbody>
</table>
</div><#comment> end postLeft</#comment>
</div><#comment> end commonLeft</#comment>

<div id="commonRight">
  <div id="scoreUserList" class="commonBox">
  <table class="commonTable">
    <tr class="hd1">
      <td class="td1" colspan=4>评价用户列表</td>
    </tr>
    <tr class="hd2">
      <td>用户</td>
      <td>评价</td>
      <td>得分</td>
      <td>时间</td>
    </tr>
    <#list postscore_userlist as user>
    <tr class="content list">
      <td>
        <a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(user.user_id))}" target="_blank">${_EFUserUtil.getNickName(user.user_id)}</a>
      </td>
      <td>
        <#list post_score_list as post_score>
          <#if post_score.value == user.post_score>
            <img src="${_resPath}/img/opinion${post_score_index}.png" title="${post_score.name}">
          </#if>
        </#list>
      </td>
      <td class="number">${user.post_score}</td>
      <td class="time">${_DateUtil.getDateTimeStr(_EFUser,user.post_scoretime?number)}</td>
    </tr>
    </#list>
    <tr class="footer"><td colspan=4></td></tr>
  </table>
</div><#comment> end scoreUserList </#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 + -