| 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/message/list/ |
Upload File : |
<?php
/**
* Kunena Component
*
* @package Kunena.Template.Crypsis
* @subpackage Layout.Message
*
* @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;
$colspan = !empty($this->actions) ? 4 : 3;
$cols = empty($this->checkbox) ? 4 : 5;
$view = JFactory::getApplication()->input->getWord('view');
?>
<div class="row">
<div class="col-md-12">
<div class="pull-left">
<h1>
<?php echo $this->escape($this->headerText); ?>
<small class="hidden-xs">
(<?php echo JText::sprintf('COM_KUNENA_X_MESSAGES_MORE', $this->formatLargeNumber($this->pagination->total)); ?>)
</small>
<?php // ToDo:: <span class="badge badge-success"> <?php echo $this->topics->count->unread; ?/></span> ?>
</h1>
</div>
<?php if ($view != 'user') : ?>
<h2 class="filter-time pull-right" id="filter-time">
<div class="filter-sel pull-right">
<form action="<?php echo $this->escape(JUri::getInstance()->toString()); ?>" id="timeselect" name="timeselect"
method="post" target="_self" class="form-inline hidden-xs">
<?php $this->displayTimeFilter('sel'); ?>
</form>
</div>
</h2>
<?php endif; ?>
</div>
</div>
<div class="pull-right">
<?php echo $this->subLayout('Widget/Search')
->set('catid', 'all')
->setLayout('topic'); ?>
</div>
<div class="pull-left">
<?php echo $this->subLayout('Widget/Pagination/List')
->set('pagination', $this->pagination->setDisplayedPages(4))
->set('display', true); ?>
</div>
<form action="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=topics'); ?>" method="post"
name="ktopicsform" id="ktopicsform">
<?php echo JHtml::_('form.token'); ?>
<table class="table table-bordered table-condensed">
<thead>
<?php if (empty($this->messages)) : ?>
<tr>
<td colspan="<?php echo $colspan; ?>">
<?php echo JText::_('COM_KUNENA_NO_POSTS') ?>
</td>
</tr>
<?php else : ?>
<tr class="category">
<td class="col-md-1 center hidden-xs">
<a id="forumtop"> </a>
<a href="#forumbottom" rel="nofollow">
<?php echo KunenaIcons::arrowdown(); ?>
</a>
</td>
<td class="col-md-<?php echo $cols; ?>">
<?php echo JText::_('COM_KUNENA_GEN_MESSAGE'); ?> / <?php echo JText::_('COM_KUNENA_GEN_SUBJECT'); ?>
</td>
<td class="col-md-2 hidden-xs">
<?php echo JText::_('COM_KUNENA_GEN_REPLIES'); ?> / <?php echo JText::_('COM_KUNENA_GEN_HITS'); ?>
</td>
<td class="col-md-3">
<?php echo JText::_('COM_KUNENA_GEN_LAST_POST'); ?>
</td>
<?php if (!empty($this->actions)) : ?>
<td class="col-md-1 center">
<label>
<input class="kcheckall" type="checkbox" name="toggle" value="" />
</label>
</td>
<?php endif; ?>
</tr>
<?php endif; ?>
</thead>
<tfoot>
<?php if (!empty($this->messages)) : ?>
<tr>
<td class="center hidden-xs">
<a id="forumbottom"> </a>
<a href="#forumtop" rel="nofollow">
<?php echo KunenaIcons::arrowup(); ?>
</a>
<?php // FIXME: $this->displayCategoryActions() ?>
</td>
<td colspan="<?php echo $colspan; ?>">
<div class="form-group">
<div class="input-group" role="group">
<div class="input-group-btn">
<?php if (!empty($this->moreUri))
{
echo JHtml::_('kunenaforum.link', $this->moreUri, JText::_('COM_KUNENA_MORE'), null, 'btn btn-primary pull-left', 'nofollow');
} ?>
<?php if (!empty($this->actions)) : ?>
<?php echo JHtml::_('select.genericlist', $this->actions, 'task', 'class="form-control kchecktask" ', 'value', 'text', 0, 'kchecktask'); ?>
<?php if (isset($this->actions['move'])) :
$options = array(JHtml::_('select.option', '0', JText::_('COM_KUNENA_BULK_CHOOSE_DESTINATION')));
echo JHtml::_('kunenaforum.categorylist', 'target', 0, $options, array(), 'class="form-control fbs" disabled="disabled"', 'value', 'text', 0, 'kchecktarget');
endif; ?>
<input type="submit" name="kcheckgo" class="btn btn-default" value="<?php echo JText::_('COM_KUNENA_GO') ?>" />
<?php endif; ?>
</div>
</div>
</div>
</td>
</tr>
<?php endif; ?>
</tfoot>
<tbody>
<?php
foreach ($this->messages as $i => $message) {
echo $this->subLayout('Message/Row')
->set('message', $message)
->set('position', $i)
->set('checkbox', !empty($this->actions)); }
?>
</tbody>
</table>
</form>
<div class="pull-left">
<?php echo $this->subLayout('Widget/Pagination/List')
->set('pagination', $this->pagination->setDisplayedPages(4))
->set('display', true); ?>
</div>
<?php if ($view != 'user') : ?>
<form action="<?php echo $this->escape(JUri::getInstance()->toString()); ?>" id="timeselect" name="timeselect"
method="post" target="_self" class="timefilter pull-right">
<?php $this->displayTimeFilter('sel'); ?>
</form>
<?php endif; ?>
<div class="clearfix"></div>