Файловый менеджер - Редактировать - /var/www/html/ban.zip
Ðазад
PK ! 8�� � history/default.phpnu �[��� <?php /** * Kunena Component * * @package Kunena.Template.Aurelia * @subpackage Layout.User * * @copyright Copyright (C) 2008 - 2026 Kunena Team. All rights reserved. * @license https://www.gnu.org/copyleft/gpl.html GNU/GPL * @link https://www.kunena.org **/ namespace Kunena\Forum\Site; \defined('_JEXEC') or die(); use Joomla\CMS\Language\Text; use Kunena\Forum\Libraries\Date\KunenaDate; use Kunena\Forum\Libraries\Factory\KunenaFactory; use Kunena\Forum\Libraries\Html\KunenaParser; ?> <h3> <?php echo $this->headerText; ?> </h3> <table class="table table-bordered table-striped table-hover"> <thead> <tr> <th class="col-md-1 center"> # </th> <th class="col-md-3"> <?php echo Text::_('COM_KUNENA_BAN_BANNEDFROM'); ?> </th> <th class="col-md-2"> <?php echo Text::_('COM_KUNENA_BAN_STARTTIME'); ?> </th> <th class="col-md-2"> <?php echo Text::_('COM_KUNENA_BAN_EXPIRETIME'); ?> </th> <th class="col-md-2"> <?php echo Text::_('COM_KUNENA_BAN_CREATEDBY'); ?> </th> <th class="col-md-2"> <?php echo Text::_('COM_KUNENA_BAN_MODIFIEDBY'); ?> </th> </tr> </thead> <tbody> <?php if (!empty($this->banHistory)) : $i = \count($this->banHistory); foreach ($this->banHistory as $banInfo) : ?> <tr> <td class="center"> <?php echo $i--; ?> </td> <td> <?php echo $banInfo->blocked ? Text::_('COM_KUNENA_BAN_BANLEVEL_JOOMLA') : Text::_('COM_KUNENA_BAN_BANLEVEL_KUNENA') ?> </td> <td> <?php echo $banInfo->getCreationDate()->toKunena('datetime'); ?> </td> <td> <?php echo $banInfo->isLifetime() ? Text::_('COM_KUNENA_BAN_LIFETIME') : $banInfo->getExpirationDate()->toKunena('datetime'); ?> </td> <td> <?php echo $banInfo->getCreator()->getLink(); ?> </td> <td> <?php if ($banInfo->modified_by && $banInfo->modified_time) { echo $banInfo->getModifier()->getLink() . ' ' . $banInfo->getModificationDate()->toKunena('datetime'); } ?> </td> </tr> <?php if ($banInfo->reason_public) : ?> <tr> <td></td> <td> <b><?php echo Text::_('COM_KUNENA_BAN_PUBLICREASON'); ?></b> </td> <td colspan="4"> <?php echo KunenaParser::parseText($banInfo->reason_public); ?> </td> </tr> <?php endif; ?> <?php if ($this->me->isModerator() && $banInfo->reason_private) : ?> <tr> <td></td> <td> <b><?php echo Text::_('COM_KUNENA_BAN_PRIVATEREASON'); ?></b></td> <td colspan="4"> <?php echo KunenaParser::parseText($banInfo->reason_private); ?> </td> </tr> <?php endif; ?> <?php if ($this->me->isModerator() && !empty($banInfo->comments)) { foreach ($banInfo->comments as $comment) : ?> <tr> <td></td> <td> <strong> <?php echo Text::sprintf( 'COM_KUNENA_BAN_COMMENT_BY', KunenaFactory::getUser((int) $comment->userid)->getLink() ); ?> </strong> </td> <td> <?php echo KunenaDate::getInstance($comment->time)->toKunena(); ?> </td> <td colspan="3"> <?php echo KunenaParser::parseText($comment->comment); ?> </td> </tr> <?php endforeach; } ?> <?php endforeach; ?> <?php else : ?> <tr> <td colspan="6"> <?php echo Text::sprintf('COM_KUNENA_BAN_USER_NOHISTORY', $this->escape($this->profile->getName())); ?> </td> </tr> <?php endif; ?> </tbody> </table> PK ! $o^�� � manager/default.phpnu �[��� <?php /** * Kunena Component * * @package Kunena.Template.Aurelia * @subpackage Layout.User * * @copyright Copyright (C) 2008 - 2026 Kunena Team. All rights reserved. * @license https://www.gnu.org/copyleft/gpl.html GNU/GPL * @link https://www.kunena.org **/ namespace Kunena\Forum\Site; \defined('_JEXEC') or die(); use Joomla\CMS\Language\Text; ?> <h3> <?php echo $this->headerText; ?> </h3> <table class="table table-bordered table-striped table-hover"> <thead> <tr> <th class="col-md-1 center"> <?php echo Text::_('COM_KUNENA_BAN_BANNEDUSERID'); ?> </th> <th class="col-md-4"> <?php echo Text::_('COM_KUNENA_BAN_BANNEDUSER'); ?> </th> <th class="col-md-3"> <?php echo Text::_('COM_KUNENA_BAN_BANNEDFROM'); ?> </th> <th class="col-md-2"> <?php echo Text::_('COM_KUNENA_BAN_STARTTIME'); ?> </th> <th class="col-md-2"> <?php echo Text::_('COM_KUNENA_BAN_EXPIRETIME'); ?> </th> </tr> </thead> <tbody> <?php if ($this->userBans) : foreach ($this->userBans as $banInfo) : ?> <tr> <td class="center"> <?php echo $banInfo->userid; ?> </td> <td> <?php echo $banInfo->getUser()->getLink(); ?> </td> <td> <?php echo $banInfo->blocked ? Text::_('COM_KUNENA_BAN_BANLEVEL_JOOMLA') : Text::_('COM_KUNENA_BAN_BANLEVEL_KUNENA'); ?> </td> <td> <?php echo $banInfo->getCreationDate()->toKunena('datetime'); ?> </td> <td> <?php echo $banInfo->isLifetime() ? Text::_('COM_KUNENA_BAN_LIFETIME') : $banInfo->getExpirationDate()->toKunena('datetime'); ?> </td> </tr> <?php endforeach; ?> <?php else : ?> <tr> <td colspan="5"> <?php echo Text::_('COM_KUNENA_BAN_NO_BANNED_USERS'); ?> </td> </tr> <?php endif; ?> </tbody> </table> <div class="pull-left"> <?php echo $this->subLayout('Widget/Pagination/List') ->set('pagination', $this->pagination->setDisplayedPages(4)) ->set('display', true); ?> </div> PK ! jkrP� � form/default.phpnu �[��� <?php /** * Kunena Component * * @package Kunena.Template.Aurelia * @subpackage Layout.User * * @copyright Copyright (C) 2008 - 2026 Kunena Team. All rights reserved. * @license https://www.gnu.org/copyleft/gpl.html GNU/GPL * @link https://www.kunena.org **/ namespace Kunena\Forum\Site; \defined('_JEXEC') or die(); use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Kunena\Forum\Libraries\Route\KunenaRoute; ?> <h3> <?php echo $this->headerText; ?> </h3> <form action="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=user'); ?>" id="kform-ban" name="kformban" method="post"> <input type="hidden" name="task" value="ban"/> <input type="hidden" name="userid" value="<?php echo (int) $this->profile->userid; ?>"/> <?php echo HTMLHelper::_('form.token'); ?> <table class="table table-bordered table-striped table-hover"> <tbody> <tr> <td class="col-md-4"> <label><?php echo Text::_('COM_KUNENA_BAN_USERNAME'); ?></label> </td> <td class="col-md-8"> <?php echo $this->escape($this->profile->username); ?> </td> </tr> <tr> <td> <label><?php echo Text::_('COM_KUNENA_BAN_USERID'); ?></label> </td> <td> <?php echo $this->escape($this->profile->userid); ?> </td> </tr> <tr> <td> <label for="ban-level"><?php echo Text::_('COM_KUNENA_BAN_BANLEVEL'); ?></label> </td> <td> <?php // Make the select list for the view type $block[] = HTMLHelper::_('select.option', 0, Text::_('COM_KUNENA_BAN_BANLEVEL_KUNENA')); $block[] = HTMLHelper::_('select.option', 1, Text::_('COM_KUNENA_BAN_BANLEVEL_JOOMLA')); // Build the html select list echo HTMLHelper::_( 'select.genericlist', $block, 'banlevel', '', 'value', 'text', $this->escape($this->banInfo->blocked), 'ban-level' ); ?> </td> </tr> <tr> <td> <label for="ban-expiration"><?php echo Text::_('COM_KUNENA_BAN_EXPIRETIME'); ?></label> <small><?php echo Text::_('COM_KUNENA_BAN_STARTEXPIRETIME_DESC'); ?></small> </td> <td> <?php echo HTMLHelper::_( 'calendar', $this->escape($this->banInfo->expiration), 'expiration', 'ban-expiration', '%Y-%m-%d %H:%M:%S' ); ?> </td> </tr> <tr> <td> <label for="ban-public"><?php echo Text::_('COM_KUNENA_BAN_PUBLICREASON'); ?></label> <small><?php echo Text::_('COM_KUNENA_BAN_PUBLICREASON_DESC'); ?></small> </td> <td> <textarea id="ban-public" class="required" name="reason_public" id="reason_public" ><?php echo $this->escape($this->banInfo->reason_public) ?></textarea> </td> </tr> <tr> <td> <label for="ban-private"><?php echo Text::_('COM_KUNENA_BAN_PRIVATEREASON'); ?></label> <small><?php echo Text::_('COM_KUNENA_BAN_PRIVATEREASON_DESC'); ?></small> </td> <td> <textarea id="ban-private" class="required" name="reason_private" id="reason_private" ><?php echo $this->escape($this->banInfo->reason_private) ?></textarea> </td> </tr> <tr> <td> <label for="ban-comment"><?php echo Text::_('COM_KUNENA_BAN_ADDCOMMENT'); ?></label> <small><?php echo Text::_('COM_KUNENA_BAN_ADDCOMMENT_DESC'); ?></small> </td> <td> <textarea id="ban-comment comment" class="required" name="comment"></textarea> </td> </tr> <?php if ($this->banInfo->exists()) : ?> <tr> <td> <label for="ban-remove"><?php echo Text::_('COM_KUNENA_MODERATE_REMOVE_BAN'); ?></label> </td> <td> <input id="ban-remove ban-delban" type="checkbox" name="delban" value="delban" class=""/> </td> </tr> <?php endif; ?> <tr> <td> <label for="ban-delsignature"> <?php echo Text::_('COM_KUNENA_MODERATE_DELETE_BAD_SIGNATURE'); ?> </label> </td> <td> <input type="checkbox" id="ban-delsignature" name="delsignature" value="delsignature" class=""/> </td> </tr> <tr> <td> <label for="ban-delavatar"> <?php echo Text::_('COM_KUNENA_MODERATE_DELETE_BAD_AVATAR'); ?> </label> </td> <td> <input type="checkbox" id="ban-delavatar" name="delavatar" value="delavatar"/> </td> </tr> <tr> <td> <label for="ban-delprofileinfo"> <?php echo Text::_('COM_KUNENA_MODERATE_DELETE_BAD_PROFILEINFO'); ?> </label> </td> <td> <input type="checkbox" id="ban-delprofileinfo" name="delprofileinfo" value="delprofileinfo"/> </td> </tr> <tr> <td> <label for="ban-delposts"> <?php echo Text::_('COM_KUNENA_MODERATE_DELETE_ALL_POSTS'); ?> </label> </td> <td> <input type="checkbox" id="ban-delposts" name="bandelposts" value="bandelposts"/> </td> </tr> <tr> <td> <label for="ban-delpostsperm"> <?php echo Text::_('COM_KUNENA_MODERATE_DELETE_PERM_ALL_POSTS'); ?> </label> </td> <td> <input type="checkbox" id="ban-delposts" name="bandelpostsperm" value="bandelpostsperm"/> </td> </tr> <tr> <td class="center" colspan="2"> <input class="btn btn-outline-primary" type="submit" value="<?php echo $this->banInfo->id ? Text::_('COM_KUNENA_BAN_EDIT') : Text::_('COM_KUNENA_BAN_NEW'); ?>" name="Submit"/> </td> </tr> </tbody> </table> </form> PK ! 8�� � history/default.phpnu �[��� PK ! $o^�� � manager/default.phpnu �[��� PK ! jkrP� � ! form/default.phpnu �[��� PK � 8
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка