| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.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 : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/www/components/com_nexevocontact/helpers/ |
Upload File : |
<?php defined("_JEXEC") or die('Restricted access');
/**
@Nexevo Responsive Conact Form
@author Nexevo Technologies <info@nexevo.in>
@link http://www.Nexevo.in
@copyright (C) 2010 - 2011 Nexevo-Extension
@license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
class NexevoEmailHelper
{
protected $Params;
public function __construct(&$params)
{
$this->Params = $params;
}
public function convert($data)
{
return $this->{$data->select}($data);
}
public function submitter($data)
{
$application = JFactory::getApplication();
$name = "_" . md5($this->Params->get("sender0") . $application->cid . $application->mid);
$name = JRequest::getVar($name, NULL, "POST");
$address = "_" . md5($this->Params->get("sender1") . $application->cid . $application->mid);
$address = JRequest::getVar($address, NULL, "POST");
return array($address, $name);
}
public function admin($data)
{
$application = JFactory::getApplication();
$name = $application->getCfg("fromname");
$address = $application->getCfg("mailfrom");
return array($address, $name);
}
public function custom($data)
{
return array($data->email, $data->name);
}
}