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

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>MenuManage</title>
  8. <script type="text/javascript">
  9. </script>
  10. <link href="<%=request.getContextPath() %>/Manage/Css/skinv2.0.css" rel="stylesheet" type="text/css" />
  11. </head>
  12. <body bgcolor="#ffffff">
  13. <html:form method="post" action="/Manage/Menu.do?todo=EditMenu" enctype="multipart/form-data">
  14. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  15.   <tr bgcolor="#cfdbe8">
  16.     <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>
  17.     <td valign="middle" bgcolor="#cfdbe8" colspan="2">&nbsp; 网站栏目管理</td>
  18.   </tr>
  19.   <tr>
  20.     <td style="HEIGHT: 31px" valign="top" align="left" height="80">&nbsp;</td>
  21.     <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
  22.       &nbsp;<img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" />&nbsp;顶级栏目管理
  23.     </td>
  24.   </tr>
  25.   <tr>
  26.     <td style="HEIGHT: 1px" valign="top" align="left"></td>
  27.     <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
  28.     <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
  29.   </tr>
  30.   <tr>
  31.     <td style="HEIGHT: 381px" valign="top" align="left"></td>
  32.     <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
  33.       <br/>
  34.       <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
  35.         <tr bgcolor="#ffffff">
  36.           <td style="height: 25px; width: 117px;">
  37.           &nbsp; 栏目名称:
  38.           </td>
  39.           <td style="height: 23px">
  40.             <input type="text" id="txtCatName" name="name" value='<c:out value="${menu.men_Name}" />' />
  41.             <input type="submit" id="btnSaveCategory" value="保存" />
  42.             <input type="hidden" name="id" value='<c:out value="${menu.men_ID}" />' />
  43.           </td>
  44.         </tr>
  45.         <tr bgcolor="#ffffff">
  46.           <td style="height: 25px; width: 117px;">
  47.           &nbsp; 栏目图片:
  48.           </td>
  49.           <td style="height: 23px">
  50.             <a href=""><c:out value="${menu.image.filename}" /></a>
  51.             <html:file property="menuImg" size="30"></html:file>
  52.             <input type="hidden" name="imageID" value='<c:out value="${menu.image.id}" />' />
  53.           </td>
  54.         </tr>
  55.         <tr bgcolor="#ffffff">
  56.           <td style="height: 25px; width: 117px;">
  57.           &nbsp; 现有栏目:
  58.           </td>
  59.           <td style="height: 23px">
  60.             <table width="380" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  61.               <tr>
  62.                 <td height="25" width="200" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>栏目名</strong></td>
  63.                 <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>子栏目</strong></td>
  64.                 <td width="60" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
  65.               </tr>
  66.             </table>
  67.             <div id="divList">
  68.               <c:forEach var="menu" items="${list}" varStatus="status">
  69.                 <table width="380" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  70.                   <tr>
  71.                     <td width="200" class="table_Right" height="25">
  72.                       &nbsp;<c:out value="${menu.men_Name}" />
  73.                     </td>
  74.                     <td width="120" class="table_Right" align="center">
  75.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenMenu&Language=CN&superiorID=<c:out value="${menu.men_ID}" />'>中文</a>
  76.                       &nbsp;|&nbsp;
  77.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenDefaultMenu&superiorID=<c:out value="${menu.men_ID}" />'>设置</a>
  78.                     </td>
  79.                     <td width="60" align="center" class="table_Right">
  80.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenMenu&menID=<c:out value="${menu.men_ID}" />'>编辑</a>
  81.                     </td>
  82.                   </tr>
  83.                 </table>
  84.               </c:forEach>
  85.             </div>
  86.           </td>
  87.         </tr>
  88.       </table>
  89.     </td>
  90.   </tr>
  91. </table>
  92. </html:form>
  93. </body>
  94. </html>