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

📄 messageread.jsp

📁 LyBBS基于Struts1.3/Ajax的架构
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="common/include/taglibs.jsp" %>
<html:html>
<head>
<title><lybbs:web key="forumName"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="common/include/header.jsp" %>
<script language="JavaScript">
function openscript2(url, width, height) {
  var Win = window.open(url,"openwindow",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes,status=yes' );
}
</script>
<%
String action=ParameterUtils.getString(request,"action");
String sessionToken=StringUtils.getSessionToken(request);
%>
</head>
<body topmargin=0 leftmargin=0>
<p>&nbsp;
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
    <tr>
     <td class=catStyle align=center colspan=4>
       <b><bean:message key="jsp.message.inbox.welcome"/>,&nbsp;<bean:write name="userBean" property="userName" scope="session"/></b>
     </td>
    </tr>
    <tr>
     <td class=forumColorOne align=center colspan=4>
       <%
         if(action.equals("inbox")) {
       %>
       <a href="bbs_messageInbox.do"><img src=lybbs/images/msg/inboxpm2.gif border=0 alt="<bean:message key="jsp.message.inbox.name"/>" class="gray" width=50 height=40></a>
       <a href="bbs_messageOutbox.do"><img src=lybbs/images/msg/outboxpm.gif border=0 alt="<bean:message key="jsp.message.outbox.name"/>" class="gray" width=50 height=40></a>
       <%
         }
         else if(action.equals("outbox")) {
       %>
       <a href="bbs_messageInbox.do"><img src=lybbs/images/msg/inboxpm.gif border=0 alt="<bean:message key="jsp.message.inbox.name"/>" class="gray" width=50 height=40></a>
       <a href="bbs_messageOutbox.do"><img src=lybbs/images/msg/outboxpm2.gif border=0 alt="<bean:message key="jsp.message.outbox.name"/>" class="gray" width=50 height=40></a>
       <%
         }
       %>
       <a href="bbs_preMessageSend.do"><img src=lybbs/images/msg/newpm.gif border=0 alt="<bean:message key="jsp.message.send.name"/>" class="gray" width=50 height=40></a>
       <%
         if(action.equals("inbox")) {
       %>
         <a href="bbs_messageDelete.do?action=inbox&msgID=<bean:write name="inboxBean" property="msgID"/>&sessionToken=<%=sessionToken%>"><img src=lybbs/images/msg/deletepm.gif border=0 alt="<bean:message key="common.lybbs.delete"/>" class="gray" width=45 height=40></a>
         <a href="bbs_preMessageSend.do?action=reply&isQuote=false&msgID=<bean:write name="inboxBean" property="msgID"/>"><img src=lybbs/images/msg/replypm.gif border=0 alt="<bean:message key="jsp.message.reply.name"/>" class="gray" width=50 height=40></a>
         <a href="bbs_preMessageSend.do?action=reply&isQuote=true&msgID=<bean:write name="inboxBean" property="msgID"/>"><img src=lybbs/images/msg/quotepm.gif border=0 alt="<bean:message key="jsp.message.reply.name"/>" class="gray" width=50 height=40></a>
         <a href="bbs_preMessageSend.do?action=feedBack&msgID=<bean:write name="inboxBean" property="msgID"/>"><img src=lybbs/images/msg/fwpm.gif border=0 alt="<bean:message key="jsp.message.feedback.name"/>" class="gray" width=50 height=40></a>
       <%
         }
         else if(action.equals("outbox")) {
       %>
         <a href="bbs_messageDelete.do?action=outbox&msgID=<bean:write name="inboxBean" property="msgID"/>&sessionToken=<%=sessionToken%>"><img src=lybbs/images/msg/deletepm.gif border=0 alt="<bean:message key="common.lybbs.delete"/>" class="gray" width=45 height=40></a>
       <%
         }
       %>
       <a href="javascript:openscript2('bbs_friendList.do',420,320)"><img src=lybbs/images/msg/friendpm.gif border=0 alt="<bean:message key="jsp.friend.name"/>" class="gray" width=50 height=40></a>
     </td>
    </tr>
    <tr>
     <td class=forumColorTwo>
       <bean:message key="jsp.message.read.from"/>&nbsp;<b><bean:write name="inboxBean" property="msgFromName"/></b>,&nbsp;<bean:message key="jsp.message.read.sendtime"/>:&nbsp;<b><bean:write name="inboxBean" property="msgSendAt"/></b>
     </td>
    </tr>
    <tr>
     <td class=forumColorTwo valign=top>
       <b><bean:message key="common.lybbs.subject"/>:&nbsp;<bean:write name="inboxBean" property="msgTitle"/></b>
        <p><bean:write name="inboxBean" property="msgMessage" filter="false"/>
        <br>
     </td>
    </tr>
</table>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -