您现在的位置:首页 > 资讯中心  
<% '参数设置 pagesize=20 '每页显示的文章数量 classid=1 %> <% sql="select * from article where passed=true " if classid<>"" then if instr(classid,",") then sql=sql&" and classid in ("&classid&")" else sql=sql&" and classid="&classid end if end if sql=sql&" order by ontop,updatetime desc,articleid desc,hits desc" set mypg=new jcpageclass mypg.getsql=sql mypg.getconn=conn mypg.pagesize=pagesize set rs=mypg.getrs() i=0 while not (rs.eof or rs.bof) and i" i=i+1 rs.movenext wend %>
" response.Write("·"&rs("title")&"") response.write "("&month(rs("updatetime"))&"-"&day(rs("updatetime"))&")
<%call mypg.showpage %>