Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/plugins/unlimited-for-elementor-premium/views/layout_preview.php
Ðазад
<?php /** * @package Unlimited Elements * @author unlimited-elements.com * @copyright (C) 2021 Unlimited Elements, All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * */ defined('UNLIMITED_ELEMENTS_INC') or die('Restricted access'); class UniteCreatorLayoutPreview{ protected $showHeader = false; protected $showToolbar = true; protected $layoutID; protected $layout; /** * constructor */ public function __construct(){ $layoutID = UniteFunctionsUC::getGetVar("id", null, UniteFunctionsUC::SANITIZE_ID); UniteFunctionsUC::validateNotEmpty($layoutID, "Layout ID var"); //---- other settings --- $this->layoutID = $layoutID; $this->layout = new UniteCreatorLayout(); $this->layout->initByID($layoutID); } /** * get header title */ protected function getHeaderTitle(){ $titleText = $this->layout->getTitle(); $title = HelperUC::getText("preview_layout")." - "; return($title); } /** * output layout */ protected function outputLayout($fullPage = false){ HelperUC::outputLayout($this->layoutID, false, $fullPage); } /** * display */ protected function display(){ $layoutID = $this->layoutID; ?> <div class="unite-content-wrapper unite-inputs"> <div class="uc-layout-preview-wrapper"> <?php $this->outputLayout(); ?> <div class="unite-clear"></div> </div> </div> <?php } } $pathProviderLayout = GlobalsUC::$pathProvider."views/layout_preview.php"; require_once $pathProviderLayout; new UniteCreatorLayoutPreviewProvider();
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка