<%bigclassid=int(request.QueryString("bigclassid")) smallclassid=int(request.QueryString("smallclassid")) set rs3=server.CreateObject("adodb.recordset") rs3.open "select * from bigclass where bigclassid="&bigclassid&"",conn,1,1 %> <% set rs4=server.CreateObject("adodb.recordset") rs4.open "select * from bigclass where bigclassid="&bigclassid&"",conn,1,1 typeid=int(rs4("typeid")) %> <% set rs=server.CreateObject("adodb.recordset") if smallclassid="0" then rs.open "select * from news where bigclassid="&bigclassid&" order by istop desc,goodnews desc,UpdateTime desc",conn,1,1 end if if smallclassid<>"0" then rs.open "select * from news where smallclassid="&smallclassid&" order by istop desc,goodnews desc,UpdateTime desc",conn,1,1 set rs5=server.CreateObject("adodb.recordset") rs5.open "select * from smallclass where smallclassid="&smallclassid&"",conn,1,1 smallclassview=rs5("smallclassview") end if if smallclassid<>"0" then tit=rs5("smallclassname") End If tit=tit+rs4("bigclassname") %>
XML 地图 | Sitemap 地图