DownLoadList.jsp~2~
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:5k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html; charset=GBK" %>
- <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
- <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
- <html>
- <head>
- <title>DownLoadList</title>
- <script type="text/javascript">
- function doPost(params){
- var action="<%=request.getContextPath()%>/Manage/newsActionForm.do?todo=OpenNewsList"+"&"+params;
- var form=document.getElementById("form");
- form.action=action;
- form.submit();
- }
- </script>
- <link href="Css/skinv2.0.css" rel="stylesheet" type="text/css" />
- </head>
- <body bgcolor="#ffffff">
- <form name="form" method="post" action="">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr bgcolor="#cfdbe8">
- <td style="WIDTH: 20px" width="20" bgColor="#cfdbe8" height="19">
- <img height="10" src="<%=request.getContextPath()%>/Manage/images/icon.gif" width="12" alt="" />
- </td>
- <td valign="middle" bgcolor="#cfdbe8" colSpan="2"> <c:out value="${MainTitle}" /></td>
- </tr>
- <tr>
- <td style="HEIGHT: 31px" valign="top" align="left" height="80"> </td>
- <td style="HEIGHT: 31px" valign="middle" align="left" colSpan="2">
- <img src="<%=request.getContextPath()%>/Manage/images/edit.gif" alt="" />
- <c:out value="${ChildTitle}" />
- </td>
- </tr>
- <tr>
- <td style="HEIGHT: 1px" valign="top" align="left"></td>
- <td style="HEIGHT: 1px" valign="top" align="left" width="820" bgcolor="#cfdbe8"></td>
- <td style="HEIGHT: 1px" valign="top" align="left" width="144"></td>
- </tr>
- <tr>
- <td style="HEIGHT: 381px" valign="top" align="left"></td>
- <td style="HEIGHT: 381px" valign="top" align="left" colspan="2">
- <br />
- <a href='<%=request.getContextPath()%>/Manage/DownLoad.do?todo=OpenDownLoad&Key=<c:out value="${param.Key}" />'>点这里添加新的下载文件</a>
- <br /><br />
- <table width="700" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="30" width="250" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>中文标题</strong></td>
- <td width="150" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>排列顺序</strong></td>
- <td width="100" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>发布时间</strong></td>
- <td width="120" align="center" bgcolor="#5983B0" class="STYLE1 table_Right"><strong>操作</strong></td>
- </tr>
- </table>
- <div id="divList">
- <c:forEach var="dl" items="${pageInfo.rows}" varStatus="status">
- <table width="700" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td height="25" width="250" class="table_Right">
- <c:out value="${dl.dow_Title}" />
- </td>
- <td width="150" align="center" class="table_Right">
- <c:out value="${dl.dow_Order}" />
- </td>
- <td width="100" align="center" class="table_Right">
- <bean:write name="dl" property="dow_Time" format="yyyy年MM月dd日"/>
- </td>
- <td width="120" align="center" class="table_Right">
- <a href='<%=request.getContextPath()%>/Manage/DownLoad.do?todo=OpenDownLoad&dowID=<c:out value="${dl.dow_ID}" />&Key=<c:out value="${param.Key}" />'>编辑</a>
- |
- <a href='<%=request.getContextPath()%>/Manage/'>删除</a>
- </td>
- </tr>
- </table>
- </c:forEach>
- </div>
- <table width="700" border="0" cellpadding="0" cellspacing="0" class="table_Left">
- <tr>
- <td valign="middle" colspan="9" align="center" class="STYLE1 table_Right" height="30">
- <div align="right" >
- 共<c:out value="${pageInfo.totalRows}"/>条记录 共<c:out value="${pageInfo.totalPages}"/>页 当前第<c:out value="${pageInfo.currentPageNO+1}"/>页
-
- <c:choose>
- <c:when test="${pageInfo.firstPageNO>=pageInfo.currentPageNO}">
- 第一页
- |
- 上一页
- </c:when>
- <c:otherwise>
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.firstPageNO}"/>')">第一页</a>
- |
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.previousPageNO}"/>')">上一页</a>
- </c:otherwise>
- </c:choose>
- |
- <c:choose>
- <c:when test="${pageInfo.lastPageNO<=pageInfo.currentPageNO}">
- 下一页
- |
- 最后页
- </c:when>
- <c:otherwise>
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.nextPageNO}"/>')">下一页</a>
- |
- <a href="javascript:doPost('pageNo=<c:out value="${pageInfo.lastPageNO}"/>')">最后页</a>
- </c:otherwise>
- </c:choose>
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>