Apartamentos Rurales La Coruja del Ebro.

<%=rs("nombre")%> <%=rs("nomtip")%> ">Descargar
<%
rs.movenext
next
%>
<% 'Si hay mas paginas a mostrar
If intPosicionRegistroPorPagina > 1 OR NOT rs.EOF Then
'Mostrar los links a otros resultados
Response.Write vbCrLf & " "
Response.Write vbCrLf & "
"
End If
'Cerrar tabla HTML
Set rs = Nothing
%>
"
Response.Write vbCrLf & " "
Response.Write vbCrLf & " "
Response.Write vbCrLf & " "
Response.Write vbCrLf & " "
Response.Write vbCrLf & "
"
Response.Write vbCrLf & " "
Response.Write vbCrLf & " "
Response.Write vbCrLf & " "
'Si hay mas paginas
If intPosicionRegistroPorPagina > 1 or NOT rs.EOF Then
End If
'Si el numero de pagina es > 1 mostrar anterior
If intPosicionRegistroPorPagina > 1 Then
Response.Write vbCrLf & " :: anterior "
End If
'Si hay mas paginas a mostrar mostrar los links a todas las paginas de resultados
If intPosicionRegistroPorPagina > 1 or NOT rs.EOF Then
'Bucle para mostrar el numero de paginas total con sus links
' For intNumeroPaginaLink = 1 to lngTotalNumeroPaginas
if intPosicionRegistroPorPagina>9 then
siguiente=intPosicionRegistroPorPagina+9
anterior=intPosicionRegistroPorPagina-9
if siguiente>lngTotalNumeroPaginas Then
siguiente=lngTotalNumeroPaginas
anterior=lngTotalNumeroPaginas-9
end if
else
if lngTotalNumeroPaginas>9 Then
siguiente=10
else
siguiente=lngTotalNumeroPaginas
end if
anterior=1
end if
For intNumeroPaginaLink = anterior to siguiente
'No hacer link si estamos sobre la q estamos visualizando
If intNumeroPaginaLink = intPosicionRegistroPorPagina Then
Response.Write vbCrLf & " " & intNumeroPaginaLink &""
Else
Response.Write vbCrLf & " " & intNumeroPaginaLink & " "
End If
Next
End If
'Si no es el final de los resualtados mostrar un link de proximos
If NOT rs.EOF then
Response.Write vbCrLf & " siguiente ::"
End If
'Finalizar tabla HTML
Response.Write vbCrLf & " "
Response.Write vbCrLf & "