📄 contentqiantaiview.jsp
字号:
<%@page contentType="text/html;charset=GBK" %>
<%@ taglib uri="/bean" prefix="bean" %>
<%@ taglib uri="/html" prefix="html" %>
<%@ taglib uri="/logic" prefix="logic" %>
<%@ taglib uri="/keyshop" prefix="keyshop" %>
<%@include file="/jsp/pub/pub.jsp"%>
<jsp:useBean id="fgcontentForm" class="com.keyshop.shop.content.controller.ContentForm" scope="request"/>
<%
Content bean = (Content)fgcontentForm.getBean();
String categoryId = request.getParameter("categoryId");
List contentList = com.keyshop.shop.content.util.ContentConst.getContentList(categoryId);
ContentCategory cc = ContentManager.getContentCategoryById(categoryId);
String title = "";
if(cc != null) {
title = cc.getName();
}
%>
<script>
<%
if("linkurl".equals(bean.getType())) {
%>
window.location='<%=bean.getLinkurl()%>';
<%
}
%>
</script>
<%
//设置网页title, 关键字,网页描述。
PAGETITLE = bean.getName() + PAGETITLE;
PAGEDESCRIPTION = PAGETITLE;
PAGEKEYWORDS = PAGETITLE;
%>
<%@include file="/jsp/pub/top.jsp"%>
<table width="830" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="191" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height=4></td>
</tr>
</table>
<table width="190" border="0" cellpadding="0" cellspacing="0" class="Index_board01">
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td height="25" bgcolor="1EC8FC">
<img src="<%=CONTEXT%>/img/list/tub_1.gif" width="17" height="12">
<span class="Index_txt"><%=title%></span></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="4" cellpadding="0">
<%
if(contentList != null && contentList.size() > 0) {
for(int i=0; i<contentList.size(); i++) {
Content c = (Content)contentList.get(i);
String css1 ="";
if(c.getId().equals(bean.getId())) {
css1 ="class='Help_tdBg'";
}
%>
<tr>
<td valign="top">
·<a class="Index_Title02" href="<%=CONTEXT%>/fg/content/content.do?actionType=qiantaiview&categoryId=<%=categoryId%>&viewModel=bottom&bean.id=<%=c.getId()%>"><%=c.getName()%>
</a>
</td>
</tr>
<%
}
}
%>
</table>
</td>
</tr>
</table>
<!--左侧商品分类列表-->
<%@include file="/jsp/pub/sm/categorytree.jsp"%>
<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 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>
</tr>
</table>
</td>
<td align="right" valign="top">
<%@include file="/fg/content/content_sub/contentQiantaiView_sub.jsp"%>
</td>
</tr>
</table>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height=4></td>
</tr>
</table>
<%@include file="/jsp/pub/bottom.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -