<% 'information=trim(request("infor")) 'response.Cookies("information")=information hrcname=trim(request("hrc_n")) Dim fileName,postion fileName = Request.ServerVariables("script_name") postion = InstrRev(fileName,"/")+1 '取得当前的文件名称,使翻页的链接指向当前文件; fileName = Mid(fileName,postion) function xhhtml(content) xhhtml=content if content<>"" then xhhtml=replace(xhhtml,chr(13),"") xhhtml=Replace(xhhtml,CHR(10)&CHR(10),"

") xhHtml=replace(xhHtml,chr(34),""") xhHtml=replace(xhHtml,chr(32)," ") end if end function %>
深圳公司联系电话:0755-83652290 0755-81222212 李小姐   加盟本站
首 页 宏儒简介 专家团队 客户名录 服务项目 培训频道 证书查询 管理卡 招贤纳士 联系我们 工厂管理
服务项目
体系认证咨询
      ·ISO9000
      ·ISO14000
      ·ISO22000
      ·HACCP
      ·OHSAS18000
      ·SA8000
      ·ISO/TS16949
      ·QC080000
产品认证咨询
      ·CCC产品认证
      ·QS产品认证
      ·玩具产品安全认证
      ·有机食品认证
      ·饲料产品认证
      ·CE认证
      ·UL认证
      ·RoHS与WEEE指令
报名请点击
<% set rs=server.CreateObject("adodb.recordset") conn.open if hrcname="" then sql="select neir from information where shux='a'" else sql="select neir from information where shux='p'" End if rs.open sql,conn,1,1 if rs.eof then neir="对不起,没有新信息!" else information=int(rs.recordCount) response.Cookies("information")=information response.Cookies("information").expires=DateAdd("n",30,now()) neir=rs("neir") End if '分页开始 if len(Request("PageNo"))=0 then PageNo=1 else PageNo=int(Request("PageNo")) End if rs.PageSize=3 rs.AbsolutePage=int(PageNo) dim k,i if PageNo=1 then k=1 else k=1+3*(int(PageNo)-1) End if i=1 do while i<=int(rs.PageSize) and not rs.eof neir=xhhtml(rs("neir")) %> <% rs.MoveNext if rs.eof then exit do End if loop Sub TurnPage(Rs_tmp,PageSize) 'Rs_tmp 记录集 ; PageSize 每页显示的记录条数; Dim TotalPage '总页数 Dim PageNo '当前显示的是第几页 Dim RecordCount '总记录条数 Rs_tmp.PageSize = PageSize RecordCount = Rs_tmp.RecordCount TotalPage = INT(RecordCount / PageSize * -1)*-1 PageNo = Request.QueryString ("PageNo") '直接输入页数跳转; If Request.Form("PageNo")<>"" Then PageNo = Request.Form("PageNo") '如果没有选择第几页,则默认显示第一页; If PageNo = "" then PageNo = 1 If RecordCount <> 0 then Rs_tmp.AbsolutePage = PageNo End If %>

宏儒中国欢迎您!

24小时全国统一热线:400-680-9000

<%End Sub call TurnPage(rs,3) rs.close set rs=nothing %>

      随着社会的发展,宏儒中国为了给您提供更专业、更便捷的服务,宏儒中国客服呼叫中心于2008年7月全面启动。24小时全国统一客服咨询热线为:400-680-9000.

     欢迎广大客户致电全国统一客服咨询热线,宏儒中国呼叫中心全体工作人员将竭诚为您服务,感谢您的支持!