Código PHP:
<table class="table table-striped table-bordered table-hover" >
<thead>
<tr bgcolor="#999999">
<td>NOMBRE</td>
<td>APELLIDO</td>
<td>CELL</td>
<td>IP</td>
<td>CODIGO</td>
<td>FECHA DE CORTE</td>
</tr>
<?php do { ?>
<tr>
<td><a href="../contenido/buscar_cl.php?nombres=<?php echo $row_Recordset1['nombres']; ?>"> <?php echo $row_Recordset1['nombres']; ?> </a></td>
<td><?php echo $row_Recordset1['apellido']; ?> </td>
<td><?php echo $row_Recordset1['cell']; ?> </td>
<td><?php echo $row_Recordset1['ip']; ?> </td>
<td><?php echo $row_Recordset1['codigo']; ?> </td>
<td><?php echo $row_Recordset1['fecha_final']; ?> </td>
</tr>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
</tbody>
</table> <br />
<table width="150" border="0">
<tr>
<td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
<a href="<?php printf( "%s?pageNum_Recordset1=%d%s", $currentPage, 0, $queryString_Recordset1); ?> class="pagination" ">Primero</a>
<?php } // Show if not first page ?> </td>
<td><?php if ($pageNum_Recordset1 > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, max(0, $pageNum_Recordset1 - 1), $queryString_Recordset1); ?>">Anterior</a>
<?php } // Show if not first page ?></td>
<td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, min($totalPages_Recordset1, $pageNum_Recordset1 + 1), $queryString_Recordset1); ?>">Siguiente</a>
<?php } // Show if not last page ?></td>
<td><?php if ($pageNum_Recordset1 < $totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s", $currentPage, $totalPages_Recordset1, $queryString_Recordset1); ?>">Ultimo</a>
<?php } // Show if not last page ?></td>
</tr>
</table>