- <%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312"%>
- <%@ include file="/common/taglibs.jsp"%>
- <%@ include file="/common/meta.jsp"%>
- <script language="javascript" src='<c:url value="/scripts/change_page.js"/>'></script>
- <script language="javascript" src='<c:url value="/scripts/common.js"/>'></script>
- <Script language="javascript">
- <!--
- /**
- * form 表单
- * pageNo 翻页页码
- */
- function GoFrame(){
- if (top == self){
- location.replace("/sys/logout.html?method=logout");
- }else{
- refreshLeft() ;
- }
- }
- window.onload=GoFrame;
- function dowork(how, entityid) {
- var form = document.plateForm;
- var pageCurrent = '<c:out value="${pageObject.pageCurrent}"/>';
- var pageCount = '<c:out value="${pageObject.pageCount}"/>';
- var mid = getChecked(form);
- switch(how) {
- case 'add' :
- //window.location.href='<c:url value="/sys/cmsComment/addCMSComment.html"/>';
- form.action = '<c:url value="/sys/plate/addPlate.html"/>';
- form.id.value = "";
- form.method.value = "add" ;
- form.submit();
- break;
- case 'edit' :
- if(entityid == "") {
- alert("请选择修改项!");
- } else {
- //window.location.href='<c:url value="/sys/cmsComment/editCMSComment.html"/>?id=' + entityid;
- form.action = '<c:url value="/sys/plate/editPlate.html"/>';
- form.id.value = entityid;
- form.method.value = "edit" ;
- form.submit();
- break;
- }
- break;
- case 'del' :
- var ids = getChecks(form);
- if(ids == "") {
- alert("请选择删除项!");
- } else if(confirm("是否删除所选项?")){
- form.action = '<c:url value="/sys/plate/deletePlate.html"/>';
- form.method.value="delete";
- form.submit();
- }
- break;
- case 'view':
- if(entityid == "") {
- alert("请选择查看项项!");
- } else {
- //window.location.href='<c:url value="/sys/cmsarticle/editCMSArticle.html"/>?id=' + entityid;
- openWin7('<c:url value="/sys/plate/viewPlate.html"/>?method=view&id=' + entityid);
- break;
- }
- break;
- case 'search':
- if (form.keyword.value==""){
- alert("请填写检索内容");
- form.keyword.focus() ;
- }else{
- form.action ='<c:url value="/sys/plate/findPlate.html"/>';
- form.method.value="find" ;
- form.submit() ;
- }
- break;
- }//end switch
- }
- function refreshLeft() {
- //alert(parent.left.location);
- //parent.left.location.reload();
- }
- //-->
- </script>
- <html>
- <head>
- <title>板块属性说明</title>
- <link rel="stylesheet" type="text/css" href="../include/style.css">
- <META NAME="Author" CONTENT="xunuo">
- <META NAME="Keywords" CONTENT="xunuo">
- <META NAME="Description" CONTENT="自动生成">
- </head>
- <body marginwidth=0 >
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="2" bgcolor="#f6f6f6" align="right" style="cursor:hand" onClick="if(HelpTab.style.display=='none'){HelpTab.style.display='';window.scrollTo(window.pageXOffset,0);}else{HelpTab.style.display='none'}"> <img src='<c:url value="/sys/images/why.gif"/>' width="14" height="14">
- ::Help::</td>
- </tr>
- <tr Id="HelpTab" style="display:none">
- <td width="2%"> </td>
- <td width="98%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="10" width="10"></td>
- <td></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:是否添加到反馈单位</b></td>
- </tr>
- <tr>
- <td></td>
- <td>用户前台反馈意见时可以针对某一单位(政府部门网站下级栏目,并且只针对此栏目下面栏目有效),当添加了反馈单位后,信息反馈时即可出现反馈目的单位。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:浏览者分类</b></td>
- </tr>
- <tr>
- <td></td>
- <td>电子政务门户网站需要按照浏览者分类显示栏目,只需要在修改记录时选择此项即可。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>功能说明:栏目关联</b></td>
- </tr>
- <tr>
- <td></td>
- <td>关联栏目指将两个相关的栏目产生关联性,在前台页面中出现关联栏目时,被关联栏目的内容也将出现在关联栏目页面。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>功能说明:移动内容</b></td>
- </tr>
- <tr>
- <td></td>
- <td>用户选择所需要移动的栏目后,点击移动内容,然后在弹出的页面中选择需要移动的目的栏目,确定即可(一级栏目不能移动)。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>功能说明:删除</b></td>
- </tr>
- <tr>
- <td></td>
- <td>删除栏目后不可恢复,删除栏目后会将栏目下面的栏目及其文章、图片等等一切都删除,请慎重!<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>功能说明</b></td>
- </tr>
- <tr>
- <td></td>
- <td>关于上移下移一次只移动最上面所选的<b>一个</b>选项<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>注明</b></td>
- </tr>
- <tr>
- <td></td>
- <td>只有当用户拥有了角色才能登陆成功操作!<br></td>
- </tr>
- </table>
- <a name="Help"></a></td>
- </tr>
- </table>
- <html:form action="/sys/plate/searchPlate.html">
- <html:hidden property="pageCurrent"/>
- <html:hidden property = "id" value="" />
- <input type="hidden" name="method" value="searchPlatesByParent"><!--这里需要填写父目录struts如:searchItemsByParent-->
- <html:hidden property = "parentid" />
- <input type="hidden" name="movecolumnid" value="">
- <input type="hidden" name="set" value="set"><!--用于移动-->
- <input type="hidden" name="firstId" value="<c:out value="${firstId}"/>">
- <input type="hidden" name="lastId" value="<c:out value="${lastId}"/>">
- <table border="0" cellpadding="4" cellspacing="1" class=table width="100%">
- <tr>
- <td colspan=7 style="background-color:#eeeeee" >栏目:<c:forEach var="columnLink" items="${platesLink}">>><c:out value="${columnLink.name}" /></c:forEach></td>
- </tr>
- <tr>
- <th width="615" align="center" colspan="5">板块属性说明</th>
- <th width="105" align="center" colspan="2">操作</th>
- </tr>
- <tr class="td">
- <td width = "5"></td>
- <td align="center" nowrap>名称</td>
- <td align="center" nowrap>状态</td>
- <td align="center" nowrap>是否添加到反馈单位</td>
- <td align="center" nowrap>浏览者分类</td>
- <td class="td" nowrap align="center">预览</td>
- <td class="td" nowrap align="center">编辑</td>
- </tr>
- <c:forEach var="plate" items="${plateList}">
- <tr class="td">
- <td><input type="checkbox" id="ids" name="ids" value='<c:out value="${plate.id}"/>' <c:if test="${plateForm.id == plate.id}">checked</c:if>></td>
- <td><c:out value='${plate.name}' /></td>
- <td><c:if test="${plate.status==1}"><c:out value="有效"/></c:if><c:if test="${plate.status==0}"><c:out value="<b><u>无效</u></b>" escapeXml= "false"/></c:if></td>
- <td><c:if test="${plate.ifinter==1}">添加</c:if></td>
- <td><c:if test="${plate.mansort!=null && plate.mansort!=''}"><xunuo:printBrowser value="${plate.mansort}" /></c:if></td>
- <td align=center><a href='javascript: dowork("view", "<c:out value="${plate.id}"/>");'>预览</a></td>
- <td align=center><a href='javascript: dowork("edit", "<c:out value="${plate.id}"/>");'>编辑</a></td>
- </tr>
- </c:forEach>
- <!-- 操作 start -->
- <!-- 操作 end -->
- <!-- 分页 start -->
- <td align="right" style="background-color:#eeeeee" colspan="7">
- <script language="javascript">
- drawDispartPageView("document.plateForm", <c:out value="${pageObject.pageCurrent}"/>, <c:out value="${pageObject.pageCount}"/>, <c:out value="${pageObject.rowCount}"/>);
- </script>
- </td>
- </tr>
- </table><br>
- <!-- 分页 end -->
- <table border="0" cellpadding="4" cellspacing="1" class=table width="100%">
- <tr class="td">
- <td colspan="7" style="background-color:#eeeeee">全选<input type="checkbox" name="allcheck" onclick="selectAll(this.form, this.checked);">
- <input type="button" class="button" value="添加" name="add" onclick="dowork('add');" <c:if test="${isGuest}">disabled</c:if>>
- <c:if test="${isAdmin}"> 输入关键字:
- <input type="text" name="keyword" value='<c:out value="${keyword}" />' size="10" />
- <select name="columns" style="width:50px">
- <option value="name">名称</option>
- </select>
- <input type="button" name="testb" class="button" value="检索" onclick="dowork('search');" <c:if test="${isGuest}">disabled</c:if>/></c:if>
- </td>
- </tr>
- </table>
- </html:form>
- </body>
- </html>