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

📄 proxyinfo.jsp

📁 java阿里巴巴代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.util.*"%>
<jsp:useBean id="bean" class="com.saas.biz.commen.ParamethodMgr" scope="page" />
<jsp:useBean id="categoryBean" class="com.saas.biz.ProcessMgr.ProcessInfo" scope="page" />
<jsp:useBean id="attach" class="com.saas.biz.attachMgr.Attachinfo" scope="page" />
<jsp:useBean id="cust" class="com.saas.biz.organizeMgr.OrganizeInfo" scope="page" />
<jsp:useBean id="level" class="com.saas.biz.custMgr.CustClass" scope="page" />
<%@ page import="com.saas.biz.custMgr.Custinfo"%>
<%@ page import="com.saas.biz.newsMgr.NewsInfo"%>
<%@ page import="com.saas.biz.enquirydealMgr.EnquirydInfo"%>
<%
	String category_id = "", type = "",iStart="1";
	if (request.getParameter("category_id") != null) {
		category_id = request.getParameter("category_id");
	}
	if (request.getParameter("type") != null) {
		type = request.getParameter("type");
	}
	
	if (request.getParameter("iStart") != null) {
		iStart = request.getParameter("iStart");
	}
	
	String category_name = bean.getParamNameByValue("105", type);
	String file_path = "/zone_b2b/images/cp.gif", cust_class = "";
	ArrayList list = categoryBean.genOneProcess(category_id);
	HashMap cateMap = new HashMap();
	if (list != null && list.size() > 0) {
		cateMap = (HashMap) list.get(0);
	}
	ArrayList attaList = attach.getAttachInfoByList(category_id);
	if (attaList != null && list.size() > 0) {
		HashMap attachMap = (HashMap) list.get(0);
		if (attachMap.get("file_path") != null) {
			file_path = attachMap.get("file_path").toString();
			file_path = file_path.substring(23);
		}
	}
	String publish_name = "", cust_id = "", category_title = "", category_date = "", end_date = "", category_desc = "", category_abstract = "", category_addr = "";
	if (cateMap.get("cust_id") != null) {
		cust_id = cateMap.get("cust_id").toString();
		publish_name = cust.getCustNameById(cust_id);
		cust_class = level.cust_Class_Name(cust_id);
	}
	if (cateMap.get("category_title") != null) {
		category_title = cateMap.get("category_title").toString();
	}
	if (cateMap.get("category_desc") != null) {
		category_desc = cateMap.get("category_desc").toString();
	}
	if (cateMap.get("category_abstract") != null) {
		category_abstract = cateMap.get("category_abstract").toString();
	}
	if (cateMap.get("category_addr") != null) {
		category_addr = cateMap.get("category_addr").toString();
	}
	if (cateMap.get("publish_date") != null) {
		category_date = cateMap.get("publish_date").toString();
		if (category_date.length() > 10) {
			category_date = category_date.substring(0, 10);
		}
	}
	if (cateMap.get("end_date") != null) {
		end_date = cateMap.get("end_date").toString();
		if (end_date.length() > 10) {
			end_date = end_date.substring(0, 10);
		}
	}
	
	Custinfo in = new Custinfo();
	NewsInfo info = new NewsInfo();
	ArrayList List2 = in.getCustById();
	ArrayList List1 = info.getNewCastById();
	EnquirydInfo ei = new EnquirydInfo();
	ArrayList List3 =ei.getEnquiryNewByList(Integer.parseInt(iStart),5, category_id);
	
	HttpSession logsession = request.getSession();
	String s_cust_id = "", s_user_id = "";
	if (logsession.getAttribute("SESSION_CUST_ID") != null) {
		s_cust_id = (String) logsession.getAttribute("SESSION_CUST_ID");
		s_user_id = (String) logsession.getAttribute("SESSION_USER_ID");
	}
%>
<html>
	<head>
		<link href="/zone_b2b/css/css.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
		  function checkContent(){
		     var content=document.getElementById("content").value;
		     var rsrv_str5=document.getElementById("rsrv_str5").value;
		     if(content==null || content==""){
		        alert("请填写你的评论,本站欢迎发表你的评论!");
		        return false;
		     }else if(content.length>250){
		       alert("评论内容不能太长!可以多次发表你的评论!");
		       return false;
		     }
		    
		    return true;
		  }
		
		</script>
	</head>
	<body>
		<jsp:include flush="true" page="/zone_b2b/top.html" />
		<table width="980" height="10" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td></td>
			</tr>
		</table>
		<form name="classForm" method="post" action="/doTradeReg.do" target="_self">
			<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td width="680" valign="top">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td valign="top">
									<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="DBECF4">
										<tr>
											<td height="26" valign="top" background="/zone_b2b/images/xian4.gif" bgcolor="#FFFFFF">
												您当前的位置:
												<img src="/zone_b2b/images/lujian.gif" border="0">
												<a href="/" class="lanse">首页</a>
												<img src="/zone_b2b/images/lujian.gif" border="0">
												<%=category_name%>
											</td>
										</tr>
									</table>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td height="5"></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<table width="100%" border="0" cellpadding="20" cellspacing="1" bgcolor="DBECF4">
							<tr>
								<td height="923" valign="top" bgcolor="#FFFFFF">
									<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td align="left" width="50%">
												<img src="<%=file_path%>" width="200" height="200" border="0">
											</td>
											<td align="left" width="50%" style="float: left;">
												<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
													<tr>
														<td height="32" align="left" width="25%">
															<span class="zi">客户名称:</span>
														</td>
														<td width="75%"><%=publish_name%></td>
													</tr>
													<tr>
														<td height="32" align="left">
															<span class="zi">客户级别:</span>
														</td>
														<td><%=cust_class%></td>
													</tr>
													<tr>
														<td height="32" align="left">
															<span class="zi">信息主题:</span>
														</td>
														<td height="32" align="left">
															<%=category_title%>
														</td>
													</tr>
													<tr>
														<td height="32" align="left">
															<span class="zi">发布时间:</span>
														</td>
														<td height="32" align="left">
															<%=category_date%>
														</td>
													</tr>
													<tr>
														<td height="32" align="left">
															<span class="zi">发布地址:</span>
														</td>
														<td height="32" align="left">
															<%=category_addr%>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
									<br>
									<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td valign="top" class=wz20 id=zoom>
												[分类信息介绍]&nbsp;
												<%=category_desc%>
												<BR>
											</td>
										</tr>
									</table>
									<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td valign="top" class=wz20 id=zoom>
												[分类信息描述]&nbsp;
												<%=category_abstract%>
												<BR>
											</td>
										</tr>
									</table>
									<TABLE width="95%" border=0 align="center" cellPadding=0 cellSpacing=0 class=xian>
										<TBODY>
											<TR>
												<TD height=10></TD>
											</TR>
										</TBODY>
									</TABLE>
									<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
										<%
												if (List3 != null && List3.size() > 0) {
												for (int i = 0; i < List3.size(); i++) {
													HashMap map = (HashMap) List3.get(i);
													String rsrv_str5 = "", enquiry_date = "", enquiry_content = "";
													if (map.get("rsrv_str5") != null) {
												rsrv_str5 = map.get("rsrv_str5").toString();
													}
													else {
												rsrv_str5 = "游客";
													}
													if (map.get("enquiry_content") != null) {
												enquiry_content = map.get("enquiry_content").toString();
													}
													if (map.get("enquiry_date") != null) {
												enquiry_date = map.get("enquiry_date").toString();
												if (enquiry_date.length() > 10) {
													enquiry_date = enquiry_date.substring(0, 10);
												}
													}
										%>
										<tr>
											<td>
												<span class="leftbt14"><%=rsrv_str5%> </span>
												<%=enquiry_date%>
												<BR>
												<span style="padding-left: 10px; font-style: inherit"><%=enquiry_content%> </span>
											</td>
										</tr>

⌨️ 快捷键说明

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