uawdijnntqw1x1x1
IP : 216.73.216.219
Hostname : webm009.cluster128.gra.hosting.ovh.net
Kernel : Linux webm009.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
chauffn
/
vuzelia
/
20230
/
.
/
plugins
/
maximenuck
/
adsmanager
/
adsmanager.php
/
/
<?php /** * @copyright Copyright (C) 2020 Cédric KEIFLIN alias ced1870 * https://www.template-creator.com * https://www.joomlack.fr * @license GNU/GPL * */ defined('_JEXEC') or die('Restricted access'); jimport('joomla.event.plugin'); class plgMaximenuckAdsmanager extends JPlugin { private $type = 'adsmanager'; private $shallLoad = true; function __construct(&$subject, $params) { // does not load if the component is not installed $this->shallLoad = file_exists(JPATH_SITE . '/administrator/components/com_adsmanager'); if (! $this->shallLoad) return; parent::__construct($subject, $params); } /* * Initiate the lugin load * * Return mixed */ function registerListeners() { if ($this->shallLoad === true) { parent::registerListeners(); } else { return false; } } /* * Send the infos in the source list to add the type in the plugin options * * Return string the source type */ public function onMaximenuckGetSourceName() { $this->loadLanguage(); return $this->type; } /* * Send the infos in the source list to add the type in the plugin options * * Return string the source type */ public function onMaximenuckGetTypeName() { $this->loadLanguage(); return $this->type; } /* * Display the html code for the item to be used into the frontend page * @param string the item object from simple_html_dom * * Return String the html code */ public function onMaximenuckRenderItemAdsmanager($item) { require_once(__DIR__ . '/helper/helper_' . $this->type . '.php'); $adsmanager = MaximenuckHelpersourceAdsmanager::getItems($item->params); $html = '<ul class="maximenuck2">'; foreach ($adsmanager as $article) { $article->level = $item->level; $article->type = 'article'; $html .= Maximenuck\Helperfront::getHtmlItem($article); } $html .= '</ul>'; return $html; } }
/home/chauffn/vuzelia/20230/./plugins/maximenuck/adsmanager/adsmanager.php