<%dim Sqlnote2
Sqlnote2= "SELECT Top 8 * note1 ORDER BY id DESC"
Call OPENDB ()
Rs.Open sqlnote2,conn,1,1
If not rs.eof then
Do as not rs.eof
%>
<tr>
<TD width= "5" height= "align=" "left" bgcolor= "#FFFFFF" > </td>
<TD width= "169" height= "align=" "left" bgcolor= "#FFFFFF" > <a href= "<%=rs (" File_path ")%>" target= "_blank" class= "prodcut" title= "<%=rs (" Title ")%>" ><%=rs ("title")%></a>
<% if RS ("Send_date") =date () Then
Response.Write ("Else Response.Write (RS ("Send_date"))
End If%></td>
<TD width= "1" height= "5" align= "left" bgcolor= "#FFFFFF" > </td>
</tr>
<%
Rs.movenext
Loop%>
<tr >
<TD colspan= "3" align= "right" bgcolor= "#FFFFFF" ><a href= "note.asp Tutorial" class= "page" > More information ...</a> </td>
</tr>
<%
Else
%>
<tr class= "Button3" >
<TD colspan= "3" bgcolor= "#FFFFFF" > No notification Notice </td>
</tr>
<%
End If
Call Closedb ()
%>
Original reprint of this site annotated www.111cn.net/asp/asper.html