<div class="pagination" style="width:100%">
    <div style="float:left;width:28%">
    </div>
    <div style="float:right;width:70%;">
        <!-- First page link -->
        <?php if (isset($this->previous)): ?>
              <a href="<?php echo $this->url(array('strana' => $this->first)); ?>">Zaciatok</a> |
        <?php else: ?>
                <span class="disabled">Zaciatok</span> |
        <?php endif; ?>
    
        <!-- Previous page link -->
    
        <?php if (isset($this->previous)): ?>
              <a href="<?php echo $this->url(array('strana' => $this->previous)); ?>">&lt; Predchadzajuci</a> |
        <?php else: ?>
            <span class="disabled">&lt; Predchadzajuci</span> |
        <?php endif; ?>
        <!-- Numbered page links -->
        <?php foreach ($this->pagesInRange as $page): ?>
            <?php if ($page != $this->current): ?>
                <a href="<?php echo $this->url(array('strana' => $page)); ?>"><?php echo $page; ?></a>
            <?php else: ?>
                <?php echo $page; ?>
            <?php endif; ?>
        <?php endforeach; ?>
        <!-- Next page link -->
        <?php if (isset($this->next)): ?>
              | <a href="<?php echo $this->url(array('strana' => $this->next)); ?>">Dalej &gt;</a> |
        <?php else: ?>
            | <span class="disabled">Dalej &gt;</span> |
        <?php endif; ?>
        <!-- Last page link -->
        <?php if (isset($this->next)): ?>
              <a href="<?php echo $this->url(array('page' => $this->last)); ?>">Koniec</a>
        <?php else: ?>
            <span class="disabled">Koniec</span>
        <?php endif; ?>
        &nbsp; Strana <?php echo $this->current; ?> z <?php echo $this->last; ?>
    </div>
 </div>