發表于:2011-05-17 00:00:00來(lái)源:SOUAB.COM人(rén)氣:3374
<% 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圖标.請(qǐng)使用右鍵另存爲下載.謝謝