<?php 
if ( ! class_exists( 'Redux' ) ) {
    return;
}
// This is your option name where all the Redux data is stored.
$opt_name            	= "opt_themes";
$linksites            	= get_bloginfo('url'); 
$parse            		= parse_url($linksites); 
$sites            		= $parse['host'];
// This is your option name where all the Redux data is stored.profile_url
$loginurl            	= home_url( '/login/' );
$registerurl            = home_url( '/register/' );
$tosurl            		= home_url( '/tos/' );
$profileurl            	= home_url( '/profile/' );
$url            		= home_url( '/' );
$url1            		= get_bloginfo('url'); 
$linkX            		= get_bloginfo('url'); 
$parse            		= parse_url($linkX);
$sites            		= $parse['host'];
$admin_email            = get_bloginfo('admin_email'); 
$linkthemes            	= get_bloginfo('template_directory');
$dir_image            	= $linkthemes."/assets/img";

/**
 * ---> SET ARGUMENTS
 * All the possible arguments for Redux.
 * For full documentation on arguments, please refer to: https://github.com/ReduxFramework/ReduxFramework/wiki/Arguments
 * */
$theme = wp_get_theme(); // For use with some settings. Not necessary.
$args = array(
'opt_name'             => $opt_name,
'display_name'         => '<span class="dashicons dashicons-xing"></span> '.$theme->get( 'Name' ),
'display_version'      => $theme->get( 'Version' ),
'menu_type'            => 'menu',
'allow_sub_menu'       => true,
'menu_title'			=> __( 'Panel '.$theme->get( 'Name' ), TEXT_DOMAIN ),
'page_title'			=> __( ''.$theme->get( 'Name' ).' '.$theme->get( 'Version' ).'', TEXT_DOMAIN ),
'google_api_key'		=> '',
'google_update_weekly'	=> false,
'async_typography'		=> true,
//'disable_google_fonts_link'			=> true,                    // Disable this in case you want to create your own google fonts loader
'admin_bar'				=> true,
'admin_bar_icon'		=> 'dashicons-xing',
'admin_bar_priority'	=> 999,
'global_variable'		=> '',
'dev_mode'				=> false,
'ajax_save'            => true,
'update_notice'			=> false,
'customizer'			=> false,
// Enable basic customizer support
//'open_expanded'				=> true,                    // Allow you to start the panel in an expanded way initially.
//'disable_save_warn'			=> true,                    // Disable the save warning when a user changes a field
// OPTIONAL -> Give you extra features
'page_priority'			=> 125,
'page_parent'			=> 'themes.php',
'page_permissions'		=> 'manage_options',
'menu_icon'				=> 'dashicons-xing',
'last_tab'				=> '',
'page_icon'				=> 'icon-themes',
'page_slug'				=> '_options',
'save_defaults'			=> true,
'default_show'			=> false,
'default_mark'			=> '',
'show_import_export'	=> true,
// CAREFUL -> These options are for advanced use only
'transient_time'		=> 60 * MINUTE_IN_SECONDS,
'output'   				=> true,
'output_tag'			=> true,
// 'footer_credit'		=> '',                   // Disable the footer credit of Redux. Please leave if you can help it.
// FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
'database'				=> '',
'use_cdn'  				=> true,
// If you prefer not to use the CDN for Select2, Ace Editor, and others, you may download the Redux Vendor Support plugin yourself and run locally or embed it in your code.
//'compiler'				=> true,
// HINTS
    'hints'						=> array(
        'icon'					=> 'el el-question-sign',
        'icon_position'			=> 'right',
        'icon_color'			=> 'lightgray',
        'icon_size'				=> 'normal',
        'tip_style'    			=> array(
            'color'				=> 'light',
            'shadow'			=> true,
            'rounded'			=> false,
            'style'				=> '',
        ),
        'tip_position' 			=> array(
            'my'				=> 'top left',
            'at'				=> 'bottom right',
        ),
        'tip_effect'   			=> array(
            'show'				=> array(
                'effect'		=> 'slide',
                'duration'		=> '500',
                'event'			=> 'mouseover',
            ),
            'hide'				=> array(
                'effect'		=> 'slide',
                'duration'		=> '500',
                'event'			=> 'click mouseleave',
            ),
        ),
    )
);
// ADMIN BAR LINKS -> Setup custom links in the admin bar menu as external items.

			$args['admin_bar_links'][] = array(
			'id'			=> 'redux-docs',
			'href'			=> EXTHEMES_YOUTUBE_URL,
			'title'			=> __( 'Doc', TEXT_DOMAIN ),
			);
			/*
			$args['admin_bar_links'][] = array(
			//'id'			=> 'redux-support',
			'href'			=> 'https://github.com/ReduxFramework/redux-framework/issues',
			'title'			=> __( 'Support', TEXT_DOMAIN ),
			);

			$args['admin_bar_links'][] = array(
			'id'			=> 'redux-extensions',
			'href'			=> 'reduxframework.com/extensions',
			'title'			=> __( 'Extensions', TEXT_DOMAIN ),
			);

*/
// SOCIAL ICONS -> Setup custom links in the footer for quick links in your panel footer icons.
			$args['share_icons'][] = array(
			'url'			=> EXTHEMES_FACEBOOK_URL,
			'title'			=> 'Follow us on Facebook',
			'icon'			=> 'el el-facebook'
			);
			$args['share_icons'][] = array(
			'url'			=> EXTHEMES_TWITTER_URL,
			'title'			=> 'Follow us on Twitter',
			'icon'			=> 'el el-twitter'
			);
			$args['share_icons'][] = array(
			'url'			=> EXTHEMES_LINKEDIN_URL,
			'title'			=> 'Find us on LinkedIn',
			'icon'			=> 'el el-linkedin'
			);
			$args['share_icons'][] = array(
			'url'			=> EXTHEMES_YOUTUBE_URL,
			'title'			=> 'Find us on Youtube',
			'icon'			=> 'el el-youtube'
			);

			$args['share_icons'][] = array(
			'url'			=> EXTHEMES_INSTAGRAM_URL,
			'title'			=> 'Find us on Instagram',
			'icon'			=> 'el el-instagram'
			);

			$args['share_icons'][] = array(
			'url'			=> EXTHEMES_API_URL,
			'title'			=> 'Find us on Wordpress',
			'icon'			=> 'el el-wordpress'
			);

// Panel Intro text -> before the form
if ( ! isset( $args['global_variable'] ) || $args['global_variable'] !== false ) {
    if ( ! empty( $args['global_variable'] ) ) {
        $v = $args['global_variable'];
    } else {
        $v = str_replace( '-', '_', $args['opt_name'] );
    }
    //$args['intro_text'] = sprintf( __( '<noscript><p style="display:none">Did you know that Redux sets a global variable for you? To access any of your saved options from within your code you can use your global variable: <strong>$%1$s</strong></p></noscript>', TEXT_DOMAIN ), $v );
} else {
    //$args['intro_text'] = __( '<p style="display:none">This text is displayed above the options panel. It isn\'t required, but more info is always better! The intro_text field accepts all HTML.</p>', TEXT_DOMAIN );
}
// Add content after the form.
$args['footer_text'] = __( ' ', TEXT_DOMAIN );
Redux::setArgs( $opt_name, $args );


Redux::setSection( $opt_name, array(
'title'				=> __( 'Extractor APK', TEXT_DOMAIN ),
'id'   				=> 'option_extractor_apk',
'customizer_width'	=> '500px',
'icon'				=> 'el el-view-mode',
'fields'			=> array( 
        
	array(
		'id'		=> 'ex_themes_extractor_apk_status_post_',
		'type'		=> 'select',
		'title'		=> 'Post Status ',
		'subtitle'	=> 'Select a Status Post for Apk Extractor ',
		'desc'		=> '<b>Draft Post</b> or <b>Publish Post</b> <br>default is <b>Draft Post</b> ',
		'options'	=> array(
			'draft'		=> 'Default ( Draft Post )',
			'publish'	=> 'Publish Post'
		),
		'default'	=> 'draft',
	),

	array(
		'id'		=> 'ex_themes_extractor_apk_language_',
		'type'		=> 'select',
		'title'		=> 'Language',
		'desc'		=> 'Default : <b>English</b>',
		'subtitle'	=> 'Select a Language for Apk Extractor ',
		'options'	=> array(
			'en-US'		=> 'Default ( English )', 
			'af'		=> 'Afrikaans', 
			'sq'		=> 'Albanian', 
			'am'		=> 'Amharic', 
			'ar'		=> 'Arabic', 
			'hy'		=> 'Armenian', 
			'eu'		=> 'Basque', 
			'bg'		=> 'Bulgarian ', 
			'be'		=> 'Belarusian', 
			'bn'		=> 'Bengali - India', 
			'bs'		=> 'Bosnian', 
			'pt_BR'		=> 'Brazil', 
			'ca'		=> 'Catalan',  
			'zh_CN'		=> 'Chinese (PRC)', 
			'zh_TW'		=> 'Chinese Taiwan', 
			'zh_HK'		=> 'Chinese Hong Kong', 
			'hr'		=> 'Croatian', 
			'cs'		=> 'Czech', 
			'da'		=> 'Danish', 
			'et'		=> 'Estonian', 
			'fi'		=> 'Finnish', 
			'fil'		=> 'Filipino', 
			'fr'		=> 'French', 
			'gl'		=> 'Galician', 
			'de'		=> 'German', 
			'de_AT'		=> 'German - Austria', 
			'de_CH'		=> 'German - Switzerland', 
			'gsw'		=> 'German Swiss', 
			'el'		=> 'Greek', 
			'gu'		=> 'Gujarati', 
			'iw'		=> 'Hebrew ', 
			'hi'		=> 'Hindi', 
			'hu'		=> 'Hungarian', 
			'in'		=> 'Indonesia', 
			'it'		=> 'Italian', 
			'ja'		=> 'Japanese', 
			'ko'		=> 'Korean', 
			'lo'		=> 'Laos', 
			'mn'		=> 'Mongolian', 
			'mr'		=> 'Marathi', 
			'ms'		=> 'Malaysia', 
			'my'		=> 'Myanmar', 
			'no'		=> 'Norwegian ', 
			'ne'		=> 'Nepali', 
			'nl'		=> 'Netherlands',
			'fa'		=> 'Persian',  
			'pa'		=> 'Punjabi', 
			'pl'		=> 'Polish', 
			'pt_PT'		=> 'Portugal', 
			'ro'		=> 'Romania', 
			'ru'		=> 'Russian', 
			'sk'		=> 'Slovak', 
			'sl'		=> 'Slovenian', 
			'es'		=> 'Spanish', 
			'sr'		=> 'Serbian ', 
			'ta'		=> 'Tamil', 
			'te'		=> 'Telugu', 
			'th'		=> 'Thai', 
			'tr'		=> 'Turkish', 
			'uk'		=> 'Ukrainian',  
			'vi'		=> 'Vietnamese',
			'zu'		=> 'Zulu' 
		),
		'default'	=> 'en-US',
	),

	
	array(
		'id'		=> 'ex_themes_extractor_apk_title_',
		'type'		=> 'select',
		'title'		=> 'Post Title ',
		'desc'		=> 'Default is <b>Title by Appname Playstore</b>',
		'subtitle'	=> 'Select a Post Title for Apk Extractor',
		'options'	=> array(
			'title'		=> 'Title by Sources',
			'title_GP'	=> 'Default ( Title by Appname Playstore )'
		),
		'default'	=> 'title_GP',
	),

	array(
		'id'		=> 'ex_themes_extractor_apk_permalink_',
		'type'		=> 'select',
		'title'		=> 'Post Permalink ',
		'desc'		=> 'Default is <b>Permalink by Appname Playstore</b>',
		'subtitle'	=> 'Select a Post Permalink for Apk Extractor',
		'options'	=> array(
			'title'		=> 'Permalink by Title Sources',
			'title_GP'	=> 'Default ( Permalink by Appname Playstore )'
		),
		'default'	=> 'title_GP',
	),

	array(
		'id'				=> 'app_name_on',
		'type'				=> 'switch',
		'title'				=> 'Title Appname',
		'desc'				=> '<b>Enable</b> to show title appname playstore<br>Default is <b>Disabled</b>',
		'subtitle'			=> 'Show a Title by Appname (Playstore) for a Themes',
		'default'			=> 0,
		'on'				=> 'Enabled',
		'off'				=> 'Disabled',
	), 
		
	array(
		'id'		=> 'single_appname',
		'type'		=> 'switch',
		'title'		=> __( 'Single Title by App Name', TEXT_DOMAIN ),
		'subtitle'	=> 'Show a Title Single & Download by Appname (Playstore) for a Themes', 
		'desc'		=> '<b>ENABLE</b> to show App Name on Single Title Post and &lt;title&gt; tag', 
		'default'	=> 0,
		'on'		=> 'Enable',
		'off'		=> 'Disable',
	),

	array(
		'id'				=> 'duplicate_post',
		'type'				=> 'switch',
		'title'				=> 'Duplicate Post',
		'desc'				=> '<b>Enable</b> to make it <b>Duplicate Post</b> after Submit <b>Apk Extractor</b> <br> Default is <b>Enable</b>', 
		'subtitle'			=> 'Duplicate the Post after submit apk extractor for a Themes',
		'default'			=> 1,
		'on'				=> 'Enabled',
		'off'				=> 'Disabled',
	), 
	array(
		'id'				=> 'hotlink',
		'type'				=> 'switch',
		'title'				=> 'Thumbnails Hotlink ',
		'desc'				=> '<b>Enabled</b> to use <b>Hotlink Thumbnails</b> from PlayStore ',
		'subtitle'			=> 'Use Image Thumbnails Hotlink from Playstore for a Themes',
		'default'			=> 0,
		'on'				=> 'Enabled',
		'off'				=> 'Disabled',
	),
		
	array(
		'id'		=> 'content_post',
		'type'		=> 'switch',
		'title'		=> 'Article Content',
		'desc'		=> '<b>Enable</b> use Article Content from Sources. <br><b>Disable</b> use Article Content from Playstore.<br>Setting not Working for <b>Playstore</b> and <b>Aptoide</b> Sources <br>Default is <b>Disable</b>',
		'subtitle'	=> 'Select Article Content Sources for a Themes',
		'default'	=> 0,
		'on'		=> 'Enable',
		'off'		=> 'Disable',
	),

	array(
		'id'		=> 'bahasa_on',
		'type'		=> 'switch',
		'title'		=> 'Translate',
		'desc'		=> '<b>Enable</b> to use <b>Translate</b> <br>Translate only for <b>article contents</b>, <b>whats news</b>, <b>summary</b> and <b>mods</b> ',
		'subtitle'	=> 'Translate Article Content Sources for a Themes',
		'default'	=> 0,
		'on'		=> 'Enable',
		'off'		=> 'Disable',
	),

	array(
		'id'		=> 'bahasa',
		'type'		=> 'text',
		'title'		=> 'Languange Code',
		'default'	=> 'en',		
		'subtitle'	=> 'Input Languange Code',
		'desc'		=> '*Default is, <b>en</b> for english <br>copy the <b style="text-transform: uppercase;">ISO-639 code</b> to input field..<br>check the link <a style="color:yellow!important;font-weight: 700;text-transform: uppercase;" href="https://cloud.google.com/translate/docs/languages" target="_blank">click here</a> to see code Languange', 
		'required'	=> array( 'bahasa_on', '=', true )
	),

	array(
		'id'		=> 'api_zenrow',
		'type'		=> 'textarea',
		'title'		=> __('Api Zenrow', TEXT_DOMAIN),
		'subtitle'	=> 'Api Key for sources blocked by cloudflare',
		'rows'		=> 2,
		'default'	=> 'your_api_key_here',		
		'desc'		=> 'click <a style="color:yellow!important;font-weight: 700;text-transform: uppercase;" href="https://app.zenrows.com/" target="_blank">zenrows.com</a> to get api key<br> if you use <b>free</b>, register again after <b>14 days</b> with <b>new emails</b>',
	),

    )
) );
 

Redux::setSection( $opt_name, array(
'title'				=> __( 'Headers', TEXT_DOMAIN ),
'id'   				=> 'header', 
'customizer_width'	=> '700px',
'icon'				=> 'el el-cog',
'fields'			=> array(
        array(
            'id'			=> 'favicon',
            'type'			=> 'media',
            'title'			=> __( 'Favicon Logo', TEXT_DOMAIN ),
            'default'		=> array(
				'url'		=> get_bloginfo('template_directory') . '/assets/img/16/favicon.png'
			),
			'desc'			=> __( 'Upload Your <b>Favicon</b> ', TEXT_DOMAIN ),  
        ), 
        array(
            'id'			=> 'logo_header',
            'type'			=> 'media',
            'title'			=> __( 'Header Logo', TEXT_DOMAIN ),
            'default'		=> array(
				'url'		=> get_bloginfo('template_directory').'/assets/img/logo_bl.png'
			),
			'desc'			=> __( 'Upload Your <b>Header Logo</b> <br> You can upload type <b>.svg</b> or <b>.png</b>', TEXT_DOMAIN ),  
        ),    
    )
) );


Redux::setSection( $opt_name, array(
'title'            	=> __( 'Footer', TEXT_DOMAIN ),
'id'               	=> 'footers',
'customizer_width' 	=> '500px', 
'icon'             	=> 'el el-cog',
'fields'			=> array(  
        array(
            'id'			=> 'ft_copyright',
            'type'			=> 'textarea',
            'title'			=> __( 'Footer Copyright', TEXT_DOMAIN ),
            'desc'			=> __( 'HTML Allowed<br> <b>remove all code</b> if you don\'t want it to be displayed', TEXT_DOMAIN ),
            'default'		=> '<div class="copyright"><a href="'.home_url( '/' ).'">'.parse_url(get_bloginfo('url'))['host'].'</a> © Copyright '.date("Y").'. All Right Reserved.</div>
<div class="copyright">'.parse_url(get_bloginfo('url'))['host'].' using <a href="'.EXTHEMES_ITEMS_URL.'" title="'.parse_url(get_bloginfo('url'))['host'].' using '.TEXT_DOMAIN.' v.'.VERSION.' themes wordpress">'.TEXT_DOMAIN.' v.'.VERSION.' wp themes</a> - redesign by <a href="'.EXTHEMES_API_URL.'" title="'.DEVS.'">'.PRODUCT_AUTHOR.'</a></div>
			', 
        ), 
		array(
            'id'			=> 'ft_social_media_on',
            'type'			=> 'switch',
            'title'			=> __( 'Social Media Footer', TEXT_DOMAIN ),
            'desc'			=> __( '<b>ENABLE</b> to Displayed Social Media on Footer', TEXT_DOMAIN ), 
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		),
        array(
            'id'			=> 'social_media_footer',
            'type'			=> 'textarea',
            'title'			=> __( 'Socials Media ', TEXT_DOMAIN ),
            'desc'			=> __( '<b>Changes with your link</b>', TEXT_DOMAIN ),
			'required'		=> array( 'ft_social_media_on', '=', true ),
            'default'		=> '<a href="'.EXTHEMES_FACEBOOK_URL.'" title="facebook" aria-label="facebook"><i class="fa fa-facebook-square" aria-hidden="true"></i></a>			
<a href="'.EXTHEMES_TWITTER_URL.'" title="twitter" aria-label="twitter"><i class="fa fa-twitter-square" aria-hidden="true"></i></a>
<a href="'.EXTHEMES_INSTAGRAM_URL.'" title="instagram" aria-label="instagram"><i class="fa fa-instagram" aria-hidden="true"></i></a>
<a href="'.EXTHEMES_YOUTUBE_URL.'" title="youtube" aria-label="youtube"><i class="fa fa-youtube-play" aria-hidden="true"></i></a>
<a href="'.EXTHEMES_TELEGRAM_URL.'" title="telegran" aria-label="telegran"><i class="fa fa-telegram" aria-hidden="true"></i></a> 
		  
',
        ), 
		
    )
) );


Redux::setSection( $opt_name, array(
'title'				=> __( 'Media', TEXT_DOMAIN ),
'id'   				=> 'lain_lain', 
'customizer_width'	=> '700px',
'icon'				=> 'el el-picture',
'fields'			=> array(
        array(
            'id'			=> 'default_img',
            'type'			=> 'media',
            'title'			=> __( 'No Image Default', TEXT_DOMAIN ),
            'default'		=> array('url'	=> get_bloginfo('template_directory').'/assets/img/no-image-100.jpg'),
			'desc'			=> __( 'Upload Your <b>No Image Default</b> <br> You can upload type <b>.svg</b>, <b>.jpg</b>, <b>.gif</b> or <b>.png</b>', TEXT_DOMAIN ),
        ),   
        array(
            'id'			=> 'default_bg_img',
            'type'			=> 'media',
            'title'			=> __( 'No Background Image Default', TEXT_DOMAIN ),
            'default'		=> array('url'	=> get_bloginfo('template_directory').'/assets/img/no-image.jpg'),
			'desc'			=> __( 'Upload Your <b>No Background Image Default</b> <br> You can upload type  <b>.svg</b>, <b>.jpg</b>, <b>.gif</b> or <b>.png</b>', TEXT_DOMAIN ),
        ),   
	
    )
) );


Redux::setSection( $opt_name, array(
'title'				=> __( 'Colour & Styles', TEXT_DOMAIN ),
'id'   				=> 'color_styles',
'customizer_width'	=> '700px',
'icon'				=> 'el el-tint',
'subsection'		=> false,
'fields'			=> array(  
		array(
			'id'			=> 'bg_header',
			'type'			=> 'color',
			'title'			=> __('Background Header', TEXT_DOMAIN), 
            'desc'			=> __('Pick Background Header Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#ffffff',
            'validate'		=> 'color',
		),  
		array(
            'id'			=> 'color_link_headers',
            'type'			=> 'color',
            'title'			=> __('Header Link Menu', TEXT_DOMAIN),
            'desc'			=> __('Pick Header Link Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#000000',
            'validate'		=> 'color',
		),  
		array(
			'id'			=> 'bg_header_menu',
			'type'			=> 'color',
			'title'			=> __('Background User Menu Header', TEXT_DOMAIN), 
            'desc'			=> __('Pick Background User Menu Header Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#000000',
            'validate'		=> 'color',
		),  
		array(
            'id'			=> 'color_link_header_menu_user',
            'type'			=> 'link_color',
            'title'			=> __('Link User Menu', TEXT_DOMAIN),
            'desc'			=> __('Pick Header Link Color User Menu for the theme.', TEXT_DOMAIN),
            'default'		=> array(
			'regular'		=> '#a8c2ed',
			'hover'			=> '#151c26',
			'active'		=> false,
			), 
		),  
		array(
			'id'			=> 'bg_footer',
			'type'			=> 'color',
			'title'			=> __('Background Footer', TEXT_DOMAIN), 
            'desc'			=> __('Pick Background Footer Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#202c36',
            'validate'		=> 'color',
		),   
		array(
            'id'			=> 'text_footer_color',
            'type'			=> 'color',
            'title'			=> __('Text Footer', TEXT_DOMAIN),
            'desc'			=> __('Pick Text Footer Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#ffffff',
            'validate'		=> 'color',
		), 
		array(
            'id'			=> 'link_footer_color',
            'type'			=> 'link_color',
            'title'			=> __('Link Footer', TEXT_DOMAIN),
            'desc'			=> __('Pick Link Footer Color for the theme.', TEXT_DOMAIN),  
			'default'		=> array(
			'regular'		=> '#698ba9',
			'hover'			=> '#438bd3',
			'active'		=> false,
			), 
		),  
		array(
			'id'			=> 'color_link',
			'type'			=> 'link_color',
			'title'			=> __( 'Color Link', TEXT_DOMAIN ), 
            'desc'			=> __('Pick Color Link for the theme.', TEXT_DOMAIN), 
			'default'		=> array(
			'regular'		=> '#000000',
			'hover'			=> '#1a73d6',
			'active'		=> false,
			), 
		),     
		array(
            'id'			=> 'color_update',
            'type'			=> 'color',
            'title'			=> __('Color Update', TEXT_DOMAIN),
            'desc'			=> __('Pick Update Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#b871ce',
            'validate'		=> 'color',
		), 
		array(
            'id'			=> 'text_update',
            'type'			=> 'text',
            'title'			=> __('Title Update ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Update</b>',
            'default'		=> 'Update', 
		),   
		array(
            'id'			=> 'color_new',
            'type'			=> 'color',
            'title'			=> __('Color New', TEXT_DOMAIN),
            'desc'			=> __('Pick New Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#80c572',
            'validate'		=> 'color',
		), 	
		array(
            'id'			=> 'text_new',
            'type'			=> 'text',
            'title'			=> __('Title New ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>New</b>',
            'default'		=> 'New', 
		),   	  
		array(
            'id'			=> 'color_mod',
            'type'			=> 'color',
            'title'			=> __('Color Mod', TEXT_DOMAIN),
            'desc'			=> __('Pick Mod Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#fdc774',
            'validate'		=> 'color',
		), 	
		array(
            'id'			=> 'text_mod',
            'type'			=> 'text',
            'title'			=> __('Title Mod ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Mod</b>',
            'default'		=> 'Mod', 
		),   	 	  
		array(
            'id'			=> 'color_premium',
            'type'			=> 'color',
            'title'			=> __('Color Premium', TEXT_DOMAIN),
            'desc'			=> __('Pick Premium Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#ee6695',
            'validate'		=> 'color',
		), 	
		array(
            'id'			=> 'text_premium',
            'type'			=> 'text',
            'title'			=> __('Title Premium ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Premium</b>',
            'default'		=> 'Premium', 
		),   	 	  
		array(
            'id'			=> 'color_free',
            'type'			=> 'color',
            'title'			=> __('Color Free', TEXT_DOMAIN),
            'desc'			=> __('Pick Free Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#36b9e8',
            'validate'		=> 'color',
		), 	
		array(
            'id'			=> 'text_free',
            'type'			=> 'text',
            'title'			=> __('Title Free ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Free</b>',
            'default'		=> 'Free', 
		),     	 	  
		array(
            'id'			=> 'color_os',
            'type'			=> 'color',
            'title'			=> __('Color OS', TEXT_DOMAIN),
            'desc'			=> __('Pick OS Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#AE1448',
            'validate'		=> 'color',
		), 	  	 	  
		array(
            'id'			=> 'color_button',
            'type'			=> 'color',
            'title'			=> __('Color Button', TEXT_DOMAIN),
            'desc'			=> __('Pick Button Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#0077CC',
            'validate'		=> 'color',
		), 			 	  
		array(
            'id'			=> 'color_button_text',
            'type'			=> 'color',
            'title'			=> __('Color Text Button', TEXT_DOMAIN),
            'desc'			=> __('Pick Text Button Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#ffffff',
            'validate'		=> 'color',
		), 	 	  
		array(
            'id'			=> 'color_button_cat',
            'type'			=> 'color',
            'title'			=> __('Color Button Categorie', TEXT_DOMAIN),
            'desc'			=> __('Pick Button Categorie Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#1E73BE',
            'validate'		=> 'color',
		), 		 	  
		array(
            'id'			=> 'color_border',
            'type'			=> 'color',
            'title'			=> __('Color Border', TEXT_DOMAIN),
            'desc'			=> __('Pick Border Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#2e9dff',
            'validate'		=> 'color',
		), 					 	  
		array(
            'id'			=> 'color_bg_whats_new',
            'type'			=> 'color',
            'title'			=> __('Color Background Whats News', TEXT_DOMAIN),
            'desc'			=> __('Pick Background Whats News Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#d8f2f0',
            'validate'		=> 'color',
		), 			 	  
		array(
            'id'			=> 'color_other',
            'type'			=> 'color',
            'title'			=> __('Color Other', TEXT_DOMAIN),
            'desc'			=> __('Pick Other Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#2e9dff',
            'validate'		=> 'color',
		), 			 	  
		array(
            'id'			=> 'color_other_2',
            'type'			=> 'color',
            'title'			=> __('Color Other 2', TEXT_DOMAIN),
            'desc'			=> __('Pick Other 2 Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#f7f7f7',
            'validate'		=> 'color',
		), 			
		
    )
) ); 

Redux::setSection( $opt_name, array(
'title'					=> __( 'Typography', TEXT_DOMAIN ),
'id'					=> 'pengaturan_font',
'customizer_width'		=> '500px',
'icon'					=> 'el el-fontsize',
'fields'				=> array(	
		/* 
		array(
			'id'          => 'typography',
			'type'        => 'typography', 
			'title'       => __('Typography', 'redux-framework-demo'),
			'google'      => true, 
			'font-backup' => false,
			'output'      => false,
			'units'       =>'px',
			'subtitle'    => __('Typography option with each property can be called individually.', 'redux-framework-demo'),
			'default'     => array(
				'color'       => '#333', 
				'font-style'  => '700', 
				'font-family' => 'Abel', 
				'google'      => true,
				'font-size'   => '33px', 
				'line-height' => '40'
			),
        ),	 
		*/	 
		array(
			'id'			=> 'font_body',
			'type'			=> 'textarea',
			'rows'        	=> 2,
			'title'			=> 'Font Body ',
			'subtitle'		=> 'Input the Custom Font Body.',
			'default'		=> "Arial, Microsoft Sans Serif, arial",
			'desc'			=> "Example :<b>'Segoe UI', sans-serif</b><br> default is <b>Arial, Microsoft Sans Serif, arial</b>",
		),       
		array(
			'id'			=> 'font_url_custom',
			'type'			=> 'textarea',
			'rows'        	=> 1,
			'title'			=> 'Font Url ',
			'subtitle'		=> 'Input the Custom Font Url.',
			'default'		=> "",
			'desc'			=> __( '*Example, <br><b>https://fonts.cdnfonts.com/css/segoe-ui-4</b><br> Click Here To Get Font <a href="https://www.cdnfonts.com/" target="_blank"><b>cdnfonts.com</b></a>', TEXT_DOMAIN )
		),    	
		array(
			'id'			=> 'font_body_size',
			'type'			=> 'slider',
			'title'			=> 'Font Size ', 
			'subtitle'		=> 'Input the Custom Font Size ',
			"default"		=> 17,
			"min"			=> 12,
			"step"			=> 1,
			"max"			=> 30,
			'display_value'	=> 'text',
			'desc'			=> 'Choose <b>Font Size</b>',
		),  
		array(
			'id'			=> 'font_body_weight',
			'type'			=> 'slider',
			'title'			=> 'Font Weight', 
			'subtitle'		=> 'Input the Custom Font Weight',
			"default"		=> 400,
			"min"			=> 300,
			"step"			=> 100,
			"max"			=> 900,
			'display_value'	=> 'text',
			'desc'			=> 'Choose <b>Font Weight</b><br> example <b>400</b>',
		),  		 	  
		array(
            'id'			=> 'color_body_bg',
            'type'			=> 'color',
            'title'			=> __('Color Body Bacground', TEXT_DOMAIN),
			'subtitle'		=> 'Input the Color Body Bacground',
            'desc'			=> __('Pick Body Bacground Color for the theme.', TEXT_DOMAIN),
            'default'		=> '#f7f7f7',
            'validate'		=> 'color',
		), 		
			
    )
) ); 
		
Redux::setSection( $opt_name, array(
'title'				=> __( 'Pages Setting', TEXT_DOMAIN ),
'id'   				=> 'pages_settings',
'customizer_width'	=> '700px',
'icon'				=> 'el el-screen',
'subsection'		=> false,
) );


Redux::setSection( $opt_name, array(
'title'				=> __( 'Home Pages', TEXT_DOMAIN ),
'id'   				=> 'option_homepage',
'customizer_width'	=> '500px',
'icon'				=> 'el el-home',
'subsection'		=> true,
'fields'			=> array( 
		array(
            'id'			=> 'latest_post_homes',
            'type'			=> 'switch',
            'title'			=> __( 'Latest Post', TEXT_DOMAIN ),
            'desc'			=> __( '<b>ENABLE</b> to Displayed Latest Post on Homes', TEXT_DOMAIN ), 
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		),
		array(
            'id'			=> 'latest_post_title',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>New and updates</b>',
            'default'		=> 'New and updates',
            'required'		=> array( 'latest_post_homes', '=', true )
		),		
		array(
            'id'			=> 'latest_button_title',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Show all</b><br> make it empty if you dont want to show',
            'default'		=> '',
            'required'		=> array( 'latest_post_homes', '=', true )
		),				
		array(
            'id'			=> 'latest_button_link',
            'type'			=> 'text',
            'title'			=> __('Link Latest Page ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>'.home_url( '/latest' ).'</b>',
            'default'		=> home_url( '/latest' ),
            'required'		=> array( 'latest_post_homes', '=', true )
		),		 
        array(
            'id'			=> 'menu_home',
            'type'			=> 'textarea',
            'title'			=> __( 'Menu Home Page', TEXT_DOMAIN ),
            'desc'			=> __( 'HTML Allowed <br> please change <b>#add_your_link</b> with your link<br> <b>remove all code</b> if you don\'t want it to be displayed', TEXT_DOMAIN ),
            'default'		=> '<a href="#add_your_link" title="Download Best Free Games"><div class="title"><i class="_1"></i>Best Games</div></a><a href="#add_your_link" title="Download Offline Games Free"><div class="title"><i class="_2"></i>Offline Games</div></a><a href="#add_your_link" title="Download Android Mods Free"><div class="title"><i class="_3"></i>Mods</div></a><a href="#add_your_link" title="Download Android Paid (Premium) Games Free"><div class="title"><i class="_4"></i>Paid Games</div></a><a href="#add_your_link" title="Download Games up to 100 MB Free"><div class="title"><i class="_5"></i>Games up to 100 MB</div></a>', 
        ), 
		array(
            'id'			=> 'our_app_on',
            'type'			=> 'switch',
            'title'			=> __( 'Our App', TEXT_DOMAIN ),
            'desc'			=> __( '<b>ENABLE</b> to Displayed Our App', TEXT_DOMAIN ), 
			'default'		=> 0,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		),
        array(
            'id'			=> 'our_app',
            'type'			=> 'textarea',
            'title'			=> __( 'Our App', TEXT_DOMAIN ),
            'desc'			=> __( 'HTML Allowed<br>', TEXT_DOMAIN ),
            'default'		=> '<a href="#your_link"><div class="app"><div class="ico"><img src="'.get_bloginfo('template_directory').'/assets/img/logo.png'.'" title="Androeed App" alt="Androeed"></div><div class="text"><div class="title">Androeed app</div><div class="stitle">Download our application in one click <span class="size">3.13 MB</span></div></div></div></a>', 
            'required'		=> array( 'our_app_on', '=', true )
        ), 
    )
) );


Redux::setSection( $opt_name, array(
'title'				=> __( 'Single Pages', TEXT_DOMAIN ),
'id'   				=> 'related_posts',
'customizer_width'	=> '500px',
'icon'				=> 'el el-list-alt',
'subsection'		=> true,
'fields'			=> array( 
		array(
            'id'			=> 'related_posts_active',
            'type'			=> 'switch',
            'title'			=> __( 'Related Post Sidebar', TEXT_DOMAIN ), 
            'desc'			=> '<b>ENABLE</b> to Displayed Related Post on Sidebar', 
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		), 
		array(
            'id'			=> 'related_posts_title',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Recommended for you</b>',
            'default'		=> 'Recommended for you',
            'required'		=> array( 'related_posts_active', '=', true )
		),
		array(
            'id'			=> 'related_posts_numbers',
            'type'			=> 'slider',
            'title'			=> __( 'How much to Displayed ', TEXT_DOMAIN ),
            "default"		=> 6,
            "min"			=> 0,
            "step"			=> 1,
            "max"			=> 120,
            'display_value'	=> 'text',
            'required'		=> array( 'related_posts_active', '=', true )
		),  
		array(
            'id'			=> 'gallery_active',
            'type'			=> 'switch',
            'title'			=> __( 'Gallery Post', TEXT_DOMAIN ), 
            'desc'			=> '<b>ENABLE</b> to Show Gallery Post.', 
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		), 
		array(
            'id'			=> 'gallery_title',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Screenshot</b>',
            'default'		=> 'Screenshot',
            'required'		=> array( 'gallery_active', '=', true )
		),			 
        array(
            'id'			=> 'notice_post',
            'type'			=> 'textarea',
            'title'			=> __( 'Notice How to update', TEXT_DOMAIN ),
            'desc'			=> __( '<b>HTML Allowed</b><br> <b>remove all code</b> if you don\'t want it to be displayed', TEXT_DOMAIN ),
            'default'		=> '<li>To update the application, install the new version of the application over (without deleting) the old one.</li>
<li>This update will only be possible if the previous version of the application is downloaded from us. Otherwise, there will be a signature conflict and you will see the message "Application not installed".</li> 
			', 
        ), 				 
        array(
            'id'			=> 'menu_link_post',
            'type'			=> 'textarea',
            'title'			=> __( 'Menu Link above Download Button', TEXT_DOMAIN ),
            'desc'			=> __( '<b>HTML Allowed</b><br> <b>remove all code</b> if you don\'t want it to be displayed', TEXT_DOMAIN ),
            'default'		=> '<a href="#add_your_link" >Sample Link One</a>
<a href="#add_your_link" >Sample Link Two</a>
<a href="#add_your_link" >Sample Link Three</a>
			', 
        ), 		
		array(
            'id'			=> 'info_translate_single_post',
            'type'			=> 'info',
            'title'			=> __('THIS IS INFO FOR CHANGE LANGUAGE AS YOU WISH', TEXT_DOMAIN),
            'style'			=> 'critical',
            'desc'			=> ''
		),
		array(
            'id'			=> 'post_title_opt',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Share</b>',
            'default'		=> 'Share', 
		),
		array(
            'id'			=> 'post_title_opt_1',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Update request</b>',
            'default'		=> 'Update request', 
		), 
		array(
            'id'			=> 'post_title_opt_2',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Download</b>',
            'default'		=> 'Download', 
		), 
		array(
            'id'			=> 'post_title_opts_3',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Date</b>',
            'default'		=> 'Date', 
		), 
		array(
            'id'			=> 'post_title_opts_4',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Version</b>',
            'default'		=> 'Version', 
		), 
		array(
            'id'			=> 'post_title_opts_5',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Android</b>',
            'default'		=> 'Android', 
		), 
		array(
            'id'			=> 'post_title_opts_6',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Size</b>',
            'default'		=> 'Size', 
		), 
		array(
            'id'			=> 'post_title_opts_7',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Google Play Rating</b>',
            'default'		=> 'Google Play Rating', 
		), 
		array(
            'id'			=> 'post_title_opts_8',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Hits</b>',
            'default'		=> 'Hits', 
		), 
		array(
            'id'			=> 'post_title_opts_9',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>About</b>',
            'default'		=> 'About', 
		), 
		array(
            'id'			=> 'post_title_opts_10',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Comments</b>',
            'default'		=> 'Comments', 
		), 
		array(
            'id'			=> 'post_title_opts_11',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Mod Info</b>',
            'default'		=> 'Mod Info', 
		), 
		array(
            'id'			=> 'post_title_opts_12',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>What\'s new</b>',
            'default'		=> 'What\'s new', 
		), 
		array(
            'id'			=> 'post_title_opts_13',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Last date</b>',
            'default'		=> 'Last date', 
		), 
		array(
            'id'			=> 'post_title_opts_14',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Package name</b>',
            'default'		=> 'Package name', 
		), 
		array(
            'id'			=> 'post_title_opts_15',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Developers</b>',
            'default'		=> 'Developers', 
		), 
		array(
            'id'			=> 'post_title_opts_16',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Download from Google Play</b>',
            'default'		=> 'Download from Google Play', 
		), 
    )
) );


Redux::setSection( $opt_name, array(
'title'				=> __( 'Comments ', TEXT_DOMAIN ),
'id'   				=> 'komentars_pages',
'customizer_width'	=> '500px',
'icon'				=> 'el el-comment',
'subsection'		=> true,
'fields'			=> array( 
		array(
            'id'			=> 'info_translate_kolom_komentar',
            'type'			=> 'info',
            'title'			=> __('THIS IS INFO FOR CHANGE LANGUAGE AS YOU WISH', TEXT_DOMAIN),
            'style'			=> 'critical',
            'desc'			=> ''
		),
		array(
            'id'			=> 'coms_title_opt',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Share Your Thoughts</b>',
            'default'		=> 'Share Your Thoughts', 
		),
		array(
            'id'			=> 'coms_title_opt_1',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Names</b>',
            'default'		=> 'Names', 
		),
		array(
            'id'			=> 'coms_title_opt_2',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>E-Mails</b>',
            'default'		=> 'E-Mails', 
		),
		array(
            'id'			=> 'coms_title_opt_3',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Your Comment</b>',
            'default'		=> 'Your Comment', 
		),
		array(
            'id'			=> 'coms_title_opt_4',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Submit Comment</b>',
            'default'		=> 'Submit Comment', 
		),
		array(
            'id'			=> 'coms_title_opt_5',
            'type'			=> 'textarea',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Your email address will not be published. Required fields are marked</b>',
            'default'		=> 'Your email address will not be published. Required fields are marked', 
		),
		array(
            'id'			=> 'coms_title_opt_6',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Comment</b>',
            'default'		=> 'Comment', 
		),
		array(
            'id'			=> 'coms_title_opt_7',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Edit</b>',
            'default'		=> 'Edit', 
		),
		array(
            'id'			=> 'coms_title_opt_8',
            'type'			=> 'textarea',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Sorry.. Your comment is pending approval.</b>',
            'default'		=> 'Sorry.. Your comment is pending approval.', 
		),

    )
) );
 

Redux::setSection( $opt_name, array(
'title'				=> __( 'Download Pages', TEXT_DOMAIN ),
'id'   				=> 'download_pages',
'customizer_width'	=> '500px',
'icon'				=> 'el el-download',
'subsection'		=> true,
'fields'			=> array(
        array(
            'id'			=> 'timer_active',
            'type'			=> 'switch',
            'title'			=> __( 'Timer ', TEXT_DOMAIN ),
            'desc'			=> __( '<b>ENABLE</b> to Activated Timer Counts ', TEXT_DOMAIN ), 
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
        ),
        array(
            'id'			=> 'timer_wait',
            'type'			=> 'slider',
            'title'			=> __( 'Timer Counts', TEXT_DOMAIN ),
            'desc'			=> __( 'Setting Your Timer', TEXT_DOMAIN ),
            "default"			=> 10,
            "min"  				=> 0,
            "step" 				=> 1,
            "max"  				=> 999,
            'display_value'		=> 'text',
            'required'			=> array( 'timer_active', '=', true )
        ), 
		array(
            'id'			=> 'download_title_opts_3',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Link is ready on</b>',
            'default'		=> 'Link is ready on', 
            'required'			=> array( 'timer_active', '=', true )
		), 
		array(
            'id'			=> 'download_title_opts_4',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Sec....</b>',
            'default'		=> 'Sec....', 
            'required'			=> array( 'timer_active', '=', true )
		), 
		array(
            'id'			=> 'download_title_opts_5',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Download now</b>',
            'default'		=> 'Download now', 
            'required'			=> array( 'timer_active', '=', true )
		), 
					 
        array(
            'id'			=> 'notice_download',
            'type'			=> 'textarea',
            'title'			=> __( 'Notice How to update', TEXT_DOMAIN ),
            'desc'			=> __( '<b>HTML Allowed</b><br> <b>remove all code</b> if you don\'t want it to be displayed', TEXT_DOMAIN ),
            'default'		=> '<li>apks files are installed using <a href="#" title="Split APKs Installer" target="_blank">Split APKs Installer</a></li>
<li>xapk files are installed using <a href="#" title="XAPK Installer" target="_blank">XAPK Installer</a> (if downloaded as zip, rename to xapk)</li>
<li>apk files are installed using any <a href="#" title="FILE MANAGER" target="_blank">file manager</a></li>
			', 
        ), 
		array(
            'id'			=> 'info_translate_halama_download',
            'type'			=> 'info',
            'title'			=> __('THIS IS INFO FOR CHANGE LANGUAGE AS YOU WISH', TEXT_DOMAIN),
            'style'			=> 'critical',
            'desc'			=> ''
		),
		array(
            'id'			=> 'download_title_opts',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Remember!</b>',
            'default'		=> 'Remember!', 
		),
		array(
            'id'			=> 'download_title_opts_1',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Download</b>',
            'default'		=> 'Download', 
		), 
		array(
            'id'			=> 'download_title_opts_2',
            'type'			=> 'text',
            'title'			=> __('Title Opt ', TEXT_DOMAIN),
            'desc'			=> 'Default is : <b>Download Link</b>',
            'default'		=> 'Download Link', 
		), 
    )
) );
 
Redux::setSection( $opt_name, array(
'title'				=> __( 'Advertise', TEXT_DOMAIN ),
'id'   				=> 'ads',
'customizer_width'	=> '500px',
'icon'				=> 'el el-usd',
'fields'			=> array(
        array(
            'id'			=> 'slot_ads_active',
            'type'			=> 'switch',
            'title'			=> __( 'Slot Ads', TEXT_DOMAIN ),
            'desc'			=> __( '<b>ENABLE</b> to Displayed Slot Ads', TEXT_DOMAIN ), 
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
        ),
        array(
            'id'			=> 'slot_ads_post_1',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 1st', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (1) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_post_2',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 2nd', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (2) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_post_3',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 3rd', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (3) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_post_4',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 4th', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (4) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_post_5',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 5th', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (5) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_post_6',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 6th', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (6) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_post_7',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 7th', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (7) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ),  
        array(
            'id'			=> 'slot_ads_post_8',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads 8th', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (8) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_download_1',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads Download 1st', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (1) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_download_2',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads Download 2nd', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (2) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_download_3',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads Download 3rd', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (3) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_download_4',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads Download 4th', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (4) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
        array(
            'id'			=> 'slot_ads_download_5',
            'type'			=> 'textarea',
            'title'			=> __( 'Slot Ads Download 5th', TEXT_DOMAIN ),
            'desc'			=> __( 'Insert your code <br> Scripts or Banner', TEXT_DOMAIN ),
            'default'		=> '<div class="sample_ads" data-text="-- Sample Ads (5) --" ></div>',
            'required'		=> array( 'slot_ads_active', '=', true )
        ), 
    )
) ); 

Redux::setSection( $opt_name, array(
'title'				=> __( 'Sosial Media', TEXT_DOMAIN ),
'id'   				=> 'sosial_media',
'customizer_width'	=> '500px',
'icon'				=> 'el el-user',
'fields'			=> array(
        array(
            'id'			=> 'social_media_active',
            'type'			=> 'switch',
            'title'			=> __( 'Socials Media', TEXT_DOMAIN ),
			'desc'			=> __( '<b>ENABLE</b> to Displayed Socials Media', TEXT_DOMAIN ), 
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
        ), 
        array(
            'id'			=> 'telegram_url',
            'type'			=> 'text',
            'title'			=> __( 'Telegram url', TEXT_DOMAIN ), 
            'default'		=> EXTHEMES_TELEGRAM_URL,
            'required'		=> array( 'social_media_active', '=', true )
        ), 
        array(
            'id'			=> 'telegram_title',
            'type'			=> 'text',
            'title'			=> __( 'Telegram title', TEXT_DOMAIN ), 
            'default'		=> 'Join Telegram',
            'required'		=> array( 'social_media_active', '=', true )
        ), 
    )
) );

Redux::setSection( $opt_name, array(
'title'				=> __( 'Custom JS CSS', TEXT_DOMAIN ),
'id'   				=> 'script_insert',
'customizer_width'	=> '500px',
'icon'				=> 'el el-edit',
'fields'			=> array( 
        array(
            'id'			=> 'custom_head_section',
            'type'			=> 'textarea',
            'title'			=> __( 'Header Section', TEXT_DOMAIN ),
            'desc'			=> __( 'You can Inject Scripts or CSS Style on Header.php<br>example<br>&lt;style&gt;<b>.sample {display:none}</b>&lt;/style&gt;
			<br>
			&lt;script&gt;<b>Your code</b>&lt;/script&gt;', TEXT_DOMAIN ), 
        ), 
        array(
            'id'			=> 'custom_foot_section',
            'type'			=> 'textarea',
            'title'			=> __( 'Footer Section', TEXT_DOMAIN ),
            'desc'			=> __( 'You can Inject Scripts or CSS Style on Footer.php<br>example<br>&lt;style&gt;<b>.sample {display:none}</b>&lt;/style&gt;
			<br>
			&lt;script&gt;<b>Your code</b>&lt;/script&gt;', TEXT_DOMAIN ), 
        ),
    )
) );
 

// -> START Editors
Redux::setSection( $opt_name, array(
'title'            		=> __( 'Options', TEXT_DOMAIN ),
'id'            		=> 'halaman_option_lain',
'customizer_width'		=> '500px',
'subsection'			=> false,
'icon'            		=> 'el el-cog',
'fields'            	=> array(
        array(
            'id'			=> 'minify',
            'type'			=> 'switch',
            'title'			=> __( 'Minify', TEXT_DOMAIN ),
			'desc'			=> __( '<b>ENABLE</b> to use minify', TEXT_DOMAIN ), 
			'default'		=> 0,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
        ), 

    )
) );

// -> START Editors
Redux::setSection( $opt_name, array(
'title'            		=> __( 'SEO Options', TEXT_DOMAIN ),
'id'            		=> 'seo_pages',
'customizer_width'		=> '500px',
'subsection'			=> false,
'icon'            		=> 'el el-search',
'fields'            	=> array(
		array(
			'id'			=> 'noindex_activated',
			'type'			=> 'switch',
			'title'			=> 'NoIndex Follow',
			'desc'			=> 'Click <b>Enabled</b> to Setting No Index Follow for Download Page',
			'default'		=> 1,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		),			
		array(
			'id'			=> 'noindex_setting',
			'type'			=> 'text',
			'title'			=> __( 'Setting', TEXT_DOMAIN ),
			'desc'			=> 'Meta Robot Setting for Download Page<br><b>default is : <i>noindex,follow</i></b><br>example : &lt;meta name=&#039;robots&#039; content=&#039;<b>noindex,follow</b>&#039; /&gt;',
			'default'		=> 'noindex, follow',
			'required'		=> array( 'noindex_activated', '=', true )
		),
		array(
			'id'			=> 'auto_seo_meta_kw',
			'type'			=> 'switch',
			'title'			=> 'Seo Meta Tag', 			 
			'desc'			=> 'Click <b>Enabled</b> to Activated Auto Meta keywords and description SEO optimization <br>if you <b>Disabled</b> you have to use <b>plugin SEO</b>',
			'default'		=> 0,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		),			
		array(
			'id'       		=> 'json_seo_on',
			'type'     		=> 'switch',
			'title'    		=> 'Json SEO',
			'desc'    		=> 'JSON SEO Schema & SoftwareApplication Scheme<br>if you <b>Disabled</b> you have to use <b>plugin SEO</b>',            
			'default'		=> 0,
			'on'			=> 'Enabled',
			'off'			=> 'Disabled',
		),
		array(
			'id'       		=> 'img_json_seo',
			'type'     		=> 'media',
			'title'    		=> __( 'Image SEO', TEXT_DOMAIN ),
			'default'  		=> array(
			'url'			=> get_bloginfo('template_directory').'/screenshot.png'),
            'required' 		=> array( 'json_seo_on', '=', true )
		),   
		array(
            'id'       		=> 'json_tl_url',
            'type'     		=> 'text',
            'title'    		=> __( 'Telegram Url', TEXT_DOMAIN ), 
            'default'  		=> EXTHEMES_TELEGRAM_URL,
            'required' 		=> array( 'json_seo_on', '=', true )
		),
		array(
            'id'       		=> 'json_fb_url',
            'type'     		=> 'text',
            'title'    		=> __( 'Facebook Url', TEXT_DOMAIN ), 
            'default'  		=> EXTHEMES_FACEBOOK_URL,
            'required' 		=> array( 'json_seo_on', '=', true )
		),
		array(
            'id'       		=> 'json_tw_url',
            'type'     		=> 'text',
            'title'    		=> __( 'Twitter Url', TEXT_DOMAIN ), 
            'default'  		=> EXTHEMES_TWITTER_URL,
            'required' 		=> array( 'json_seo_on', '=', true )
		),
		array(
            'id'       		=> 'json_yt_url',
            'type'     		=> 'text',
            'title'    		=> __( 'Youtube Url', TEXT_DOMAIN ), 
            'default'  		=> EXTHEMES_YOUTUBE_URL,
            'required' 		=> array( 'json_seo_on', '=', true )
		),
		array(
            'id'       		=> 'json_ig_url',
            'type'     		=> 'text',
            'title'    		=> __( 'Instagram Url', TEXT_DOMAIN ), 
            'default'  		=> EXTHEMES_INSTAGRAM_URL,
            'required' 		=> array( 'json_seo_on', '=', true )
		),
)
) );

Redux::setSection( $opt_name, array(
'title'				=> __( 'Change Language', TEXT_DOMAIN ),
'id'   				=> 'translate_options',
'customizer_width'	=> '500px',
'icon'				=> 'el el-idea',
'fields'			=> array( 
		array(
            'id'			=> 'info_translate_options',
            'type'			=> 'info',
            'title'			=> __('THIS IS INFO FOR CHANGE LANGUAGE AS YOU WISH', TEXT_DOMAIN),
            'style'			=> 'critical',
            'desc'			=> ''
		),
		array(
            'id'			=> 'other_title_opt_0',
            'type'			=> 'text',
            'title'			=> __( 'Home', TEXT_DOMAIN ),
            'default'		=> 'Home',
		), 
		array(
            'id'			=> 'other_title_opt_1',
            'type'			=> 'text',
            'title'			=> __( 'Search for your favorite games and apps...', TEXT_DOMAIN ),
            'default'		=> 'Search for your favorite games and apps...',
		), 
		array(
            'id'			=> 'other_title_opt_2',
            'type'			=> 'text',
            'title'			=> __( 'Search', TEXT_DOMAIN ),
            'default'		=> 'Search',
		), 
		array(
            'id'			=> 'other_title_opt_3',
            'type'			=> 'text',
            'title'			=> __( 'Search Result for', TEXT_DOMAIN ),
            'default'		=> 'Search Result for',
		), 
		array(
            'id'			=> 'other_title_opt_4',
            'type'			=> 'text',
            'title'			=> __( 'Error 404', TEXT_DOMAIN ),
            'default'		=> 'Error 404',
		), 
		array(
            'id'			=> 'other_title_opt_5',
            'type'			=> 'text',
            'title'			=> __( 'Oops. This page has gone missing or the page may have moved.', TEXT_DOMAIN ),
            'default'		=> 'Oops. This page has gone missing or the page may have moved.',
		), 
		array(
            'id'			=> 'other_title_opt_6',
            'type'			=> 'text',
            'title'			=> __( 'Go Back to', TEXT_DOMAIN ),
            'default'		=> 'Go Back to',
		),  
		array(
            'id'			=> 'other_title_opt_7',
            'type'			=> 'text',
            'title'			=> __( 'Login', TEXT_DOMAIN ),
            'default'		=> 'Login',
		),  
    )
) ); 
