gonggao2.jsp 1.97 KB
<?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>