DefaultMenuManage.jsp~27~
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:5k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=GBK" %>
  2. <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
  3. <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  4. <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
  5. <html>
  6. <head>
  7. <title>DefaultMenuManage</title>
  8. <link href="<%=request.getContextPath() %>/Manage/Css/skinv2.0.css" rel="stylesheet" type="text/css" />
  9. </head>
  10. <body bgcolor="#ffffff">
  11. <form method="post" action="<%=request.getContextPath() %>/Manage/Menu.do?todo=EditDefaultColumn" enctype="multipart/form-data">
  12. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  13.   <tr bgcolor="#cfdbe8">
  14.     <td style="WIDTH: 20px" width="20" bgcolor="#cfdbe8" height="19">&nbsp;<img height="10" src="<%=request.getContextPath() %>/Manage/images/icon.gif" width="12" alt="" /></td>
  15.     <td valign="middle" bgcolor="#cfdbe8" colspan="2">&nbsp; 网站栏目管理</td>
  16.   </tr>
  17.   <tr>
  18.     <td style="HEIGHT: 31px" valign="top" align="left" height="80">&nbsp;</td>
  19.     <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
  20.       &nbsp;<img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" />&nbsp;顶级栏目管理
  21.     </td>
  22.   </tr>
  23.   <tr>
  24.     <td style="HEIGHT: 1px" valign="top" align="left"></td>
  25.     <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
  26.     <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
  27.   </tr>
  28.   <tr>
  29.     <td style="HEIGHT: 381px" valign="top" align="left"></td>
  30.     <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
  31.       <br/>
  32.       <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
  33.         <tr bgcolor="#ffffff">
  34.           <td style="height: 25px; width: 117px;">
  35.           &nbsp; 栏目名称:
  36.           </td>
  37.           <td style="height: 23px">
  38.             <select name="name">
  39.               <c:forEach var="list" items="${defList}">
  40.                 <c:if test="${list.def_ID == menu.men_ID}">
  41.                   <option value='<c:out value="${list.def_ID}" />' selected="selected"><c:out value="${list.def_Name}" /></option>
  42.                 </c:if>
  43.                 <c:if test="${list.def_ID != menu.men_ID}">
  44.                   <option value='<c:out value="${list.def_ID}" />'><c:out value="${list.def_Name}" /></option>
  45.                 </c:if>
  46.               </c:forEach>
  47.             </select>
  48.             <input type="submit" id="btnSaveCategory" value="保存" />
  49.             <input type="hidden" name="id" value='<c:out value="${menu.men_ID}" />' />
  50.             <input type="hidden" name="superiorID" value='<c:out value="${param.superiorID}" />' />
  51.           </td>
  52.         </tr>
  53.         <tr bgcolor="#ffffff">
  54.           <td style="height: 25px; width: 117px;">
  55.           &nbsp; 栏目排序:
  56.           </td>
  57.           <td style="height: 23px">
  58.             <input type="text" id="txtCatName" name="order" value='<c:out value="${menu.men_Order}" />' />
  59.           </td>
  60.         </tr>
  61.         <tr bgcolor="#ffffff">
  62.           <td style="height: 25px; width: 117px;">
  63.           &nbsp; 现有栏目:
  64.           </td>
  65.           <td style="height: 23px">
  66.             <table width="380" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  67.               <tr>
  68.                 <td height="25" width="200" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>栏目名</strong></td>
  69.                 <td width="60" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>排序</strong></td>
  70.                 <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
  71.               </tr>
  72.             </table>
  73.             <div id="divList">
  74.               <c:forEach var="menu" items="${menuList}" varStatus="status">
  75.                 <table width="380" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  76.                   <tr>
  77.                     <td width="200" class="table_Right" height="25">
  78.                       &nbsp;<c:out value="${menu.men_DefaultName}" />
  79.                     </td>
  80.                     <td width="60" class="table_Right" align="center">
  81.                       <c:out value="${menu.men_Order}" />
  82.                     </td>
  83.                     <td width="120" align="center" class="table_Right">
  84.                       <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>
  85.                       &nbsp;|&nbsp;
  86.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=DeleteDefaultMenu&menID=<c:out value="${menu.men_ID}" />'>删除</a>
  87.                     </td>
  88.                   </tr>
  89.                 </table>
  90.               </c:forEach>
  91.             </div>
  92.           </td>
  93.         </tr>
  94.       </table>
  95.     </td>
  96.   </tr>
  97. </table>
  98. </form>
  99. </body>
  100. </html>