<% sort_number=conn.execute("select count(*) from info_sort where qtype='information' ")(0) if 1=int(sort_number) then sortid1=conn.execute("select top 1 id from info_sort where qtype='information' order by orderno asc,id asc")(0) response.Redirect("information_list.asp?sortid="&sortid1&"") end if %> 8814最强大的网站-首页|欢迎您点击 <%nav_bg=6%>

8814最强大的网站-首页|欢迎您点击

检查资讯

INFORMATION

当前位置:首页>检查资讯
<% set rsn=server.CreateObject("Adodb.recordset") sqln="select * from info_sort where qtype='information' order by orderno asc,id asc" Rsn.open sqln,conn,1,1 do while not rsn.eof %> <% if rsn("id")<>"" then num=conn.execute("select count(*) from query_info where sortid="&rsn("id")&" ")(0) if num=1 then %> <% sql="select top 1 * from query_info where sortid="&rsn("id")&" order by order_info asc,id asc" Rs.open sql,conn,1,1 if not(rs.eof) then %>
<%=rsn("SortName")%> ">MORE
"" then%> class="content fl" <%end if%>> <%=rs("Field1")%> ">[更多]
<%if rs("images")<>"" then%>
"/>
<%end if%>
<% end if rs.close %> <%else%>
<%=rsn("SortName")%> ">MORE
    <% sql="select top 7 * from query_info where sortid="&rsn("id")&" order by order_info asc,id asc" Rs.open sql,conn,1,1 i=0 do while not rs.eof i=i+1 %>
  • " title="<%=rs("subject")%>"><%=left(rs("subject"),26)%> [<%=formatdatetime(rs("addday"),2)%>]
  • <% rs.movenext loop rs.close %>
<%end if end if %> <% rsn.movenext loop rsn.close %>
Baidu
sogou