PHP基础
PHP教程
php框架
JavaScript
asp.net
AJAX
正则表达式
ASP
输入
banner图
图片脚本
导航/分类
asp中最新新闻显示new图片的实现代码
2天内的现实new文字
<%if DateDiff("d",rs("date"),date())<2 then%><font color="#4FC5D9">NEW</font><%end if%>
七天之内显示new图片
<%if Date()-rs("news_date")<7 then %> <img border="0" src="imges/new.gif" ><%end if%>