<? 
  global $lang;
  
  $this -> page['language']['seo_link'] ? $link = $this -> page['language']['seo_link'] : $link = 's-' . $this -> page['id'] . '-' . \S::seo( $this -> page['language']['title'] );
?>
<ul class="pager">
  <? if ( $this -> bs > 1 ):?>
    <li>
      <a href="/<?= $link;?>"><img alt="" src="/upload/filemanager/icons/double-left.svg" /></a>
    </li>
    <li>
      <? if ( $this -> bs - 1 > 1 ):?>
        <a href="/<?= $link;?>-s-<?= $this -> bs - 1;?>"><img alt="" src="/upload/filemanager/icons/left.svg" /></a>
      <? else:?>
        <a href="/<?= $link;?>"><img alt="" src="/upload/filemanager/icons/left.svg" /></a>
      <? endif;?>
    </li>
  <? else:?>
    <li>
      <a href="#" class="inactive"><img alt="" src="/upload/filemanager/icons/double-left.svg" /></a>
    </li>
    <li>
      <a href="#" class="inactive"><img alt="" src="/upload/filemanager/icons/left.svg" /></a>
    </li>
  <? endif;?>
    <li>
      <span><?= $this -> bs ;?> <?= $lang['z'];?> <?= $this -> ls;?></span>
    </li>
  <? if ( $this -> bs < $this -> ls ):?>
    <li>
      <a href="/<?= $link;?>-s-<?= $this -> bs + 1;?>"><img alt="" src="/upload/filemanager/icons/right.svg" /></a>
    </li>
    <li>
      <a href="/<?= $link;?>-s-<?= $this -> ls;?>"><img alt="" src="/upload/filemanager/icons/double-right.svg" /></a>
    </li>
  <? else:?>
    <li>
      <a href="#" class="inactive"><img alt="" src="/upload/filemanager/icons/right.svg" /></a>
    </li>
    <li>
      <a href="#" class="inactive"><img alt="" src="/upload/filemanager/icons/double-right.svg" /></a>
    </li>
  <? endif;?>
</ul>