MenuManage.jsp~77~
上传用户: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>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="440" 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.                 <td width="60" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
  66.               </tr>
  67.             </table>
  68.             <div id="divList">
  69.               <c:forEach var="menu" items="${list}" varStatus="status">
  70.                 <table width="440" border="0" cellpadding="0" cellspacing="0" class="table_Left">
  71.                   <tr>
  72.                     <td width="200" class="table_Right" height="25">
  73.                       &nbsp;<c:out value="${menu.men_Name}" />
  74.                     </td>
  75.                     <td width="120" class="table_Right" align="center">
  76.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenMenu&language=CN&superiorID=<c:out value="${menu.men_ID}" />'>中文</a>
  77.                       &nbsp;|&nbsp;
  78.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenMenu&language=EN&superiorID=<c:out value="${menu.men_ID}" />'>英文</a>
  79.                     </td>
  80.                     <td width="60" align="center" class="table_Right">
  81.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenDefaultMenu&superiorID=<c:out value="${menu.men_ID}" />'>设置</a>
  82.                     </td>
  83.                     <td width="60" align="center" class="table_Right">
  84.                       <a href='<%=request.getContextPath() %>/Manage/Menu.do?todo=OpenMenu&menID=<c:out value="${menu.men_ID}" />'>编辑</a>
  85.                     </td>
  86.                   </tr>
  87.                 </table>
  88.               </c:forEach>
  89.             </div>
  90.           </td>
  91.         </tr>
  92.       </table>
  93.     </td>
  94.   </tr>
  95. </table>
  96. </html:form>
  97. </body>
  98. </html>