📄 复件 messagereceivemx.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ include file="/inc/pv/user.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
if(checkPv(strMenuId,"list",user)<0){
noPv(out);
return;
}
String strOfficeStyle = site.bean.SitePara.strVirtualName + "/member/" + igec.util.CookieUtil.getCookieValue(request,site.bean.SitePara.strCookieUserTheme,"stand");
//System.out.println("strOfficeStyle =" +strOfficeStyle);
java.util.ArrayList list=(java.util.ArrayList)request.getAttribute("lists");
igec.site.base.bean.SysObj info=(igec.site.base.bean.SysObj)request.getAttribute("info");
String strPosId=request.getParameter("posId");
String strSltFlag=igec.util.Tool.getStr(request.getParameter("sltFlag"));
if(igec.util.Tool.IsEmpty(strSltFlag))
strSltFlag="0"; // 前台显示结果的标志 0:所有留言 1:所有显示的留言 2:所有隐藏的留言 3:所有已经回复的留言 4:所有未回复的留言
%>
<!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=GBK" />
<title> 会员办公室--<%=site.bean.SitePara.strWebTitle%> </title>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/clear.jsp"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<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>
<link rel="shortcut icon" href="<%=site.bean.SitePara.strVirtualName%>/favicon.ico">
<SCRIPT language="javascript">
<!--
function delLeaveWord(strPbId){
if(strPbId!=""){
if(confirm("确定要删除此留言吗?")){
strPbId="'"+strPbId+"'";
var strHref = "<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=del&posId=<%=strPosId%>&iid=<%=strMenuId%>&id=" + strPbId + "&mr=" + Math.random();
__XmlHttpPool__.PostRemoteData(strHref,function onGetData(strContent){on_aJax_GetReceiveData(strContent,"");},"");
}
}else{
var strPubId = getSelectRsFromForm2("RSID",form1);
//alert("strPubId : "+strPubId);
if(strPubId!="ERROR"){
if(confirm("确定要删除选中的申请吗?")){
var strHref = "<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=del&posId=<%=strPosId%>&iid=<%=strMenuId%>&id=" + strPubId + "&mr=" + Math.random();
__XmlHttpPool__.PostRemoteData(strHref,function onGetData(strContent){on_aJax_GetReceiveData(strContent,"");},"");
}
}
}
}
function dispalyLeaveWord(strPbId,varShowFlag){
var varConfirmStr="";
if(varShowFlag==1)
varConfirmStr="确定要公开显示该的留言吗?";
else if(varShowFlag==0)
varConfirmStr="确定要隐藏该留言吗?";
if(strPbId!=""){
if(confirm(varConfirmStr)){
strPbId="'"+strPbId+"'";
var strHref = "<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=dispaly&posId=<%=strPosId%>&iid=<%=strMenuId%>&showFlag="+varShowFlag+"&id=" + strPbId + "&mr=" + Math.random();
__XmlHttpPool__.PostRemoteData(strHref,function onGetData(strContent){on_aJax_GetReceiveData(strContent,"");},"");
}
}else{
var strPubId = getSelectRsFromForm2("RSID",form1);
if(strPubId!="ERROR"){
if(confirm(varConfirmStr)){
var strHref = "<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=dispaly&posId=<%=strPosId%>&iid=<%=strMenuId%>&showFlag="+varShowFlag+"&id=" + strPubId + "&mr=" + Math.random();
__XmlHttpPool__.PostRemoteData(strHref,function onGetData(strContent){on_aJax_GetReceiveData(strContent,"");},"");
}
}
}
}
function showPublication(strPbId){
var strHref = "<%=site.bean.SitePara.strVirtualName+site.bean.SitePara.strManageFolder%>/publication.do?action=show&iid=<%=strMenuId%>&id=" + strPbId + "&mr=" + Math.random();
__XmlHttpPool__.PostRemoteData(strHref,function onGetData(strContent){on_aJax_GetReceiveData(strContent,"");},"");
}
function openWindowHF(reFlag,varId){
if(reFlag==1){
alert("该留言已经回复!");
return false;
}else{ openWindow('<%=strOfficeStyle%>/selfsite/replayLeaveWord.jsp?id='+varId+'&posId=<%=strPosId%>&iid=<%=strMenuId%>','480','400');
}
}
//-->
</SCRIPT>
</head>
<body>
<%@ include file="../top.jsp"%>
<div id="screen">
<!--content-->
<div id="contentfloat">
<div id="content">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="99%" valign="top">
<div class="TableContenttop">
<img src="images/bg_fd790d.gif" width="5" height="2" /></div>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="79%" class="TableContentTitle">留言管理</td>
<td width="21%" class="TableContentTitle " align="right"><a href="javascript:" onclick="javascript:openWindow('<%=strOfficeStyle%>/selfsite/addLeaveWord.jsp?posId=<%=strPosId%>&iid=<%=strMenuId%>','480','300');"><font color="green">添加留言</font></a> </td>
</tr>
<tr>
<td colspan="2" valign="middle">
<br>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class=tx_box>
<tr>
<td height="30" class=tx_title> 友情提示:</td>
</tr>
<tr>
<td class=tx_content>暂无提示</span></td>
</tr>
</table></td>
</tr>
<tr>
<br>
<td colspan="2" valign="middle">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td height="24" align="right" valign="middle"><strong>
<font color='<%="0".equals(strSltFlag)?"#ADA61D":"blue"%>' style="cursor:hand" onclick="javascript:window.location='<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=list&sltFlag=0&posId=<%=strPosId%>&iid=<%=strMenuId%>'">所有</font>
<font color='<%="1".equals(strSltFlag)?"#ADA61D":"blue"%>' style="cursor:hand" onclick="javascript:window.location='<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=list&showFlag=1&sltFlag=1&posId=<%=strPosId%>&iid=<%=strMenuId%>'">显示</font>
<font color='<%="2".equals(strSltFlag)?"#ADA61D":"blue"%>' style="cursor:hand" onclick="javascript:window.location='<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=list&showFlag=1&sltFlag=2&posId=<%=strPosId%>&iid=<%=strMenuId%>'">隐藏</font>
<font color='<%="3".equals(strSltFlag)?"#ADA61D":"blue"%>' style="cursor:hand" onclick="javascript:window.location='<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=list&reFlag=1&sltFlag=3&posId=<%=strPosId%>&iid=<%=strMenuId%>'">已回复</font>
<font color='<%="4".equals(strSltFlag)?"#ADA61D":"blue"%>' style="cursor:hand" onclick="javascript:window.location='<%=site.bean.SitePara.strVirtualName%>/member/leaveworduser.do?action=list&reFlag=0&sltFlag=4&posId=<%=strPosId%>&iid=<%=strMenuId%>'">未回复</font>
</strong></td>
</tr>
</table></td>
</tr>
<tr>
<td height="110" colspan="2" valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class=list_lb_loca>
<form name="form1" id="form1">
<tr>
<td width="6%" height="25" align="center" class="list_lb_title">选择</td>
<td width="8%" height="25" align="center" class="list_lb_title">编号</td>
<td width="18%" align="center" class="list_lb_title">标题</td>
<td width="12%" align="center"class="list_lb_title">留言人</td>
<td width="8%" align="center" class="list_lb_title">状态</td>
<td width="19%" align="center" class="list_lb_title">回复内容</td>
<td width="10%" align="center" class="list_lb_title">留言时间</td>
<td width="20%" align="center" class="list_lb_title">操作</td>
</tr>
<%
if(list!=null && list.size()>0){
for(int j=0;j<list.size();j++){
site.bean.LeaveWordObj leaveWordObj=(site.bean.LeaveWordObj)list.get(j);
%>
<tr onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#BFDFFF'">
<td height="26" align="center" class=list_lb_content>
<input type="checkbox" name="RSID" id="RSID" value="<%=leaveWordObj.getStrId()%>" />
</td>
<td height="26" align="center" class=list_lb_content><font onmouseover="this.style.cursor='hand';" onclick="javascript:openWindow('<%=strOfficeStyle%>/selfsite/viewLeaveWord.jsp?id=<%=leaveWordObj.getStrId()%>&posId=<%=strPosId%>&iid=<%=strMenuId%>','600','600');"><%=leaveWordObj.getStrId()%></font></td>
<td align="center" class=list_lb_content>
<%=leaveWordObj.getStrTitle()%>
</td>
<td align="center" class=list_lb_content><%="".equals(leaveWordObj.getStrLwName())?" ":leaveWordObj.getStrLwName()%></td>
<td align="center" class=list_lb_content><%="0".equals(leaveWordObj.getStrReFlag())?"未回复":"已回复"%></td>
<%
String reContentTemp=" ";
site.util.StrTool strTool=new site.util.StrTool(leaveWordObj.getStrReContent());
if(!igec.util.Tool.IsEmpty(leaveWordObj.getStrReContent())){
if(strTool.length()>16){
reContentTemp=strTool.substring(0,16)+"...";
}else
reContentTemp=leaveWordObj.getStrReContent();
}
%>
<td align="center" class=list_lb_content>
<font onmouseover="this.style.cursor='hand';" onclick="javascript:openWindow('<%=strOfficeStyle%>/selfsite/viewLeaveWord.jsp?id=<%=leaveWordObj.getStrId()%>&posId=<%=strPosId%>&iid=<%=strMenuId%>','600','600');">
<%=reContentTemp%>
</font>
</td>
<td align="center" class=list_lb_content><%=leaveWordObj.getStrAddTime()%></td>
<td align="center" class=list_lb_content><font onclick="javascript:openWindowHF(<%=leaveWordObj.getStrReFlag()%>,'<%=leaveWordObj.getStrId()%>');" onmouseover="this.style.cursor='hand';" color="blue">回复</font>
<font onClick="javascript:dispalyLeaveWord('<%=leaveWordObj.getStrId()%>',<%="0".equals(leaveWordObj.getStrShowFlag())?"1":"0"%>);" onmouseover="this.style.cursor='hand';" color="blue"><%="0".equals(leaveWordObj.getStrShowFlag())?"显示":"隐藏"%></font>
<font onclick="javascript:openWindow('<%=strOfficeStyle%>/selfsite/manageLeaveWord.jsp?id=<%=leaveWordObj.getStrId()%>&posId=<%=strPosId%>&iid=<%=strMenuId%>','520','440');" onmouseover="this.style.cursor='hand';" color="blue">管理</font>
<font onClick="javascript:delLeaveWord('<%=leaveWordObj.getStrId()%>');" onmouseover="this.style.cursor='hand';" color="blue">删除</font> </td>
</tr>
<%
}
}
%>
</form>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="99%">
<input name="chkAll" type="checkbox" id="chkAll" onclick="checkAll(this,'RSID',form1);" value="checkbox">
全选
<input name="delBtn" type="button" value="删除选定的留言" onClick='javascript:delLeaveWord("");' class="SmallButton" title="删除选定的留言"></td>
<td width="1%" height="20" align="right"> <font color="red"> </font> </td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="57%"> </td>
<td width="43%" height="20" align="right"> <font color="red"> </font> </td>
</tr>
<tr>
<td> </td>
<td height="20" align="right"><%=info.getStrValue5()%> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<br />
<br />
<script language=javascript>
document.onkeydown=nextpage
function nextpage(event) {
event = event ? event : (window.event ? window.event : null);
if (event.keyCode==13) userlogin();
}
</script>
<script language="JavaScript">
function userlogin(){
document.loginform.submit();
}
</script>
</div>
</div>
<!--end/content-->
<!--left-->
<div id="leftmenu">
<!--menu-->
<div id="tree1"></div>
<!--end/menu-->
</div>
<!--end/left-->
</div>
<script language="javascript" src="<%=strOfficeStyle%>/menu.jsp?iid=<%=request.getParameter("iid")%>"></script>
<script type="text/javascript">treeInit();</script>
<%@ include file="../bot.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -