📄 news.asp
字号:
<% i=0 %>
<%sql="select top 1 * from news order by news_id desc"
rs.open sql,conn,3,3%>
<% do while not rs.eof and i<=1 %>
<table width="135" cellspacing="0" cellpadding="5">
<tr><td><table width="135" cellspacing="0" cellpadding="2" style="filter:glow(color=red, strength=2)">
<tr><td align="left"><font color=ffffff>● <%=rs("news_title")%></font></td></tr></table></td></tr>
<tr><td>
<a href="newsweb.asp?idd=<%=rs("news_id")%>" target="_blank">
<%if len(rs("news_content"))>96 then
news_content=left(rs("news_content"),96)
response.write news_content
response.write "……"
else
response.write rs("news_content")
end if
%>
</a>
<font color=cccccc>(<%=rs("news_date")%>)</font><br></td></tr></table>
<%i=i+1
rs.movenext
loop
rs.close%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -