DefaultMenuManage.jsp~20~
上传用户: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.             <input type="hidden" name="language" value='<c:out value="${param.language}" />' />
  52.           </td>
  53.         </tr>
  54.         <tr bgcolor="#ffffff">
  55.           <td style="height: 25px; width: 117px;">
  56.           &nbsp; 栏目排序:
  57.           </td>
  58.           <td style="height: 23px">
  59.             <input type="text" id="txtCatName" name="order" value='<c:out value="${menu.men_Order}" />' />
  60.           </td>
  61.         </tr>
  62.         <tr bgcolor="#ffffff">
  63.           <td style="height: 25px; width: 117px;">
  64.           &nbsp; 现有栏目:
  65.           </td>
  66.           <td style="height: 23px">
  67.             <table width="480" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  68.               <tr>
  69.                 <td height="25" width="200" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>栏目名</strong></td>
  70.                 <td width="60" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>排序</strong></td>
  71.                 <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
  72.               </tr>
  73.             </table>
  74.             <div id="divList">
  75.               <c:forEach var="menu" items="${list}" varStatus="status">
  76.                 <table width="480" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  77.                   <tr>
  78.                     <td width="200" class="table_Right" height="25">
  79.                       &nbsp;<c:out value="${menu.men_Name}" />
  80.                     </td>
  81.                     <td width="60" class="table_Right" align="center">
  82.                       <c:out value="${menu.men_Order}" />
  83.                     </td>
  84.                     <td width="120" align="center" class="table_Right">
  85.                       <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>
  86.                       &nbsp;|&nbsp;
  87.                       <a href='<%=request.getContextPath() %>/Manage/'>删除</a>
  88.                     </td>
  89.                   </tr>
  90.                 </table>
  91.               </c:forEach>
  92.             </div>
  93.           </td>
  94.         </tr>
  95.       </table>
  96.     </td>
  97.   </tr>
  98. </table>
  99. </form>
  100. </body>
  101. </html>