现在时间:
下属分公司查询
  用户名:
  密 码:
 
  网上投诉
  故障申告
  用户建议  
  列车时刻查询
  宽带下载速度测试
 
中国铁通在线
国有资产监督管理委员会
信息产业部
铁道部

<% sql="select * from wz_twxx order by twsj desc" set rs=conn.execute(sql) if rs.eof then %> <% else const MaxPerPage=10 page=trim(request("page")) if page<>"" then '检测输入页数是否合法 pagestrlong=len(page) chOK="0123456789" chvalid=true j=1 do while j<=pagestrlong ch=mid(page,j,1) If instr(chOK,ch)=0 then chvalid=false exit do end if j=j+1 loop '检测完毕 if not chvalid then '如果不合法 currentPage=1 '默认为第1页 else currentPage=int(page) '如果合法则取整数 if currentpage=0 then '如果是0页取1 currentpage=1 end if end if else currentPage=1 '如果空白测取第1页 end if i=0 do until rs.eof i=i+1 rs.movenext loop rs.movefirst totalPut=i '记录总数 '判断最大显示页数 if totalput<=maxperpage then maxpagenum=1 else pageys=totalput/maxperpage if pageys > int(pageys) then maxpagenum=int(pageys)+1 else maxpagenum=int(pageys) end if end if if currentPage=1 then showContent showpages else if (currentPage-1)*MaxPerPage>=totalPut then currentPage=maxpagenum end if rs.move (currentPage-1)*MaxPerPage showContent showpages end if sub showContent for i=1 to MaxPerPage if rs.eof then exit for %> <% rs.movenext next end sub %> <% sub showpages () %> <% end sub end if %> <% rs.close set rs=nothing conn.close set conn=nothing %>
  查询内容:   
业务查询:   全部内容
当前第1页 共 1 页
国内长途电话资费 2003-08-11
传真电报 2003-08-11

 
关于我们 | 版权说明 | 本站导读 | 设为首页 | 加入收藏 | 联系我们
中国铁通辽宁分公司 地址:中国沈阳市浑南新区科幻路八号 服务电话:10050 邮编:110168
技术支持:沈阳金创想有限公司