$msg_msn = "<a href=\"" . JRoute::_('index.php?option=com_mypms&task=showprofile&user='******'cb' && $fmessage->userid > 0) { $msg_prflink = CKunenaCBProfile::getProfileURL($fmessage->userid); $msg_profile = "<a href=\"" . $msg_prflink . "\"> <img src=\""; if ($fbIcons['userprofile']) { $msg_profile .= KUNENA_URLICONSPATH . $fbIcons['userprofile']; } else { $msg_profile .= KUNENA_JLIVEURL . "/components/com_comprofiler/images/profiles.gif"; } $msg_profile .= "\" alt=\"" . _VIEW_PROFILE . "\" border=\"0\" title=\"" . _VIEW_PROFILE . "\" /></a>"; } } else { if ($fbConfig->fb_profile == "clexuspm") { //mypms pro profile link $msg_prflink = MyPMSTools::getProfileLink($fmessage->userid); $msg_profile = "<a href=\"" . MyPMSTools::getProfileLink($fmessage->userid) . "\"><img src=\""; if ($fbIcons['userprofile']) { $msg_profile .= KUNENA_URLICONSPATH . $fbIcons['userprofile'];
$msg_msn = "<a href=\"" . JRoute::_('index.php?option=com_mypms&task=showprofile&user='******'cb' && $userinfo->userid > 0) { $msg_prflink = CKunenaCBProfile::getProfileURL($userinfo->userid); $msg_profile = "<a href=\"" . $msg_prflink . "\"> <img src=\""; if ($fbIcons['userprofile']) { $msg_profile .= KUNENA_URLICONSPATH . $fbIcons['userprofile']; } else { $msg_profile .= KUNENA_JLIVEURL . "/components/com_comprofiler/images/profiles.gif"; } $msg_profile .= "\" alt=\"" . _VIEW_PROFILE . "\" border=\"0\" title=\"" . _VIEW_PROFILE . "\" /></a>"; } } else { if ($fbConfig->fb_profile == "clexuspm") { //mypms pro profile link $msg_prflink = MyPMSTools::getProfileLink($userinfo->userid); $msg_profile = "<a href=\"" . MyPMSTools::getProfileLink($userinfo->userid) . "\"><img src=\""; if ($fbIcons['userprofile']) { $msg_profile .= KUNENA_URLICONSPATH . $fbIcons['userprofile'];
* @Copyright (C) 2008 - 2009 Kunena Team All rights reserved * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.com * * Based on FireBoard Component * @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.bestofjoomla.com **/ defined('_JEXEC') or die('Restricted access'); $app =& JFactory::getApplication(); $kunena_acl =& JFactory::getACL(); $fbConfig =& CKunenaConfig::getInstance(); if ($fbConfig->fb_profile == 'cb') { $userid = JRequest::getInt('userid', 0); $url = CKunenaCBProfile::getProfileURL($userid); header("HTTP/1.1 307 Temporary Redirect"); header("Location: " . htmlspecialchars_decode($url)); $app->close(); } $document =& JFactory::getDocument(); $document->setTitle(_KUNENA_USERPROFILE_PROFILE . ' - ' . stripslashes($fbConfig->board_title)); if ($kunena_my->id) { require_once KUNENA_PATH_LIB . DS . 'kunena.authentication.php'; require_once KUNENA_PATH_LIB . DS . 'kunena.statsbar.php'; $task = JRequest::getCmd('task', 'showprf'); switch ($task) { case "showprf": $userid = JRequest::getInt('userid', 0); $page = 0; showprf((int) $userid, $page);