Your IP : 216.73.216.209


Current Path : /home/megadansyp/www/components/com_phocadownload/views/category/tmpl/
Upload File :
Current File : /home/megadansyp/www/components/com_phocadownload/views/category/tmpl/default_pagination.php

<?php
/* @package Joomla
 * @copyright Copyright (C) Open Source Matters. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 * @extension Phoca Extension
 * @copyright Copyright (C) Jan Pavelka www.phoca.cz
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 */
 defined('_JEXEC') or die('Restricted access');

$this->t['action'] = str_replace('&amp;', '&', $this->t['action']);
//$this->t['action'] = str_replace('&', '&amp;', $this->t['action']);
$this->t['action'] = htmlspecialchars($this->t['action']);

echo '<form action="'.$this->t['action'].'" method="post" name="adminForm">'. "\n";
echo '<div class="pd-cb">&nbsp;</div>';
echo '<div class="pgcenter"><div class="pagination">';

if ($this->t['p']->get('show_ordering_files') || $this->t['p']->get('show_pagination_limit') || $this->t['p']->get('show_pagination')) {
	echo '<div class="pginline">';
	if ($this->t['p']->get('show_ordering_files')) {
		echo JText::_('COM_PHOCADOWNLOAD_ORDER_FRONT') .'&nbsp;'.$this->t['ordering']. ' &nbsp;';
	}

	if ($this->t['p']->get('show_pagination_limit')) {

			echo JText::_('COM_PHOCADOWNLOAD_DISPLAY_NUM') .'&nbsp;'
			.$this->t['pagination']->getLimitBox() . ' &nbsp;';

	}
	if ($this->t['p']->get('show_pagination')) {
		echo $this->t['pagination']->getPagesCounter();
	}
	echo '</div>';
}

if ($this->t['p']->get('show_pagination')) {
	echo '<div style="margin:0 10px 0 10px;display:inline;" class="sectiontablefooter'.$this->t['p']->get( 'pageclass_sfx' ).'" id="pg-pagination" >'
		.$this->t['pagination']->getPagesLinks()
		.'</div>';

		/*.'<div style="margin:0 10px 0 10px;display:inline;" class="pagecounter">'
		.$this->t['pagination']->getPagesCounter()
		.'</div>';*/
}

echo '</div></div>'. "\n";

//echo '<input type="hidden" name="controller" value="category" />';
echo Joomla\CMS\HTML\HTMLHelper::_( 'form.token' );
echo '</form>';
?>