| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/icd/administrator/components/com_mobilejoomla/override/html/ |
Upload File : |
<?php
/**
* Mobile Joomla!
* http://www.mobilejoomla.com
*
* @version 1.2.9
* @license GNU/GPL v2 - http://www.gnu.org/licenses/gpl-2.0.html
* @copyright (C) 2008-2014 Kuneri Ltd.
* @date June 2014
*/
defined('_JEXEC') or die('Restricted access');
abstract class JHtmlEmail
{
public static function cloak($mail, $mailto = 1, $text = '', $email = 1)
{
if(strpos($mail, "'") !== false)
return $mail;
if(empty($text))
$text = $mail;
if($email)
$text = str_replace(array('@', '.'),
array('​<bdo dir=\'ltr\'>@<bdo>​', '.'),
$text);
if($mailto)
$html = '<a href=\'javascript:void(location.href="mai"+"lto:'
. str_replace(array('@', '.'),
array('"+"\100"+"', '."+"'),
$mail)
. '")\'>' . $text . '</a>';
else
$html = $text;
return $html;
}
}