如何用ASP代码 实现最近一两天的新闻后面加一个"new"标识
<%set rs_news=server.createobject("adodb.recordset")
sqltext4="select top 11 * from jishu where BigClassName='新闻中心' order by id desc"
rs_news.open sqltext4,conn,1,1
%>
</span>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<%i=0
do while not rs_news.eof%>
<tr align="center" valign="middle">
<td width="5%"><span class="a"><img src="Img/class.gif" width="10" height="10" /></span> </td>
<td width="54%" height="20" style='BORDER-bottom: #999999 1px dotted'> <div align="left"><a href="showjishu.asp?id=<%=rs_news("id")%>" target="_blank" class="a">
<%=cutstr(rs_news("title"),10)%></a></div></td>
<td width="41%" style='BORDER-bottom: #999999 1px dotted'><font color="#999999" >[<%=rs_news("AddDate")%>]</font></td>
</tr>
<%rs_news.movenext
i=i+1
loop
rs_news.close %>
</table>
请问各位大侠,上面这段代码如何使它在前 两天 的最新新闻后显示NEW小图标呢?????
拜托各位啦
谢啦~!`