📄 list.jsp
字号:
FileLogger.getLogger().warn(ex.getMessage(),ex);
}
%>
}
catch(exception){}
}
function fnToolAddContent() {
var sURL = "newContent.jsp?pid=<%= parentId%>";
var code="<%=sPurvICode.substring(0,6)%>";
if(code=="BBS011"){
sURL = "placard/newPlacard.jsp?pid=<%= parentId%>";
}
windowOpen(sURL,800,600,"BBS")
}
function fnToolDelContent() {
try {
var srcURL = "";
for ( var i=0; i < BBSList.selectedAllIndexs.length; i++) {
var oTr = BBSList.rows[BBSList.selectedAllIndexs[i]];
var keyValue = oTr.getAttribute("key");
if ( keyValue != null ) {
if ( srcURL == "" ) {
srcURL = "DelContent.jsp?id=" + keyValue;
}
else {
srcURL += "&id=" + keyValue;
}
}
}
if ( srcURL != "" ) {
windowOpen(srcURL,500,400,"BBS");
}
}
catch(exception){}
}
function fnToolReplyContent() {
if ( BBSList != undefined && BBSList.selectedIndex >= 0 ) {
if ( BBSList.selectedAllIndexs.length > 1 ) {
alert("系统不支持同时回复多条话题的内容,请放开CTRL键,选择一条您想要回复的话题后再点回复。");
}
else {
var sURL = "ReplyContent.jsp?id=" + BBSList.key;
windowOpen(sURL,800,600,"BBS");
}
}
}
function fnToolViewContent() {
if ( BBSList != undefined && BBSList.selectedIndex >= 0 ) {
if ( BBSList.selectedAllIndexs.length > 1 ) {
alert("系统不支持同时显示多条话题的内容,请放开CTRL键,选择一条您想要回复的话题后再点回复。");
}
else {
var sURL = "ViewContent.jsp?id=" + BBSList.key;
windowOpen(sURL,800,600,"BBS");
}
}
}
function fnToolChangeContent()
{
try {
var srcURL = "";
for ( var i=0; i < BBSList.selectedAllIndexs.length; i++) {
var oTr = BBSList.rows[BBSList.selectedAllIndexs[i]];
var keyValue = oTr.getAttribute("key");
if ( keyValue != null ) {
if ( srcURL == "" ) {
srcURL = "moveContent.jsp?id=" + keyValue;
}
else {
srcURL += "&id=" + keyValue;
}
}
}
if ( srcURL != "" ) {
windowOpen(srcURL,550,500,"BBS");
}
}
catch(exception){}
}
function fnToolFilter() {
}
function fnToolFind() {
}
function fn_setReject(sContentId) {
document.getElementById("ACTION").value = "SETREJECT";
document.getElementById("CONTENT_ID").value = sContentId;
document.getElementById("Form1").submit();
}
function fn_setAccept(sContentId) {
document.getElementById("ACTION").value = "SETACCEPT";
document.getElementById("CONTENT_ID").value = sContentId;
document.getElementById("Form1").submit();
}
function fnShowSimple() {
QueryTable.tBodies[1].style.display='none';
window.setTimeout("cltScript_Toolbar();",30);
}
function fnShowAll() {
QueryTable.tBodies[1].style.display='block';
window.setTimeout("cltScript_Toolbar();",30);
}
-->
</script>
</head>
<body onload="fn_onload();">
<form id="Default" method="post" action="list.jsp" onsubmit="return fn_OnSubmit(this);">
<div onresize="cltScript_Toolbar();" style="width: 100%">
<div id="divTop" style="overflow: hidden">
<table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0">
<tr bgcolor="#efefef" height="33">
<td valign="middle" align="center" width="71"
onclick="return fnToolAddContent();"
id="ibtnAddContent"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="在该栏目下添加一新话题。">发表话题</td>
<td valign="middle" align="center" width="71"
onclick="return fnToolDelContent();"
id="ibtnDelContent"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
Enabled="false"
title="在该栏目下删除一个或多个帖子。">删除帖子</td>
<td valign="middle" align="center" width="71"
onclick="return fnToolReplyContent();"
id="ibtnReplyContent"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
Enabled="false"
title="回复选中的帖子。">回复帖子</td>
<td valign="middle" align="center" width="71"
onclick="return fnToolViewContent();"
id="ibtnViewContent"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
Enabled="false"
title="查看选中的帖子。">查看帖子</td>
<td valign="middle" align="center" width="71"
onclick="return fnToolChangeContent();"
id="ibtnChangeContent"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
Enabled="false"
title="转移选中的帖子。">转移帖子</td>
<td valign="middle" align="center" width="51"
onclick="return fnToolFilter();"
id="ibtnFilter"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="过滤列表中的人员信息。" style="display: none;">过滤</td>
<td valign="middle" align="center" width="51"
onclick="return fnToolFind();"
id="ibtnFind"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="查找。" style="display: none;">查询</td>
<td valign="middle" align="center" width="51"
onclick="javascript: help();"
id="help"
style="behavior:url(../../common/button.htc)"
DefaultClass="btnDefault"
OverClass="btnOver"
DownClass="btnDown"
title="帮助。">帮助</td>
<td> </td>
</tr>
</table>
<jsp:include page="../../common/inc_top.jsp" >
<jsp:param name="purvCode" value="<%=sPurvICode%>"/>
<jsp:param name="hasImage" value="1"/>
</jsp:include>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
<tr>
<td width="100%" colspan="2" class="OuterHead" align="left">
<span id="ItemTitle"><font face="webdings">8</font>查询内容:</span>
<input type="radio" id="SIMPLEQUERY" name="querymode" checked="checked" value="simple" onclick="fnShowSimple();"><label for="SIMPLEQUERY" id="ItemTitle">简单查询</label>
<input type="radio" id="QUERYALL" name="querymode" value="all" onclick="fnShowAll();"><label for="QUERYALL" id="ItemTitle">复杂查询</label>
</td>
</tr>
<tr>
<td width="100%" colspan="2" class="InnerMain" align="left">
<table id="QueryTable" border="0" cellspacing="0" cellpadding="0" width="100%">
<caption style="display:none;">
</caption>
<tbody>
<!--常用简单的查询条件-->
<tr>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">内容标题:</td>
<td width="15%" class="body_td" nowrap="nowrap">
<input type="text" id="TITLE" name="TITLE" style="width: 100%;">
<input type="hidden" name="boardId" value="<%= parentId%>"/>
</td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">作者:</td>
<td width="15%" class="body_td" nowrap="nowrap"><input type="text" id="USERNAME" name="USERNAME" style="width: 100%;"></td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">内容状态:</td>
<td width="10%" class="body_td" nowrap="nowrap">
<!--<input type="text" id="STATE" name="STATE" style="width: 100%;">-->
<select name="DELETE_SIGN" style="width: 100%">
<option value="">全部</option>
<option value="E">审核通过</option>
<option value="N">审核未通过</option>
<option value="D">逻辑删除</option>
</select>
</td>
<td width="8%" class="Caption_Td" align="right" nowrap="nowrap">发贴时间:</td>
<td width="15%" class="body_td" align="left" nowrap="nowrap">
<input type="text" name="CREATETIME" id="CREATETIME" title="双击清空。" ondblclick="this.value='';" size="15" /><span style="cursor:hand"
onclick="return showCalendar('CREATETIME', '%Y-%m-%d', null, true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14">
</td>
</tr>
</tbody>
<tbody style="display:none;">
<!--其它查询条件-->
<tr>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">开始(内容有效时间)</td>
<td width="15%" class="body_td" align="left" nowrap="nowrap">
<input type="text" name="STARTTIME" id="STARTTIME" title="双击清空。" ondblclick="this.value='';" size="15" /><span style="cursor:hand"
onclick="return showCalendar('STARTTIME', '%Y-%m-%d', null, true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14"></td>
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">结束</td>
<td class="body_td" align="left" nowrap="nowrap">
<input type="text" name="ENDTIME" id="ENDTIME" title="双击清空。" ondblclick="this.value='';" size="15" /><span style="cursor:hand"
onclick="return showCalendar('ENDTIME', '%Y-%m-%d', null, true);">
<img border="0" src="../calendar/date_botton.gif" width="20" height="14"></td>
<td class="Caption_Td" align="right" nowrap="nowrap">排序方式:</td>
<td class="body_td" align="left" nowrap="nowrap" colspan="5">
<select name="SORT" style="width: 100%;">
<option value="">默认</option>
<option value="asc">发贴时间顺序排列</option>
<option value="desc">发贴时间倒序排列</option>
</select>
</td>
<td>
<input type="hidden" id="boardId" name="boardId" value="<%= parentId%>"/>
<input type="hidden" id="CONTENTTYPE" name="CONTENTTYPE" value="<%= contentType%>"/>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr class="OuterFoot">
<td width="15%" align="left" class="Caption_Td">
<input type="submit" class="button" value="查询">
<input type="reset" class="button" value="重填">
</td>
<!--
<td width="85%" align="left" class="Caption_td">
<table id="QueryResult" border="0" width="100%" cellspacing="0"
cellpadding="1"
style="behavior:url(../../common/table.htc)"
ontableload="return onQueryResultLoad();"
serviceURL="<%= request.getContextPath() + "/XmlHttpService"%>"
service="BBSClientService"
dataService="getConditionResult"
rcService="getConditionCount"
autoLoad="False"
locked="true">
<caption style="display:none;"></caption>
<tr>
<td></td>
</tr>
</table>
</td>
-->
</tr>
<tr height="5"><td colspan="2"><img src="../../common/images/spacer.gif"></td></tr>
</table>
</div>
<div id="divMain" style="overflow: auto">
<input type="hidden" id="parentID" name="parentID" value="<%= parentId%>"/>
<input id="txtSearchText" type="hidden" name="txtSearchText">
<table style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0" class="OuterTable">
<tr class="OuterHead">
<TD class="title_td" align="center" width="5%" nowrap><b>状态</b></TD>
<TD class="title_td" align="center" width="34%"><b>主题</b></TD>
<TD class="title_td" align="center" width="10%"><b>作者</b></TD>
<TD class="title_td" align="center" width="10%"><b>回复/人气</b></TD>
<TD class="title_td" align="center" width="25%"><b>最后更新 | 回复人</b></TD>
<TD class="title_td" align="center" width="8%"><b>审核</b></TD>
<!--<TD class="title_td" align="center" width="8%"><b>回退</b></TD>-->
</tr>
</table>
<table id="BBSList" border="0" width="100%" cellspacing="0"
cellpadding="1"
style="behavior:url(../../common/table.htc)"
DefaultClass="DefaltRow"
keyName="key"
SelectedClass="SelectedRow"
multiple="true"
onselected="return onChoosed();"
onunselected="return onUnChoosed();"
ontableload="return onContentLoad();"
ondblclick="return fn_dblClick();"
serviceURL="<%= request.getContextPath() + "/XmlHttpService"%>"
<%
String message = "没有任何记录信息。";
if ( hasPurv ) { %>
service="BBSClientService"
dataService="getContentList"
rcService="getContentCount" <%
}
else {
message = "您没有权限访问该模块。";
} %>
class="InnerTable">
<!--
<caption>
<input type="hidden" id="CONTENT_ID" name="CONTENT_ID" value=""/>
<input type="hidden" id="ACTION" name="ACTION" value="RETURN"/></caption>
-->
<tr><td class="InnerHead"><%= message%></td></tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
<tr class="OuterFoot">
<td align="left" class="foot_td" nowrap width="20%" style="display:none;">
<input type="checkbox" name="chkall_text" id="chkall_text" onclick="return CheckAll(this.form);"
title='选中/取消选中 本页所有人员' /><span id="ItemTitle">全选</span>
</td>
<td align="right" class="foot_td" nowrap width="80%">分页:<span id="pageSet"></span> </td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -