AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.111
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/modules/mod_djc2map/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/lyon/modules/mod_djc2map/mod_djc2map.php
<?php
/**
 * @package DJ-Catalog2
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 *
 */

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

if (!defined('DS')) {
	define('DS', DIRECTORY_SEPARATOR);
}

require_once(dirname(__FILE__).'/helper.php');
require_once(JPATH_BASE.'/components/com_djcatalog2/defines.djcatalog2.php');
require_once(JPATH_BASE.'/components/com_djcatalog2/helpers/route.php');
require_once(JPATH_BASE.'/components/com_djcatalog2/helpers/html.php');
require_once(JPATH_BASE.'/components/com_djcatalog2/helpers/theme.php');
require_once(JPATH_BASE.'/components/com_djcatalog2/helpers/djcatalog2.php');
require_once(JPATH_BASE.'/administrator/components/com_djcatalog2/lib/categories.php');
require_once(JPATH_BASE.'/administrator/components/com_djcatalog2/helpers/image.php');

Djcatalog2Helper::loadComponentLanguage();

$document= JFactory::getDocument();
$module_id = $module->id;

DJCatalog2ThemeHelper::setThemeAssets();

$module_css = array();
$module_float 	= $params->get('module_float','');
$module_width 	= $params->get('module_width','');
$module_height 	= $params->get('module_height','');
$module_text_align = $params->get('module_text_align','');
$columns = (int)$params->get('bootstrap_columns', 1);

if ($columns > 1) {
	$module_float = null;
	$module_width = null;
}

if ($module_float == 'left') {
	$module_css[] = 'float: left;';
	//$module_css[] = 'clear: right;';
	$module_css[] = 'margin: auto;';
} else if ($module_float == 'right') {
	$module_css[] = 'float: right;';
	//$module_css[] = 'clear: left;';
	$module_css[] = 'margin: auto;';
}
if ($module_text_align) {
	$module_css[] = 'text-align: '.$module_text_align.';';
}
if (preg_match('#^(\d+)(px|%)?$#', $module_width, $width_matches)) {
	$unit = 'px';
	$width = $width_matches[1];
	if (count($width_matches) == 3) {
		$unit = $width_matches[2];
	}
	$module_css[] = 'width: '.$width.$unit.';';
}
if (preg_match('#^(\d+)(px|%)?$#', $module_height, $height_matches)) {
	$unit = 'px';
	$height = $height_matches[1];
	if (count($height_matches) == 3) {
		$unit = $height_matches[2];
	}
	$module_css[] = 'height: '.$height.$unit.';';
}
if (!empty($module_css)) {
	$css_style = '#mod_djc_items-'.$module_id.' .mod_djc_item {'.implode(PHP_EOL, $module_css).'}';
	$document->addStyleDeclaration($css_style);
}

$helperClass = new modDjc2MapHelper($params);
$items = $helperClass->getData();

$layout = 'default';
require(JModuleHelper::getLayoutPath('mod_djc2map',$layout));
?>

Anon7 - 2022
AnonSec Team