AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/www/cj79373/modules/mod_sendinblueform/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/www/cj79373/modules/mod_sendinblueform/mod_sendinblueform.php
<?php
/**
 *	@package		Sendinblue
 *	@subpackage		subscription form module
 *	@version		1.0.1
 *
 *	@author			Branislav Gligorov <branislav.gligorov@itsbg.eu>	
 *	@copyright		Copyright (C) 2018 Sendinblue, All Rights Reserved
 *	@license		GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
 */

defined('_JEXEC') or die;

use Joomla\Utilities\ArrayHelper;

// Include the sendinblueform functions only once
JLoader::register('ModSendinblueformHelper', __DIR__ . '/helper.php');
$document = JFactory::getDocument();
$document->addStyleSheet('modules/mod_sendinblueform/mod_sendinblueform.css');

$formid = $params->get('subscriptionformid', '0');
if ( ($buttonlabel = trim($params->get('buttonlabel', ''))) == '') { $buttonlabel = JText::_('MOD_SENDINBLUEFORM_SUBMIT'); }


if ($formid != '0') {
	$formData = ModSendinblueformHelper::getFormData($formid);
}
if ($formData) {
	$blocks = ArrayHelper::fromObject(json_decode($formData->blocksubform), false);
	$form = ModSendinblueformHelper::getForm($blocks, $module->id);	
} else {
	return; 
}

// Stay on the same page
$return           = base64_encode(JUri::getInstance()->toString());

$layout           = $params->get('layout', 'default');

require JModuleHelper::getLayoutPath('mod_sendinblueform', $layout);

Anon7 - 2022
AnonSec Team