📄 note.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ include file="/inc/pv/user.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
String strOfficeStyle = site.bean.SitePara.strVirtualName + "/member/" + igec.util.CookieUtil.getCookieValue(request,site.bean.SitePara.strCookieUserTheme,"stand");
igec.site.extend.bean.NoteObj note = new igec.site.extend.bean.NoteObj();
String strId = igec.util.Tool.getStr(request.getParameter("id"));
if(igec.util.Tool.IsEmpty(strId)){
showMsg("无对应的短信ID!",request,response);
return;
}
note.setStrId(strId);
int iFlag = igec.site.base.business.UserSysBusiness.getUserNote(note);
if(iFlag<0){
showMsg("获取短信内容出现异常!",request,response);
return;
}else if(!user.getStrUserId().equals(note.getStrRecId())){
showJs("alert('不允许查看别人的短信!');\rwindow.close();\r",out);
return;
}
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title>站内短信--<%=site.bean.SitePara.strWebTitle%> </title>
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/content.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/tree.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/mainframe.css" type="text/css" />
<script type="text/javascript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/tree.jsp?baseurl=<%=strOfficeStyle%>"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/public.js"></script><script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<link rel="shortcut icon" href="<%=site.bean.SitePara.strVirtualName%>/favicon.ico">
<script language="javascript">
<!--
var g_CurTimer = 15;
function initTimer(){
if(g_CurTimer<=0){
window.close();
}
getObject("TimeShow").innerHTML = g_CurTimer--;
setTimeout("initTimer()",1000);
}
function setObjSizeHeight(lsObj){
var loObj = getObject(lsObj);
if(loObj!=null){
try{
var iWidth = document.body.offsetWidth;
var iHeight = loObj.offsetHeight;
var iToWidth = iWidth+10;
if(iToWidth>400){
iToWidth = iWidth;
}
moveTo(0,screen.availHeight-iHeight-60);
resizeTo(iToWidth,iHeight+60);
}catch(e){
alert(e.description);
}
}
initTimer();
}
function IHasLook(){
__XmlHttpPool__.GetRemoteData("<%=site.bean.SitePara.strVirtualName%>/member/ajax.do?action=dnote&id=<%=strId%>&mr="+Math.random(),on_aJax_GetReceiveData);
}
//-->
</script>
</head>
<body topmargin="5" onload="javascript:setObjSizeHeight('objBody');">
<table width="100%" align="center" id="objBody" name="objBody">
<tr>
<td>
<table border="0" cellspacing="0" width="100%" cellpadding="0">
<tr bgcolor="#EEEEEE" height="10">
<td> </td>
<td class="small" align="right">窗口 <span id="TimeShow" style="color:#FF0000;FONT-WEIGHT: bold;"></span> 秒后关闭
</td></tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" width="100%" cellpadding="5" class="small">
<tr><td style="COLOR:#0000FF"><%=note.getStrTitle()%> <%=igec.util.Tool.getStrTime(note.getStrSendTime(),0)%></td>
<td style="COLOR:#0000FF" align="right"></td>
</tr>
<tr height="70" valign="top"><td colspan="2">
<%=igec.site.base.business.DataUtilBusiness.getContent(note.getStrIID())%> </td></tr>
<%if("00".equals(note.getStrType())){%>
<tr><td align="right"> </td>
<td style="COLOR:#0000FF" align="right"><%=igec.site.base.business.DataUtilBusiness.getFieldValue("NICKNAME","TAB_IGECMEBADV","WHERE MEBID='"+note.getStrSendId()+"'")%></td>
</tr>
<%}%>
<tr nowrap><td colspan="2">
<div align="right">
<input type="submit" value="我知道了" title="将不再提醒" style="cursor:hand" onclick="javascript:IHasLook();">
<input type="button" value="稍后提醒" onClick="javascript:window.close();" style="cursor:hand">
</div>
</td></tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -