<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%-- jstl1.2--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 

<%@ page isELIgnored="false" %> 


          <!-- #webComponent.start.newArticleList -->
                <%
                // #webComponent.start.newArticleList
                miinshop.view.pages.uiCompont.NewProductListComponent newArticleList
                        =new miinshop.view.pages.uiCompont.NewProductListComponent (
                            request, response, out
                         );
                //返回记录数
                int max=10;
                //标题长度，字符
                int titleLen=50;
                newArticleList.init(max,titleLen);
                
                       %>
 
                 

<div class="hot-list var-hot-list">

          <c:if test="${NewArticleListCms!=null}" >  
                            <c:forEach items="${NewArticleListCms}" var="article"  varStatus="status" begin="0" end="2" step="1">
                              <div class="item ">
					<label class="hot">${status.index+1}</label>

					<a href="<%=request.getContextPath()%>/Templete/run/shop/product.jsp?aid=<c:out value="${article.aid}"/>"  target="_blank" title="${article.title}">     <c:out value="${article.title}"></c:out>     </a>
                                   
					
				</div>
					
		        </c:forEach>
                   </c:if> 
							   
				         <c:if test="${NewArticleListCms!=null}" >  
                            <c:forEach items="${NewArticleListCms}" var="article"   varStatus="status" begin="3" end="10" step="1">
                              <div class="item ">
					<label>${status.index+1}</label>
                                    <a href="<%=request.getContextPath()%>/Templete/run/shop/product.jsp?aid=<c:out value="${article.aid}"/>"  target="_blank" title="${article.title}">
                                    <c:out value="${article.title}"></c:out>
                               </a></div>                                
                            </c:forEach>
                               </c:if> 			   			

</div>