ASP代码最新新闻显示NEW图标
<% dim m,n
n = (Rs("newsdate").Value)
m = datediff("d", n, date() )
if m<=7 then %><img src="images/new.gif" width="27" height="9" />
<% end If%>
<% if datediff("d",rs("newsdate"),date())<=7 then%><img src="images/new.gif" width="27" height="9">
<%end if%>
经测试有效
顺便提供一套new图标.请使用右键另存为下载.谢谢
附件下载:
NewImages.rar 11.84KB
NewImages.rar 11.84KB
最新评论
强大!
The purchases I make...
At last! Somonee who...
Good job mkanig it a...
How neat! Is it real...
Unparalleled accurac...
Thanky Thanky for al...
That's an inenguios ...
Holy szhinit, this i...
If you wrote an atri...