ASP显示new图标 调用问题

来源:百度知道 编辑:UC知道 时间:2024/06/23 01:55:29
调用在页面时,只显示NEW图标,不显示时间。
=========================================

Response.Write "<TR>" & vbCrLf
Response.Write "<TD width=100><UL class=nl><LI><a href='showguide.asp?id="&rs("id")&"' target='_blank' Title='标题名称:"&rs("gd_name")&" 浏览次数:"&rs("gd_count")&" 加入时间:"&rs("gd_date")&"'>"&left(rs("gd_name"),14)&"...</a></LI></ul>" & vbCrLf
if Rs("gd_date")>=date() then
Response.Write "<img src=images/new.gif border=0>" & vbCrLf
else
Response.Write "</TD>" & vbCrLf
Response.Write "<TD width=100>" & vbCrLf
Response.Write "<FONT color=""#999999"">"&month(Rs("gd_date"))&"月"&day(Rs("gd_date"))&"日</FONT >" & v

Response.Write "<TR>" & vbCrLf
Response.Write "<TD width=100><UL class=nl><LI><a href='showguide.asp?id="&rs("id")&"' target='_blank' Title='标题名称:"&rs("gd_name")&" 浏览次数:"&rs("gd_count")&" 加入时间:"&rs("gd_date")&"'>"&left(rs("gd_name"),14)&"...</a></LI></ul>" & vbCrLf
if Rs("gd_date")>=date() then
Response.Write "<img src=images/new.gif border=0>" & vbCrLf
Response.Write "</TD>" & vbCrLf
Response.Write "<TD width=100>" & vbCrLf
Response.Write "<FONT color=""#999999"">"&month(Rs("gd_date"))&"月"&day(Rs("gd_date"))&"日</FONT >" & vbCrLf
else
Response.Write "</TD>" & vbCrLf
Response.Write "