%@ Language=VBScript %>
<% maxpagina=20 cnNews.open Set rs = Server.CreateObject("ADODB.Recordset") if Request.QueryString("let") ="" then lista=true sSQL="SELECT * FROM Notizie ORDER BY ID DESC " else lista=false sSQL="SELECT * FROM Notizie Where ID=" + cstr(Request.QueryString("let")) end if if sSQL<>"" then rs.Open sSQL,cnNews,3,1 if rs.RecordCount>0 then rs.MoveFirst else sSQL="" end if if Request.QueryString("pag")="" then pagina=1 else pagina=cint(Request.QueryString("pag")) end if end if %>![]() |
||||||||||||||||
<% if lista=true then
if rs.RecordCount>0 then
%>
|
||||||||||||||||