<?php if ($result): ?>
<div>
<?php
	$counter = $count;
	$contador = 0;
?>
    <?php foreach ($result as $pagina) : ?>
    <?php $contador++; ?>
    <a style="font-size:12px;" title="<?php echo $this->escapeTitle($pagina->titulo)?>" href="<?php echo $this->link(($pagina->url ? '/go/' . $pagina->url : '/cms/view/id/' . $pagina->id)); ?>" ><?php echo $this->escapeTitle(htmlentities($pagina->titulo, ENT_NOQUOTES, CHARSET)); ?></a><?php if($contador < $count){ echo "&nbsp;"; } ?>
    <?php endforeach; ?>
</div>
<?php endif; ?>