| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/w/e/awebpaca/blog/components/com_kunena/template/crypsis/layouts/user/profile/ |
Upload File : |
<?php
/**
* Kunena Component
* @package Kunena.Template.Crypsis
* @subpackage Layout.User
*
* @copyright (C) 2008 - 2018 Kunena Team. All rights reserved.
* @license https://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link https://www.kunena.org
**/
defined('_JEXEC') or die;
// @var KunenaUser $user
$user = $this->user;
$avatar = $user->getAvatarImage(KunenaFactory::getTemplate()->params->get('avatarType'), 'post');
$config = KunenaConfig::getInstance();
$show = $config->showuserstats;
$activityIntegration = KunenaFactory::getActivityIntegration();
$points = $activityIntegration->getUserPoints($user->userid);
$medals = $activityIntegration->getUserMedals($user->userid);
if ($show)
{
if ($config->showkarma)
{
$karma = $user->getKarma();
}
$rankImage = $user->getRank($this->category_id, 'image');
$rankTitle = $user->getRank($this->category_id, 'title');
$personalText = $user->getPersonalText();
}
?>
<ul class="unstyled center profilebox">
<li>
<strong><?php echo $user->getLink(null, null, '', '', null, $this->category_id); ?></strong>
</li>
<?php if ($avatar) : ?>
<li>
<?php echo $user->getLink($avatar, null, ''); ?>
<?php if (isset($this->topic_starter) && $this->topic_starter) : ?>
<span class="hidden-phone topic-starter <?php if (KunenaFactory::getTemplate()->params->get('avatarType') == 'img-circle') {echo 'topic-starter-circle';};?>"><?php echo JText::_('COM_KUNENA_TOPIC_AUTHOR') ?></span>
<?php endif;?>
<?php /*if ($user->isModerator()) : */?><!--
<span class="<?php /*if (KunenaFactory::getTemplate()->params->get('avatarType') == 'img-circle') {echo 'topic-moderator-circle';};*/?> topic-moderator"><?php /*echo JText::_('COM_KUNENA_TEAM_MEMBER') */?></span>
--><?php /*endif;*/?>
</li>
<?php endif; ?>
<?php if ($user->exists() && $config->user_status) : ?>
<li>
<?php echo $this->subLayout('User/Item/Status')->set('user', $user); ?>
</li>
<?php endif; ?>
<?php if (!empty($rankTitle)) : ?>
<li>
<?php echo $this->escape($rankTitle); ?>
</li>
<?php endif; ?>
<?php if (!empty($rankImage)) : ?>
<li>
<?php echo $rankImage; ?>
</li>
<?php endif; ?>
<?php if (!empty($personalText)) : ?>
<li>
<?php echo $personalText; ?>
</li>
<?php endif; ?>
</ul>
<?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_profile_default'); ?>
<?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_topicprofile'); ?>
<?php if ($user->userid > 1) : ?>
<div class="profile-expand center">
<span class="heading btn btn-small heading-less" style="display:none;"><?php echo KunenaIcons::arrowup();?> <?php echo JText::_('COM_KUNENA_USER_PROFILE_BUTTON_LABEL_LESS') ?></span>
<span class="heading btn btn-small"><?php echo KunenaIcons::arrowdown();?> <?php echo JText::_('COM_KUNENA_USER_PROFILE_BUTTON_LABEL_MORE') ?></span>
<div class="content" style="display:none;">
<ul>
<?php if ($user->posts >= 1) : ?>
<li>
<?php echo JText::_('COM_KUNENA_POSTS') . ' ' . (int) $user->posts; ?>
</li>
<?php endif; ?>
<?php if (!empty($karma) && $config->showkarma) : ?>
<li>
<?php echo JText::_('COM_KUNENA_KARMA') . ': ' . $karma; ?>
</li>
<?php endif; ?>
<?php if ($show && isset($user->thankyou) && $config->showthankyou) : ?>
<li>
<?php echo JText::_('COM_KUNENA_MYPROFILE_THANKYOU_RECEIVED') . ' ' . (int) $user->thankyou; ?>
</li>
<?php endif; ?>
<?php if ($show && !empty($points)) : ?>
<li>
<?php echo JText::_('COM_KUNENA_AUP_POINTS') . ' ' . $points; ?>
</li>
<?php endif; ?>
<?php if ($show && !empty($medals)) : ?>
<li>
<?php echo implode(' ', $medals); ?>
</li>
<?php endif; ?>
<?php if ($user->gender) :?>
<li>
<?php echo $user->profileIcon('gender'); ?>
</li>
<?php endif; ?>
<?php if ($user->birthdate) :?>
<li>
<?php echo $user->profileIcon('birthdate'); ?>
</li>
<?php endif; ?>
<?php if ($user->location) :?>
<li>
<?php echo $user->profileIcon('location'); ?>
</li>
<?php endif; ?>
<?php if ($user->websiteurl) :?>
<li>
<?php echo $user->profileIcon('website'); ?>
</li>
<?php endif; ?>
<?php if (KunenaFactory::getPrivateMessaging()) :?>
<li>
<?php echo $user->profileIcon('private'); ?>
</li>
<?php endif; ?>
<?php if ($user->email && !$user->hideEmail && $config->showemail) :?>
<li>
<?php echo $user->profileIcon('email'); ?>
</li>
<?php endif; ?>
<?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_topicprofilemore'); ?>
</ul>
</div>
</div>
<?php endif;