<%@page contentType="text/html;charset=utf-8" import="java.sql.*,java.util.*,jerehnet.jsp.database.*,jerehnet.jsp.util.*,java.text.SimpleDateFormat"%> <% PoolManager pool = new PoolManager(); if (pool == null) { pool = new PoolManager(); } Connection conn = null; Pagination pagination = new Pagination(); //设置每页显示条数 int pageCount = 5; pageCount = Integer.parseInt(Common.getFormatInt(request.getParameter("pageCount"))); if(pageCount==0){ pageCount = 5; } pagination.setCountOfPage(pageCount); DataManager db = new DataManager(); try { conn = pool.getConnection(); String offset = Common.getFormatInt(request.getParameter("offset")); //搜索条件形成 String searchStr = " where website_no='20120606134527423' and channel_node='20120616102515388' and is_show=1 "; searchStr += " order by is_top desc,orderno ,pub_date desc,id desc"; String query = "select id,title,pub_date,link_other,view_count,summary,file_name from jrcms_information " + searchStr; ResultSet rs = pagination.getQueryResult(query, request, conn); int showPages = 10;//底部页数显示个数 %> 联系我们_海普制盖

站点信息

联系我们

首页 > 联系我们

  在经营中海普以客户为榜样,主动发现客户需求,把握需求变化趋势,以超前视野和创新能力,不断强化产品品质,创造更高的市场需求。在服务中,坚持“客户惟尊,业务当先”的经营理念,为客户创造价值。

    <% int j=0; while(rs!=null&&rs.next()){ String link = "";String title="";boolean linkFlag=false; if(!(Common.getFormatStr(rs.getString("link_other"))).equals("")){ link = Common.getFormatStr(rs.getString("link_other")); linkFlag=true; }else{ link = Common.getFormatStr(rs.getString("file_name")); } title=Common.getFormatStr(rs.getString("title")); %>
  • " title="<%=title%>"><%=title%>

    <%=Common.getFormatDate("yyyy-MM-dd",rs.getDate("pub_date"))%>
  • <% j++;} %>

<< < <% String str = "";String pages[] = pagination.getPages();int nowp = pagination.getCurrenPages();nowp = nowp - nowp % (showPages + 1); for (int i = nowp - 1; i < (nowp + showPages) && i < pages.length; i++) {if (i < 0)i = 0; if (pagination.getCurrenPages() == (i + 1)) {str += "" + (i + 1) + " ";} else {str += " " + (i + 1) + " ";}}str=str.substring(0,str.length()-1);out.print(str); %> > >>


烟台海普

地址:山东省烟台市莱山区海普路1号
邮编:264003
电话:86-0535-6718777(总机)
   86-0535-6718999(营销)
传真:86-0535-6715000
邮箱:ytyx@hicap.cn

德阳海普
地址:四川省德阳市开发区旌湖路139号
邮编:618000
电话:86-0838-2906777(总机)
   86-0838-2906999(营销)
   86-0838-2903688
传真:86-0838-2906999
邮箱:dyyx@hicap.cn

泸州海普
地址:四川省泸州市黄舣镇酒业集中发展区
邮编:646015
电话:86-0830-3652777(总机)
   86-0830-3652999(营销)
   86-0830-3652050
传真:86-0830-3652054
邮箱:lzyx@hicap.cn  
 

<% } catch (Exception e) { e.printStackTrace(); } finally { pool.freeConnection(conn); } %>