| |
||||
| |
|
![]() |
||
![]() |
![]() |
![]() |
||
| |
||||
| |
|
|
|
|
| HOME |
<% if request("ID") <> "" then 'se il campo ID ² valorizzato, visualizza la singola notizia
set rsNews = Server.CreateObject("ADODB.RecordSet")
rsNews.ActiveConnection = "Driver={MySql ODBC 3.51 Driver}; Server=localhost; uid=root; pwd=inf75k15; database=memorialcimurri; option=3; port=3306;"
rsNews.Source = "Select * from tabnews where ID = " & request("ID")
rsNews.Open()
%>
<% = rsNews("Titolo") %>
<% if rsNews("Img") <> "" then %>
&act=edit">Modifica questa notizia | &act=canc">Cancella <% end if %><% if rsNews("NewsImg") = "Y" then %>">Guarda le immagini della news | <% end if %>">Inserisci immagini relative alla notizia <% = rsNews.Fields.Item("Testo").Value %> <% if rsNews("DidaImg") <> "" then %><% = rsNews("DidaImg") %> |
<% if Session("Loggaterrimo") = true then %>
Aggiungi news
<% end if %>
"><% =rsNotizie("Titolo") %> - <% = rsNotizie("DataG")%> <% = mesi(rsNotizie("DataM"))%> <%=rsNotizie("DataA")%> <% if Session("Loggaterrimo") = true then %>
&act=edit">Mod.
| &act=canc">Canc.
<% end if %> Tutte le notizie
|