uawdijnntqw1x1x1
IP : 216.73.217.142
Hostname : localhost.localdomain
Kernel : Linux localhost.localdomain 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
consult-e-syn
/
public_html
/
643de
/
..
/
administrator
/
components
/
com_admintools
/
Helper
/
Html.php
/
/
<?php /** * @package admintools * @copyright Copyright (c)2010-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ namespace Akeeba\AdminTools\Admin\Helper; defined('_JEXEC') || die; use DateTimeZone; use FOF40\Container\Container; use FOF40\View\DataView\Raw; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; class Html { public static function localisedDate($value, $format = 'DATE_FORMAT_LC2', $localise = true, $localTZ = true) { static $tz = null; $container = Container::getInstance('com_admintools'); if (is_null($tz)) { $timezone = $container->platform->getUser()->getParam('timezone', $container->platform->getConfig()->get('offset', 'GMT')); $tz = new DateTimeZone($timezone); } $date = $container->platform->getDate($value, 'UTC'); $date->setTimezone($tz); if ($localise) { $format = Text::_($format); } return $date->format($format, $localTZ); } public static function IpLookup($value) { $ip = htmlspecialchars($value, ENT_COMPAT); $cparams = Storage::getInstance(); $iplink = $cparams->getValue('iplookupscheme', 'http') . '://' . $cparams->getValue('iplookup', 'ip-lookup.net/index.php?ip={ip}'); $link = str_replace('{ip}', $ip, $iplink); $html = '<a href="' . $link . '" target="_blank" class="akeeba-btn--primary--small"><span class="akion-search"></span></a> '; $html .= $ip; return $html; } public static function language($value) { static $languages; if (!$languages) { $db = Factory::getDbo(); $query = $db->getQuery(true) ->select('*') ->from($db->quoteName('#__languages')); $languages = $db->setQuery($query)->loadObjectList('lang_code'); } // Unknown value if ($value != '*' && !isset($languages[$value])) { return ''; } $lang = Text::_('JALL'); if (isset($languages[$value])) { $lang = $languages[$value]->title; } return '<span>' . $lang . '</span>'; } }
/var/www/consult-e-syn/public_html/643de/../administrator/components/com_admintools/Helper/Html.php