 |
 |
 |
 |
<%
set conntemp=server.createobject("adodb.connection")
conntemp.open "upd_db"
i=0
sql= "Select * from flaugergues_news_en order by date_crea desc;"
set rstemp=conntemp.Execute (sql)
if rstemp.eof OR rstemp.bof then
%>
No news available...
<%
else
do while not rstemp.eof
%>
<% if i=0 then %>
<% =rstemp.fields("titre") %>
Date :
<% =rstemp.fields("date_crea") %>
">Read
this news
All available news
<% end if %>
<% i=1 %>
<%
rstemp.movenext
loop
end if
conntemp.close
%>
|
|
|
 |
|
|