HEX
Server: Apache
System: Linux darrell.nocdirect.com 4.18.0-513.18.2.el8_9.x86_64 #1 SMP Sat Mar 30 06:10:41 EDT 2024 x86_64
User: joderbya (1358)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/joderbya/matolamultimedia.com/modules/mod_s5_register/mod_s5_register.php
<?php
/*** @title		Shape 5 Register Module* @version		3.0* @package		Joomla* @website		http://www.shape5.com* @copyright	Copyright (C) 2011 Shape 5 LLC. All rights reserved.* @license		GNU/GPL, see LICENSE.php* Joomla! is free software. This version may have been modified pursuant* to the GNU General Public License, and as distributed it includes or* is derivative of works licensed under the GNU General Public License or* other free or open source software licenses.* See COPYRIGHT.php for copyright notices and details.*/// no direct access
error_reporting(0);
defined('_JEXEC') or die('Restricted access');$params->def('class_sfx','');

if(!defined('DS')){
	define('DS',DIRECTORY_SEPARATOR);
}
jimport( 'joomla.application.component.view');
$modules_params=$params;
$modules_params->get('captcha');
$form   =& JForm::getInstance('registration',JPATH_ROOT.DS.'components'.DS.'com_users'.DS.'models'.DS.'forms'.DS.'registration.xml');
$captcha = ''; 
foreach ($form->getFieldsets() as $fieldset){
	$fields = $form->getFieldset($fieldset->name);
	foreach ($fields as $field){
		if($field->type == 'captcha' ){
			$captcha = $field->input;	
		}
	}	
}
require(JModuleHelper::getLayoutPath('mod_s5_register'));?>