<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/core" %>
<!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" />
<title>汉思设计</title>
<link href="${pageContext.request.contextPath}/static/hsa/css/inside.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="${pageContext.request.contextPath}/static/hsa/css/jquery.mCustomScrollbar.css">
<script src="${pageContext.request.contextPath}/static/hsa/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/static/hsa/js/jsin.js" type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/static/hsa/js/jquery.mCustomScrollbar.concat.min.js"></script>
</head>
<body>

<%@ include file="../hsa/head.jsp" %>

<div class="mainall">
    <div class="maleft">
		<div class="pro_edit">
        ${newst.details}
		</div>
    </div>
    
    
  <div class="maright">
	<div class="marightscroll">
    	<div class="news projects">
            <c:forEach items="${news}" var="p" varStatus="b">
                <c:if test="${b.index == 0}">
                    <h3><fmt:formatNumber type="number" value="${p.timelength}" pattern="0.00" maxFractionDigits="2"/></h3>
                </c:if>
                <c:if test="${b.index != 0}">
                    <c:if test="${news[b.index-1].timelength != p.timelength}">
                        <h3><fmt:formatNumber type="number" value="${p.timelength}" pattern="0.00" maxFractionDigits="2"/></h3>
                    </c:if>
                </c:if>
                <ul>
                    <li><p><a href="new.html?id=${p.id}">${p.title}</a></p></li>
                </ul>
            </c:forEach>
        </div>
	</div>
  </div>
</div>


<%@ include file="../hsa/footer.jsp" %>
</body>
</html>
