📄 news_owne_js.asp
字号:
<!--#include file="conn.asp"-->
document.write("<head><meta http-equiv='Content-Language' content='zh-cn'><meta http-equiv='Content-Type' content='text/html; charset=gb2312'><meta name='robots' content='none'></head>");
document.write("<table border=0 cellpadding=<%=line%> cellspacing=0 width=100%>");
<%
bigclass=trim(request.QueryString("title"))
n=request("n")
if n="" then
n=10
end if
if bigclass<>"" then
sql="select * from NEWS where bigclassname='"&bigclass&"' order by time desc"
set rs=conn.execute(sql)
end if
%>
document.write("<table border=0 cellpadding=<%=line%> cellspacing=0 width=100%>");
<%
do while not rs.eof
if rs("url")<>"" then
url=rs("url")
else
url="admin/files/"&rs("bh")&".html"
end if
title=rs("title")
path="images/page_plugin.png"
font="9"
%>
document.write("<tr><td width=1 align=left align=center></td><td>");
document.write("</td><td align=left><img src=<%=path%>>");
document.write("<a href=<%=url%> target=_blank><font color=#666666 style='font-size:<%=font%>pt'><%=title%></font></a> ");
document.write("</td>");
<%
n=n-1
if n<1 then exit do
rs.movenext
loop
%>
document.write("</table>");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -