DefaultMenuManage.jsp
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:5k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
- <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
- <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
- <html>
- <head>
- <title>DefaultMenuManage</title>
- <link href="<%=request.getContextPath() %>/Manage/Css/skinv2.0.css" rel="stylesheet" type="text/css" />
- </head>
- <body bgcolor="#ffffff">
- <form method="post" action="<%=request.getContextPath() %>/Manage/Menu.do?todo=EditDefaultColumn" enctype="multipart/form-data">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr bgcolor="#cfdbe8">
- <td style="WIDTH: 20px" width="20" bgcolor="#cfdbe8" height="19"> <img height="10" src="<%=request.getContextPath() %>/Manage/images/icon.gif" width="12" alt="" /></td>
- <td valign="middle" bgcolor="#cfdbe8" colspan="2"> 网站栏目管理</td>
- </tr>
- <tr>
- <td style="HEIGHT: 31px" valign="top" align="left" height="80"> </td>
- <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
- <img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" /> 顶级栏目管理
- </td>
- </tr>
- <tr>
- <td style="HEIGHT: 1px" valign="top" align="left"></td>
- <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
- <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
- </tr>
- <tr>
- <td style="HEIGHT: 381px" valign="top" align="left"></td>
- <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
- <br/>
- <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 栏目名称:
- </td>
- <td style="height: 23px">
- <select name="name">
- <c:forEach var="list" items="${defList}">
- <c:if test="${list.def_ID == menu.men_ID}">
- <option value='<c:out value="${list.def_ID}" />' selected="selected"><c:out value="${list.def_Name}" /></option>
- </c:if>
- <c:if test="${list.def_ID != menu.men_ID}">
- <option value='<c:out value="${list.def_ID}" />'><c:out value="${list.def_Name}" /></option>
- </c:if>
- </c:forEach>
- </select>
- <input type="submit" id="btnSaveCategory" value="保存" />
- <input type="hidden" name="id" value='<c:out value="${menu.men_ID}" />' />
- <input type="hidden" name="superiorID" value='<c:out value="${param.superiorID}" />' />
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 栏目排序:
- </td>
- <td style="height: 23px">
- <input type="text" id="txtCatName" name="order" value='<c:out value="${menu.men_Order}" />' />
- </td>
- </tr>
- <tr bgcolor="#ffffff">
- <td style="height: 25px; width: 117px;">
- 现有栏目:
- </td>
- <td style="height: 23px">
- <table width="380" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="25" width="200" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>栏目名</strong></td>
- <td width="60" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>排序</strong></td>
- <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
- </tr>
- </table>
- <div id="divList">
- <c:forEach var="menu" items="${menuList}" varStatus="status">
- <table width="380" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td width="200" class="table_Right" height="25">
- <c:out value="${menu.men_DefaultName}" />
- </td>
- <td width="60" class="table_Right" align="center">
- <c:out value="${menu.men_Order}" />
- </td>
- <td width="120" align="center" class="table_Right">
- <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenMenu&menID=<c:out value="${menu.men_ID}" />&Language=<c:out value="${param.language}" />&superiorID=<c:out value="${param.superiorID}" />'>编辑</a>
- |
- <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=DeleteDefaultMenu&menID=<c:out value="${menu.men_ID}" />&superiorID=<c:out value="${menu.men_Superior}" />'>删除</a>
- </td>
- </tr>
- </table>
- </c:forEach>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>