<%@page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/website/images/favicon.ico" type="image/x-icon">
<title>宽客资本</title>
<link rel="stylesheet" type="text/css" href="/website/css/kkcss.css" />
<script type="text/javascript" src="/website/js/jquery.js"></script>
<script type="text/javascript" src="/website/js/menu.js"></script>
</head>
<body>
	<div class="subhead">
		<%@include file="../navigation/menu.jsp"%>
	</div>
	<div class="mainbox clear">
		<div class="left fl">
			<ul class="lmenulist">
				<c:forEach items="${subclass }" var="subclass">
					<li><a href="/news/list.do?newsType=${subclass.subclassId }"
						<c:if test="${subclass.subclassId==newsType }"> class="acur"</c:if> >${subclass.title }</a></li>
				</c:forEach>
			</ul>
		</div>
		<div class="right fr">
			<div class="twlist clear">
				<ul>
				<c:forEach items="${newsList }" var="news">
				<li class="clear"><a href="detail.do?newsId=${news.newsId }"><img
								src="/${news.thumbnail }" /></a>
							<h3>
								<a href="detail.do?newsId=${news.newsId }">${news.title }</a>
							</h3>
							<p class="clear">${news.summary }</p>
							<span class="clear"><em><fmt:formatDate value="${news.pubTime }" type="date" pattern="yyyy-MM-dd hh:mm"/></em><a href="detail.do?newsId=${news.newsId }">点击阅读</a></span>
				</li>
				</c:forEach>
				</ul>
			</div>
			<div class="page clear">
				<span>共${pageVo.rows }条，共${pageVo.totalPage }页</span>
				<c:if test="${pageVo.currentPage<=1 }">
					<a href="javascript:;">&lt;</a>
				</c:if>
				<c:if test="${pageVo.currentPage>1 }">
					<a
						href="/news/list.do?newsType=${newsType}&pageindex=${pageVo.currentPage-1 }">&lt;</a>
				</c:if>
				<c:forEach items="${showPages }" var="showPages">
					<c:choose>
						<c:when test="${showPages==pageVo.currentPage }">
							<span class="current">${pageVo.currentPage }</span>
						</c:when>
						<c:otherwise>
							<a
								href="/news/list.do?newsType=${newsType}&pageindex=${showPages }">${showPages }</a>
						</c:otherwise>
					</c:choose>
				</c:forEach>
				<c:if test="${pageVo.currentPage>=pageVo.totalPage }">
					<a href="javascript:;">&gt;</a>
				</c:if>
				<c:if test="${pageVo.currentPage<pageVo.totalPage }">
					<a
						href="/news/list.do?newsType=${newsType}&pageindex=${pageVo.currentPage+1 }">&gt;</a>
				</c:if>

			</div>
		</div>
		</div>
		<div class="footer">
			<%@include file="../navigation/footer.jsp"%>
		</div>
</body>
</html>