<% const MaxPerPage=18 dim totalPut dim CurrentPage dim TotalPages dim i,j dim keyword keyword=request("txtitle") if not isempty(request("page")) then currentPage=cint(request("page")) else currentPage=1 end if dim sql dim rs dim rstype dim typesql dim typeid,typename if not isEmpty(request("typeid")) then typeid=request("typeid") else typeid=1 end if set rstype=server.createobject("adodb.recordset") typesql="select * from type where typeid="&cstr(typeid) rstype.open typesql,conn,1,1 typename=rstype("type") rstype.close %> 成人免费无码成人影院日韩_最新亚洲卡一卡二卡三新区_久久综合精品国产一区二区三区无码_久久午夜夜伦鲁鲁片免费无码影视

蜜臀av一区二区_99久久99久久免费精品蜜桃_欧美喷潮久久久XXXXX_人妻少妇精品视频三区二区一区

<% sql="select * from learning where title like '%"&keyword&"%' and typeid="+cstr(typeid)+" order by articleid desc" Set rs= Server.CreateObject("ADODB.Recordset") rs.open sql,conn,1,1 if rs.eof and rs.bof then response.write "

沒有或沒有找到任何文章

" else totalPut=rs.recordcount totalPut=rs.recordcount if currentpage<1 then currentpage=1 end if if (currentpage-1)*MaxPerPage>totalput then if (totalPut mod MaxPerPage)=0 then currentpage= totalPut \ MaxPerPage else currentpage= totalPut \ MaxPerPage + 1 end if end if if currentPage=1 then showpage totalput,MaxPerPage,"index.asp" showContent showpage totalput,MaxPerPage,"index.asp" else if (currentPage-1)*MaxPerPage
<%do while not rs.eof%> <% i=i+1 if i>=MaxPerPage then exit do rs.movenext loop %>
職 位 名 稱 發布日期 點擊

  )" class="heizi"><%=rs("title")%>

<%=rs("dateandtime")%>

<%=rs("hits")%>

<% end sub function showpage(totalnumber,maxperpage,filename) dim n if totalnumber mod maxperpage=0 then n= totalnumber \ maxperpage else n= totalnumber \ maxperpage+1 end if end function %>
主站蜘蛛池模板: 疏勒县| 五大连池市| 庆阳市| 上蔡县| 石首市| 汽车| 樟树市| 北辰区| 墨竹工卡县| 博白县| 渝中区| 政和县| 龙陵县| 全南县| 太仓市| 静安区| 阿克陶县| 福贡县| 临漳县| 阳春市| 陆川县| 宁波市| 积石山| 临泽县| 东丰县| 乡宁县| 苏尼特左旗| 鲁甸县| 始兴县| 肥西县| 吴堡县| 湖州市| 台湾省| 武冈市| 玉环县| 文登市| 榆林市| 社会| 阿瓦提县| 阜城县| 九江市|