EditDownLoad.jsp
上传用户: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>EditDownLoad</title>
  8. <script type="text/javascript">
  9. function SaveAction(){
  10.   var form = document.all.downLoadActionForm;
  11.   form.action = "<%=request.getContextPath()%>/Manage/DownLoad.do?todo=EditDownLoad&Type=" + <c:out value="${param.Type}" />;
  12.   form.submit();
  13. }
  14. </script>
  15. <link href="<%=request.getContextPath() %>/Manage/Css/skinv2.0.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body bgcolor="#ffffff">
  18. <html:form method="post" action="/Manage/DownLoad.do?todo=EditDownLoad" enctype="multipart/form-data">
  19. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  20.   <tr bgcolor="#cfdbe8">
  21.     <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>
  22.     <td valign="middle" bgcolor="#cfdbe8" colspan="2">&nbsp; <c:out value="${MainTitle}" /></td>
  23.   </tr>
  24.   <tr>
  25.     <td style="HEIGHT: 31px" valign="top" align="left" height="80">&nbsp;</td>
  26.     <td style="HEIGHT: 31px" valign="middle" align="left" colspan="2">
  27.       &nbsp;<img src="<%=request.getContextPath() %>/Manage/images/edit.gif" align="middle" alt="" />&nbsp;<c:out value="${ChildTitle}" />
  28.     </td>
  29.   </tr>
  30.   <tr>
  31.     <td style="HEIGHT: 1px" valign="top" align="left"></td>
  32.     <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
  33.     <td style="HEIGHT: 1px; width: 144px;" valign="top" align="left"></td>
  34.   </tr>
  35.   <tr>
  36.     <td style="HEIGHT: 381px" valign="top" align="left"></td>
  37.     <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
  38.       <br/>
  39.       <table align="left" bgcolor="#cccccc" border="0" cellpadding="1" cellspacing="1" width="98%">
  40.         <tr bgcolor="#ffffff">
  41.           <td style="height: 25px; width: 117px;">
  42.           &nbsp; 文件中文标题:
  43.           </td>
  44.           <td style="height: 23px">
  45.             <input type="text" id="txtTitle" name="cnTitle" value='<c:out value="${dl.dow_Title}" />' />
  46.             <input type="hidden" id="hidID" name="id" value='<c:out value="${dl.dow_ID}" />' />
  47.           </td>
  48.         </tr>
  49.         <tr bgcolor="#ffffff">
  50.           <td style="height: 25px; width: 117px;">
  51.           &nbsp; 排列顺序:
  52.           </td>
  53.           <td style="height: 23px">
  54.             <input type="text" id="txtTitle" name="order" value='<c:out value="${dl.dow_Order}" />' />
  55.           </td>
  56.         </tr>
  57.         <tr bgcolor="#ffffff">
  58.           <td style="height: 25px; width: 117px;">
  59.           &nbsp; 摘要说明:
  60.           </td>
  61.           <td style="height: 23px">
  62.             <textarea cols="50" rows="4" name="summary"><c:out value="${dl.dow_Summary}" /></textarea>
  63.           </td>
  64.         </tr>
  65.         <tr bgcolor="#ffffff">
  66.           <td style="height: 25px; width: 117px;">
  67.           &nbsp; 图片上传:
  68.           </td>
  69.           <td style="height: 23px">
  70.             <a href=""><c:out value="${dl.imageUp.filename}" /></a>
  71.             <html:file property="downLoadImg" size="30"></html:file>
  72.             <input type="hidden" name="fileID" value='<c:out value="${dl.imageUp.id}" />' />
  73.           </td>
  74.         </tr>
  75.         <tr bgcolor="#ffffff">
  76.           <td style="height: 25px; width: 117px;">
  77.           &nbsp; 文件上传:
  78.           </td>
  79.           <td style="height: 23px">
  80.             <a href=""><c:out value="${dl.fileUp.filename}" /></a>
  81.             <html:file property="image" size="30"></html:file>
  82.             <input type="hidden" name="imageID" value='<c:out value="${dl.fileUp.id}" />' />
  83.           </td>
  84.         </tr>
  85.         <tr bgcolor="#ffffff" align="center">
  86.           <td colspan="2">
  87.             <input type="button" id="btnSave" value="保  存" onclick="SaveAction();" />&nbsp;&nbsp;&nbsp;&nbsp;
  88.             <input type="button" value="返  回" onclick="window.history.go(-1);" />
  89.           </td>
  90.         </tr>
  91.       </table>
  92.     </td>
  93.   </tr>
  94. </table>
  95. </html:form>
  96. </body>
  97. </html>