绞盘信息搜索结果

<% mmm=request("mmm") if mmm="" then mmm=0 sss=request("sss") ttt=request("ttt") ttt=LTRIM(RTRIM(ttt)) if sss="neirong" then set rs=server.createobject("adodb.recordset") sql ="select * from article where content like '%" &checkStr(ttt)& "%' order by dateandtime Desc" rs.open sql,conn,1,1%>

 查询结果——【内容】共有(<%=rs.recordcount%>)篇文章标题符合关键词:<%=ttt%>

<% end if if sss="biaoti" then set rs=server.createobject("adodb.recordset") sql ="select * from article where title like '%" &checkStr(ttt)& "%' order by dateandtime Desc" rs.open sql,conn,1,1%>

 查询结果——【标题】共有(<%=rs.recordcount%>)篇文章内容符合关键词:<%=ttt%>

<% end if %> <% if rs.eof and rs.bof then response.write "

关闭窗口】" response.end end if i=0 %>

<% i=i+1 rs.movenext if i=28 then exit do loop %>

标 题

加入日期

点击数

<% do while not rs.eof %>
 " target="_blank">.<%=rs("title")%> <%=rs("dateandtime")%> <%=rs("hits")%>

<%if mmm<>0 then%> <%="上页"%> <%end if%> <%if not rs.eof then%> <%="下页"%> <%end if%>

<% rs.close set rs=nothing conn.close set conn=nothing %>

<% rs.close set rs=nothing conn.close set conn=nothing %>