📄 index_pic.asp
字号:
<%sub index_pic()
openpic
sql="SELECT top 10 cs_pic,cs_id FROM pic ORDER BY cs_id DESC"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<table width="554" border="0" height=22 align="center" cellpadding="0" cellspacing="0" >
<tr><td height=30><img src=images/index_pic.jpg border=0 width=554></td></tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height="5"></td></tr>
<tr><td align="center" background=images/dipian.gif height=164><marquee behavior="alternate" width="99%" scrolldelay="120" onMouseOut=this.start() onMouseOver=this.stop()>
<%do while not rs.eof%> <img src="<%=rs("cs_pic")%>" width=160 height=120 border="1" onclick="window.open('picredirectcs.asp?cs_id=<%=rs("cs_id")%>','newwin');return false;" style="CURSOR: hand;filter:alpha(opacity=70)" onmouseover="javascript:toup2(this)" onMouseOut="javascript:todown2(this)">
<%rs.movenext
loop
%></marquee>
</td>
</tr>
<tr>
<td colspan="2" valign="top" background="images/dotlineh.gif" height="1"></td>
</tr>
<tr>
<td colspan="2" align="right"><font color=#dddddd>创意、超想、精品…</font> <a href="z_pic.asp"><img src="images/bottom.gif" border="0" alt="More News"></a></td>
</tr>
</table>
<%
rs.close
set rs=nothing
end sub%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -