<th width="300">Titulo</th>
      <th width="150">Fecha</th>
      <th width="150">Opciones</th>
    </tr>
  </thead>
  <tbody>
                             
  <?php 
$publicacion->getNumeroDeRegistros();
$conteo = $publicacion->getRegistros();
//ahora dividimos el conteo por el numero de registros que queremos por pagina.
$max_num_paginas = intval($conteo / 3);
//en esto caso 10
// ahora obtenemos el segmento paginado que corresponde a esta pagina
$publicacion->setPage($page);
$result = $publicacion->getSegmentoPaginadoSinPublicar();
while ($row = mysql_fetch_array($result)) {
    $url = $row['url'] . '.html';
    // concatenamos el .html
    if ($row['imagen'] == '') {
        $imagen = 'ppnegocio-default.jpg';
    } else {
        $imagen = $row['imagen'];
    }
    ?>
      
  
      <tr>
      <td><button type="submit" name="check" value="<?php 
    echo $row['id_publicacion'];
    ?>