| 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/awebpaca/blog/components/com_kunena/template/crypsisb3/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;
$this->ktemplate = KunenaFactory::getTemplate();
$avatar = $user->getAvatarImage($this->ktemplate->params->get('avatarType'), 'thumb');
$config = KunenaConfig::getInstance();
$show = $config->showuserstats;
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();
}
?>
<div class="col-md-2">
<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, ''); ?>
</li>
<?php if (isset($this->topic_starter) && $this->topic_starter) : ?>
<span class="hidden-sm hidden-md topic-starter"><?php echo JText::_('COM_KUNENA_TOPIC_AUTHOR') ?></span>
<?php endif;?>
<?php /*if (!$this->topic_starter && $user->isModerator()) : */?><!--
<span class="topic-moderator"><?php /*echo JText::_('COM_KUNENA_MODERATOR') */?></span>
--><?php /*endif;*/?>
<?php endif; ?>
<?php if ($user->exists() && $config->user_status) : ?>
<li>
<?php echo $this->subLayout('User/Item/Status')->set('user', $user); ?>
</li>
<?php endif; ?>
</ul>
</div>
<div class="col-md-2">
<br>
<ul class="profilebox center">
<?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>
</div>
<div class="col-md-2">
<br>
<?php if ($user->posts >= 1) : ?>
<li>
<strong> <?php echo JText::_('COM_KUNENA_POSTS'); ?> </strong>
<span> <?php echo JText::sprintf((int) $user->posts); ?> </span>
</li>
<?php endif; ?>
<?php if (!empty($karma) && $config->showkarma) : ?>
<li>
<strong> <?php echo JText::_('COM_KUNENA_KARMA'); ?>:</strong>
<span> <?php echo $karma; ?> </span>
</li>
<?php endif; ?>
<?php if ($show && isset($user->thankyou) && $config->showthankyou) : ?>
<li>
<strong> <?php echo JText::_('COM_KUNENA_THANK_YOU_RECEIVED'); ?>:</strong>
<span> <?php echo JText::sprintf((int) $user->thankyou); ?> </span>
</li>
<?php endif; ?>
<?php if (isset($user->points)) : ?>
<li>
<strong> <?php echo JText::_('COM_KUNENA_AUP_POINTS'); ?> </strong>
<span> <?php echo (int) $user->points; ?> </span>
</li>
<?php endif; ?>
<?php if ($show && !empty($user->medals)) : ?>
<li>
<?php echo implode(' ', $user->medals); ?>
</li>
<?php endif; ?>
</div>
<div class="col-md-3">
<br>
<li>
<strong> <?php echo JText::_('COM_KUNENA_MYPROFILE_GENDER'); ?>:</strong>
<span> <?php echo $user->getGender(); ?> </span>
</li>
<li>
<strong> <?php echo JText::_('COM_KUNENA_MYPROFILE_BIRTHDATE'); ?>:</strong>
<span> <?php echo KunenaDate::getInstance($user->birthdate)->toSpan('date', 'ago', 'utc'); ?> </span>
</li>
<?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_profile_horizontal');?>
</div>