?? adv01.asp
字號(hào):
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../advconn.asp"-->
<!--#include file="../responsebuff.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>廣告</title>
<style type="text/css">
<!--
.V14 {
font-size: 14px;
text-decoration: none;
}
-->
</style>
</head>
<body scroll=no bgcolor="#FFFFEF" leftmargin="0" topmargin="0" oncontextmenu="return false" onselectstart="return false" oncopy="return false">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="V14">
<tr>
<td height="28" align="left" valign="middle"><font color="#FF0000"> </font>
<!--behavior="alternate"-->
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2" scrolldelay="0" direction="left">
<%
set rs_broad=server.createobject("adodb.recordset")
sql="select * from S_broad where sign=1 order by id asc"
rs_broad.open sql,conn,1,1
if rs_broad.bof or rs_broad.eof then
rs_broadNULL=True'為空
else
rs_broadNULL=False
end if
if rs_broadNULL then
response.write("<font color=""#FF0000""><strong>暫無公告內(nèi)容</strong> </font>")
else
do while not rs_broad.eof
%>
<font color="#FF0000"><strong><%=rs_broad("title")%>:</strong></font><%=rs_broad("content")%>
<%
rs_broad.movenext
loop
end if
rs_broad.close
set rs_broad=nothing
%>
</MARQUEE></td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -