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

📄 p_list.jsp

📁 网龙仿阿里巴巴程序源码(java版) v2.5.rar
💻 JSP
字号:
<%@ page import="com.bean.ProductClassInfo,                 com.base.db.DBConnectorBase,                 com.base.db.DBConnectionManager,                 com.base.config.ProjectConfig"%><%@ page contentType="text/html;charset=GBK" language="java" %><%    DBConnectorBase conn = DBConnectionManager.getInstance().getConnection(ProjectConfig.DBTITLE);    String p_class = request.getParameter("p_class");    String toppath = new ProductClassInfo().getClassProductPath(conn,p_class,"2");    int curPage = 1;    try{        curPage = Integer.parseInt(request.getParameter("curPage"));    }catch(Exception err){        curPage = 1;    }%><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title><%=ProjectConfig.WEBTITLE%></title><link href="/style/list.css"  rel="stylesheet" type="text/css"><link href="/style/commonality.css" rel="stylesheet" type="text/css"><link href="/style/tj.css" type="text/css" rel="stylesheet" /><link href="/css/layout.css" rel="stylesheet" type="text/css"><link href="/css/daohang.css" rel="stylesheet" type="text/css"><script src="/js/prototype.js" type="text/javascript"></script><script src="/js/login.js" type="text/javascript"></script></head><body><div class="top">  <a  onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('http://b2b.xsaas.com');"  style="CURSOR: hand">将本站设置为首页</a>  |   <a href="javascript:window.external.AddFavorite('http://b2b.xsaas.com', '安徽农业信息网-安徽省最专业的农业网上贸易市场,农产品展示平台')">加入收藏</a>   |   <a href="Newcregister.jsp">免费用户注册</a>  |  <a href="/crm">登录后台</a></div><!--头部容器-----><div class="container">  <div class="header">    <div class="logo"><a href="http://www.madeinglobal.com" target="_top"><img src="/images/logo.gif" width="225" height="66" border="0"></a></div><div><script src="/inc/top.js"></script></div><div style="margin-top:10px; width:950px;"><div id="bg"><table border="0" cellspacing="0" cellpadding="0" width="100%">   <tr>     <td height="30" align="left" colspan="7"><img src="/images/chinannn_f.gif">&nbsp;&nbsp;<strong><%=toppath%></strong>     </td>   </tr>   <tr>       <td valign="top" align="center">        <div id="catalogDIV"></div>       </td>    </tr>  </table>  <script language="JavaScript">    /*加载成功后执行*/	function loadSuccessed(){}	/*ajax请求失败提示*/	function ajaxFailure(){		$('catalogDIV').innerHTML = '类别加载失败!';	}	/*加载分类信息*/	function getHTML(){		$("catalogDIV").innerHTML = '正在加载子分类......';        var url = '/product/p_catalog.jsp';        var pars = 'sid=<%=p_class%>';        var loadAjax = new Ajax.Updater('catalogDIV', url, {method: 'get', parameters: pars,onFailure:ajaxFailure,onComplete:loadSuccessed});    }	getHTML();</script></div></div><div class="middleBody">	<div class="listLeft">		<div class="bg2"></div>	  <div class="bg3">			<div class="ad" style="display:none"><img src="/images/list_7.gif"></div>			<table width="100%" border="0" cellspacing="0" cellpadding="0">  <tr>    <td height="110" align="center"><img src="/images/objsearch_banner1.gif" width="175" height="98"></td>  </tr>  <tr>    <td height="74" align="center"><img src="/images/lxd175681.gif" width="175" height="68">        </td>  </tr>  <tr>    <td height="74" align="center"><img src="/images/button117568.gif" width="175" height="68"></td>  </tr></table></div>	</div>   <div class="listRight">  	<table width="100%" border="0" cellspacing="0" cellpadding="0">    <tr>      <td><div class="title2"><div class="title2_1">分类信息</div></div>  		</td>    </tr>    <tr><td height="10"></td></tr>    <tr>      <td>        <div id="listDIV"></div>      </td>    </tr>  </table>   <script language="JavaScript">	/*ajax请求失败提示*/	function ajaxFailure(){		$('listDIV').innerHTML = '产品信息加载失败!';	}	/*加载分类信息*/	function getlistHTML(){		$("listDIV").innerHTML = '正在加载产品信息......';        var url = '/product/p_sub_list.jsp';        var pars = 'sid=<%=p_class%>&curPage=<%=curPage%>';        var loadAjax = new Ajax.Updater('listDIV', url, {method: 'get', parameters: pars,onFailure:ajaxFailure,onComplete:loadSuccessed});    }    getlistHTML();</script>  <br>    <p>&nbsp;</p>  </div></div><script src="/inc/bottom.js"></script></body></html><% DBConnectionManager.getInstance().freeConnection(ProjectConfig.DBTITLE, conn);%>

⌨️ 快捷键说明

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