![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/ligaamadora.com/wp-content/plugins/pagelayer/main/ |
<?php ////////////////////////////////////////////////////////////// //=========================================================== // class.php //=========================================================== // PAGELAYER // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Pulkit Gupta // Date: 23rd Jan 2017 // Time: 23:00 hrs // Site: http://pagelayer.com/wordpress (PAGELAYER) // ---------------------------------------------------------- // Please Read the Terms of use at http://pagelayer.com/tos // ---------------------------------------------------------- //=========================================================== // (c)Pagelayer Team //=========================================================== ////////////////////////////////////////////////////////////// // Are we being accessed directly ? if(!defined('PAGELAYER_VERSION')) { exit('Hacking Attempt !'); } // PageLayer Class class PageLayer{ // All Settings var $settings = array(); // Cache var $cache = array(); // Common Styles Params var $styles = array(); // All Shortcodes var $shortcodes = array(); // All Shortcodes Groups var $groups = array(); // Builder definition var $builder = array(); // The Lang Strings var $l = array(); // Runtime fonts var $runtime_fonts = array(); // Array of all the template paths var $all_template_paths = array(); // Tabs visible in the left panel var $tabs = ['settings', 'options']; // Icons set var $icons = ['font-awesome5']; // For exporting templates var $media_to_export = array(); // For global widget var $global_widgets = array(); // For global section var $global_sections = array(); // For saved sections var $saved_sections = array(); function __construct() { // Load the langs $this->l = @file_get_contents(PAGELAYER_DIR.'/languages/en.json'); $this->l = @json_decode($this->l, true); // Add after plugins_loaded add_action('plugins_loaded', [ $this, 'load_extra_languages' ], 11); } function load_extra_languages(){ if(defined('SITEPAD')){ $this->l['email_desc'] = 'To change the email, visit your '.BRAND_SM.' Dashboard -> Settings -> Editor Settings'; $this->l['CMA_desc'] = 'To change text, visit your '.BRAND_SM.' Dashboard -> Settings -> Editor Settings'; } } }