| 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/montpellier/plugins/engagebox/image/tmpl/ |
Upload File : |
<?php
/**
* @package EngageBox
* @version 7.0.0 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\Uri\Uri;
use Joomla\Registry\Registry;
$image = new Registry($box->params->get("image"));
$source = $image->get("type", "1") == "1" ? Uri::root() . $image->get("imagefile") : $image->get("imageurl");
$onclick = $image->get("onclick", "url");
$target = $image->get("newtab") ? "_blank" : "_self";
$url = $onclick == "url" ? $image->get("url", "#") : "#";
$cmd = $image->get("cookie") ? "closeKeep" : "close";
$alt = $image->get("alt");
$width = $image->get("width", "auto");
$height = $image->get("height", "auto");
$class = $image->get("class");
?>
<a data-ebox-cmd="<?php echo $cmd ?>"
<?php if ($onclick == "url") { ?>
data-ebox-prevent="0"
target="<?php echo $target ?>"
rel="noopener"
<?php } ?>
href="<?php echo $url; ?>">
<img
src="<?php echo $source ?>"
width="<?php echo $width ?>"
height="<?php echo $height ?>"
alt="<?php echo $alt ?>"
class="<?php echo $class?>"
/>
</a>