Parte 3:
Código:
<table width="567" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="75%">
Mostrando desde el artículo, noticia, o lo que sea <%=FormatNumber(desde,0,,,-1)%> al <%=FormatNumber(hasta,0,,,-1)%>, de un total de <%=FormatNumber(totalregistros,0,,,-1)%>
</td>
<td width="25%" align="right">
Página <%=pagina_actual%> de <%=cant_paginas%>
</td>
</tr>
</table>
<br/><br/>
<table width="567" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td align="center">
<br/><br/>
<%
'Montamos el bucle para mostrar los registros
registro_mostrado = 0
Do while registro_mostrado < mostrar and not rs.eof
%>
<table width="541" border="0" align="center" cellpadding="0" cellspacing="0" class="tabla_resultados3">
<tr>
<td width="60%" valign="top">
<table width="348" cellspacing="0" cellpadding="0" border="0" class="textoencabficha">
<tr>
<td width="358"><div align="left" class="texto_nombrefq"><%=Ucase(rs("campo4"))%></div></td>
</tr>
<tr>
<td><br><div align="left"><%=rs("campo5")%></div></td>
</tr>
<tr>
<td><br><div align="left">Total: <%=rs("campo6")%></div>
<p></p></td>
</tr>
<tr>
<td><br><div align="left"><a href="ficha.asp?id=<%=rs("id")%>" class="texto_protec_datos">ver mas...</a></div>
<p></p></td>
</tr>
</table>
</td>
<td width="40%" align="left" valign="top">
<table width="214" border="0">
<tr>
<td width="213" height="152"><div align="left"><a href="ficha.asp?id=<%=rs("id")%>"><img src="imagenes/<%=rs("logo")%>" alt="<%=rs("campo6")%>" width="150" border="0" align="right" /></a> </div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<%
'sumamos 1 al registro mostrado
registro_mostrado = registro_mostrado + 1
'nos movemos al próximo registro
rs.MoveNext
Loop
%>
</td>
</tr>
</table>
<%
'en el caso de que no haya registros en la BD, mostramos un mensaje
else
%>
<table width="567" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center">
No hay registros en la base de datos.
</td>
</tr>
</table>
<%
'finalizamos el condicional
end if
'Cerramos y limpiamos todo
Conn.close
rs.close
Set Conn = nothing
Set rs = nothing
%>
<table width="567" border="0" cellpadding="0" cellspacing="0">
<tr><td align="center">
<%=BarraDeNavegacion(cant_paginas, pagina_actual)%>
</td></tr>
</table>
<%
'finalizamos el condicional
end if
%>
Creo que no me he dejado nada...
Siento que el código no esté bien alineado, y no se puedan leer los condicionales, y demás, correctamente, pero el foro me lo ha cambiado (yo lo había puesto bien).
Junta las 3 partes, y listo. Espero que te funcione.
Salu2