| 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/topic/item/message/ |
Upload File : |
<?php
/**
* Kunena Component
* @package Kunena.Template.Crypsis
* @subpackage Layout.Topic
*
* @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;
$topicStarter = $this->topic->first_post_userid == $this->message->userid;
$template = KunenaTemplate::getInstance();
$direction = $template->params->get('avatarPosition');
$sideProfile = $this->profile->getSideProfile($this);
$quick = $template->params->get('quick');
if ($direction === "left") : ?>
<div class="row message">
<div class="col-md-2 hidden-xs">
<?php echo ($sideProfile ? $sideProfile : $this->subLayout('User/Profile')->set('user', $this->profile)->setLayout('default')->set('topic_starter', $topicStarter)->set('category_id', $this->category->id)); ?>
</div>
<div class="col-md-10 message-<?php echo $this->message->getState(); ?>">
<?php echo $this->subLayout('Message/Item')->setProperties($this->getProperties()); ?>
<?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?>
<?php if ($quick != 2) :?>
<?php echo $this->subLayout('Message/Edit')->set('message', $this->message)->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickreply'); ?>
<?php endif; ?>
</div>
</div>
<?php elseif ($direction === "right") : ?>
<div class="row message">
<div class="col-md-10 message-<?php echo $this->message->getState(); ?>">
<?php echo $this->subLayout('Message/Item')->setProperties($this->getProperties()); ?>
<?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?>
<?php if ($quick != 2) :?>
<?php echo $this->subLayout('Message/Edit')->set('message', $this->message)->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickreply'); ?>
<?php endif; ?>
</div>
<div class="col-md-2 hidden-xs">
<?php echo ($sideProfile ? $sideProfile : $this->subLayout('User/Profile')->set('user', $this->profile)->setLayout('default')->set('topic_starter', $topicStarter)->set('category_id', $this->category->id)); ?>
</div>
</div>
<?php elseif ($direction === "top") : ?>
<div class="row message message-<?php echo $this->message->getState(); ?>">
<div class="col-md-12" style="margin-left: 0;">
<?php echo $this->subLayout('Message/Item/Top')->setProperties($this->getProperties()); ?>
<?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?>
<?php if ($quick != 2) :?>
<?php echo $this->subLayout('Message/Edit')->set('message', $this->message)->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickreply'); ?>
<?php endif; ?>
</div>
</div>
<?php elseif ($direction === "bottom") : ?>
<div class="row message message-<?php echo $this->message->getState(); ?>">
<div class="col-md-12" style="margin-left: 0;">
<?php echo $this->subLayout('Message/Item/Bottom')->setProperties($this->getProperties()); ?>
<?php echo $this->subRequest('Message/Item/Actions')->set('mesid', $this->message->id); ?>
<?php if ($quick != 2) :?>
<?php echo $this->subLayout('Message/Edit')->set('message', $this->message)->set('captchaEnabled', $this->captchaEnabled)->setLayout('quickreply'); ?>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_msg_' . $this->message->replynum);