<% set maconnexion = server.CreateObject("ADODB.Connection") maconnexion.Open(Application("bd_ConnectionString")) function doExistFile (url) '---- Lit le fichier nommé name dans le répertoire root Dim retour Dim fichier Dim Lirefichier Set Fichier = Server.CreateObject("Scripting.FileSystemObject") If not fichier.FileExists(Server.mapPath(url)) Then ret = 0 else ret = 1 end if set LireFichier=nothing set Fichier=nothing doExistFile = ret End function if request("firstTime")="" then Session("CurrentPage")=0 end if Select Case Request.QueryString("direction") Case "Page" Session("CurrentPage")=Int(request("numPage")) Case "next" Session("CurrentPage")=Session("CurrentPage")+1 Case "prev" Session("CurrentPage")=Session("CurrentPage")-1 Case "" Session("CurrentPage")=Session("CurrentPage")+1 end Select const adOpenKeyset=1 Set objConnection = Server.CreateObject("ADODB.Connection") OBJConnection.Open(Application("bd_ConnectionString")) strSQL = strSQL & "select * from News order by adate DESC" set objRecordset = server.CreateObject("ADODB.Recordset") objRecordset.CursorLocation = 3 objRecordset.PageSize=3 objRecordset.Open strSQL,objConnection,adOpenKeyset %> Altitalia Groupe Immobilier - Transactions immobilières France, Côte d’Azur, Monaco, Italie, résidences secondaires, villas, appartements, investissements.
 
contact newsletter  

Où sommes nous? Revue de presse Spots TV News Contacts

Altitalia
Les offres et les News
<%if not objRecordset.eof then objRecordset.AbsolutePage = CLng(Session("CurrentPage")) %> <% dim i For i = 1 To objRecordset.PageSize if i=1 and request("firstTime")="" then objRecordset.movefirst end if %> <% objRecordset.movenext if objRecordset.EOF then exit for end if Next%>
<%=objRecordset("titreFr")%>
<%=objRecordset("contenuFr")%>

 

<% if CLng(Session("CurrentPage"))>1 then response.write "<<<  " end if for m = 1 to objRecordset.Pagecount if m = Session("CurrentPage") then response.write " "& m &"" else response.write " "& m &"" end if next if CLng(Session("CurrentPage"))>>>" end if objRecordset.Close objConnection.Close Set objRecordset = Nothing Set objConnection = Nothing else%>

 

 

liste vide

<%end if%>
<% stringIdArticle = "" sqla = "SELECT Article.idArticle from article where Article.isTemporaire=0 and isActif=1 order by dateEntree desc LIMIT 0,3" set rsa = maconnexion.Execute(sqla) if not rsa.eof then rsa.movefirst do while not rsa.eof stringIdArticle = stringIdArticle & rsa("idArticle") &"," rsa.movenext loop end if stringIdArticle = left(stringIdArticle,Len(stringIdArticle)-1) sql = " SELECT Article.idArticle, Article.*, theVilles.nomIt AS nom_ville, Agences.nom AS nom_Agence, Quartiers.nomIt as nom_quartier " sql =sql&" FROM ((Article INNER JOIN Agences ON Article.idAgence = Agences.idAgence) INNER JOIN Quartiers ON Article.idQuartier = Quartiers.idQuartier) INNER JOIN theVilles ON Quartiers.idVille = theVilles.idVille " sql =sql&" WHERE Article.idArticle In ("&stringIdArticle&") " set rs = maconnexion.Execute(sql) if not rs.eof then rs.movefirst do while not rs.eof if Len(rs("vignette"))>3 then srcImg = "../images_biens/"& rs("page") &"/"& Left(rs("vignette"),Len(rs("vignette"))-5) &".jpg" if doExistFile(srcImg)<1 then srcImg = "../old_files/images/noPhoto_Vignette.gif" end if else srcImg = "../old_files/images/noPhoto_zoom.gif" end if desc=Replace(replace(rs("descriptionIt"),"''","'"),chr(10),"
") %> <% rs.movenext loop end if %>
Cette page est consacrée aux informations de dernière minute.
"> ">

ref : <%=rs("ref")%>
<%=tabType(rs("idtype")-1)%>
(<%=tabTypologie(rs("idtypologie")-1)%>)

<%=rs("nom_ville")%>

 
Developed & Hosted by TAS France - ATSAT - © 2003 Altitalia - All rights reserved___