%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
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/controllers/ |
Upload File : |
<?php /** * @version $Id: controller.php 3159 2013-06-03 16:33:48Z 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 ; jimport('joomla.application.component.controller'); if (version_compare(JVERSION, '3.0', 'ge')) { class SigProController extends JControllerLegacy { public function display($cachable = false, $urlparams = array()) { parent::display($cachable, $urlparams); } public function execute($task) { JLoader::register('SigProHelper', JPATH_COMPONENT_ADMINISTRATOR.'/helper.php'); if (SigProHelper::checkPermissions($task)) { parent::execute($task); } else { return JError::raiseError(403, JText::_('JLIB_APPLICATION_ERROR_ACCESS_FORBIDDEN')); } } public function setRedirect($url, $msg = null, $type = null) { $galleryType = JRequest::getCmd('type', 'site'); $tmpl = JRequest::getCmd('tmpl', 'index'); $url .= '&type='.$galleryType.'&tmpl='.$tmpl; $editorName = JRequest::getCmd('editorName'); if ($editorName) { $url .= '&editorName='.$editorName; } $template = JRequest::getCmd('template'); if ($template) { $url .= '&template='.$template; } $language = JRequest::getCmd('sigLang'); if ($language) { $url .= '&sigLang='.$language; } parent::setRedirect($url, $msg, $type); } } } elseif (version_compare(JVERSION, '2.5', 'ge')) { class SigProController extends JController { public function display($cachable = false, $urlparams = false) { parent::display($cachable, $urlparams); } public function execute($task) { JLoader::register('SigProHelper', JPATH_COMPONENT_ADMINISTRATOR.'/helper.php'); if (SigProHelper::checkPermissions($task)) { parent::execute($task); } else { return JError::raiseError(403, JText::_('JLIB_APPLICATION_ERROR_ACCESS_FORBIDDEN')); } } public function setRedirect($url, $msg = null, $type = null) { $galleryType = JRequest::getCmd('type', 'site'); $tmpl = JRequest::getCmd('tmpl', 'index'); $url .= '&type='.$galleryType.'&tmpl='.$tmpl; $editorName = JRequest::getCmd('editorName'); if ($editorName) { $url .= '&editorName='.$editorName; } $template = JRequest::getCmd('template'); if ($template) { $url .= '&template='.$template; } $language = JRequest::getCmd('sigLang'); if ($language) { $url .= '&sigLang='.$language; } parent::setRedirect($url, $msg, $type); } } } else { class SigProController extends JController { public function display($cachable = false) { parent::display($cachable); } public function setRedirect($url, $msg = null, $type = null) { $galleryType = JRequest::getCmd('type', 'site'); $tmpl = JRequest::getCmd('tmpl', 'index'); $url .= '&type='.$galleryType.'&tmpl='.$tmpl; $editorName = JRequest::getCmd('editorName'); if ($editorName) { $url .= '&editorName='.$editorName; } $template = JRequest::getCmd('template'); if ($template) { $url .= '&template='.$template; } $language = JRequest::getCmd('sigLang'); if ($language) { $url .= '&sigLang='.$language; } parent::setRedirect($url, $msg, $type); } } }