| Server IP : 54.36.91.62 / Your IP : 216.73.217.94 Web Server : Apache System : Linux webm013.cluster127.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 : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/www/cj79373/administrator/components/com_kunena/template/j3/templates/ |
Upload File : |
<?php
/**
* Kunena Component
* @package Kunena.Administrator.Template
* @subpackage Templates
*
* @copyright Copyright (C) 2008 - 2022 Kunena Team. All rights reserved.
* @license https://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link https://www.kunena.org
**/
defined('_JEXEC') or die();
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
HTMLHelper::_('behavior.tooltip');
HTMLHelper::_('behavior.multiselect');
HTMLHelper::_('dropdown.init');
?>
<div id="kunena" class="admin override">
<div id="j-sidebar-container" class="span2">
<div id="sidebar">
<div class="sidebar-nav"><?php include KPATH_ADMIN . '/template/j3/common/menu.php'; ?></div>
</div>
</div>
<div id="j-main-container" class="span10">
<div class="well well-small">
<div class="module-title nav-header">
<i class="icon-color-palette"></i>
<?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER') ?>
</div>
<hr class="hr-condensed">
<form action="<?php echo KunenaRoute::_('administrator/index.php?option=com_kunena&view=templates') ?>"
method="post" id="adminForm" name="adminForm">
<input type="hidden" name="task" value=""/>
<input type="hidden" name="boxchecked" value="0"/>
<?php echo HTMLHelper::_('form.token'); ?>
<div class="btn-group pull-right hidden-phone">
<label for="limit"
class="element-invisible"><?php echo Text::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC'); ?></label>
<?php echo KunenaLayout::factory('pagination/limitbox')->set('pagination', $this->pagination); ?>
</div>
<table class="table table-striped">
<thead>
<tr>
<th width="1%"></th>
<th><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_TEMPLATE_NAME'); ?></th>
<th class="center"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_DEFAULT'); ?></th>
<th><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_AUTHOR'); ?></th>
<th><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_VERSION'); ?></th>
<th><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_DATE'); ?></th>
<th><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_AUTHOR_URL'); ?></th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="7">
<?php echo KunenaLayout::factory('pagination/footer')->set('pagination', $this->pagination); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php foreach ($this->templates as $id => $row)
:
?>
<tr>
<td>
<input type="radio" id="cb<?php echo $this->escape($row->directory); ?>" name="cid[]"
value="<?php echo $this->escape($row->directory); ?>"
onclick="Joomla.isChecked(this.checked);"/>
</td>
<td>
<?php $img_path = Uri::root(true) . '/components/com_kunena/template/' . $row->directory . '/assets/images/template_thumbnail.png'; ?>
<span class="editlinktip hasTip"
title="<?php echo $this->escape($row->name . '::<img border="1" src="' . $this->escape($img_path) . '" name="imagelib" alt="' . Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_NO_PREVIEW') . '" width="200" height="145" />'); ?>">
<a href="#edit"
onclick="return listItemTask('cb<?php echo $this->escape($row->directory); ?>','edit')"><?php echo $this->escape($row->name); ?></a>
</span>
</td>
<td class="center">
<?php if ($row->published == 1)
:
?>
<i class="icon-star"
alt="<?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_DEFAULT'); ?>"></i>
<?php else
:
?>
<a href="javascript: void(0);"
onclick="return listItemTask('cb<?php echo urlencode($row->directory); ?>','publish')">
<i class="icon-star-empty"
alt="<?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_NO_DEFAULT'); ?>"></i>
</a>
<?php endif; ?>
</td>
<td>
<?php echo $row->authorEmail ? '<a href="mailto:' . $this->escape($row->authorEmail) . '">' . $this->escape($row->author) . '</a>' : $this->escape($row->author); ?>
</td>
<td>
<?php echo $this->escape($row->version); ?>
</td>
<td>
<?php echo $this->escape($row->creationdate); ?>
</td>
<td>
<a href="<?php echo $this->escape($row->authorUrl); ?>" target="_blank"
rel="noopener noreferrer"><?php echo $this->escape($row->authorUrl); ?></a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<table class="table table-striped" style="padding-top: 200px;">
<thead>
<tr>
<td colspan="7">
<strong><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_PREMIUM'); ?></strong></td>
</tr>
</thead>
<tbody>
<tr>
<th width="5%"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_TEMPLATE_PRICE'); ?></th>
<th width="5%"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_VERSION'); ?></th>
<th width="10%"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_TEMPLATE_NAME'); ?></th>
<th width="7%"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_DATE'); ?></th>
<th width="5%"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_AUTHOR'); ?></th>
<th width="5%"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_DOWNLOAD'); ?></th>
<th width="25%"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_AUTHOR_URL'); ?></th>
<th width="30%"></th>
</tr>
<?php if ($this->templatesxml!==FALSE) : ?>
<?php foreach ($this->templatesxml as $row) : ?>
<tr>
<td style="width: 5%;"><?php echo $row->price;?>
</td>
<td style="width: 5%;"><?php echo $row->version;?>
</td>
<td style="width: 10%;">
<span class="editlinktip hasTip"
title="<?php echo $row->name. $this->escape('::<img border="1" src="' . $row->thumbnail . '" name="imagelib" alt="' . Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_NO_PREVIEW') . '" width="200" height="145" />'); ?>">
<a href="<?php echo $row->detailsurl;?>" target="_blank"
rel="noopener noreferrer"><?php echo $row->name;?></a>
</span>
</td>
<td style="width: 7%;">
<?php echo $row->created;?>
</td>
<td style="width: 7%;">
<a href="mailto:<?php echo $row->authoremail;?>"><?php echo $row->author;?></a>
</td>
<td style="width: 5%;">
<a href="<?php echo $row->detailsurl;?>" target="_blank"
rel="noopener noreferrer"><?php echo Text::_('COM_KUNENA_A_TEMPLATE_MANAGER_DOWNLOAD'); ?></a>
</td>
<td style="width: 25%;">
<a href="<?php echo $row->authorurl;?>" target="_blank" rel="noopener noreferrer"><?php echo $row->authorurl;?></a>
</td>
<td style="width: 30%;">
</td>
</tr>
<?php endforeach; ?>
<?php else : ?>
<tr>
<td style="width: 30%;"><?php echo Text::_('COM_KUNENA_ADMIN_TEMPLATE_MANAGER_ERROR_CANNOT_CONNECT_TO_KUNENA_SERVER'); ?>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</form>
</div>
</div>
<div class="pull-right small">
<?php echo KunenaAdminVersion::getLongVersionHTML(); ?>
</div>
</div>