📄 readed.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.MailInfoRecordSet" %>
<%@ page import="cn.com.aheadsoft.recordset.FileAccessoriesRecordSet" %>
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>留言阅读信息</title>
<script>
<!--
function openWin(url) {
window.open(url,'','toolbar=no,location=no,menubar=no,resizable=1,scrollbars=yes,left=100,top=100,width=600,height=400');
}
-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr height="8">
<td >
</td>
</tr>
<tr>
<td align="center">
<table border="0" width="98%" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
<table border="0" width="100%" bordercolor="A1B7DB" class="collapse">
<tr>
<td class="tdA" colspan="9" align="center"><div align="left">
留言阅读信息</div></td>
</tr>
<%
MailInfoRecordSet recordset = (MailInfoRecordSet)request.getAttribute("mail");
//session.removeAttribute("mail");
if(recordset != null && recordset.size() > 0) {
while(recordset.next()) {
%>
<tr><td width="20%" align="left" class="common bgcolor" height="20" > 标题
</td>
<td class="common" height="20" > <%= StringFormat.Source2GB(recordset.getMI_Title()) %>
</td>
</tr>
<tr><td width="20%" align="left" class="common bgcolor" height="20" > 内容
</td>
<%
String nr = StringFormat.changeHTMLTags(recordset.getMI_Content());
// nr = StringFormat.StrReplace(nr,""+(char)13,"<br>");
//nr = StringFormat.StrReplace(nr,""+(char)32," ");
%>
<td class="common" height="20" > <%=nr %>
</td>
</tr>
<tr><td width="15%" align="left" class="common bgcolor" > 附件
</td>
<td class="common"> <%
FileAccessoriesRecordSet recordset1 = (FileAccessoriesRecordSet)request.getAttribute("accessories");
//session.removeAttribute("accessories");
if(recordset1 != null && recordset1.size() > 0) {
while(recordset1.next()) {
out.println(" | <a href=\"/krm/servlet/FileUploadServlet?status=q&id="+recordset1.getFA_ID()+"\">"+StringFormat.Source2GB(recordset1.getFA_FileName())+"</a>|" );
}
}
%>
</td>
</tr>
<tr>
<td width="20%" align="left" class="common bgcolor" height="20" > 发送时间
</td>
<td class="common" height="20" > <%= StringFormat.Source2GB(recordset.getMI_Date()) %>
</td>
</tr>
<tr><td width="20%" align="left" class="common bgcolor" height="20" > 已阅读人员
</td>
<td class="common" height="20" > <%= recordset.getMI_AcceptedName().equals("")?"无":StringFormat.Source2GB(recordset.getMI_AcceptedName().substring(0,recordset.getMI_AcceptedName().length()-1)) %>
</td>
</tr>
<tr><td width="20%" align="left" class="common bgcolor" height="20" > 接收人员
</td>
<td class="common" height="20" > <%= recordset.getMI_AcceptName().equals("")?"无":StringFormat.Source2GB(recordset.getMI_AcceptName()).trim() %>
</td>
</tr>
<%
}
}
%>
</table></td></tr>
</table>
</td></tr>
<tr height="8">
<td class="common">
</td>
</tr>
<tr height="8" >
<td class="tdC" align="center" >
<input type="button" value="关 闭" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="javascript:window.close();"> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -