gonggao2.jsp
1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="${ctx }/view/common/meta.jsp" />
<link href="${ctx }/resource/css/detail.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/css/entrust.css" rel="stylesheet" type="text/css" />
<link href="${ctx }/resource/js/utils/page/page.css" rel="stylesheet" type="text/css" />
<script src="${ctx}/resource/js/utils/page/query.js"></script>
<script src="${ctx}/resource/js/utils/page/page.js"></script>
<script type="text/javascript">
$(function() {
$('#pageToolbar').Paging({pagesize: '${params._limit }', count: '${params._total}',
toolbar:true, current: Number('${params._page}'), callback:function(page, size, count) {
window.location.href = '${ctx }/info/gonggao?_page=' + page + '&_limit=' + size;
}});
});
$("#message").css("color","#f00");
</script>
</head>
<body>
<jsp:include page="${ctx}/view/common/header2.jsp" />
<div class="bigbox">
<%--<h2>资讯</h2>--%>
<div class="crossline"></div>
<ul class="tab">
<li class="selected"><a href="${ctx }/info/gonggao2">公告通知</a></li>
</ul>
<div class="clear"></div>
<div id="notice" class="tglist">
<ul>
<c:forEach items="${gonggao}" var="gg">
<li>
<a href="/trade/article?id=${gg.id}&cid=${cid}"> ${gg.title}
<span><fmt:formatDate value="${gg.sortTime}" pattern="yyyy-MM-dd" /></span></a>
</li>
</c:forEach>
</ul>
</div>
<div id="pageToolbar"></div>
<div class="clear"></div>
</div>
<jsp:include page="${ctx}/view/common/bottom.jsp" />
</body>
</html>