????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.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 : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././proc/self/root/home/tempvsty/buyeaa.com/wp-content/plugins/themesky/metaboxes/ |
Upload File : |
<?php
$options = array();
$default_sidebars = function_exists('yoome_get_list_sidebars')? yoome_get_list_sidebars(): array();
$sidebar_options = array();
foreach( $default_sidebars as $key => $_sidebar ){
$sidebar_options[$_sidebar['id']] = $_sidebar['name'];
}
/* Get list menus */
$menus = array('0' => esc_html__('Default', 'themesky'));
$nav_terms = get_terms( 'nav_menu', array( 'hide_empty' => true ) );
if( is_array($nav_terms) ){
foreach( $nav_terms as $term ){
$menus[$term->term_id] = $term->name;
}
}
/* Get list Footer Blocks */
$footer_blocks = function_exists('yoome_get_footer_block_options')? yoome_get_footer_block_options(): array();
$footer_blocks['0'] = esc_html__('Default', 'themesky');
$options[] = array(
'id' => 'page_layout_heading'
,'label' => esc_html__('Page Layout', 'themesky')
,'desc' => ''
,'type' => 'heading'
);
$options[] = array(
'id' => 'layout_fullwidth'
,'label' => esc_html__('Layout Fullwidth', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'default' => esc_html__('Default', 'themesky')
,'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
);
$options[] = array(
'id' => 'header_layout_fullwidth'
,'label' => esc_html__('Header Layout Fullwidth', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
);
$options[] = array(
'id' => 'main_content_layout_fullwidth'
,'label' => esc_html__('Main Content Layout Fullwidth', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
);
$options[] = array(
'id' => 'footer_layout_fullwidth'
,'label' => esc_html__('Footer Layout Fullwidth', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
);
$options[] = array(
'id' => 'layout_style'
,'label' => esc_html__('Layout Style', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'default' => esc_html__('Default', 'themesky')
,'boxed' => esc_html__('Boxed', 'themesky')
,'wide' => esc_html__('Wide', 'themesky')
)
);
$options[] = array(
'id' => 'page_layout'
,'label' => esc_html__('Page Layout', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'0-1-0' => esc_html__('Fullwidth', 'themesky')
,'1-1-0' => esc_html__('Left Sidebar', 'themesky')
,'0-1-1' => esc_html__('Right Sidebar', 'themesky')
,'1-1-1' => esc_html__('Left & Right Sidebar', 'themesky')
)
);
$options[] = array(
'id' => 'left_sidebar'
,'label' => esc_html__('Left Sidebar', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => $sidebar_options
);
$options[] = array(
'id' => 'right_sidebar'
,'label' => esc_html__('Right Sidebar', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => $sidebar_options
);
$options[] = array(
'id' => 'header_breadcrumb_heading'
,'label' => esc_html__('Header - Breadcrumb', 'themesky')
,'desc' => ''
,'type' => 'heading'
);
$options[] = array(
'id' => 'header_layout'
,'label' => esc_html__('Header Layout', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'default' => esc_html__('Default', 'themesky')
,'v1' => esc_html__('Header Layout 1', 'themesky')
,'v2' => esc_html__('Header Layout 2', 'themesky')
,'v3' => esc_html__('Header Layout 3', 'themesky')
,'v4' => esc_html__('Header Layout 4', 'themesky')
,'v5' => esc_html__('Header Layout 5', 'themesky')
,'v6' => esc_html__('Header Layout 6', 'themesky')
)
);
$options[] = array(
'id' => 'header_transparent'
,'label' => esc_html__('Transparent Header', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
,'default' => '0'
);
$options[] = array(
'id' => 'header_text_color'
,'label' => esc_html__('Header Text Color', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'default' => esc_html__('Default', 'themesky')
,'light' => esc_html__('Light', 'themesky')
)
,'default' => 'default'
);
$options[] = array(
'id' => 'menu_id'
,'label' => esc_html__('Primary Menu', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => $menus
);
$options[] = array(
'id' => 'show_page_title'
,'label' => esc_html__('Show Page Title', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
);
$options[] = array(
'id' => 'show_breadcrumb'
,'label' => esc_html__('Show Breadcrumb', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
);
$options[] = array(
'id' => 'breadcrumb_layout'
,'label' => esc_html__('Breadcrumb Layout', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'default' => esc_html__('Default', 'themesky')
,'v1' => esc_html__('Breadcrumb Layout 1', 'themesky')
,'v2' => esc_html__('Breadcrumb Layout 2', 'themesky')
,'v3' => esc_html__('Breadcrumb Layout 3', 'themesky')
)
);
$options[] = array(
'id' => 'breadcrumb_bg_parallax'
,'label' => esc_html__('Breadcrumb Background Parallax', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'default' => esc_html__('Default', 'themesky')
,'1' => esc_html__('Yes', 'themesky')
,'0' => esc_html__('No', 'themesky')
)
);
$options[] = array(
'id' => 'bg_breadcrumbs'
,'label' => esc_html__('Breadcrumb Background Image', 'themesky')
,'desc' => ''
,'type' => 'upload'
);
$options[] = array(
'id' => 'logo'
,'label' => esc_html__('Logo', 'themesky')
,'desc' => ''
,'type' => 'upload'
);
$options[] = array(
'id' => 'logo_mobile'
,'label' => esc_html__('Mobile Logo', 'themesky')
,'desc' => ''
,'type' => 'upload'
);
$options[] = array(
'id' => 'logo_mobile_menu'
,'label' => esc_html__('Mobile Menu Logo', 'themesky')
,'desc' => esc_html__('Display this logo on the top of mobile menu', 'themesky')
,'type' => 'upload'
);
$options[] = array(
'id' => 'logo_sticky'
,'label' => esc_html__('Sticky Logo', 'themesky')
,'desc' => ''
,'type' => 'upload'
);
$options[] = array(
'id' => 'page_slider_heading'
,'label' => esc_html__('Page Slider', 'themesky')
,'desc' => ''
,'type' => 'heading'
);
$revolution_exists = class_exists('RevSliderSlider');
$page_sliders = array();
$page_sliders[0] = esc_html__('No Slider', 'themesky');
if( $revolution_exists ){
$page_sliders['revslider'] = esc_html__('Revolution Slider', 'themesky');
}
$options[] = array(
'id' => 'page_slider'
,'label' => esc_html__('Page Slider', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => $page_sliders
);
$options[] = array(
'id' => 'page_slider_position'
,'label' => esc_html__('Page Slider Position', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => array(
'before_header' => esc_html__('Before Header', 'themesky')
,'before_main_content' => esc_html__('Before Main Content', 'themesky')
)
,'default' => 'before_main_content'
);
if( $revolution_exists ){
global $wpdb;
$revsliders = array();
$revsliders[0] = esc_html__('Select a slider', 'themesky');
$sliders = $wpdb->get_results("SELECT * FROM ".$wpdb->prefix."revslider_sliders where type != 'folder'");
if( $sliders ){
foreach( $sliders as $slider ){
$revsliders[$slider->alias] = $slider->title;
}
}
$options[] = array(
'id' => 'rev_slider'
,'label' => esc_html__('Select Revolution Slider', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => $revsliders
);
}
$options[] = array(
'id' => 'page_footer_heading'
,'label' => esc_html__('Page Footer', 'themesky')
,'desc' => ''
,'type' => 'heading'
);
$options[] = array(
'id' => 'first_footer_area'
,'label' => esc_html__('First Footer Area', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => $footer_blocks
);
$options[] = array(
'id' => 'second_footer_area'
,'label' => esc_html__('Second Footer Area', 'themesky')
,'desc' => ''
,'type' => 'select'
,'options' => $footer_blocks
);
?>