📄 gg.asp
字号:
<!--#include file="../conn.asp"-->
<!--#include file="Const.asp"-->
<%
if Application(BBSname&"gg")="" then
sql="select top 20 BoardID,Subject,FileName,by2 from BT_Topic where by2='Y'"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if not (rs.bof and rs.eof) then
gg=""
rs.MoveLast
while not rs.Bof
gg=gg+"<a href=../board/bbs"+cstr(rs("BoardID"))+"/"+rs("FileName")+">"+rs("Subject")+"</a> "
rs.MovePrevious
wend
else
gg="没有任何公告"
end if
gg="<marquee scrollamount=1 scrolldelay=50 width=400>公告: "+gg+"</marquee>"
gg="document.write(""" & gg & """);"
Application(BBSname&"gg")=gg
Response.Write gg
else
Response.Write Application(BBSname&"gg")
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -