HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User: scientificreligi (1062)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/scientificreligi/public_html/wp-content/plugins/auteur-framework/inc/metabox.class.php
<?php
if (!class_exists('G5P_Inc_MetaBox')) {
	class G5P_Inc_MetaBox {
        private static $_instance;
        public static function getInstance() {
            if (self::$_instance == NULL) { self::$_instance = new self(); }
            return self::$_instance;
        }
        public function get_page_preset($id = ''){ return $this->getMetaValue('g5plus_auteur_page_preset', $id); }
        public function get_main_layout($id = ''){ return $this->getMetaValue('g5plus_auteur_main_layout', $id); }
        public function get_content_full_width($id = ''){ return $this->getMetaValue('g5plus_auteur_content_full_width', $id); }
        public function get_custom_content_padding($id = ''){ return $this->getMetaValue('g5plus_auteur_custom_content_padding', $id); }
        public function get_content_padding($id = ''){ return $this->getMetaValue('g5plus_auteur_content_padding', $id); }
        public function get_mobile_custom_content_padding($id = ''){ return $this->getMetaValue('g5plus_auteur_mobile_custom_content_padding', $id); }
        public function get_mobile_content_padding($id = ''){ return $this->getMetaValue('g5plus_auteur_mobile_content_padding', $id); }
        public function get_sidebar_layout($id = ''){ return $this->getMetaValue('g5plus_auteur_sidebar_layout', $id); }
        public function get_sidebar($id = ''){ return $this->getMetaValue('g5plus_auteur_sidebar', $id); }
        public function get_page_title_enable($id = ''){ return $this->getMetaValue('g5plus_auteur_page_title_enable', $id); }
        public function get_page_title_content_block($id = ''){ return $this->getMetaValue('g5plus_auteur_page_title_content_block', $id); }
        public function get_page_title_content($id = ''){ return $this->getMetaValue('g5plus_auteur_page_title_content', $id); }
        public function get_page_subtitle_content($id = ''){ return $this->getMetaValue('g5plus_auteur_page_subtitle_content', $id); }
        public function get_css_class($id = ''){ return $this->getMetaValue('g5plus_auteur_css_class', $id); }
        public function get_page_menu($id = ''){ return $this->getMetaValue('g5plus_auteur_page_menu', $id); }
		public function get_page_menu_left($id = ''){ return $this->getMetaValue('g5plus_auteur_page_menu_left', $id); }
		public function get_page_menu_right($id = ''){ return $this->getMetaValue('g5plus_auteur_page_menu_right', $id); }
        public function get_page_mobile_menu($id = ''){ return $this->getMetaValue('g5plus_auteur_page_mobile_menu', $id); }
        public function get_is_one_page($id = ''){ return $this->getMetaValue('g5plus_auteur_is_one_page', $id); }
        public function getMetaValue($meta_key, $id = '') {
            if ($id === '') {
                $id = get_the_ID();
            }

            $value = get_post_meta($id, $meta_key, true);
            if ($value === '') {
                $default = &$this->getDefault();
                if (isset($default[$meta_key])) {
                    $value = $default[$meta_key];
                }
            }
            return $value;
        }


        public function &getDefault() {
            $default = array (
                'g5plus_auteur_page_preset' => '',
                'g5plus_auteur_main_layout' => '',
                'g5plus_auteur_content_full_width' => '',
                'g5plus_auteur_custom_content_padding' => '',
                'g5plus_auteur_content_padding' =>
                    array (
                        'left' => 0,
                        'right' => 0,
                        'top' => 50,
                        'bottom' => 50,
                    ),
                'g5plus_auteur_mobile_custom_content_padding' => '',
                'g5plus_auteur_mobile_content_padding' =>
                    array (
                        'left' => 0,
                        'right' => 0,
                        'top' => 50,
                        'bottom' => 50,
                    ),
                'g5plus_auteur_sidebar_layout' => '',
                'g5plus_auteur_sidebar' => '',
                'g5plus_auteur_page_title_enable' => '',
                'g5plus_auteur_page_title_content_block' => '',
                'g5plus_auteur_page_title_content' => '',
                'g5plus_auteur_page_subtitle_content' => '',
                'g5plus_auteur_css_class' => '',
                'g5plus_auteur_page_menu' => '',
                'g5plus_auteur_page_menu_left' => '',
                'g5plus_auteur_page_menu_right' => '',
                'g5plus_auteur_page_mobile_menu' => '',
                'g5plus_auteur_is_one_page' => '',
            );
            return $default;
        }
    }
}