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

📄 post_vote_list.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 = "投票用户 - "+topicInfo.post_title?html + " - " + forum_name?default("") + " - ">
<#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/post.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/ubb.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>

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

<div id="wrap">

<#include "header.ftl"/>

<div id="content">

<#assign forum_id=topicInfo.forum_id/>
<#assign topic_id=topicInfo.post_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="postVoteLeft" 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('postVoteTable');">
    </td>
  </tr>
<tbody id="postVoteTable" class="content">
	<tr class="infoLine">
		<td class="option" colspan="2">
      <#if topicInfo.vote_multiple?default("0")=="0">单选</#if>
      <#if topicInfo.vote_multiple?default("1")=="1">多选(最多可选 <span class="number">${topicInfo.vote_maxchoices}</span> 项)</#if>
    </td>
  </tr>
	<tr class="infoLine">
		<td class="option" colspan="2">
      <#if topicInfo.vote_visible?number =_Constants.VOTE_VISIBLE_VOTE>投票后可见结果

      <#elseif topicInfo.vote_visible?number =_Constants.VOTE_VISIBLE_CLOSE>投票结束后可见结果

      <#else>结果一直可见</#if>
    </td>
  </tr>
	<tr class="infoLine">
		<td class="option" colspan="2">
      截止时间:
        <#if topicInfo.vote_expiration?number == 0>不限制

        <#elseif topicInfo.vote_expiration?number &lt; _DateUtil.getCurDateTimeLong()>已截止

        <#else>还有${_DateUtil.leftTime(_EFUser,topicInfo.vote_expiration?number,"已截止")}</#if></a>
    </td>
  </tr>
	<tr class="infoLine">
		<td class="option" colspan="2">
      已投票用户:<span class="number">${topicInfo.vote_postusers}</span> 人

    </td>
  </tr>
</tbody>
</table>

</div><#comment> end postVoteLeft </#comment>

<div id="postVoteOptionLeft" class="commonNavBox">
<table class="outline">
  <#assign url="${_contextPath}/postActivity.do?_fn=List&topic_id=${topic_id}&user_status="/>
  <tr class="hd">
    <td class="td1">
    选项导航
    </td>
    <td class="td2">
      <img src="${_resPath}/img/side_view_yes.gif" style="cursor:pointer;" onclick="expandContent('postVoteOptionTable');">
    </td>
  </tr>
<tbody id="postVoteOptionTable" class="content">
  <#list option_list as option><#comment>选项列表 start</#comment>
	<tr class="optionLine">
		<td class="option" colspan="2">
				<a href="#${option.option_id}" title="${option.option_value?html}">${_StringUtil.cutString(option.option_value,20,"...")?html}</a>
			</td>
    </tr>
  </#list>
</tbody>
</table>
</div><#comment> end postVoteOptionLeft </#comment>

</div><#comment> end commonLeft </#comment>


<div id="commonRight">
<#list option_list as option><#comment>选项列表 start</#comment>
	<#if option.user_list?exists && option.user_list.size() &gt; 0>
  <div id="postVotes_{option_index}" class="noteBox commonOuter postVoteList">
    <a name="${option.option_id}"></a>
    <table class="postVoteUser commonInnerTable">
    <tr class="hd">
      <td class="">
        ${option.option_value?html}<#if seeVote?default(false)>&nbsp;&nbsp;&nbsp;<span class="font_hilite number">(${option.option_votes})</span> </#if>&nbsp;&nbsp;
      </td>
			<td class="hdAction">
				<a href="#"><img src="${_resPath}/img/top.gif"></a>
			</td>
    </tr>
    <tr>
      <td colspan="2">
        <#list option.user_list as user>
          <#assign postUser = user.user_id/>
          <div class="headPics" >
            <a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(postUser))}" title="${_EFUserUtil.getNickName(postUser)}" target="_blank"><img src="${_contextPath}/${_EFUserUtil.getUserHead(postUser)}" class="middleHeadPic"/><div class="userName">${_EFUserUtil.getNickName(postUser)}</div></a>
          </div>
        </#list>
      </td>
    </tr>
  </table>
  </div><#comment> end postVotes_{option_index} </#comment>
	</#if>
</#list>
</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 + -