<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <% sSql="Select * From CoolSiteData Where C_SiteClass = 7 and C_Recycle=False Order By C_ID Desc" oRs.open sSql,oConn,1,1 %> <% if oRs.bof and oRs.eof then response.redirect("/ver3.0/news/") else page=request.querystring("Page") oRs.PageSize = 5 if Not IsEmpty(page) then if Not IsNumeric(page) then page=1 else page = cint(page) end if if page > oRs.PageCount then oRs.AbsolutePage = oRs.PageCount page=oRs.pagecount elseif page <= 0 then page=1 oRs.AbsolutePage = 1 else oRs.AbsolutePage = page end if else page=1 oRs.AbsolutePage=1 end if end if %> 视频新闻-黎明重工科技股份有限公司
新闻中心
视频新闻
<% For i = 1 to oRs.PageSize if oRs.EOF then Exit For end if Title=oRs("C_SiteName") if len(oRs("C_Description"))<60 then rec_content=oRs("C_SiteDesc") else rec_content=oRs("C_Description") end if rec_content=replace(rec_content," ","") rec_content=left(trim(ClearHtml(rec_content)),72)&"..." if Len(Title)>25then NTitle=left(Title,23)&"..." else NTitle=Title end if response.Write("
") response.Write("
") response.Write("
") response.Write("
") response.Write("

"&""&NTitle&"

") response.Write("

"&rec_content&"

") response.Write("
") response.Write("
") oRs.movenext Next %>
<%if oRs.pagecount<>1 and oRs.pagecount<>0 then%> <%if page>1 then%> [首页] [上一页] <%if page [下一页] [尾页] <%else%> [下一页] [尾页] <%end if%> <%else%> [首页] [上一页] [下一页] [尾页] <%end if %> <%else%> [首页] [上一页] [下一页] [尾页] <%end if%> [页次:<%=page%>/<%=oRs.PageCount%>] [共<%=oRs.RecordCount%>篇 <%=oRs.PageSize%>篇/页] <%oRs.close()%>