<% 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 %> 久久精品国内偷自一区,国内高清久久久久久久久,久久精品国产999大香线焦,国产精品天堂avav在线,亚洲一区二区欧美日韩

蜜臀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 %>
主站蜘蛛池模板: 新余市| 汉源县| 巫溪县| 绍兴市| 余庆县| 特克斯县| 衡东县| 阜平县| 忻州市| 大悟县| 赫章县| 麻城市| 兴仁县| 长阳| 仙桃市| 马边| 穆棱市| 德阳市| 基隆市| 宜宾市| 普格县| 永福县| 肥城市| 武义县| 射洪县| 自贡市| 襄城县| 黔江区| 黑龙江省| 平南县| 正定县| 临沧市| 论坛| 余干县| 正安县| 应城市| 宜黄县| 剑阁县| 霍邱县| 西盟| 乌鲁木齐县|