?? 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 + -