<% mypage=request("page") If mypage="" then mypage=1 end if if request("ntype")="" then sql="select * from news order by nid desc" else sql="select * from news where ntype='"& request("ntype") &"' order by nid desc" end if rsjj.open sql,conn,1,1 '=== rsjj.pagesize=20 g_count=rsjj.recordcount maxpages=cint(rsjj.pagecount) maxrecs=cint(rsjj.pagesize) if(not rsjj.bof and not rsjj.eof ) then rsjj.absolutepage=mypage end if howmanyrecs=0 rec = 0 '=== %>

<%=request("ntype")%>教育资讯

<% if maxpages > 1 then if Request.QueryString("page") = "" then pge = 1 else pge = Request.QueryString("page") end if scriptname=request.servervariables("script_name") Response.Write ">>>共[" & g_count & "]条信息 共[" & maxpages & "]页 每页[" & 20 & "]条 " for counter=1 to maxpages if counter <> cint(pge) then ref=" [" & counter & "] " response.write ref & " " Else Response.Write "" & counter & " " End if next End if %>
<% color=0 do until rsjj.eof or rsjj.bof or rec=20 color=color+1 if color=1 then %> <% else color=0 %> <% end if rsjj.movenext rec=rec+1 loop rsjj.close %>
<%=rsjj("nid")%> .html" title="<%=rsjj("ntitle")%> - <%=rsjj("ntime")%>" target="_blank"><%=rsjj("ntitle")%> <%=rsjj("ntime")%>
<%=rsjj("nid")%> .html" title="<%=rsjj("ntitle")%> - <%=rsjj("ntime")%>" target="_blank"><%=rsjj("ntitle")%> <%=rsjj("ntime")%>
<% if maxpages > 1 then if Request.QueryString("page") = "" then pge = 1 else pge = Request.QueryString("page") end if scriptname=request.servervariables("script_name") Response.Write ">>>共[" & g_count & "]条信息 共[" & maxpages & "]页 每页[" & 20 & "]条 " for counter=1 to maxpages if counter <> cint(pge) then ref=" [" & counter & "] " response.write ref & " " Else Response.Write "" & counter & " " End if next End if %>