<% option explicit %> <%dim rs,sql,typeid,number,theday,curpage,i typeid=trim(request("typeid")) if typeid="" then response.write "错误!版面编号不能为空!返回" response.end end if set rs=server.createobject("adodb.recordset") '每页显示的文章数 rs.open "select morenumber from news_parameter where parameterid=1",conn,1,1 if not rs.bof and not rs.eof then number=rs("morenumber") else number=50 end if rs.close rs.open "select typename from type where typeid=" & cstr(typeid),conn,1,1 if not rs.bof and not rs.eof then sql=rs("typename") end if rs.close set rs=nothing set rs=server.createobject("adodb.recordset") rs.open "select * from news where typeid=" & cstr(typeid) & " and audit=1 order by ntime DESC",conn,1,1 if err.number <> 0 then response.write "数据库出错" else %> 兴安盟门户网站
今天是:  \ 设为首页 \ \  联系我们 \  \加入收藏夹 \  \ 请您留言 \    
  您现在的位置: 兴安盟门户网站 >> 更多
        欢 迎 浏 览

公  告  栏

 

关闭窗口】     
  
    关注三农问题:建设社会主义新农村(专题网)
    中美高峰会  共建“和谐世界”2006年胡锦涛主席五国行
    教育专题: “文明办网、文明上网” 大兴网络文明之风
  more    



 
科右中旗
<% end if %>