Hola
Pues yo intentaria con un if
algo así
ej:
Código PHP:
Ver original// Enlace Siguiente
if ($this->currentpage < $this->pages)
{
$nextPage = $this->row + $this->limit;
if($nextPage == 1 || $nextPage == 10)
echo "<td><a href=\"".$_SERVER['PHP_SELF']."?row=".$nextPage.$otherargs."\">$nexttext</a></td>\n";
}
saludos