?
Path : /home/admin/public_html/old/board/components/com_joomgallery/views/mini/tmpl/ |
Current File : /home/admin/public_html/old/board/components/com_joomgallery/views/mini/tmpl/default_pagination.php |
<?php defined('_JEXEC') or die('Direct Access to this location is not allowed.'); ?> <div class="jg_minicount"> <?php if($this->total < 1): ?> <?php echo JText::_('JGS_MINI_NO_IMAGES'); ?> <?php endif; if($this->total == 1): ?> <?php echo JText::_('JGS_MINI_ONE_IMAGE_FOUND'); ?> <?php endif; if($this->total > 1): ?> <?php echo JText::sprintf('JGS_MINI_IMAGES_FOUND', $this->total); ?> <?php endif; ?> </div> <div class="pagenav jg_paginationmini"> <?php if($this->totalpages > 1): if($this->page != 1): ?> <a class="jg_pagination_begin" href="<?php echo JRoute::_('index.php?view=mini&tmpl=component'); ?>" onclick="javascript:ajaxRequest('<?php echo JRoute::_('index.php?view=mini&format=raw', false); ?>', 1); return false;" class="jg_pagenav"> «« <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_BEGIN'); ?></a> <?php endif; if($this->page == 1): ?> <span class="jg_pagenav"> «« <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_BEGIN'); ?> </span> <?php endif; if($this->page - 1 > 0): ?> <a class="pagenav_prev jg_pagination_prev" href="<?php echo JRoute::_('index.php?view=mini&tmpl=component&page='.($this->page-1)); ?>" onclick="javascript:ajaxRequestPrevPage('<?php echo JRoute::_('index.php?view=mini&format=raw', false); ?>'); return false;" class="jg_pagenav"> « <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_PREVIOUS'); ?></a> <?php endif; if($this->page - 1 <= 0): ?> <span class="pagenav_prev jg_pagination_prev"> « <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_PREVIOUS'); ?> </span> <?php endif; ?> <?php echo JHTML::_('joomgallery.pagination', 'index.php?view=mini&tmpl=component&page=%u', $this->totalpages, $this->page, '', 'javascript:ajaxRequest(\''.JRoute::_('index.php?view=mini&format=raw', false).'\', %u); return false;'); ?> <?php if($this->page + 1 <= $this->totalpages): ?> <a class="pagenav_next jg_pagination_next" href="<?php echo JRoute::_('index.php?view=mini&tmpl=component&page='.($this->page+1)); ?>" onclick="javascript:ajaxRequestNextPage('<?php echo JRoute::_('index.php?view=mini&format=raw', false); ?>'); return false;" class="jg_pagenav"> <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_NEXT'); ?> »</a> <?php endif; if($this->page + 1 > $this->totalpages): ?> <span class="pagenav_next jg_pagination_next"> <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_NEXT'); ?> » </span> <?php endif; if($this->page != $this->totalpages): ?> <a class="jg_pagination_end" href="<?php echo JRoute::_('index.php?index.php?view=mini&tmpl=component&page='.$this->totalpages); ?>" onclick="javascript:ajaxRequest('<?php echo JRoute::_('index.php?view=mini&format=raw', false); ?>', <?php echo $this->totalpages; ?>); return false;" class="jg_pagenav"> <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_END'); ?> »»</a> <?php endif; if($this->page == $this->totalpages): ?> <span class="jg_pagination_end"> <?php echo JText::_('JGS_COMMON_PAGENAVIGATION_END'); ?> »» </span> <?php endif; endif; ?> </div>