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
/
2023
/
plugins
/
spsimpleportfolio
/
sppagebuilder
/
sppagebuilder.php
/
/
<?php /** * @package SP Page Builder * @author JoomShaper http://www.joomshaper.com * @copyright Copyright (c) 2010 - 2022 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ use Joomla\CMS\Factory; use Joomla\CMS\Plugin\CMSPlugin; //no direct accees defined ('_JEXEC') or die ('restricted aceess'); $sppb_helper_path = JPATH_ADMINISTRATOR . '/components/com_sppagebuilder/helpers/sppagebuilder.php'; if (!file_exists($sppb_helper_path)) { return; } if(!class_exists('SppagebuilderHelper')) { require_once $sppb_helper_path; } // Initiate class to hold plugin events class plgSpsimpleportfolioSppagebuilder extends CMSPlugin { // Some params var $pluginName = 'sppagebuilder'; var $pluginNameHumanReadable = 'SP Simple Portfolio - SP Page Builder'; function __construct(&$subject, $params) { parent::__construct($subject, $params); } function onSPPortfolioPrepareContent($content, &$item, &$params, $limitstart) { $input = Factory::getApplication()->input; $option = $input->get('option', '', 'STRING'); $view = $input->get('view', '', 'STRING'); if ($this->isSppagebuilderEnabled()) { if (SppagebuilderHelper::onIntegrationPrepareContent($item->description, $option, $view, $item->id)) { $item->description = SppagebuilderHelper::onIntegrationPrepareContent($item->description, $option, $view, $item->id); } } } private function isSppagebuilderEnabled() { $db = Factory::getDbo(); $query = $db->getQuery(true); $query->select($db->quoteName('enabled')) ->from($db->quoteName('#__extensions')) ->where($db->quoteName('element') . ' = ' . $db->quote('com_sppagebuilder')) ->andWhere($db->quoteName('type') .' = ' . $db->quote('component')); $db->setQuery($query); return $db->loadResult(); } }
/home/chauffn/vuzelia/2023/plugins/spsimpleportfolio/sppagebuilder/sppagebuilder.php