Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/Log.zip
Назад
PK }�!]���� � default.blade.phpnu &1i� <?php /** * @package akeebabackup * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ defined('_JEXEC') || die(); /** @var \Akeeba\Backup\Admin\View\Log\Html $this */ ?> @jhtml('formbehavior.chosen') @if(isset($this->logs) && count($this->logs)) <form name="adminForm" id="adminForm" action="index.php" method="post" class="akeeba-form--inline"> <div class="akeeba-form-group"> <label for="tag">@lang('COM_AKEEBA_LOG_CHOOSE_FILE_TITLE')</label> {{-- Joomla 3.x: Chosen does not work with attached event handlers, only with inline event scripts (e.g. onchange) --}} @jhtml('select.genericlist', $this->logs, 'tag', ['list.select' => $this->tag, 'list.attr' => ['class' => 'advancedSelect', 'onchange' => 'document.forms.adminForm.submit();'], 'id' => 'comAkeebaLogTagSelector']) </div> @if(!empty($this->tag)) <div class="akeeba-form-group--actions"> <a class="akeeba-btn--primary" href="{{{ JUri::base() }}}index.php?option=com_akeeba&view=Log&task=download&tag={{{ $this->tag }}}"> <span class="akion-ios-download"></span> @lang('COM_AKEEBA_LOG_LABEL_DOWNLOAD') </a> </div> @endif <div class="akeeba-hidden-fields-container"> <input name="option" value="com_akeeba" type="hidden" /> <input name="view" value="Log" type="hidden" /> <input type="hidden" name="@token(true)" value="1" /> </div> </form> @endif @if(!empty($this->tag)) @if ($this->logTooBig) <div class="akeeba-block--warning"> <p> @sprintf('COM_AKEEBA_LOG_SIZE_WARNING', number_format($this->logSize / (1024 * 1024), 2)) </p> <a class="akeeba-btn--dark" id="showlog" href="#"> @lang('COM_AKEEBA_LOG_SHOW_LOG') </a> </div> @endif <div id="iframe-holder" class="akeeba-panel--primary" style="display: {{ $this->logTooBig ? 'none' : 'block' }};"> @if(!$this->logTooBig) <iframe src="index.php?option=com_akeeba&view=Log&task=iframe&format=raw&tag={{ urlencode($this->tag) }}" width="99%" height="400px"> </iframe> @endif </div> @endif @if( ! (isset($this->logs) && count($this->logs))) <div class="akeeba-block--failure"> @lang('COM_AKEEBA_LOG_NONE_FOUND') </div> @endif PK }�!]<Z�_ _ raw.blade.phpnu &1i� <?php /** * @package akeebabackup * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ defined('_JEXEC') || die(); use Akeeba\Engine\Factory; use Joomla\CMS\Language\Text; /** @var \Akeeba\Backup\Admin\View\Log\Raw $this */ // -- Get the log's file name $tag = $this->tag; $logFile = Factory::getLog()->getLogFilename($tag); if (!@is_file($logFile) && @file_exists(substr($logFile, 0, -4))) { /** * Transitional period: the log file akeeba.tag.log.php may not exist but the akeeba.tag.log does. This * addresses this transition. */ $logFile = substr($logFile, 0, -4); } @ob_end_clean(); if (!@file_exists($logFile)) { // Oops! The log doesn't exist! echo '<p>' . Text::_('COM_AKEEBA_LOG_ERROR_LOGFILENOTEXISTS') . '</p>'; return; } else { // Allright, let's load and render it $fp = fopen($logFile, "r"); if ($fp === FALSE) { // Oops! The log isn't readable?! echo '<p>' . Text::_('COM_AKEEBA_LOG_ERROR_UNREADABLE') . '</p>'; return; } while (!feof($fp)) { $line = fgets($fp); if (!$line) return; $exploded = explode("|", $line, 3); unset($line); if (count($exploded) < 3) continue; switch (trim($exploded[0])) { case "ERROR": $fmtString = "<span style=\"color: red; font-weight: bold;\">["; break; case "WARNING": $fmtString = "<span style=\"color: #D8AD00; font-weight: bold;\">["; break; case "INFO": $fmtString = "<span style=\"color: black;\">["; break; case "DEBUG": $fmtString = "<span style=\"color: #666666; font-size: small;\">["; break; default: $fmtString = "<span style=\"font-size: small;\">["; break; } $fmtString .= $exploded[1] . "] " . htmlspecialchars($exploded[2]) . "</span><br/>\n"; unset($exploded); echo $fmtString; unset($fmtString); } } @ob_start(); PK }�!]���� � default.blade.phpnu &1i� PK }�!]<Z�_ _ � raw.blade.phpnu &1i� PK � g
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка