ho questo problema:
ho creato questo codice con ultradev ma in pratica mi visualizza 9 foto in una pagina (horizzontallooper 3 row 3 columns)

ma non riesco a inserire in fondo alla pagina sotto le foto un comando che mi facci andare alla prossima pagina con le altre 9 foto e che poi vada avanti ancora e poi mi faccia tornare indietro.

qualche anima gentile mi sa inserire questo codice asp nella mia pagina?
io so pochissimo di ASP e non so dove inserire o cosa toccare!

<%@LANGUAGE="VBSCRIPT"%>

<% tipo = Request.QueryString("tipologia")%>

<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_database_STRING
Recordset1.Source = "SELECT * FROM foto WHERE tipologia LIKE '%%%" & tipo & "%%%' ORDER BY id DESC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<%
Dim HLooper1__numRows
HLooper1__numRows = 9
Dim HLooper1__index
HLooper1__index = 0
Recordset1_numRows = Recordset1_numRows + HLooper1__numRows
%>
<%
Dim MM_paramName
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth

Dim MM_removeList
Dim MM_item
Dim MM_nextItem

' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If

MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""

' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next

' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_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)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If

' 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
%>
<html>
<head>

<title>Documento senza titolo</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV=keywords CONTENT="sfondi, desktop, gratis, free, sfondi pc, wallpaper, sexy foto, fotografie alta risoluzione, sms gratis">

<link href="immagini/css.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>

</td>
</tr>
</table>

<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="187">

</td>
<td width="583" valign="top">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center">
<table>
<%
startrw = 0
endrw = HLooper1__index
numberColumns = 3
numrows = 3
while((numrows <> 0) AND (Not Recordset1.EOF))
startrw = endrw + 1
endrw = endrw + numberColumns
%>
<tr align="center" valign="top">
<%
While ((startrw <= endrw) AND (Not Recordset1.EOF))
%>
<td>

[img]sfondi/<%=(Recordset1.Fields.Item([/img]">

<A HREF="dett_foto.asp?<%= MM_keepBoth & MM_joinChar(MM_keepBoth) & "id=" & Recordset1.Fields.Item("id").Value %>">Vai
alla foto</A></p></td>
<%
startrw = startrw + 1
Recordset1.MoveNext()
Wend
%>
</tr>
<%
numrows=numrows-1
Wend
%>
</table>
</div></td>

</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>

</td>
</tr>
</table>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>