📄 index_model.asp
字号:
<%sub index_model()
openmodel
sql="SELECT top 8 showurl,cs_pic FROM coolsites ORDER BY cs_id DESC"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="3%" background="images/tablebg.gif"><img src="images/mleft.gif"></td>
<td width="38%" background="images/tablebg.gif" class="newshead"> :::::
NEW Model ::::::</td>
<td width="54%" align="right" background="images/tablebg.gif"> </td>
<td width="5%" align="right" background="images/tablebg.gif"><img src="images/mright.gif"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height="5"></td></tr>
<tr><td align="center"><marquee behavior="alternate" width="95%" scrolldelay="120" onMouseOut=this.start() onMouseOver=this.stop()>
<%do while not rs.eof%>
<img src="<%=rs("cs_pic")%>" border="1" width="170" height="130" onclick="window.open('<%=rs("showurl")%>');return false;" style="CURSOR: hand;filter:alpha(opacity=60)" onmouseover="javascript:toup2(this)" onMouseOut="javascript:todown2(this)">
<%rs.movenext
loop
%></marquee>
</td>
</tr>
<tr>
<td colspan="2" align="right"><a href="model.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 + -