⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 subject.asp

📁 视频源代码 视频源代码
💻 ASP
字号:
<%response.expires=0%>
<!--#include file="../admin/inc/conn.asp"-->
<%
sql="select categorypath,categoryname,categoryindex from category where categorysort='news' and categoryindex like '%.%' order by categoryid ASC"
rs.open sql,conn,1,1
if not rs.eof then
  category=rs.getrows
end if
rs.close

Set rs=nothing
Set conn=nothing

if isarray(category) then
  for i=0 to ubound(category,2)
    csort=split(category(2,i),".")
    if ubound(csort)=1 then
      for j=0 to ubound(category,2)
        jsort=split(category(2,j),".")
        if ubound(jsort)=2 and instr(category(2,j),category(2,i))>0 then
'response.write "document.write('[<a href="""&category(0,i)&""">"&category(1,i)&"</a>] <a href="""&category(0,i)&"/"&category(0,j)&""">"&category(1,j)&"</a>');"
response.write "document.write('<a href="""&category(0,i)&""">["&category(1,i)&"] "&category(1,j)&"</a><br>');"
        end if
        Set jsort=nothing
      next
    end if
    Set csort=nothing
  next
end if
Set category=nothing
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -