|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 24.87 GB of 70.42 GB (35.31%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
http/
yalagina/
components/
com_users/
helpers/
html/
- drwxr-xr-x
|
Viewing file: users.php (3.66 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /** * @package Joomla.Site * @subpackage com_users * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */
defined('_JEXEC') or die;
/** * Users Html Helper * * @package Joomla.Site * @subpackage com_users * @since 1.6 */
abstract class JHtmlUsers { public static function value($value) { if (is_string($value)) { $value = trim($value); } if (empty($value)) { return JText::_('COM_USERS_PROFILE_VALUE_NOT_FOUND'); } else { return htmlspecialchars($value); } } public static function spacer($value) { return ''; }
public static function helpsite($value) { if (empty($value)) { return self::value($value); } else { $version = new JVersion(); $jver = explode( '.', $version->getShortVersion() );
$pathToXml = JPATH_ADMINISTRATOR.'/help/helpsites.xml';
$text = $value; if (!empty($pathToXml) && $xml = JFactory::getXML($pathToXml)) { foreach ($xml->sites->site as $site) { if ((string)$site->attributes()->url == $value) { $text = (string)$site; break; } } }
$value = htmlspecialchars($value); if (substr ($value, 0, 4) == "http") { return '<a href="'.$value.'">'.$text.'</a>'; } else { return '<a href="http://'.$value.'">'.$text.'</a>'; } } }
public static function templatestyle($value) { if (empty($value)) { return self::value($value); } else { $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('title'); $query->from('#__template_styles'); $query->where('id = '.$db->quote($value)); $db->setQuery($query); $title = $db->loadResult(); if ($title) { return htmlspecialchars($title); } else { return self::value(''); } } }
public static function admin_language($value) { if (empty($value)) { return self::value($value); } else { $path = JLanguage::getLanguagePath(JPATH_ADMINISTRATOR, $value); $file = "$value.xml";
$result = null; if (is_file("$path/$file")) { $result = JLanguage::parseXMLLanguageFile("$path/$file"); }
if ($result) { return htmlspecialchars($result['name']); } else { return self::value(''); } } }
public static function language($value) { if (empty($value)) { return self::value($value); } else { $path = JLanguage::getLanguagePath(JPATH_SITE, $value); $file = "$value.xml";
$result = null; if (is_file("$path/$file")) { $result = JLanguage::parseXMLLanguageFile("$path/$file"); }
if ($result) { return htmlspecialchars($result['name']); } else { return self::value(''); } } }
public static function editor($value) { if (empty($value)) { return self::value($value); } else { $db = JFactory::getDbo(); $lang = JFactory::getLanguage(); $query = $db->getQuery(true); $query->select('name'); $query->from('#__extensions'); $query->where('element = '.$db->quote($value)); $query->where('folder = '.$db->quote('editors')); $db->setQuery($query); $title = $db->loadResult(); if ($title) { $lang->load("plg_editors_$value.sys", JPATH_ADMINISTRATOR, null, false, false) || $lang->load("plg_editors_$value.sys", JPATH_PLUGINS . '/editors/' . $value, null, false, false) || $lang->load("plg_editors_$value.sys", JPATH_ADMINISTRATOR, $lang->getDefault(), false, false) || $lang->load("plg_editors_$value.sys", JPATH_PLUGINS . '/editors/' . $value, $lang->getDefault(), false, false); $lang->load($title.'.sys'); return JText::_($title); } else { return self::value(''); } } }
}
|