<%@ page language="java" import="java.util.*,com.letousky.lottery.delegate.WinsFlat" pageEncoding="UTF-8"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%
	String cluster_node_id = "";
	if(null!=request.getParameter("cluster_node_id")){
		cluster_node_id = cn.com.dekn.common.util.StrUtil.encodeHTML(request.getParameter("cluster_node_id").toString());
	}
	
	String[] parmas=new String[]{"501","0","1"};
	List list=new WinsFlat().wins(parmas);
	Object[] obj=list.toArray();
	String id = request.getParameter("id");
	String url = "";
	String path1 = "ShowClass.jsp" , path2= "ShowClassList.jsp" , sid = "id" , rs = "";
%>
<cms4j:class show="1" node_id="root">
		<%
			String rootid = class_info.getARTICLE_CLASS_ID();
			if("1189".equals(rootid) || "1190".equals(rootid) || "1191".equals(rootid) || "1192".equals(rootid) || "1193".equals(rootid) || "1195".equals(rootid)){
				url += "<a href="+class_info.getLinkURL(path1,path2,"id","")+">"+class_info.getCLASS_NAME()+"</a>";
			}
		%>
</cms4j:class>
<cms4j:class show="all" id="<%=id%>">
<%@include file="/common/headtop.jsp" %>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/css/news.css" />
</head>

<body>
<%@include file='/../letoula/top.jsp' %>
<%@include file='/common/nav.jsp' %>
<div class="row newsIndex">
	<div class="newsList_left">
     	<div>
				 <div class="newsSite">当前位置：<a href="<%=request.getContextPath()%>/templet/default/ShowClassList.jsp">资讯首页 </a>&nbsp;><jsp:include page="../../symbol/class/path_1.jsp">
	                <jsp:param name="CLASS_ID" value="<%=id%>"></jsp:param>
	                <jsp:param name="TEXT_COLOR" value="#3e3e3e"></jsp:param>
	                <jsp:param name="IS_SHOW_HOME" value="false"></jsp:param>
	                <jsp:param name="IS_LINK" value="true"></jsp:param>
	                <jsp:param name="SPEARATOR" value=">"></jsp:param>
                	</jsp:include>
                	</div>
					      <ul class="newsList_ul">
						        <cms4j:article node_id="root" class_id="<%=id%>">
						             <c:set var="len" value="0"/>
						         	<cms4j:article_list>
						             <c:set var="len" value="${len+1}"/>
						             <c:if test="${len<21 }">
							          <li>
									     <a href="<%=request.getContextPath()%><%=article_info.getURL()%>" class="black"><%=article_info.getTITLE()%></a>
						          <% if(article_info.getCONTENT().length()>150){%>
							        <%=article_info.getCONTENT_TEXT().substring(0,150) %>...
							      <% }
						          else{
							      %>
							     <%= article_info.getCONTENT_TEXT()%>
							     <%}%>
						          	  </li>
						         	</c:if>
									</cms4j:article_list>
								</cms4j:article>
						   </ul>
				
     	</div>
     </div>
 <%@include file='/common/newsdetailr.jsp' %>
     </div>
<%@include file='/common/footer.jsp' %>

</body>
</html>
</cms4j:class>