⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 contentlist.jsp

📁 shopping home JSP system
💻 JSP
字号:
<%@page contentType="text/html;charset=GBK" %>
<%@include file="/jsp/pub/pub.jsp"%>
<%
	//抬头
	String categoryTitle = "";
	List contentList = null;
	
	ChannelContent 	cc = ChannelManager.getChannelCcConfig(currentChannel.getId(), CC_CENTER, 1);
	String currentCategoryId = request.getParameter("categoryId");
	if(cc != null) {
		 currentCategoryId = cc.getConcategoryId();
	}
	
	
	String strCurrentPageNo = request.getParameter("currentPageNo");
	
	ContentCategory contentCategory = ContentManager.getContentCategoryById(currentCategoryId);
	
	if(contentCategory != null) {
		categoryTitle = contentCategory.getName();
	}
	
	Pager contentPager = new Pager();
	
	int currentPageNo = 1;
	if(!StringUtil.isEmpty(strCurrentPageNo)) {
		currentPageNo = Integer.parseInt(strCurrentPageNo);
	}
	
	contentPager.setCurrentPage(currentPageNo);
	
	contentList = ContentManager.getContentsByCategoryId(currentCategoryId, contentPager);
	
	PAGETITLE = categoryTitle;
	PAGEDESCRIPTION = PAGETITLE;
	PAGEKEYWORDS = PAGETITLE;
%>
<%@include file="/jsp/pub/top.jsp"%>
<jsp:useBean id="fgProductSearchForm" class="com.keyshop.shop.product.controller.ProductForm" scope="session"/>
<%
	Product bean = (Product)fgProductSearchForm.getBean();
%>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
 <!--左侧商品分类列表-->
		  <%@include file="/jsp/pub/sm/categorytree.jsp"%>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height=5></td>
          </tr>
        </table>
       <!--左侧信息列表-->
      	<jsp:include page="/jsp/pub/sm/leftContentList.jsp"> 
					<jsp:param name="channelId" value="<%=currentChannel.getId()%>"/>
					<jsp:param name="searchKey" value="<%=LEFT_CONTENT%>"/>
					<jsp:param name="position" value="1"/> 	
				</jsp:include>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height=5></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
        <!--左侧广告-->
	      <jsp:include page="/jsp/pub/adContentView.jsp"> 
					<jsp:param name="channelId" value="<%=currentChannel.getId()%>"/> 	
					<jsp:param name="searchKey" value="<%=AD_CATEGORY_LEFT%>"/> 	
					<jsp:param name="position" value="1"/> 	
				</jsp:include>
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height=5></td>
          </tr>
        </table>
        <!--网上调查-->
        <%@include file="/jsp/pub/sm/inquisition.jsp"%>
    </td>
    <td align="right" valign="top">
<!--右侧内容-->
 			<%@include file="/fg/content/content_sub/contentList_sub.jsp"%>
<!--右侧内容END-->			
		</td>
  </tr>
</table>
<%@include file="/jsp/pub/bottom.jsp"%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -