📄 subject.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 + -