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

📄 calaloglist.jsp

📁 java阿里巴巴代码
💻 JSP
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=GBK"%>
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.*"%>
<jsp:useBean id="classInfo" class="com.saas.biz.productclassMgr.Productclass" scope="page" />
<%
	String class_id = "", class_type = "", paran = "", info_msg = "", includePage = "", iStart = "1", infoClass = "";
	//class_type=0 企业分类 class_type=4 采购分类  class_type=5 销售分类  
	if (request.getParameter("type") != null) {
		class_type = request.getParameter("type").toString();
	}
	if(class_type == "2" || class_type.equals("2")){
		paran = "产品信息列表";
		infoClass = "产品分类";
		info_msg = "&class_id=";
		includePage = "/zone_b2b/includeProduct.jsp";
	
	}else if (class_type == "3" || class_type.equals("3")) {
		paran = "企业信息列表";
		infoClass = "企业分类";
		info_msg = "&enterprise=1&class_id=";
		includePage = "/zone_b2b/includeEnterprise.jsp";
	}
	else if (class_type == "4" || class_type.equals("4")) {
		paran = "采购信息列表";
		infoClass = "求购分类";
		info_msg = "&stock=1&class_id=";
		includePage = "/zone_b2b/includeStockList.jsp";
	}
	else if (class_type == "5" || class_type.equals("5")) {
		paran = "销售信息列表";
		infoClass = "销售分类";
		info_msg = "&supply=1&class_id=";
		includePage = "/zone_b2b/includeSaleList.jsp";
	}
	else {
		includePage = "/inc/left.jsp";
	}
	if (request.getParameter("class_id") != null) {
		class_id = request.getParameter("class_id").toString();
	}
	if (request.getParameter("iStart") != null) {
		iStart = request.getParameter("iStart").toString();
	}
	
	String calalogInfo = classInfo.getCalalogInfo(class_type, class_id, "/zone_b2b/calalogList.jsp?type=" + class_type + info_msg);
%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
		<title>玻璃巴巴--<%=paran%>
		</title>
		<script type="text/javascript" src="/js/prototype.js"></script>
		<style type="text/css">
		<!--
		body {
			margin-left: 0px;
			margin-top: 0px;
			margin-right: 0px;
			margin-bottom: 0px;
		}
		#login{
	     position: relative;
	     display: none;
	         top: 20px;
	         left: 30px;
	         background-color: #ffffff;
	         text-align: center;
	         border: solid 1px;
	         padding: 10px;
	         z-index: 1;
	   }
		-->
	</style>
		<link href="/zone_b2b/css/css.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
		  function saleCompare() {
			var compara = "";
			var size = $F("s_size");
			if (size > 0) {
				for (var i = 0; i < size; i++) {
					var obj = "sale_" + i;
					var product = $(obj);
					if (product.checked) {
						compara = compara + $F(obj) + "|";
					}
				}
				if (compara == null || compara == "") {
					alert("请选中要进行对比的信息!");
					return false;
				}else{
					$("idx").value=compara
					$("commpara").submit();
				}
			} else {
				alert("没有要进行对比的信息!");
				return false;
			}
		}
		</script>
	</head>
	<body>
		<jsp:include flush="true" page="/zone_b2b/top.html" />
		<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td height="20"></td>
			</tr>
		</table>
		<table width="980" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="DCDCDC">
			<tr>
				<td height="29" background="/zone_b2b/images/Content_03.gif" bgcolor="#FFFFFF" style="font-size: 15px;font-weight: bold;">
					&nbsp;&nbsp;您当前位置:
					<a href="/" style="font-size: 15px;font-weight: bold;"><img src="/zone_b2b/images/lujian.gif" border="0"> 首页</a>
					<img src=/zone_b2b/images/lujian.gif border=0>
					<a href="/zone_b2b/calalogList.jsp?type=<%=class_type%><%=info_msg%>000000000000000"><%=infoClass%> </a>
					<img src=/zone_b2b/images/lujian.gif border=0>
					<%=calalogInfo%>
				</td>
			</tr>
		</table>
		<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td height="20"></td>
			</tr>
		</table>
		<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td width="740" valign="top">
					<table border=0 cellpadding=0 cellspacing=0 width="100%">
						<tr>
							<td width="134" height="32" align="center" background="/zone_b2b/images/sup_03.gif" class="bthong">
								&nbsp;&nbsp;
								<%=infoClass%>
							</td>
							<td align="right" background="/zone_b2b/images/sup_04.gif">
								<img src="/zone_b2b/images/sup_08.gif" align="absmiddle">
								&nbsp;
							</td>
						</tr>
					</table>
					<table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="FFC367">
						<tr>
							<td bgcolor="FFFFFF">
								<jsp:include flush="true" page="/zone_b2b/catalogInclude.jsp">
									<jsp:param name="type" value="<%=class_type%>" />
									<jsp:param name="id" value="<%=class_id%>" />
								</jsp:include>
							</td>
						</tr>
					</table>
					<div style="width:740px;">
						<jsp:include flush="true" page="<%=includePage%>">
							<jsp:param name="iStart" value="<%=iStart%>" />
							<jsp:param name="class_id" value="<%=class_id%>" />
						</jsp:include>
					</div>
				</td>
				<td valign="top">
					&nbsp;
				</td>
				<td width="228" valign="top">
					<jsp:include flush="true" page="/zone_b2b/supply/sale_right.jsp" />
				</td>
			</tr>
		</table>
		<jsp:include flush="true" page="/zone_b2b/footer.jsp" />
	</body>
</html>

⌨️ 快捷键说明

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