Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/popup.zip
Назад
PK TX#]�#o, , index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK TX#]0j��1 1 tmpl/default.phpnu &1i� <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; ?> <style type="text/css"> /* Reset template style sheet */ body{margin:0;padding:0;}div{margin:0;padding:0;}img{margin:0;padding:0;} </style> <div id="wf_popup_image"> <?php if ($this->features['mode']) { ?> <div class="contentheading"><?php echo $this->features['title']; ?></div> <?php } ?> <?php if ($this->features['mode'] && $this->features['print']) { ?> <div class="buttonheading"><a href="javascript:;" onClick="window.print(); return false"><img src="<?php echo Uri::root(); ?>media/com_jce/img/print.png" width="16" height="16" alt="<?php echo Text::_('Print'); ?>" title="<?php echo Text::_('Print'); ?>" /></a></div> <?php } ?> <div><img src="<?php echo $this->features['img']; ?>" width="<?php echo $this->features['width']; ?>" height="<?php echo $this->features['height']; ?>" alt="<?php echo $this->features['alt']; ?>" onclick="window.close();" /></div> </div>PK TX#]�#o, , tmpl/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK TX#]��q� � view.html.phpnu &1i� <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ use Joomla\CMS\Factory; use Joomla\CMS\MVC\View\AbstractView; use Joomla\CMS\Uri\Uri; class JceViewPopup extends AbstractView { public function display($tpl = null) { $app = Factory::getApplication(); $document = Factory::getDocument(); $document->addScript(Uri::root(true) . '/media/com_jce/site/js/popup.min.js'); $document->addStylesheet(Uri::root(true) . '/media/com_jce/site/css/popup.min.css'); // Get variables $img = $app->input->get('img', '', 'STRING'); $title = $app->input->getWord('title'); $mode = $app->input->getInt('mode', '0'); $click = $app->input->getInt('click', '0'); $print = $app->input->getInt('print', '0'); $dim = array('', ''); if (strpos('://', $img) === false) { $path = JPATH_SITE . '/' . trim(str_replace(Uri::root(), '', $img), '/'); if (is_file($path)) { $dim = @getimagesize($path); } } $width = $app->input->getInt('w', $app->input->getInt('width', '')); $height = $app->input->getInt('h', $app->input->getInt('height', '')); if (!$width) { $width = $dim[0]; } if (!$height) { $height = $dim[1]; } // Cleanup img variable $img = preg_replace('/[^a-z0-9\.\/_-]/i', '', $img); $title = isset($title) ? str_replace('_', ' ', $title) : basename($img); // img src must be passed if ($img) { $features = array( 'img' => str_replace(Uri::root(), '', $img), 'title' => $title, 'alt' => $title, 'mode' => $mode, 'click' => $click, 'print' => $print, 'width' => $width, 'height' => $height, ); $document->addScriptDeclaration('(function(){WfWindowPopup.init(' . $width . ', ' . $height . ', ' . $click . ');})();'); $this->features = $features; } else { $app->redirect('index.php'); } parent::display($tpl); } } PK TX#]�#o, , index.htmlnu &1i� PK TX#]0j��1 1 f tmpl/default.phpnu &1i� PK TX#]�#o, , � tmpl/index.htmlnu &1i� PK TX#]��q� � B view.html.phpnu &1i� PK 6
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка