📄 messagesends.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/blog.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>
</head>
<body><!-- messagesends.ftl -->
<div id="wrap">
<#include "header.ftl"/>
<div id="content">
<#include "blognav_inc.ftl"/>
<#assign currentChoice="Sends">
<#include "messageleft_inc.ftl"/>
<form method="post" action="${_UrlUtil.encodeURL("/blog/message.do")}" name="_send_form" id="_send_form">
<input type="hidden" name="_fn" value="DeleteSend">
<div id="blogRight">
<@_report/>
<div id="emailSends" class="commonBox">
<table class="emailList commonTable">
<tr class="hd1">
<td colspan="4">
发件箱
</td>
</tr>
<tr class="hd2">
<td class="td2">
标题
</td>
<td class="td3">
发给
</td>
<td class="td4">
时间
</td>
<td class="td5">
<input type="checkbox" onclick="checkAllMessage(this.form,'send_message')" name="chkAll">
</td>
</tr>
<#if sends ? exists && sends.size() > 0>
<#list sends as send>
<tr class="content list">
<td class="td2">
<div class="textValue"><a href="${_UrlUtil.encodeURL("/blog/message.do?_fn=ViewSend&send_id="+send.send_id)}">${send.send_title?default("")?html}</a></div>
</td>
<td class="td3">
<#assign sendRecvs = _StringUtil.semicolonStr2Array(send.send_receiver?default("")?string)/>
<#if sendRecvs ? exists>
<#list sendRecvs as sendRecv>
<a href="${_UrlUtil.encodeURL("/"+_EFUserUtil.getBlogURL(sendRecv))}" target="_blank">${_EFUserUtil.getNickName(sendRecv)}</a>
</#list>
</#if>
</td>
<td class="td4 time">
<#assign sendtime = _DateUtil.getDateTimeStr(_EFUser,send.send_time?number)/>
${sendtime?default("")}
</td>
<td class="td5">
<input type="checkbox" name="send_message" value="${send.send_id}" onclick="isCheckedMessage(this.form)">
</td>
</tr>
</#list>
<tr class="footer"><td colspan=4></td></tr>
<#else>
<#assign noDataInfo = "您的发件箱目前为空"/>
<#assign isTable = true/>
<#assign colspanNum = 4/>
<#include "nodatainfo_inc.ftl"/>
</#if>
</table>
</div><#comment> end emailSends </#comment>
<#if sends ? exists && sends.size() > 0>
<div id="emailActions" class="actionLine">
<div id="pageNavigationDiv" class="left">
<#assign pagination=Context["PAGE_SENDS_LIST"]?default(_EmptyObject.pagination()) />
<@html.doPagination pagination=pagination/>
</div><#comment>end pageNavigationDiv </#comment>
<div class="right">
<input type="button" class="middleButton" value="删 除" onclick="deleteMessage('_send_form',this)">
</div>
<div class="clean"></div>
</div>
</#if>
</div><#comment> end blogRight </#comment>
</form>
</div><#comment> end content </#comment>
<#include "footer.ftl"/>
</div><#comment>end wrap </#comment>
</body>
</html>
<script language="JavaScript">
<!--
//分页
function gotoPage(pNo){
window.location="${_UrlUtil.encodeURL("/blog/message.do?_fn=ListSend&_pNo=\" + pNo")};
}
disableButtonMessage('_send_form');
//-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -