news express Time Click
<% if request.QueryString("keyword")<>"" then set rs=server.CreateObject("adodb.recordset") sql="select * from system_text_info where title like '%"&trim(request.QueryString("keyword"))&"%' and pass=1 order by id desc" rs.open sql,conn,1,1 else set rs=server.CreateObject("adodb.recordset") sql="select * from system_text_info where sort_name_id="&request.QueryString("sort_name_id")&" and pass=1 order by id desc" rs.open sql,conn,1,1 end if if request.QueryString("keyword")="" and request.QueryString("sort_name_id")="" then response.Redirect("news.asp?sort_name_id=504&title=news express") end if %> <% for i=1 to x %>
" title="标题:<%= rs("title") %> 点击:<%= rs("click")%>次 时间:<%= rs("dateandtime") %>" target="_blank" class="STYLE24"> <%= rs("title") %> <%= rs("dateandtime") %> <%= rs("click") %>
<% rs.movenext next %>