请求帮忙修改公告通知栏
本人想在以下公告通知栏代码里添加当天发表新公告的标题后加上一个 New 的图标(图标的位置在Images文件夹里),第二天就不再显示 New 图标。请朋友帮忙解决。谢谢!!!
<td align="center" bgcolor="#FFFFFF">
<div id="demoa" style="OVERFLOW: hidden; WIDTH: 365px; HEIGHT: 193px">
<div id="demoa1">
<div align="left">
<table width="371" border="0" cellpadding="0" cellspacing="0" id="table12">
<%
Set Rsb=Conn.Execute("select top 10 * from "& db_EC_Board_Table&" order by dateandtime desc")
if Rsb.Bof and Rsb.Eof then
Response.Write "<tr><td align=center>暂无公告</td></tr>"
Else
Do While Not Rsb.Eof
%>
<tr>
<td height="18" align="left" class="blacklink" width="231"><div class="side_con">
<img border="0" src="icon3.gif" width="26" height="12"><a href="E_Board_News.asp?ID=<%=rsb("ID")%>" class="middle" target="_blank"><%=CutStr(htmlencode4(Rsb("title")),30)%></a></div></td>
<td height="18" align="left" class="blacklink" width="140">
<p><font face="Impact"><a href="E_Board_News.asp?ID=<%=rsb("ID")%>" class="middle" target="_blank"> <%=rsb("dateandtime")%></a></font></td>
</tr>
<%
Rsb.Movenext
Loop
End If
Rsb.Close
Set Rsb=Nothing
%>
</table>
</div>
</div>
<div id="demoa2"></div>
</div>
</td>
[ 本帖最后由 zpfycms 于 2012-9-12 17:51 编辑 ]