HEX
Server: Apache
System: Linux webm010.cluster103.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: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/i/e/s/iestorre/informatica/modules/mod_randomquotes/mod_randomquotes.php
<?php
/**
 * @copyright	Copyright (C) 2009 - 2016  Open Source Technologies. All rights reserved

*  @license		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/

// no direct access
defined('_JEXEC') or die('Restricted access');
defined('JPATH_PLATFORM') or die;
JHtmlBehavior::framework(); 

//include_once JPATH_BASE.'/libraries/joomla/input/input.php';
$obj = new JFilterInput();
 if (!defined('DS')) {
     define('DS', DIRECTORY_SEPARATOR);
 }
// Include the syndicate functions only once
require_once (dirname(__FILE__).DIRECTORY_SEPARATOR.'helper.php');

$list = modRandomQuotesHelper::getList($params, $access);

// check if any results returned
$items = count($list);
if (!$items) {
    return;
}
$layout = $params->get('layout', 'default');
$layout = $obj->clean($layout, 'word');
$path = JModuleHelper::getLayoutPath('mod_randomquotes', $layout);
if (file_exists($path)) {
    require $path;
}