📄 message.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="comm/header.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>站内短消息</title>
</head>
<body>
<div class="tabwidth">
<table align=center cellSpacing=0 cellPadding=0 width=100%>
<tr height=25px class=tr_2><td class=tab1>
<a href=index.htm>『<bean:write name="bbsname"/>』</a> → 站内短消息
</td></tr>
<tr><td height=3px colspan=5> </td></tr>
<tr><td>
<table class=tab1 align=center cellSpacing=0 cellPadding=0 width=100% >
<tr><td colspan=9 class=tab_c width=100% height=22px align=center>
<b><font color=#FFFFFF>『<bean:write name="username" />』
<logic:present name="a">发件箱</logic:present>
<logic:notPresent name="a">收件箱</logic:notPresent>
短消息列表</font></b>
</td></tr>
<tr height=25px align=center><td colspan=6 class=td_t><a href="Message.htm">收件箱</a>
<a href="Message.htm?a=send">发件箱</a>
<a href="SendMessage.htm">发送短消息</a> <a href="Friend.htm?action=my">好友录</a></td>
</tr>
<tr class=tr_2 align=center height=25px>
<td class=td_t>ID</td><td class=td_lt>
<logic:present name="a">收件人</logic:present>
<logic:notPresent name="a">发件人</logic:notPresent></td>
<td class=td_lt>消息标题</td>
<td class=td_lt>发送时间</td><td class=td_lt>状态</td><td class=td_lt>操作</td>
</tr>
<bean:define id="sid" name="start" />
<logic:iterate id="message" name="msglist" indexId="mid">
<tr height=28px onMouseOver=this.className='tr_o' onMouseOut=this.className='' align=center>
<td class=td_tbg>
<%=(Integer.parseInt(mid.toString())+Integer.parseInt(sid.toString()))%>
</td><td class=td_lt>
<logic:present name="a">
<a href=User.htm?uId=<bean:write name="message" property="toId"/>>
<bean:write name="message" property="toUser"/></a>
</td><td class=td_ltbg >
<a href=ReadMessage.htm?a=<bean:write name="a"/>&msgId=<bean:write name="message" property="id"/>>
<bean:write name="message" property="title"/></a>
</logic:present>
<logic:notPresent name="a">
<a href=User.htm?uId=<bean:write name="message" property="fromId"/>>
<bean:write name="message" property="fromUser"/></a>
</td><td class=td_ltbg >
<a href=ReadMessage.htm?msgId=<bean:write name="message" property="id"/>>
<bean:write name="message" property="title"/></a>
</logic:notPresent>
</td>
<td class=td_lt> <bean:write name="message" property="stime"/></td>
<td class=td_ltbg>
<logic:equal name="message" property="isread" value="0">未读</logic:equal>
<logic:equal name="message" property="isread" value="1">已读</logic:equal>
</td>
<td class=td_lt> <a href="SendMessage.htm?a=delete&dmsgId=<bean:write name="message" property="id"/>">删除</a></td>
</tr>
</logic:iterate>
<tr><td height=3px class=td_t colspan=6> </td></tr>
<tr class=tr_1 height=30px><td class=td_t colspan=6><bean:write name="pageInfo" filter="false"/></td></tr>
</table>
</td></tr>
</table><br>
</div>
<div class="tabwidth"><yhbbs:footer/></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -