<%@LANGUAGE="VBSCRIPT"%> <% Dim Select_ville__MMColParam Select_ville__MMColParam = "acheres" if(Request.QueryString("Ville") <> "") then Select_ville__MMColParam = Request.QueryString("Ville") %> <% 'Ville=Request.querystring("ville") 'Response.write(ville) set Select_ville = Server.CreateObject("ADODB.Recordset") Select_ville.ActiveConnection = "dsn=vivre_courrier;" Select_ville.Source = "SELECT * FROM Articles WHERE Ville like '" + Replace(Select_ville__MMColParam, "'", "''") + "%'" Select_ville.CursorType = 0 Select_ville.CursorLocation = 2 Select_ville.LockType = 3 Select_ville.Open Select_ville_numRows = 0 %><% Dim Repeat1__numRows Repeat1__numRows = 10 Dim Repeat1__index Repeat1__index = 0 Select_ville_numRows = Select_ville_numRows + Repeat1__numRows %> <% ' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters ' create the list of parameters which should not be maintained MM_removeList = "&index=" If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "=" MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone="" ' add the URL parameters to the MM_keepURL string For Each Item In Request.QueryString NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item)) End If Next ' add the Form variables to the MM_keepForm string For Each Item In Request.Form NextItem = "&" & Item & "=" If (InStr(1,MM_removeList,NextItem,1) = 0) Then MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item)) End If Next ' create the Form + URL string and remove the intial '&' from each of the strings MM_keepBoth = MM_keepURL & MM_keepForm if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1) if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1) if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1) ' a utility function used for adding additional parameters to these strings Function MM_joinChar(firstItem) If (firstItem <> "") Then MM_joinChar = "&" Else MM_joinChar = "" End If End Function %> vivre à

  à ...

<% While ((Repeat1__numRows <> 0) AND (NOT Select_ville.EOF)) %> <% Repeat1__index=Repeat1__index+1 Repeat1__numRows=Repeat1__numRows-1 Select_ville.MoveNext() Wend %>
"><%=(Select_ville.Fields.Item("Ville").Value)%>