HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/kofejob-wp/wp-content/themes/kofejob/inc/options-init.php
<?php
    /**
     * ReduxFramework Sample Config File
     * For full documentation, please visit: http://docs.reduxframework.com/
     */

    if ( ! class_exists( 'Redux' ) ) {
        return;
    }


    // This is your option name where all the Redux data is stored.
    $opt_name = "kofejob_theme_options";

    // This line is only for altering the demo. Can be easily removed.

    /*
     *
     * --> Used within different fields. Simply examples. Search for ACTUAL DECLARATION for field examples
     *
     */

    $sampleHTML = '';
    if ( file_exists( dirname( __FILE__ ) . '/info-html.html' ) ) {
        Redux_Functions::initWpFilesystem();

        global $wp_filesystem;

        $sampleHTML = $wp_filesystem->get_contents( dirname( __FILE__ ) . '/info-html.html' );
    }
	/*USED FOR PACKAGE SELECTION IN THEME OPTIONS*/ 
	if (! function_exists ( 'kofejob_freelancer_packages_callback_function' )) {
		function kofejob_freelancer_packages_callback_function(){
			if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))))
			{
				$freelancer_packages = array();
				$freelancer_packages_products = [];
				if (function_exists ( 'kofejob_freelancer_packages' ))
				{
					$freelancer_packages = kofejob_freelancer_packages();
				}
				if(!empty($freelancer_packages))
				{
					while ( $freelancer_packages->have_posts() )
					{
						$freelancer_packages->the_post();
						$f_products_id	=	get_the_ID();
						$f_product	=	wc_get_product( $f_products_id );
						$f_product_title = $f_product->get_title();
						$f_product_price = $f_product->get_price();
						$freelancer_packages_products[$f_products_id] = $f_product_title.'('.kofejob_fl_price_separator($f_product_price).')';
					}
				}
				return $freelancer_packages_products;
			}
			else
			{
				return array();
			}
		}
	}
	if (! function_exists ( 'kofejob_employer_packages_callback_function' )) {
		function kofejob_employer_packages_callback_function(){
			if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))))
			{
				$employer_packages_products = [];
				$packages = array();
				if (function_exists ( 'kofejob_employers_packages' ))
				{
					$packages = kofejob_employers_packages();
				}
				if(!empty($packages))
				{
					while ( $packages->have_posts() )
					{
						$packages->the_post();
						$products_id	=	get_the_ID();
						$product	=	wc_get_product( $products_id );
						$product_title = $product->get_title();
						$product_price = $product->get_price();
						$employer_packages_products[$products_id] = $product_title.'('.kofejob_fl_price_separator($product_price).')';
					}
				}

				return $employer_packages_products;
			}
			else
			{
				return array();
			}
		}
	}
	if (! function_exists ( 'kofejob_wallet_packages_callback_function' )) {
		function kofejob_wallet_packages_callback_function(){
			if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))))
			{
				$wallet_packages_products = [];
				$packages = array();
				if (function_exists ( 'kofejob_wallet_products' ))
				{
					$packages = kofejob_wallet_products();
				}
				if(!empty($packages))
				{
					while ( $packages->have_posts() )
					{
						$packages->the_post();
						$products_id	=	get_the_ID();
						$product	=	wc_get_product( $products_id );
						$product_title = $product->get_title();
						$product_price = $product->get_price();
						$wallet_packages_products[$products_id] = $product_title.'('.kofejob_fl_price_separator($product_price).')';
					}
				}

				return $wallet_packages_products;
			}
			else
			{
				return array();
			}
		}
	}
	//for services
    if (! function_exists ( 'kofejob_service_packages_callback_function' )) {
    function kofejob_service_packages_callback_function(){
        if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))))
        {
            $service_packages_products = [];
            $packages = array();
            if (function_exists ( 'kofejob_service_products' ))
            {
                $packages = kofejob_service_products();
            }
            if(!empty($packages))
            {
                while ( $packages->have_posts() )
                {
                    $packages->the_post();
                    $products_id	=	get_the_ID();
                    $product	=	wc_get_product( $products_id );
                    $product_title = $product->get_title();
                    $product_price = $product->get_price();
                    $service_packages_products[$products_id] = $product_title.'('.kofejob_fl_price_separator($product_price).')';
                }
            }

            return $service_packages_products;
        }
        else
        {
            return array();
        }
    }
}
    //for alert
    if (! function_exists ( 'kofejob_alert_packages_callback_function' )) {
        function kofejob_alert_packages_callback_function(){
            if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))))
            {
                $alert_packages_products = [];
                $packages = array();
                if (function_exists ( 'fl_get_products_alert' ))
                {
                    $packages = fl_get_products_alert();
                }
                if(!empty($packages))
                {
                    while ( $packages->have_posts() )
                    {
                        $packages->the_post();
                        $products_id	=	get_the_ID();
                        $product	=	wc_get_product( $products_id );
                        $product_title = $product->get_title();
                        $product_price = $product->get_price();
                        $alert_packages_products[$products_id] = $product_title.'('.kofejob_fl_price_separator($product_price).')';
                    }
                }

                return $alert_packages_products;
            }
            else
            {
                return array();
            }
        }
    }
	/*GET ALL ACTIVE PAYMENT get_class_methods*/
	if ( ! function_exists( 'kofejob_woocommerce_available_payment_gateways' ) )
	{
		function kofejob_woocommerce_available_payment_gateways()
		{
			if( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) 
			{
				$available_payment_methods = WC()->payment_gateways->get_available_payment_gateways();

				$payment_methods = array();
				if(isset($available_payment_methods) && count($available_payment_methods) > 0)
				{
					foreach( $available_payment_methods as $method ) {
						$payment_title =  $method->get_title();
						$payment_id =  $method->id;

						$payment_methods[$payment_id] = $payment_title;
					}
					return $payment_methods;
				}

			}
			else
			{
				return array();
			}
		}
	}
    // Background Patterns Reader
    $sample_patterns_path = ReduxFramework::$_dir . '../sample/patterns/';
    $sample_patterns_url  = ReduxFramework::$_url . '../sample/patterns/';
    $sample_patterns      = array();
    if ( is_dir( $sample_patterns_path ) ) {

        if ( $sample_patterns_dir = opendir( $sample_patterns_path ) ) {
            $sample_patterns = array();

            while ( ( $sample_patterns_file = readdir( $sample_patterns_dir ) ) !== false ) {

                if ( stristr( $sample_patterns_file, '.png' ) !== false || stristr( $sample_patterns_file, '.jpg' ) !== false ) {
                    $name              = explode( '.', $sample_patterns_file );
                    $name              = str_replace( '.' . end( $name ), '', $sample_patterns_file );
                    $sample_patterns[] = array(
                        'alt' => $name,
                        'img' => $sample_patterns_url . $sample_patterns_file
                    );
                }
            }
        }
    }
    $theme = wp_get_theme();
    $args = array(
        'opt_name'             => $opt_name,
        'display_name'         => $theme->get( 'Name' ),
        'display_version'      => $theme->get( 'Version' ),
        'menu_type'            => 'submenu',
        'allow_sub_menu'       => true,
        'menu_title'           => __( 'Theme Options', 'kofejob' ),
        'page_title'           => __( 'Theme Options', 'kofejob' ),
        'google_api_key'       => '',
        'google_update_weekly' => false,
        'async_typography'     => false,
        'admin_bar'            => true,
        'admin_bar_icon'       => 'dashicons-portfolio',
        'admin_bar_priority'   => 50,
        'global_variable'      => '',
        'dev_mode'             => false,
        'update_notice'        => true,
        'customizer'           => true,

        'page_priority'        => null,
        'page_parent'          => 'themes.php',
        'page_permissions'     => 'manage_options',
        'menu_icon'            => '',
        'last_tab'             => '',
        'page_icon'            => 'icon-themes',
        'page_slug'            => 'kofejob',
        'save_defaults'        => true,
        'default_show'         => false,
        'default_mark'         => '',
        'show_import_export'   => true,

        'transient_time'       => 60 * MINUTE_IN_SECONDS,
        'output'               => true,
        'output_tag'           => true,

        'database'             => '',
        'use_cdn'              => true,

        'hints'                => array(
            'icon'          => 'el el-question-sign',
            'icon_position' => 'right',
            'icon_color'    => 'lightgray',
            'icon_size'     => 'normal',
            'tip_style'     => array(
                'color'   => 'red',
                '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',
                ),
            ),
        )
    );
    $args['share_icons'][] = array(
        'url'   => 'https://www.youtube.com/channel/UC0Y7K4Z3zCp0Y22k0zq3wDQ',
        'title' => 'View videos on YouTube',
        'icon'  => 'el el-youtube'
    );
    $args['share_icons'][] = array(
        'url'   => 'https://www.facebook.com/',
        'title' => 'Like us on Facebook',
        'icon'  => 'el el-facebook'
    );

    Redux::setArgs( $opt_name, $args );
    $tabs = array(
        array(
            'id'      => 'redux-help-tab-1',
            'title'   => __( 'Theme Information 1', 'kofejob' ),
            'content' => __( '<p>This is the tab content, HTML is allowed.</p>', 'kofejob' )
        ),
        array(
            'id'      => 'redux-help-tab-2',
            'title'   => __( 'Theme Information 2', 'kofejob' ),
            'content' => __( '<p>This is the tab content, HTML is allowed.</p>', 'kofejob' )
        )
    );
    Redux::setHelpTab( $opt_name, $tabs );
    $content = __( '<p>This is the sidebar content, HTML is allowed.</p>', 'kofejob' );
    Redux::setHelpSidebar( $opt_name, $content );
    Redux::setSection( $opt_name, array(
        'title'            => __( 'General Settings', 'kofejob' ),
        'id'               => 'basic',
        'desc'             => __( 'All Website general settings will be changeable from here', 'kofejob' ),
        'icon'             => 'el el-home',
		'fields'           => array(
				
				array(
					'id'       => 'frontend_logo',
					'type'     => 'media',
					'url'      => true,
					'title'    => __( 'Logo for the Main Website', 'kofejob' ),
					'compiler' => 'true',
					'default'  => array( 'url' => trailingslashit(get_template_directory_uri()) . 'images/logo-dashboard.svg' ),
				),
				array(
					'id'       => 'dasboard_logo',
					'type'     => 'media',
					'url'      => true,
					'title'    => __( 'Logo for the dashboard', 'kofejob' ),
					'compiler' => 'true',
					'default'  => array( 'url' => trailingslashit(get_template_directory_uri()) . 'images/logo-dashboard.svg' ),
				),
                array(
                    'id'       => 'breadcrum_visibility',
                    'type'     => 'switch',
                    'title'    => esc_html__( 'Show Breadcrumb', 'kofejob' ),
                    'desc'     => esc_html__( 'Want to show breadcrumb or not', 'kofejob' ),
                    'options'  => array(
                        '0' => 'Hide',
                        '1' => 'Show',
                    ),
                    'default'  => '1'
                ),
				array(
						'id'       => 'kofejob_demo_mode',
						'type'     => 'switch',
						'title'    => esc_html__( 'Turn On Kofejob Demo Mode', 'kofejob' ),
						'default'  => false,
						'desc'     => esc_html__( 'Can not perform any action on the front end side if this is active.', 'kofejob' ),
					),
				array(
						'id'       => 'kofejob_notifications_msgs',
						'type'     => 'switch',
						'title'    => esc_html__( 'Turn On Kofejob notifications for messagages', 'kofejob' ),
						'default'  => false,
						'desc'     => esc_html__( 'Notifications that will be displayed at user dashboard', 'kofejob' ),
						'required' => array(array('kofejob_notifications','equals','1')),
					),
				array(
						'id'       => 'kofejob_notifications_time',
						'type'     => 'text',
						'title'    => __( 'Notification time to refresh', 'kofejob' ),
						'subtitle' => __( 'This must be numeric.', 'kofejob' ),
						'desc'     => __( 'Time should be in Milliseconds. 1 Minute = 60000 Milliseconds. min. 10,000', 'kofejob' ),
						'validate' => 'numeric',
						'default'  => '600000',
						'required' => array(array('kofejob_notifications','equals','1')),
					),

			)
    ) );
    Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Price & Currency', 'kofejob' ),
        'id'               => 'property_price_curr',
        'subsection'       => true,
		'icon' => 'el el-globe',
        'fields'           => array(
		   array(
					'id' => 'fl_currency',
					'type' => 'text',
					'title' => esc_html__('Currency', 'kofejob'),

					'desc' => '<a href="' . esc_url('https://htmlarrows.com/currency/') . '" target="_blank">' . esc_html__('List of Currency', 'kofejob') . '</a>' . " " . esc_html__('You can use HTML code or text as well like USD etc', 'kofejob'),
  					'default' => '$',
				),
		   array(
				'id'		=> 'fl_currency_position',
				'type'		=> 'select',
				'title'		=> esc_html__( 'Where to Show the currency?', 'kofejob' ),
				'options'	=> array(
					'before'	=> esc_html__( 'Before', 'kofejob' ),
					'after'			=> esc_html__( 'After', 'kofejob' )
				),
				'default'	=> 'before',
			),
			array(
				'id'		=> 'fl_currency_decimals',
				'type'		=> 'select',
				'title'		=> esc_html__( 'Number of decimal points', 'kofejob' ),
				'options'	=> array(
					'0'	=> '0',
					'1'	=> '1',
					'2'	=> '2',
					'3'	=> '3',
					'4'	=> '4',
					'5'	=> '5',
					'6'	=> '6',
					'7'	=> '7',
					'8'	=> '8',
					'9'	=> '9',
					'10' => '10',
				),
				'default'	=> '0',
			),
			array(
				'id' => 'fl_decimals_separator',
				'type' => 'text',
				'title' => esc_html__('Decimals Separator', 'kofejob'),
				'desc'	=> esc_html__( 'Provide the decimal point separator eg: .', 'kofejob' ),
				'default' => '.',
			),
			array(
				'id' => 'fl_thousand_separator',
				'type' => 'text',
				'title' => esc_html__('Thousands Separator', 'kofejob'),
				'desc'	=> esc_html__( 'Provide the Thousands point separator eg: ,', 'kofejob' ),
				'default' => ',',
			),
			array(
				'id'       => 'kofejob_statements',
				'type'     => 'switch',
				'title'    => esc_html__( 'Turn On Kofejob Statements', 'kofejob' ),
				'default'  => false,
				'desc'     => esc_html__( 'Statements that will be displayed at user dashboard', 'kofejob' ),
			),
			
        )
    ) );
	Redux::setSection( $opt_name, array(
        'title'            => esc_html__( 'Wallet Settings', 'kofejob' ),
        'id'               => 'kofejob_wallet_settings',
        'subsection'       => true,
		'icon' => 'el el-book',
        'fields'           => array(
			   array(
						'id'       => 'kofejob_wallet_system',
						'type'     => 'button_set',
						'title'    => esc_html__( 'Remove Kofejob Wallet System', 'kofejob' ),
						'default'  => '0',
						'desc'     => esc_html__( 'If you turn this on(Yes), no payments will be processed on the website for Projects/Services and your wallet will also disappear.', 'kofejob' ),
						'options'  => array(
							'0' => __( 'No', 'kofejob' ),
							'1' => __( 'Yes', 'kofejob' ),
						),
					
					),
				array(
						'id'       => 'wallet_amount_aproval',
						'type'     => 'button_set',
						'title'    => __( 'Amount added to wallet', 'kofejob' ),
						'desc'     => __( 'Admin Complete means you have to approve each transection added to wallet manually and that amount will be shown to employers account after approval. Auto complete will complete the order and show in their accounts immediately.', 'kofejob' ),
						'options'  => array(
							'0' => 'Admin Complete',
							'1' => 'Auto Complete',
						),
						'default'  => '1',
						'required' => array(array('kofejob_wallet_system','equals','0')),
					),
				array(
						'id'       => 'kofejob_wallet_deposit',
						'type'     => 'button_set',
						'title'    => esc_html__( 'Wallet amount deposit type', 'kofejob' ),
						'default'  => '0',
						'desc'     => esc_html__( 'User defined means user will input how much amount they want to be added.', 'kofejob' ),
						'options'  => array(
							'0' => __( 'Admin Defined', 'kofejob' ),
							'1' => __( 'User Defined ', 'kofejob' ),
						),
					
					),
					array(
						'id' => 'wallet_custom_deposit_package',
						'type' => 'select',
						'data' => 'callback',
						'title' => esc_html__('Select Package for custom product', 'kofejob'),
						'args' => 'kofejob_wallet_packages_callback_function',
						'required' => array(array('kofejob_wallet_deposit','equals','1')),
					),

            array(
                'id' => 'kofejob_wallet_payment_methods',
                'type' => 'select',
                'data' => 'callback',
                'title' => esc_html__('Select payment methods that will not auto approved', 'kofejob'),
                'args' => 'kofejob_woocommerce_available_payment_gateways',
                'multi' => true,
                'desc'     => __( 'All the payment methods selected here will not be auto approved.', 'kofejob' ),
            ),
            array(
                'id' => 'service_custom_deposit_package',
                'type' => 'select',
                'data' => 'callback',
                'title' => esc_html__('Select Custom Product for Services', 'kofejob'),
                'args' => 'kofejob_service_packages_callback_function',
                'required' => array(array('kofejob_service_deposit','equals','1')),
            ),

            array(
                'id'       => 'service_amount_approval',
                'type'     => 'button_set',
                'title'    => __( 'Auto service order complete', 'kofejob' ),
                'desc'     => __( 'Admin Complete means you have to approve each transection added to woocomerce order while purchase any service manually . Auto complete will complete the order and show in their accounts immediately.', 'kofejob' ),
                'options'  => array(
                    '0' => 'Admin Complete',
                    '1' => 'Auto Complete',
                ),
                'default'  => '1',
                'required' => array(array('kofejob_service_deposit','equals','1')),
            ),
            array(
                'id' => 'kofejob_service_payment_methods',
                'type' => 'select',
                'data' => 'callback',
                'title' => esc_html__('Select Service payment methods that will not auto approved', 'kofejob'),
                'args' => 'kofejob_woocommerce_available_payment_gateways',
                'multi' => true,
                'desc'     => __( 'All the payment methods selected here will not be auto approved.', 'kofejob' ),
                'required' => array(array('kofejob_service_deposit','equals','1')),
            ),
			
        )
    ) );
    Redux::setSection( $opt_name, array(
        'title'            => __( 'Header Options', 'kofejob' ),
        'id'               => 'headers',
        'customizer_width' => '500px',
        'icon'             => 'el el-edit',
		'fields'     => array(
							array(
								'id'       => 'header_type',
								'type'     => 'button_set',
								'title'    => __( 'Select the header type', 'kofejob' ),
								'options'  => array(
									'0' => 'Kofejob Theme',
								),
								'default'  => '0',
							),
							array(
								'id'       => 'header_layout',
								'type'     => 'image_select',
								'title'    => esc_html__( 'Header Style', 'kofejob' ),
								'subtitle' => esc_html__( 'Click on any header and save to apply.', 'kofejob' ),
								'options'  => array(
									'1' => array(
										'alt' => esc_html__( 'header 1', 'kofejob' ),
										'img' => trailingslashit(get_template_directory_uri()) . 'assets/images/header-1.png',
									),
									
								),
								'default'  => '1',
							),
							array(
								'id'       => 'category_bar',
								'type'     => 'button_set',
								'title'    => __( 'Category Bar', 'kofejob' ),
								'options'  => array(
									'1' => 'On',
									'2' => 'Off',
								),
								'default'  =>1,
								'required' => array( 'header_layout', '=', '2' ),								
							),
							array(
								'id'       => 'header_searchbar_dropdown',
								'type'     => 'select',
								'title'    => __('Select options to show in search dropdown', 'kofejob'), 
								'options'  => array(
									'project' => __('Find Job', 'kofejob'),
									'services' => __('Get Job Done', 'kofejob'),
									'freelancer' => __('Find Talent', 'kofejob'),
									'employer' => __('Search Employer', 'kofejob'),
									),
								'multi'    => true,
								'default'  => array( '1' ),
								'sortable' => true,
								'desc' => esc_html__('The last one will be considered as the default', 'kofejob'),
								'required' => array( 'header_layout', '=', '2' ),
							),
							array(
								'id'       => 'header_category_cpt',
								'type'     => 'button_set',
								'title'    => __('Select options to show in search dropdown', 'kofejob'), 
								'options'  => array(
									'project' => __('Project Categories', 'kofejob'),
									'services' => __('Services Categories', 'kofejob'),
									),
								'default'  => 1,
								'required' => array( 'header_layout', '=', '2' ),
							),
							array(
								'id'       => 'header_categor_bar_project',
								'type'     => 'select',
								'title'    => __('Select project categories to show in bar', 'kofejob'), 
								'multi'    => true,
								'data' => 'terms',
								'ajax' => false,
								'args' => array( 'taxonomies' => array( 'project-categories' ), 'hide_empty' =>false),
								'required' => array( array('header_layout', '=', '2'), array('header_category_cpt','equals','project') ),
								'sortable' => true,
							),
							array(
								'id'       => 'header_categor_bar_services',
								'type'     => 'select',
								'title'    => __('Select service categoris to show in bar', 'kofejob'), 
								'multi'    => true,
								'data' => 'terms',
								'ajax' => false,
								'args' => array( 'taxonomies' => array( 'service-categories' )),
								'required' => array( array('header_layout', '=', '2'), array('header_category_cpt','equals','services') ),
								'sortable' => true,
							),
							array(
								'id' => 'header_btn_text',
								'type' => 'text',
								'title' => esc_html__('Header Primery Button Text Without Login', 'kofejob'),
								'desc' => esc_html__('If you do not provide the button text, the button will not be visible.', 'kofejob'),
								'default' => '',
								),
							array(
								'id' => 'header_btn_page',
								'type' => 'select',
								'data' => 'pages',
								'multi' => false,
								'title' => esc_html__('Header Primery Button Page Link Without Login', 'kofejob'),
							),
							array(
								'id' => 'secondary_btn_text',
								'type' => 'text',
								'title' => esc_html__('Secondary Button Text Without Login', 'kofejob'),
								'desc' => esc_html__('If you do not provide the button text, the Secondary button will not be visible.', 'kofejob'),
							),
							array(
								'id' => 'secondary_btn_page',
								'type' => 'select',
								'data' => 'pages',
								'multi' => false,
								'title' => esc_html__('Secondary Button Link Without Login', 'kofejob'),
							),
							array(
								'id' => 'employer_btn_text_login',
								'type' => 'text',
								'title' => esc_html__('Employer Button Text After Login', 'kofejob'),
								'desc' => esc_html__('If you do not provide the button text, the button will not be visible.', 'kofejob'),
								),
							
								
        ),
    ) );
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Blog', 'kofejob' ),
        'id'         => 'select-select',
        'fields'     => array(

            array(
                'id'       => 'blog_sidebar',
                'type'     => 'button_set',
                'title'    => __( 'Blog Sidebar', 'kofejob' ),
                'subtitle' => __( 'Select blog sidebar to show over right or left side or hide.', 'kofejob' ),
                //Must provide key => value pairs for select options
                'options'  => array(
                    'left' => __( 'Left', 'kofejob' ),
                    'right' => __( 'Right', 'kofejob' ),
                ),
                'default'  => 'right'
            ),
        )
    ) );
    Redux::setSection( $opt_name, array(
        'title' => __( 'Authentication', 'kofejob' ),
        'id'    => 'authentication',
        'icon'  => 'el el-lock'
    ) );
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Login', 'kofejob' ),
        'id'         => 'login_page',
        'fields'     => array(
							array(
								'id'       => 'login_header_show',
								'type'     => 'button_set',
								'title'    => __( 'Show header', 'kofejob' ),
								'desc'     => __( 'Header and menu options will be shown over the login page', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide ', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'login_footer_show',
								'type'     => 'button_set',
								'title'    => __( 'Show footer', 'kofejob' ),
								'desc'     => __( 'Footer will be shown over the login page', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide ', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'login_logo_show',
								'type'     => 'button_set',
								'title'    => __( 'Show Logo on Login page', 'kofejob' ),
								'desc'     => __( 'Logo will be shown over the login page body', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide ', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'login_heading_text',
								'type'     => 'text',
								'title'    => __( 'Login Heading screen text', 'kofejob' ),
							),
							array(
								'id'       => 'login_textarea',
								'type'     => 'textarea',
								'title'    => __( 'Paragraph to show on login page', 'kofejob' ),
							),
							        
        ),
        'subsection' => true,
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Register', 'kofejob' ),
        'id'         => 'register_page',
        'fields'     => array(
							array(
								'id'       => 'user_registration_type',
								'type'     => 'button_set',
								'title'    => __( 'Select Registration Type', 'kofejob' ),
								'desc'     => __( 'Allowed registration type', 'kofejob' ),
								'options'  => array(
									'both_selected' => __( 'User Selection', 'kofejob' ),
									'both' => __( 'Both Auto', 'kofejob' ),
								),
								'default'  => 'both'
							),
							array(
								'id'       => 'user_registration_type_selection',
								'type'     => 'button_set',
								'title'    => __( 'Select Registration Type', 'kofejob' ),
								'desc'     => __( 'Allowed registration type', 'kofejob' ),
								'multi'   => true,
								'options'  => array(
									'freelancer' =>  __( 'Freelancer Only', 'kofejob' ),
									'employer' => __( 'Employer Only', 'kofejob' ),
								),
								'default'  => 'freelancer',
								'required' => array(array('user_registration_type','equals','both_selected')),
							),
							array(
								'id'       => 'user_redirection_after_login',
								'type'     => 'button_set',
								'title'    => __( 'Select Account to redirect', 'kofejob' ),
								'desc'     => __( 'After registration on which user account dashboard should redirect.', 'kofejob' ),
								'options'  => array(
									'freelancer' =>  __( 'Freelancer', 'kofejob' ),
									'employer' => __( 'Employer', 'kofejob' ),
								),
								'default'  => 'employer',
								'required' => array(array('user_registration_type','equals','both')),
							),
							array(
								'id'       => 'register_header_show',
								'type'     => 'button_set',
								'title'    => __( 'Show header', 'kofejob' ),
								'desc'     => __( 'Header and menu options will be shown over the register page', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide', 'kofejob' ),
									'1' => __( 'show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'register_footer_show',
								'type'     => 'button_set',
								'title'    => __( 'Show footer', 'kofejob' ),
								'desc'     => __( 'Footer will be shown over the register page', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'register_logo_show',
								'type'     => 'button_set',
								'title'    => __( 'Show Logo on register page', 'kofejob' ),
								'desc'     => __( 'Logo will be shown over the register page body', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '0' )
							),
							array(
								'id'       => 'register_heading_text',
								'type'     => 'text',
								'title'    => __( 'Register Heading screen text', 'kofejob' ),
							),
							array(
								'id'       => 'register_textarea',
								'type'     => 'textarea',
								'title'    => __( 'Paragraph to show on register page', 'kofejob' ),
							),
        ),
        'subsection' => true,
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Forgot Password', 'kofejob' ),
        'id'         => 'forgot_page',
        'fields'     => array(
							array(
								'id'       => 'forgot_header_show',
								'type'     => 'button_set',
								'title'    => __( 'Show header', 'kofejob' ),
								'desc'     => __( 'Header and menu options will be shown over the forgot password page', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide ', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'forgot_footer_show',
								'type'     => 'button_set',
								'title'    => __( 'Show footer', 'kofejob' ),
								'desc'     => __( 'Footer will be shown over the forgot password page', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide ', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'forgot_logo_show',
								'type'     => 'button_set',
								'title'    => __( 'Show Logo on Login page', 'kofejob' ),
								'desc'     => __( 'Logo will be shown over the forgot password page body', 'kofejob' ),
								'options'  => array(
									'0' => __( 'Hide ', 'kofejob' ),
									'1' => __( 'Show', 'kofejob' ),
								),
								'default'  => array( '1' )
							),
							array(
								'id'       => 'forgot_heading_text',
								'type'     => 'text',
								'title'    => __( 'Forgot Password Heading screen text', 'kofejob' ),
							),
							array(
								'id'       => 'forgot_textarea',
								'type'     => 'textarea',
								'title'    => __( 'Paragraph to show on forgot password page', 'kofejob' ),
							),
							        
        ),
        'subsection' => true,
    ) );
    Redux::setSection( $opt_name, array(
        'title' => __( 'Email Templates', 'kofejob' ),
        'id'    => 'email_templates',
        'icon'  => 'el el-envelope'
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Registration', 'kofejob' ),
        'id'         => 'register_email_tab',
        'fields'     => array(
							array(
								'id'       => 'fl_email_onregister',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email On Registration', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'You want to send email on the time of registration.', 'kofejob' ),
							),
							array(
								'id'       => 'fl_email_sendto_admin',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email To Admin On Registration', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'You want to send email on the time of registration.', 'kofejob' ),
								'required' => array(array('fl_email_onregister','equals','1')),
							),
							array(
								'id' => 'fl_new_user_admin_sub',
								'type' => 'text',
								'title' => esc_html__('New User Email Template Subject For Admin', 'kofejob'),
								'default' => esc_html__('New User Registration', 'kofejob'),
								'required' => array( array('fl_email_onregister','equals','1'), array('fl_email_sendto_admin','equals','1')),
							),
							array(
									'id' => 'fl_new_user_admin_email_body',
									'type' => 'editor',
									'title' => esc_html__('New User Email Template For Admin', 'kofejob'),
									'required' => array( array('fl_email_onregister','equals','1'), array('fl_email_sendto_admin','equals','1')),
									'args' => array(
										'teeny' => true,
										'textarea_rows' => 20,
										'wpautop' => false,
									),
									'desc' => esc_html__('%site_name% , %display_name%, %email% will be translated accordingly.', 'kofejob'),
									'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
						<table border='0' cellpadding='0' cellspacing='0' width='100%'>
							<!-- LOGO -->
							<tr>
								<td bgcolor='#5AADFF' align='center'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
												<img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello Admin,</h1> 
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important;'>New user has registered on your site. </p>
											</td>
										</tr>
										 
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
											</td>
										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
												<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
												<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
											</td>
										</tr>
									</table>
									
								</td>
							</tr>
						</table>
						</body>",
						),
						array(
								'id'       => 'fl_email_sendto_user',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Welcome Email To User On Registration', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'So you want to send welcome eamil on the time of registration to user.', 'kofejob' ),
								'required' => array(array('fl_email_onregister','equals','1')),
							),
							
							array(
								'id' => 'fl_new_user_welcome_sub',
								'type' => 'text',
								'title' => esc_html__('Welcome Email Template Subject For Users', 'kofejob'),
								'default' => esc_html__("We're happy to have you with us", 'kofejob'),
								'required' => array( array('fl_email_onregister','equals','1'), array('fl_email_sendto_user','equals','1')),
							),
							array(
								'id' => 'fl_new_user_welcome_message_body',
								'type' => 'editor',
								'title' => esc_html__('Welcome Email Template For Users', 'kofejob'),
								'required' => array( array('fl_email_onregister','equals','1'), array('fl_email_sendto_user','equals','1')),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 20,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%, %email% will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%'>
						<!-- LOGO -->
						<tr>
							<td bgcolor='#5AADFF' align='center'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
											 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Welcome %display_name%,</h1>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0;  font-size: 18px !important;'>You've successfully registered on %site_name%. We're happy to have you here. </p>
										</td>
									</tr>
									 <!-- COPY -->
									 <tr>
										<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'>Your Username</strong> : %display_name%</p>
											<p style='margin: 0;  font-size: 18px !important;  padding-bottom:5px;'> <strong style='color:#111111'>Your Email</strong> : %email%</p>
										</td>
									</tr>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
										</td>
									</tr>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>
					
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
											<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
											<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
										</td>
									</tr>
								</table>
								
							</td>
						</tr>
					</table>
					</body>"
			),
			array(
								'id'       => 'fl_user_email_verification',
								'type'     => 'switch',
								'title'    => esc_html__( 'Email Verification on Register', 'kofejob' ),
								'default'  => false,
                                'required' => array( array('fl_allow_user_email_verification','equals','1')),
								'desc'     => esc_html__( 'Turn on this option if you want to have email verified at the time of registration.', 'kofejob' ),
							),
						array(
							'id' => 'fl_user_email_verification_sub',
							'type' => 'text',
							'title' => esc_html__('Email Verification Template Subject', 'kofejob'),
							'default' => esc_html__("Email Verification Subject", 'kofejob'),
							'required' => array( array('fl_user_email_verification','equals','1')),
						),
						array(
							'id' => 'fl_user_email_verification_message',
							'type' => 'editor',
							'title' => esc_html__('Email Verification Template Body ', 'kofejob'),
							'required' => array( array('fl_user_email_verification','equals','1')),
							'args' => array(
								'teeny' => true,
								'textarea_rows' => 20,
								'wpautop' => false,
							),
							'desc' => esc_html__('%site_name% , %display_name%, %verification_link% will be translated accordingly.', 'kofejob'),
							'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
				<table border='0' cellpadding='0' cellspacing='0' width='100%'>
					<!-- LOGO -->
					<tr>
						<td bgcolor='#3CBEB2' align='center'>
							<table border='0' cellpadding='0' cellspacing='0' width='90%' style='max-width: 600px;'>
								<tr>
									<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#3CBEB2' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
										 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hi, %display_name%!</h1>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0;  font-size: 18px !important;'>We have sent you this email in response to your registration on  <strong>%site_name%</strong> </p>
									</td>
								</tr>
								  <tr>
									<td bgcolor='#ffffff' align='left'>
										<table width='100%' border='0' cellspacing='0' cellpadding='0'>
											<tr>
												<td bgcolor='#ffffff' align='center' style='padding: 20px 30px 20px 30px;'>
													<table border='0' cellspacing='0' cellpadding='0'>
														<tr>
															<td align='center' style='border-radius: 3px;' bgcolor='#3CBEB2'><a href='%verification_link%' target='_blank' style='font-size: 20px; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3cbeb2; display: inline-block;'>Verify My Account</a>
															</td>
															
														</tr>
														<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0; font-size: 18px !important;' ><strong>Copyable Link :</strong> %verification_link%</p>
									</td>
								</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr> <!-- COPY -->
							
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
										<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
										<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
									</td>
								</tr>
							</table>
							
						</td>
					</tr>
				</table>
				</body>"
							),
            array(
                'id'       => 'fl_allow_user_email_verification',
                'type'     => 'switch',
                'title'    => esc_html__( 'Allow to login without Verification', 'kofejob' ),
                'default'  => true,
                'desc'     => esc_html__( 'Turn off this option if you not want to login without verification. Turn off Email Verification on Register before proceeding', 'kofejob' ),
            ),
            array(
                'id' => 'fl_allow_user_email_verification_sub',
                'type' => 'text',
                'title' => esc_html__('Email Verification Template Subject', 'kofejob'),
                'default' => esc_html__("Email Verification Subject", 'kofejob'),
                'required' => array( array('fl_allow_user_email_verification','equals','0')),
            ),
            array(
                'id' => 'registration_page',
                'type' => 'select',
                'data' => 'pages',
                'title' => esc_html__('Redirect To Page', 'kofejob'),
                'required' => array( array('fl_allow_user_email_verification','equals','0')),
            ),
            array(
                'id' => 'fl_allow_user_email_verification_message',
                'type' => 'editor',
                'title' => esc_html__('Allow Email Verification Template Body ', 'kofejob'),
                'required' => array( array('fl_allow_user_email_verification','equals','0')),
                'args' => array(
                    'teeny' => true,
                    'textarea_rows' => 20,
                    'wpautop' => false,
                ),
                'desc' => esc_html__('%site_name% , %display_name%, %verification_link_allow% will be translated accordingly.', 'kofejob'),
                'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
				<table border='0' cellpadding='0' cellspacing='0' width='100%'>
					<!-- LOGO -->
					<tr>
						<td bgcolor='#3CBEB2' align='center'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#3CBEB2' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
										 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hi, %display_name%!</h1>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0;  font-size: 18px !important;'>We have sent you this email in response to your registration on  <strong>%site_name%</strong> </p>
									</td>
								</tr>
								  <tr>
									<td bgcolor='#ffffff' align='left'>
										<table width='100%' border='0' cellspacing='0' cellpadding='0'>
											<tr>
												<td bgcolor='#ffffff' align='center' style='padding: 20px 30px 20px 30px;'>
													<table border='0' cellspacing='0' cellpadding='0'>
														<tr>
															<td align='center' style='border-radius: 3px;' bgcolor='#3CBEB2'><a href='%verification_link_allow%' target='_blank' style='font-size: 20px; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3cbeb2; display: inline-block;'>Verify My Account</a>
															</td>
															
														</tr>
														<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0; font-size: 18px !important;' ><strong>Copyable Link :</strong> %verification_link_allow%</p>
									</td>
								</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr> <!-- COPY -->
								
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
										<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
										<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
									</td>
								</tr>
							</table>
							
						</td>
					</tr>
				</table>
				</body>"
            ),
						
            array(
                    'id' => 'fl_user_reset_pwd_sub',
                    'type' => 'text',
                    'title' => esc_html__('Reset Password Template Subject', 'kofejob'),
                    'default' => esc_html__("Forgot Your Password", 'kofejob'),
                ),
            array(
                'id' => 'fl_user_reset_message',
                'type' => 'editor',
                'title' => esc_html__('Reset Password Template For Users', 'kofejob'),
                'args' => array(
                    'teeny' => true,
                    'textarea_rows' => 20,
                    'wpautop' => false,
                ),
                'desc' => esc_html__('%site_name% , %display_name%, %reset_link% will be translated accordingly.', 'kofejob'),
                'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
    <table border='0' cellpadding='0' cellspacing='0' width='100%'>
        <!-- LOGO -->
        <tr>
            <td bgcolor='#3CBEB2' align='center'>
                <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                    <tr>
                        <td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor='#3CBEB2' align='center' style='padding: 0px 10px 0px 10px;'>
                <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                    <tr>
                        <td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
                             <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hi, %display_name%!</h1>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
                <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                    <tr>
                        <td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
                            <p style='margin: 0;  font-size: 18px !important;'>We have sent you this email in response to your request to reset your password on <strong>%site_name%</strong> </p>
                        </td>
                    </tr>
                      <tr>
                        <td bgcolor='#ffffff' align='left'>
                            <table width='100%' border='0' cellspacing='0' cellpadding='0'>
                                <tr>
                                    <td bgcolor='#ffffff' align='center' style='padding: 20px 30px 20px 30px;'>
                                        <table border='0' cellspacing='0' cellpadding='0'>
                                            <tr>
                                                <td align='center' style='border-radius: 3px;' bgcolor='#3CBEB2'><a href='%reset_link%' target='_blank' style='font-size: 20px; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3cbeb2; display: inline-block;'>Reset My Password</a>
                                                </td>
                                                
                                            </tr>
                                            <tr>
                        <td bgcolor='#ffffff' align='left' style='padding: 20px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                            <p style='margin: 0; font-size: 18px !important;' ><strong>Copyable Link :</strong> %reset_link%</p>
                        </td>
                    </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr> <!-- COPY -->
                    <tr>
                        <td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                            <p style='margin: 0; font-size: 18px !important;' >We recommend that you keep your password secure and not share it with anyone. If you feel your password has been compromised, you can change it by going to your My Profile Page and clicking on the Change Email Password.</p>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                            <p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                            <p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>
    
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
                <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                    <tr>
                        <td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                            <h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
                            <p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
                <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                    <tr>
                        <td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
                            <p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
                        </td>
                    </tr>
                </table>
                
            </td>
        </tr>
    </table>
    </body>"
                ),
        ),
        'subsection' => true,
    ) );

	Redux::setSection( $opt_name, array(
        'title'      => __( 'Projects', 'kofejob' ),
        'id'         => 'project_email_tab',
        'fields'     => array(
							array(
								'id'       => 'fl_email_onproject_created',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email On Project posted', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'If you want to send email to user when project is posted', 'kofejob' ),
							),

							array(
								'id' => 'fl_email_onproject_created_sub',
								'type' => 'text',
								'title' => esc_html__('Project Created Email Template Subject For Employer', 'kofejob'),
								'default' => esc_html__('Your project has been posted', 'kofejob'),
								'required' => array( array('fl_email_onproject_created','equals','1')),
							),
							array(
									'id' => 'fl_email_onproject_created_email_body',
									'type' => 'editor',
									'title' => esc_html__('Project Created body text to employer', 'kofejob'),
									'required' => array( array('fl_email_onproject_created','equals','1')),
									'args' => array(
										'teeny' => true,
										'textarea_rows' => 50,
										'wpautop' => false,
									),
									'desc' => esc_html__(' %display_name%, %project_link%, %project_title%, %site_name% will be translated accordingly.', 'kofejob'),
									'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
						<table border='0' cellpadding='0' cellspacing='0' width='100%'>
							<!-- LOGO -->
							<tr>
								<td bgcolor='#5AADFF' align='center'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
												<img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1> 
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important;'>Your project has been posted on %site_name%. </p>
											</td>
										</tr>
										<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='%project_link%'> %project_title%</a> </p>
										</td>

									</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
											</td>
										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
												<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
												<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
											</td>
										</tr>
									</table>
									
								</td>
							</tr>
						</table>
						</body>",
						),
						array(
								'id'       => 'fl_email_freelancer_assign_project',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email to Freelancer When Project is Assigned', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'Do you want to send email when a project is assigned to freelancer', 'kofejob' ),
							),
							
							array(
								'id' => 'fl_email_freelancer_assign_sub',
								'type' => 'text',
								'title' => esc_html__('Project Assignment Subject For Freelancer', 'kofejob'),
								'default' => esc_html__("Congratulations! You Got a New Project", 'kofejob'),
								'required' => array( array('fl_email_freelancer_assign_project','equals','1')),
							),
							array(
								'id' => 'fl_freelancer_assign_project_message_body',
								'type' => 'editor',
								'title' => esc_html__('Project Assignment email body to Freelancer', 'kofejob'),
								'required' => array( array('fl_email_freelancer_assign_project','equals','1') ),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 20,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%, %project_link%, %project_title%, %project_cost% will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%'>
						<!-- LOGO -->
						<tr>
							<td bgcolor='#5AADFF' align='center'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
											 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0;  font-size: 18px !important;'>A new project has been assigned to you on %site_name%. Happy Earing. </p>
										</td>
									</tr>
									 <!-- COPY -->
									 <tr>
										<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='%project_link%'>%project_title%</a></p>
											<p style='margin: 0;  font-size: 18px !important;  padding-bottom:5px;'> <strong style='color:#111111'> Project Cost</strong> : %project_cost%</p>
										</td>
									</tr>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
										</td>
									</tr>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>
					
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
											<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
											<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
										</td>
									</tr>
								</table>
								
							</td>
						</tr>
					</table>
					</body>"
			),
							array(
								'id'       => 'fl_email_emp_assign_project',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email to Employer When Project is Assigned', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'Do you want to send email when a project is assigned to Employer', 'kofejob' ),
							),
							
							array(
								'id' => 'fl_email_emp_assign_sub',
								'type' => 'text',
								'title' => esc_html__('Project Assignment Subject For Employer', 'kofejob'),
								'default' => esc_html__("You Have Assigned a Project", 'kofejob'),
								'required' => array( array('fl_email_emp_assign_project','equals','1')),
							),
							array(
								'id' => 'fl_emp_assign_project_message_body',
								'type' => 'editor',
								'title' => esc_html__('Project Assignment email body', 'kofejob'),
								'required' => array( array('fl_email_emp_assign_project','equals','1') ),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 20,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%, %project_link%, %project_title%, %project_cost%, %freelancer_display_name% will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%'>
										<!-- LOGO -->
										<tr>
											<td bgcolor='#5AADFF' align='center'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
															 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important;'>You have assigned a project to %freelancer_display_name% </p>
														</td>
													</tr>
													 <!-- COPY -->
													 <tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='project_link'>%project_title%</a></p>
															<p style='margin: 0;  font-size: 18px !important;  padding-bottom:5px;'> <strong style='color:#111111'> Project Cost</strong> : %project_cost%</p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>

														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
															<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
															<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
														</td>
													</tr>
												</table>

											</td>
										</tr>
									</table>
									</body>"
							),
							array(
								'id'       => 'fl_email_freelancer_complete_project',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email to Freelancer When Project is Completed', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'Do you want to send email when a project is completed to Freelancer', 'kofejob' ),
							),
							
							array(
								'id' => 'fl_email_freelancer_complete_project_sub',
								'type' => 'text',
								'title' => esc_html__('Project Completed Subject For Freelancer', 'kofejob'),
								'default' => esc_html__("You Have Completed a Project", 'kofejob'),
								'required' => array( array('fl_email_freelancer_complete_project','equals','1')),
							),
							array(
								'id' => 'fl_freelancer_complete_project_message_body',
								'type' => 'editor',
								'title' => esc_html__('Project Completed Email Template For Freelancer', 'kofejob'),
								'required' => array( array('fl_email_freelancer_complete_project','equals','1') ),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 60,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%, %project_link%, %project_title% will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%'>
										<!-- LOGO -->
										<tr>
											<td bgcolor='#5AADFF' align='center'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
															 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important;'>Hurrah! You have completed a project on %site_name% </p>
														</td>
													</tr>
													 <!-- COPY -->
													 <tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='project_link'>%project_title%</a></p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>

														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
															<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
															<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
														</td>
													</tr>
												</table>

											</td>
										</tr>
									</table>
									</body>"
							),
							array(
								'id'       => 'fl_email_emp_complete_project',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email to Employer When Project is Completed', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'Do you want to send email when a project is completed to Employer', 'kofejob' ),
							),
							
							array(
								'id' => 'fl_email_emp_complete_project_sub',
								'type' => 'text',
								'title' => esc_html__('Project Completed Subject For Employer', 'kofejob'),
								'default' => esc_html__("Your project has been marked as completed", 'kofejob'),
								'required' => array( array('fl_email_emp_complete_project','equals','1')),
							),
							array(
								'id' => 'fl_emp_complete_project_message_body',
								'type' => 'editor',
								'title' => esc_html__('Project Completed Email Template For Employer', 'kofejob'),
								'required' => array( array('fl_email_emp_complete_project','equals','1') ),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 60,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%, %project_link%, %project_title% will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%'>
										<!-- LOGO -->
										<tr>
											<td bgcolor='#5AADFF' align='center'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
															 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important;'>Hurrah! Your project has been completed successfully on %site_name% </p>
														</td>
													</tr>
													 <!-- COPY -->
													 <tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='%project_link%'>%project_title%  %project_link%</a></p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>

														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
															<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
															<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
														</td>
													</tr>
												</table>

											</td>
										</tr>
									</table>
									</body>"
							),
							array(
								'id'       => 'fl_email_freelancer_cancel_project',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email to Freelancer When Project is Canceled', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'Do you want to send email when a project is Canceled to Freelancer', 'kofejob' ),
							),
							
							array(
								'id' => 'fl_email_freelancer_cancel_project_sub',
								'type' => 'text',
								'title' => esc_html__('Project Canceled Subject For Freelancer', 'kofejob'),
								'default' => esc_html__("Project Canceled", 'kofejob'),
								'required' => array( array('fl_email_freelancer_cancel_project','equals','1')),
							),
							array(
								'id' => 'fl_freelancer_cancel_project_message_body',
								'type' => 'editor',
								'title' => esc_html__('Project Canceled Email Template For Freelancer', 'kofejob'),
								'required' => array( array('fl_email_freelancer_cancel_project','equals','1') ),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 60,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%, %admin_email%, %project_link%, %project_title% will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%'>
										<!-- LOGO -->
										<tr>
											<td bgcolor='#5AADFF' align='center'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
															 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important;'>A Project that was assigned to you is been canceled on %site_name%. Please contact Admin for more detail at %admin_email% </p>
														</td>
													</tr>
													 <!-- COPY -->
													 <tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='%project_link%'>%project_title%</a></p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>

														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
															<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
															<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
														</td>
													</tr>
												</table>

											</td>
										</tr>
									</table>
									</body>"
							),
							array(
								'id'       => 'fl_email_emp_cancel_project',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email to Employer When Project is canceled', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'Do you want to send email to Employer when a project is canceled', 'kofejob' ),
							),

                            //Send Email To Admin On Project Pending
                            array(
                                'id'       => 'fl_email_onproject_pending_sendto_admin',
                                'type'     => 'switch',
                                'title'    => esc_html__( 'Send Email To Admin On Project Approval', 'kofejob' ),
                                'default'  => false,
                                'desc'     => esc_html__( 'You want to send email on the time of project posting.', 'kofejob' ),
                            ),
                            array(
                                'id' => 'fl_email_toadmin_onproject_pending_sub',
                                'type' => 'text',
                                'title' => esc_html__('Project Created Email Template Subject For Admin', 'kofejob'),
                                'default' => esc_html__('New project has been posted', 'kofejob'),
                                'required' => array( array('fl_email_onproject_pending_sendto_admin','equals','1')),
                            ),
                            array(
                                'id' => 'fl_email_onproject_pending_toadmin_email_body',
                                'type' => 'editor',
                                'title' => esc_html__('Project Created body text to admin', 'kofejob'),
                                'required' => array( array('fl_email_onproject_pending_sendto_admin','equals','1')),
                                'args' => array(
                                    'teeny' => true,
                                    'textarea_rows' => 50,
                                    'wpautop' => false,
                                ),
                                'desc' => esc_html__(' %display_name%, %project_link%, %project_title%, %site_name% will be translated accordingly.', 'kofejob'),
                                'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
                                        <table border='0' cellpadding='0' cellspacing='0' width='100%'>
                                            <!-- LOGO -->
                                            <tr>
                                                <td bgcolor='#5AADFF' align='center'>
                                                    <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                                                        <tr>
                                                            <td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
                                                    <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                                                        <tr>
                                                            <td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
                                                                <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1> 
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
                                                    <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                                                        <tr>
                                                            <td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
                                                                <p style='margin: 0;  font-size: 18px !important;'>New pending project has been posted on %site_name%. </p>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                        <td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
                                                            <p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='%project_link%'> %project_title%</a> </p>
                                                        </td>
                
                                                    </tr>
                                                        <tr>
                                                            <td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                                                                <p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                                                                <p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
                                                    <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                                                        <tr>
                                                            <td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                                                                <h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
                                                                <p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
                                                    <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                                                        <tr>
                                                            <td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
                                                                <p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    
                                                </td>
                                            </tr>
                                        </table>
                                        </body>",
                            ),

							array(
								'id' => 'fl_email_emp_cancel_project_sub',
								'type' => 'text',
								'title' => esc_html__('Project Canceled Subject For Employer', 'kofejob'),
								'default' => esc_html__("Your project has been canceled", 'kofejob'),
								'required' => array( array('fl_email_emp_cancel_project','equals','1')),
							),
							array(
								'id' => 'fl_emp_cancel_project_message_body',
								'type' => 'editor',
								'title' => esc_html__('Project Cancellation Email Template For Employer', 'kofejob'),
								'required' => array( array('fl_email_emp_cancel_project','equals','1') ),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 60,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%  will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%'>
										<!-- LOGO -->
										<tr>
											<td bgcolor='#5AADFF' align='center'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
															 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important;'>You have canceled a project on %site_name% </p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>

														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
															<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
															<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
														</td>
													</tr>
												</table>

											</td>
										</tr>
									</table>
									</body>"
							),
							array(
								'id'       => 'fl_email_project_proposal',
								'type'     => 'switch',
								'title'    => esc_html__( 'Send Email to Employer When Project got a proposal', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'Do you want to send email to Employer when a project got a proposal', 'kofejob' ),
							),
							
							array(
								'id' => 'fl_email_project_proposal_sub',
								'type' => 'text',
								'title' => esc_html__('Project Proposal subject For Employer', 'kofejob'),
								'default' => esc_html__("You Got a New Proposal", 'kofejob'),
								'required' => array( array('fl_email_project_proposal','equals','1')),
							),
							array(
								'id' => 'fl_project_proposal_message_body',
								'type' => 'editor',
								'title' => esc_html__('Proposal Received on Project Email Template For Employer', 'kofejob'),
								'required' => array( array('fl_email_project_proposal','equals','1') ),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 60,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name%, %project_title%, %project_link%,  will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%'>
										<!-- LOGO -->
										<tr>
											<td bgcolor='#5AADFF' align='center'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
															 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.svg"."' width='200px' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important;'>You have received a new proposal on a project at %site_name% </p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='%project_link%'>%project_title%</a></p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
														</td>
													</tr>
													<tr>
														<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>

														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
															<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
															<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
														</td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
												<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
													<tr>
														<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
															<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
														</td>
													</tr>
												</table>

											</td>
										</tr>
									</table>
									</body>"
							),
							array(
								'id' => 'fl_email_zoom_meet_button',
								'type' => 'switch',
								'title' => esc_html__('Send Email for Zoom Meeting', 'kofejob'),
								'default' => false,
								'desc' => esc_html__('A zoom meeting Email will be sent to user', 'kofejob'),
							),
							array(
								'id' => 'fl_email_zoom_meet_subject',
								'type' => 'text',
								'title' => esc_html__('Zoom Meeting Email Template Subject For Employer', 'kofejob'),
								'default' => esc_html__('You have an invitation for Zoom Meeting', 'kofejob'),
								'required' => array(array('fl_email_zoom_meet_button', 'equals', '1')),
							),
							array(
								'id' => 'fl_email_zoom_meeting_email_body',
								'type' => 'editor',
								'title' => esc_html__('Zoom Meeting body text invitation', 'kofejob'),
								'required' => array(array('fl_email_zoom_meet_button', 'equals', '1')),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 50,
									'wpautop' => false,
								),
								'desc' => esc_html__(' %display_name%, %project_link%, %project_title%, %site_name%, %meeting_title%, %joinURL%, %meeting_id%, %meeting_password%, %meeting_note%, %meeting_duration%, %meeting_time%, will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%'>
							<!-- LOGO -->
							<tr>
								<td bgcolor='#5AADFF' align='center'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
												<img src='" . trailingslashit(get_template_directory_uri()) . "/images/logo-dashboard.svg" . "' width='200px' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1> 
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important;'>You are invited for Zoom Meeting %site_name%. </p>
											</td>
										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Project Link</strong> : <a href='%project_link%'> %project_title%</a> </p>
											</td>

										</tr>   
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Meeting ID </strong> : %meeting_id% </p>
											</td>

										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Mettin Join URL</strong> : <a href='%joinURL%'> %joinURL%</a> </p>
											</td>

										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Meeting Password</strong> : %meeting_password% </p>
											</td>

										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Meeting Note</strong> : %meeting_note% </p>
											</td>

										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Meeting Duration</strong> : %meeting_duration% : Minutes</p>
											</td>

										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Meeting Time</strong> : %meeting_time% </p>
											</td>

										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
											</td>
										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
												<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
												<p style='margin: 0;'>" . date("Y") . " © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
											</td>
										</tr>
									</table>

								</td>
							</tr>
								</table>
								</body>",
							),
        ),
        'subsection' => true,
    ) );
    
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Payouts', 'kofejob' ),
        'id'         => 'payout_email_tab',
        'fields'     => array(
							array(
								'id'       => 'fl_email_payout_create',
								'type'     => 'switch',
								'title'    => esc_html__( 'Create Payout Email', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'You want to send email when payout is created for user.', 'kofejob' ),
							),
							array(
								'id' => 'fl_email_payout_create_sub',
								'type' => 'text',
								'title' => esc_html__('Subject for payout creation', 'kofejob'),
								'default' => esc_html__('Your payout has been created', 'kofejob'),
								'required' => array( array('fl_email_payout_create','equals','1')),
							),
							array(
									'id' => 'fl_email_payout_create_body',
									'type' => 'editor',
									'title' => esc_html__('Payout email body', 'kofejob'),
									'required' => array( array('fl_email_payout_create','equals','1')),
									'args' => array(
										'teeny' => true,
										'textarea_rows' => 20,
										'wpautop' => false,
									),
									'desc' => esc_html__('%site_name% , %display_name%, %payout_amount% will be translated accordingly.', 'kofejob'),
									'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
						<table border='0' cellpadding='0' cellspacing='0' width='100%'>
							<!-- LOGO -->
							<tr>
								<td bgcolor='#5AADFF' align='center'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
												<img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1> 
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important;'>Your payout for this month has been created. </p>
											</td>
										</tr>
										 <tr>
														<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
															<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Payout Amount</strong> : %payout_amount%</p>
														</td>
													</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
											</td>
										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
												<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
												<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
											</td>
										</tr>
									</table>
									
								</td>
							</tr>
						</table>
						</body>",
						),
						array(
								'id'       => 'fl_email_payout_processed',
								'type'     => 'switch',
								'title'    => esc_html__( 'Want to send email when payout is processed?', 'kofejob' ),
								'default'  => false,
							),
							
							array(
								'id' => 'fl_email_payout_processed_sub',
								'type' => 'text',
								'title' => esc_html__('Subject for ayout processed email', 'kofejob'),
								'default' => esc_html__("Your montholy payout has been processed", 'kofejob'),
								'required' => array( array('fl_email_payout_processed','equals','1')),
							),
							array(
								'id' => 'fl_email_payout_processed_body',
								'type' => 'editor',
								'title' => esc_html__('Body text for payout processed email ', 'kofejob'),
								'required' => array( array('fl_email_payout_processed','equals','1')),
								'args' => array(
									'teeny' => true,
									'textarea_rows' => 20,
									'wpautop' => false,
								),
								'desc' => esc_html__('%site_name% , %display_name% will be translated accordingly.', 'kofejob'),
								'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%'>
						<!-- LOGO -->
						<tr>
							<td bgcolor='#5AADFF' align='center'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
											 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Welcome %display_name%,</h1>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0;  font-size: 18px !important;'>Your payout has been processed. Happy spending</p>
										</td>
									</tr>
									
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
										</td>
									</tr>
									<tr>
										<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>
					
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
											<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
											<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
								<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
									<tr>
										<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
											<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
										</td>
									</tr>
								</table>
								
							</td>
						</tr>
					</table>
					</body>"
			),
			array(
				'id'       => 'fl_email_payout_create_admin',
				'type'     => 'switch',
				'title'    => esc_html__( 'Create Payout Email to Admin', 'kofejob' ),
				'default'  => false,
				'desc'     => esc_html__( 'You want to send email to admin when payout is created for user.', 'kofejob' ),
			),
			array(
				'id' => 'fl_email_payout_create_sub_admin',
				'type' => 'text',
				'title' => esc_html__('Subject for payout creation to Admin', 'kofejob'),
				'default' => esc_html__('A new payout has been created', 'kofejob'),
				'required' => array( array('fl_email_payout_create_admin','equals','1')),
			),
			array(
					'id' => 'fl_email_payout_create_body_admin',
					'type' => 'editor',
					'title' => esc_html__('Payout email body to Admin', 'kofejob'),
					'required' => array( array('fl_email_payout_create_admin','equals','1')),
					'args' => array(
						'teeny' => true,
						'textarea_rows' => 20,
						'wpautop' => false,
					),
					'desc' => esc_html__('%site_name% , %user_email%, %payout_amount% will be translated accordingly.', 'kofejob'),
					'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
		<table border='0' cellpadding='0' cellspacing='0' width='100%'>
			<!-- LOGO -->
			<tr>
				<td bgcolor='#5AADFF' align='center'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
						<tr>
							<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
						<tr>
							<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
								<img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello Admin,</h1> 
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
						<tr>
							<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
								<p style='margin: 0;  font-size: 18px !important;'>A new payout has been created. </p>
							</td>
						</tr>
						 <tr>
							<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
								<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> User Email</strong> : %user_email%</p>
							</td>
						</tr>
						<tr>
						<tr>
							<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
								<p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> Payout Amount</strong> : %payout_amount%</p>
							</td>
						</tr>
						<tr>
							<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
								<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
							</td>
						</tr>
						<tr>
							<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
								<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
						<tr>
							<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
								<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
								<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
					<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
						<tr>
							<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
								<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
							</td>
						</tr>
					</table>

				</td>
			</tr>
		</table>
		</body>",
		),
        ),
        'subsection' => true,
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Identity Verification', 'kofejob' ),
        'id'         => 'verification_email_tab',
        'fields'     => array(
							array(
								'id'       => 'fl_email_identity_verify',
								'type'     => 'switch',
								'title'    => esc_html__( 'Verified Identity Email', 'kofejob' ),
								'default'  => false,
								'desc'     => esc_html__( 'You want to send email when user account is verified', 'kofejob' ),
							),
							array(
								'id' => 'fl_email_identity_verify_sub',
								'type' => 'text',
								'title' => esc_html__('Subject for Verified Email', 'kofejob'),
								'default' => esc_html__('Congratulations! Your account has been verified', 'kofejob'),
								'required' => array( array('fl_email_identity_verify','equals','1')),
							),
							array(
									'id' => 'fl_email_identity_verify_body',
									'type' => 'editor',
									'title' => esc_html__('Identity Verification Email Body', 'kofejob'),
									'required' => array( array('fl_email_identity_verify','equals','1')),
									'args' => array(
										'teeny' => true,
										'textarea_rows' => 20,
										'wpautop' => false,
									),
									'desc' => esc_html__('%site_name% , %display_name%, will be translated accordingly.', 'kofejob'),
									'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
						<table border='0' cellpadding='0' cellspacing='0' width='100%'>
							<!-- LOGO -->
							<tr>
								<td bgcolor='#5AADFF' align='center'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
												<img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello %display_name%,</h1> 
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0;  font-size: 18px !important;'>Your account on %site_name% has been verified. </p>
											</td>
										</tr>
										 
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
											</td>
										</tr>
										<tr>
											<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
												<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
												<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
									<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
										<tr>
											<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
												<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
											</td>
										</tr>
									</table>
									
								</td>
							</tr>
						</table>
						</body>",
						),
        ),
        'subsection' => true,
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Hire Freelancer', 'kofejob' ),
        'id'         => 'hire_freelancer_email_tab',
        'fields'     => array(
							array(
								'id'       => 'fl_email_hire_freelancer',
								'type'     => 'switch',
								'title'    => esc_html__( 'Hire Freelancer button on freelancer detail page', 'kofejob' ),
								'default'  => true,
								'desc'     => esc_html__( 'it will show button on freelancer detail page to send invitation', 'kofejob' ),
							),
							array(
								'id' => 'fl_email_hire_freelancer_text',
								'type' => 'text',
								'title' => esc_html__('Hire Freelancer button text', 'kofejob'),
								'default' => esc_html__('Hire Now', 'kofejob'),
								'required' => array( array('fl_email_hire_freelancer','equals','1')),
							),
							array(
								'id' => 'fl_email_hire_freelancer_sub',
								'type' => 'text',
								'title' => esc_html__('Subject for Hire Freelancer Email', 'kofejob'),
								'default' => esc_html__('You got a new project invitation', 'kofejob'),
								'required' => array( array('fl_email_hire_freelancer','equals','1')),
							),
							array(
									'id' => 'fl_email_hire_freelancer_body',
									'type' => 'editor',
									'title' => esc_html__('Hire Freelancer Email Body', 'kofejob'),
									'required' => array( array('fl_email_hire_freelancer','equals','1')),
									'args' => array(
										'teeny' => true,
										'textarea_rows' => 20,
										'wpautop' => false,
									),
									'desc' => esc_html__('%site_name% , %display_name%, %project_title%, , %project_link% will be translated accordingly.', 'kofejob'),
									'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
				<table border='0' cellpadding='0' cellspacing='0' width='100%'>
					<!-- LOGO -->
					<tr>
						<td bgcolor='#3CBEB2' align='center'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#3CBEB2' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
										 <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hi, %display_name%!</h1>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0;  font-size: 18px !important;'>You have a new project invitation on  <strong>%site_name%</strong> </p>
									</td>
								</tr>
								  <tr>
									<td bgcolor='#ffffff' align='left'>
										<table width='100%' border='0' cellspacing='0' cellpadding='0'>
											<tr>
												<td bgcolor='#ffffff' align='center' style='padding: 20px 30px 20px 30px;'>
													<table border='0' cellspacing='0' cellpadding='0'>
														<tr>
															<td align='center' style='border-radius: 3px;' bgcolor='#3CBEB2'><a href='%project_link%' target='_blank' style='font-size: 20px; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; padding: 15px 25px; border-radius: 2px; border: 1px solid #3cbeb2; display: inline-block;'>%project_title%</a>
															</td>
															
														</tr>
														<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 20px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0; font-size: 18px !important;' ><strong>Copyable Link :</strong> %project_link%</p>
									</td>
								</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr> <!-- COPY -->
								<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
									</td>
								</tr>
								<tr>
									<td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service.<br>Dreams Technologies Team</p>
				
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
										<h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
										<p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
							<table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
								<tr>
									<td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
										<p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
									</td>
								</tr>
							</table>
							
						</td>
					</tr>
				</table>
				</body>",
						),
        ),
        'subsection' => true,
    ) );
    /* * ***************** */
    /* Email job alerts */
    /* * ***************** */
    Redux::setSection($opt_name, array(
        'title' => __('Email job alerts', "kofejob"),
        'id' => 'sb_email_job_alerts',
        'desc' => '',
        'subsection' => true,
        'fields' => array(
            array(
                'id' => 'fl_email_project_alerts_subj',
                'type' => 'text',
                'title' => __('Email Subject', 'kofejob'),
                'default' => __('Project For You', 'kofejob'),
            ),
            array(
                'id' => 'fl_email_project_alerts_from',
                'type' => 'text',
                'title' => __('New user email FROM for Admin', 'kofejob'),
                'desc' => __('NAME [email protected] is compulsory as we gave in default.', 'kofejob'),
                'default' => get_bloginfo('name') . ' <' . get_option('admin_email') . '>',
            ),
            array(
                'id' => 'fl_email_project_alerts_body',
                'type' => 'editor',
                'title' => __('Project alerts email template', 'kofejob'),
                'args' => array(
                    'teeny' => true,
                    'textarea_rows' => 10,
                    'wpautop' => false,
                ),
                'desc' => __('%site_name% , %project_title%, %project_link% will be translated accordingly.', 'kofejob'),
                'default' => "<body style='background-color: #f4f4f4; margin: 0 !important; padding: 0 !important;'>
            <table border='0' cellpadding='0' cellspacing='0' width='100%'>
                <!-- LOGO -->
                <tr>
                    <td bgcolor='#5AADFF' align='center'>
                        <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                            <tr>
                                <td align='center' valign='top' style='padding: 40px 10px 40px 10px;'> </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td bgcolor='#5AADFF' align='center' style='padding: 0px 10px 0px 10px;'>
                        <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                            <tr>
                                <td bgcolor='#ffffff' align='center' valign='top' style='padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111;  font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;'>
                                    <img src='".trailingslashit( get_template_directory_uri () ) . "/images/logo-dashboard.png"."' width='' height='' alt='Your Logo Here' style='display: block; border: 0px;padding-top: 25px;' /><h1 style='font-size: 34px; font-weight: 400; margin: 2;'>Hello Admin,</h1> 
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
                        <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                            <tr>
                                <td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
                                    <p style='margin: 0;  font-size: 18px !important; padding-bottom:5px;'> <strong style='color:#111111'> A new Project is created in category</p>
                                </td>
                            </tr>
                        
                            <tr>
                                <td bgcolor='#ffffff' align='left' style='padding: 20px 30px 0 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
                                    <p>Job Title: %project_title% </p>
                                </td>
                            </tr>
                             <tr>
                                <td bgcolor='#ffffff' align='left' style='padding: 20px 30px 10px 30px; color: #666666;  font-size: 18px !important; font-weight: 400; line-height: 25px;'>
                                    <p>Job Link: %project_link% </p>
                                </td>
                            </tr>
                            <tr>
                            <tr>
                                <td bgcolor='#ffffff' align='left' style='padding: 0px 30px 20px 30px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                                    <p style='margin: 0; font-size: 18px !important;' >If you have any questions, just reply to this email—we're always happy to help out.</p>
                                </td>
                            </tr>
                            <tr>
                                <td bgcolor='#ffffff' align='left' style='padding: 0px 30px 40px 30px; border-radius: 0px 0px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                                    <p style='margin: 0; font-size: 18px !important;'>Thanks for choosing our service,<br>Dreams Technologies Team</p>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td bgcolor='#f4f4f4' align='center' style='padding: 30px 10px 0px 10px;'>
                        <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                            <tr>
                                <td bgcolor='#FFECD1' align='center' style='padding: 30px 30px 30px 30px; border-radius: 4px 4px 4px 4px; color: #666666;  font-size: 18px; font-weight: 400; line-height: 25px;'>
                                    <h2 style='font-size: 20px; font-weight: 400; color: #111111; margin: 0;'>Need more help?</h2>
                                    <p style='margin: 0;'><a href='#' target='_blank' style='color: #3cbeb2;'>We’re here to help you out</a></p>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td bgcolor='#f4f4f4' align='center' style='padding: 0px 10px 0px 10px;'>
                        <table border='0' cellpadding='0' cellspacing='0' width='100%' style='max-width: 600px;'>
                            <tr>
                                <td bgcolor='#f4f4f4' align='left' style='padding: 0px 30px 30px 30px; color: #666666;  font-size: 14px; font-weight: 400; line-height: 18px;'> <br>
                                    <p style='margin: 0;'>".date("Y")." © <a href='#' target='_blank' style='color: #111111; font-weight: 700;'>Dreams Technologies</a> ALL Rights Reserved.</p>
                                </td>
                            </tr>
                        </table>
    
                    </td>
                </tr>
            </table>
            </body>",
            ),
        )
    ));

    Redux::setSection( $opt_name, array(
        'title' => __( 'Projects', 'kofejob' ),
        'id'    => 'projects_options',
        'icon'  => 'el el-briefcase'
    ) );
    Redux::setSection( $opt_name, array(
        'title'      => __( 'Project', 'kofejob' ),
        'id'         => 'create_project',
        'fields'     => array(
					array(
						'id'       => 'fl_project_id_switch',
						'type'     => 'button_set',
						'title'    => __( 'Project ID', 'kofejob' ),
						'desc'     => __( 'Want to show project id on project detail page? ', 'kofejob' ),
						'options'  => array(
							'0' =>  __( 'No', 'kofejob' ),
							'1' => __( 'Yes', 'kofejob' ),
						),
						'default'  => '1',
					),
					array(
							'id'       => 'fl_project_id',
							'type'     => 'text',
							'title'    => esc_html__( 'Project ID code', 'kofejob' ),
							'default'  => 'EX-{ID}-lancer' ,
							'desc'     => '<strong>Important: </strong>' . esc_html__( 'Please use {ID} in your pattern as it will be replaced by the Project ID.', 'kofejob' ),
							'required' => array( 'fl_project_id_switch', '=', '1' ),
						),
					array(
						'id'       => 'projects_with_email_verified',
						'type'     => 'button_set',
						'title'    => __( 'Allow projects without email verification. ', 'kofejob' ),
						'desc'     => __( 'Set No, if you want a user to verify his email before posting a project.', 'kofejob' ),
						'options'  => array(
							'0' =>  __( 'No', 'kofejob' ),
							'1' => __( 'Yes', 'kofejob' ),
						),
						'default'  => '1',
					),
					array(
						'id'       => 'is_projects_paid',
						'type'     => 'button_set',
						'title'    => __( 'Project Free', 'kofejob' ),
						'desc'     => __( 'If you allow to submit free then user will be able to submit projects free of cost', 'kofejob' ),
						'options'  => array(
							'0' =>  __( 'Free', 'kofejob' ),
						),
						'default'  => array( '0' )
					),
					
					array(
						'id'       => 'project_package_approval',
						'type'     => 'button_set',
						'title'    => __( 'Project Package Approval', 'kofejob' ),
						'desc'     => __( 'Admin approval means you have to approve each package manually.', 'kofejob' ),

						'options'  => array(
							'0' =>  __( 'Admin Approval', 'kofejob' ),
							'1' => __( 'Auto Approval', 'kofejob' ),
						),
						'default'  => array( '0' )
					),

					array(
							'id'       => 'kofejobchat_project_option',
							'type'     => 'switch',
							'title'    => __( 'Live Chat using Kofejob chat on Projects', 'kofejob' ),
							'subtitle' => __( 'Enable this if you want to use live chat using KofejobChat Chat Plugin', 'kofejob' ),
							'default'  => 0,
							'on'       => __( 'Enabled', 'kofejob' ),
							'off'      => __( 'Disabled', 'kofejob' ),
						),
					array(
						'id'       => 'project_default_expiry',
						'type'     => 'text',
						'title'    => __( 'Default project expiry in days', 'kofejob' ),
						'subtitle' => __( 'This must be numeric value in days only.', 'kofejob' ),
						'validate' => 'numeric',
						'default'  => '5',
					),
					array(
						'id'       => 'default_featured_project_expiry',
						'type'     => 'text',
						'title'    => __( 'Default featured project expiry in days', 'kofejob' ),
						'subtitle' => __( 'This must be numeric value in days only.', 'kofejob' ),
						'validate' => 'numeric',
						'default'  => '5',
					),
					array(
						'id'       => 'project_approval',
						'type'     => 'button_set',
						'title'    => __( 'Create Project Approval', 'kofejob' ),
						'desc'     => __( 'Admin approval means you have to approve each project manually.', 'kofejob' ),
						'options'  => array(
							'0' =>  __( 'Admin Approval', 'kofejob' ),
							'1' => __( 'Auto Approval', 'kofejob' ),
						),
						'default'  => array( '0' )
					),
					array(
						'id'       => 'update_project_approval',
						'type'     => 'button_set',
						'title'    => __( 'Update project approval', 'kofejob' ),
						'desc'     => __( 'Admin approval means you have to approve each project manually.', 'kofejob' ),
						
						'options'  => array(
							'0' => __( 'Admin Approval', 'kofejob' ),
							'1' => __( 'Auto Approval', 'kofejob' ),
						),
						'default'  => array( '0' )
					),
					array(
								'id'       => 'allow_projects_proposal',
								'type'     => 'switch',
								'title'    => __( 'Allow Project Proposal', 'kofejob' ),
								'default'  => true,
								'on'       => __( 'Enabled', 'kofejob' ),
								'off'      => __( 'Disabled', 'kofejob' ),
							),
					array(
								'id'       => 'allow_free_proposal_sending',
								'type'     => 'switch',
								'title'    => __( 'Allow Free Proposal Sending', 'kofejob' ),
								'default'  => false,
								'on'       => __( 'Enabled', 'kofejob' ),
								'off'      => __( 'Disabled', 'kofejob' ),
								'required' => array( 'allow_projects_proposal', '=', true ),
							),
					array(
								'id'       => 'show_project_proposal',
								'type'     => 'switch',
								'title'    => __( 'Allow Proposal to show publically.', 'kofejob' ),
								'default'  => 0,
								'on'       => __( 'Enabled', 'kofejob' ),
								'off'      => __( 'Disabled', 'kofejob' ),
							),
					array(
								'id'       => 'show_project_winner',
								'type'     => 'switch',
								'title'    => __( 'Allow Project winner to show publically.', 'kofejob' ),
								'default'  => 0,
								'on'       => __( 'Enabled', 'kofejob' ),
								'off'      => __( 'Disabled', 'kofejob' ),
							),
					array(
								'id'       => 'allow_project_milestones',
								'type'     => 'switch',
								'title'    => __( 'Allow project milestone creation for payments', 'kofejob' ),
								'default'  => 0,
								'on'       => __( 'Yes', 'kofejob' ),
								'off'      => __( 'No', 'kofejob' ),
							),
					array(
								'id'       => 'allow_project_tip_reward',
								'type'     => 'switch',
								'title'    => __( 'Allow tip or reward on project completion', 'kofejob' ),
								'default'  => 0,
								'on'       => __( 'Yes', 'kofejob' ),
								'off'      => __( 'No', 'kofejob' ),
							),
					array(
						'id'            => 'project_charges',
						'type'          => 'slider',
						'title'         => __( 'Project charges in percentage', 'kofejob' ),
						'subtitle'      => __( 'What percentage do you want to charge to your customers? It will be applied to all projects on your website.', 'kofejob' ),
						'desc'          => __( 'Min: 0, max: 100 %,', 'kofejob' ),
						'default'       => 5,
						'min'           => 0,
						'step'          => 1,
						'max'           => 100,
						'display_value' => 'label'
					),
					array(
							'id'       => 'show_project_attachment_public',
							'type'     => 'switch',
							'title'    => __( 'Show project attachments to non-logged-in people.', 'kofejob' ),
							'default'  => 0,
							'on'       => __( 'Enabled', 'kofejob' ),
							'off'      => __( 'Disabled', 'kofejob' ),
						),
					array(
						'id'       => 'project_attachment_count',
						'type'     => 'text',
						'title'    => __( 'No of attachmenets allowed', 'kofejob' ),
						'subtitle' => __( 'This must be numeric.', 'kofejob' ),
						'validate' => 'numeric',
						'default'  => '5',
					),
					array(
						'id'       => 'project_attachment_size',
						'type'     => 'text',
						'title'    => __( 'Project attachment max size', 'kofejob' ),
						'subtitle' => __( 'This must be numeric.', 'kofejob' ),
						'desc'     => __( 'Attachment size should be in KB. 1Mb = 1000 Kb', 'kofejob' ),
						'validate' => 'numeric',
						'default'  => '500',
					),
					array(
						'id'       => 'create_section',
						'type'     => 'section',
						'title'    => __( 'Create Project', 'kofejob' ),
						'subtitle' => __( 'Create Project option will be here.', 'kofejob' ),
						'indent'   => true,  
					),
					array(
						'id'       => 'mark_featured_title',
						'type'     => 'text',
						'title'    => __( 'Mark Featured Project Title', 'kofejob' ),
						'desc' => __( 'Heading for the Mark as featured on create project page', 'kofejob' ),
					),
					array(
						'id'       => 'tips_switch',
						'type'     => 'switch',
						'title'    => __( 'Enable or Disable tips option', 'kofejob' ),
						'default'  => true,
						'on'       => 'Enable',
						'off'      => 'Disable',
					),
                    array(
                        'id'       => 'allow_project_propsal_amount',
                        'type'     => 'switch',
                        'title'    => __( 'Enable to Detect proposal amount', 'kofejob' ),
                        'default'  => false,
                        'on'       => 'Enable',
                        'off'      => 'Disable',
                    ),
					array(
						'id'          => 'project_slides',
						'type'        => 'slides',
						'title'       => __( 'Tips for creating projects', 'kofejob' ),
						'subtitle'    => __( 'You can add multiple tips and these will show on create project page.', 'kofejob' ),
						'desc'        => __( 'You can drag and drop to re-arrange.', 'kofejob' ),
						'required' => array( 'tips_switch', '=', true ),
						'placeholder' => array(
							'title'       => __( 'Tip title', 'kofejob' ),
							'description' => __( 'Description', 'kofejob' ),
						),
						'show' => array(
							'title' => true,
							'description' => true,
							'url' => false,
							),
					),
                    array(
                        'id'       => 'project_type_allowed',
                        'type'     => 'button_set',
                        'title'    => __( 'Project Type Allowed', 'kofejob' ),
                        'subtitle' => __( 'Select option to show Project type Only fixed, or both', 'kofejob' ),
                        'options'  => array(
                            '1' => 'Only fixed',
                            '2' => 'Both',
                        ),
                        'default'  => '2'
                    ),
					array(
									'id'       => 'project-show-hide-fields',
									'type'     => 'section',
									'title'    => __( 'Required/Show/Hide Fields', 'kofejob' ),
									'subtitle' => __( 'All options to show hide or required fields fields', 'kofejob' ),
									'indent'   => true,  
								),
								array(
									'id'       => 'project_title',
									'type'     => 'button_set',
									'title'    => __( 'Project Title', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_category',
									'type'     => 'button_set',
									'title'    => __( 'Project Category', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_cost',
									'type'     => 'button_set',
									'title'    => __( 'Project cost', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_freelancer_type',
									'type'     => 'button_set',
									'title'    => __( 'Project type', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_duration',
									'type'     => 'button_set',
									'title'    => __( 'Project duration', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_level',
									'type'     => 'button_set',
									'title'    => __( 'Project level', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_english_level',
									'type'     => 'button_set',
									'title'    => __( 'Project english level', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_location',
									'type'     => 'button_set',
									'title'    => __( 'Project location', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_skills',
									'type'     => 'button_set',
									'title'    => __( 'Project skills', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_languages',
									'type'     => 'button_set',
									'title'    => __( 'Project languages', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
								array(
									'id'       => 'project_address',
									'type'     => 'button_set',
									'title'    => __( 'Project address', 'kofejob' ),
									'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
										'options'  => array(
										'1' => 'Required',
										'2' => 'Not Required',
										'3' => 'Hide',
									),
									'default'  => '2'
								),
                                array(
                                    'id'       => 'project_attachements',
                                    'type'     => 'button_set',
                                    'title'    => __( 'Project Attachements', 'kofejob' ),
                                    'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
                                    'options'  => array(
                                        '1' => 'show',
                                        '2' => 'Hide',
                                    ),
                                    'default'  => '1'
                                ),
								array(
										'id'     => 'project-show-hide-fields-end',
										'type'   => 'section',
										'indent' => false,  
									),

        ),
        'subsection' => true,
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Project Search', 'kofejob' ),
        'id'         => 'project-service',
        'subsection' => true,
        'fields'     => array(
							array(
								'id'       => 'project_sidebar',
								'type'     => 'button_set',
								'title'    => __( 'Project Sidebar Position', 'kofejob' ),
								'desc'     => __( 'Select the Project side bar postion.', 'kofejob' ),
								'options'  => array(
									'left' => 'Left',
									'right' => 'Right',
								),
								'default'  => array( 'left' )
							),
                            array(
                                'id'       => 'project_sidebar_layout',
                                'type'     => 'button_set',
                                'title'    => __( 'Project Search page Layout', 'kofejob' ),
                                'desc'     => __( 'Select the Search Page layout.', 'kofejob' ),
                                'options'  => array(
                                    '1' => 'Project Detail',
                                    '2' => 'Project & Author Detail',
                                ),
                                'default'  => true,
                            ),
							array(
								'id'       => 'project_sidebar_count',
								'type'     => 'switch',
								'title'    => esc_html__( 'Sidebar Filters Count', 'kofejob' ),
								'desc'     => __( 'Select count for the terms should visible or hidden. ', 'kofejob' ),
								'default'  => true,
							),
							array(
								'id'       => 'project_sidebar_show_all_terms',
								'type'     => 'switch',
								'title'    => esc_html__( 'Sidebar Show terms', 'kofejob' ),
								'desc'     => __( 'Show only terms which has posts in it ', 'kofejob' ),
								'default'  => true,
							),
							array(
								'id'       => 'project_listing_style',
								'type'     => 'button_set',
								'title'    => __( 'Project Listing style', 'kofejob' ),
								'desc'     => __( 'Only one can be selected at a time.', 'kofejob' ),
								'options'  => array(
									'list_1' => 'List 1',
								),
								'default'  => 'list_1'
							),
							array(
								'id'       => 'project_search_title_limit',
								'type'     => 'text',
								'title'    => __( 'Project title limit', 'kofejob' ),
								'desc'     => __( 'This will be applied on Project Search only', 'kofejob' ),
								'validate' => 'numeric',
							),
							array(
								'id'       => 'expired_project_search',
								'type'     => 'button_set',
								'title'    => __( 'Want to show expired projects in search as well?', 'kofejob' ),
								'options'  => array(
									'1' => __( 'Yes', 'kofejob' ),
									'0' => __( 'No', 'kofejob' ),
								),
								'default'  => array( '0' )
							),
							
        ),
    ) );
   
     // -> START PAGES LINKS
    Redux::setSection( $opt_name, array(
        'title'  => __( 'Page Links', 'kofejob' ),
        'id'     => 'page_links',
        'icon'   => 'el el-link',
        'fields' => array(
						
            			array(
							'id' => 'login_page',
							'type' => 'select',
							'data' => 'pages',
							'multi' => false,
							'title' => esc_html__('Login Page', 'kofejob'),
						),
						array(
							'id' => 'register_page',
							'type' => 'select',
							'data' => 'pages',
							'multi' => false,
							'title' => esc_html__('Register Page', 'kofejob'),
						),
						array(
							'id' => 'terms_condition_page',
							'type' => 'select',
							'data' => 'pages',
							'multi' => false,
							'title' => esc_html__('Terms and Condition page', 'kofejob'),
						),
						array(
							'id' => 'project_search_page',
							'type' => 'select',
							'data' => 'pages',
							'multi' => false,
							'title' => esc_html__('Project Search Page', 'kofejob'),
						),
						array(
							'id' => 'freelancer_search_page',
							'type' => 'select',
							'data' => 'pages',
							'multi' => false,
							'title' => esc_html__('Freelancer Search Page', 'kofejob'),
						),
                        array(
                            'id' => 'product_search_page',
                            'type' => 'select',
                            'data' => 'pages',
                            'multi' => false,
                            'title' => esc_html__('Shop Search Page', 'kofejob'),
                        ),

 			
        )
    ) );
	// -> START PAGES LINKS
 
	// -> START Dashboard LINKS
    
    // -> START Additional Types
    Redux::setSection( $opt_name, array(
        'title' => __( 'Users', 'kofejob' ),
        'id'    => 'users',
        'desc'  => __( 'Users details will be here', 'kofejob' ),
        'icon'  => 'el el-magic',
    ) );
    Redux::setSection( $opt_name, array(
        'title'      => __( 'General', 'kofejob' ),
        'id'         => 'user-general',
        'subsection' => true,
        'fields'     => array(
			array(
				'id' => 'user_dashboard_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('Select User Dashboard Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_dashboard] shortcode', 'kofejob'),
			),
			array(
				'id' => 'my_profile_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('My Profile Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_my_account] shortcode', 'kofejob'),
			),
			array(
				'id' => 'add_listing_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('Add Listing Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_submit_listing] shortcode', 'kofejob'),
			),

			array(
				'id' => 'my_listing_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('My Listing Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_my_listings] shortcode', 'kofejob'),
			),

			array(
				'id' => 'my_favourites_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('My Favourites Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_bookmarks] shortcode', 'kofejob'),
			),

			array(
				'id' => 'my_savedprojects_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('Freelancer Saved Projects Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_savedprojects] shortcode', 'kofejob'),
			),

			array(
				'id' => 'my_reviews_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('Freelancer Saved Reviews Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_reviews] shortcode', 'kofejob'),
			),

			
			array(
				'id' => 'my_messages_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('My Messages Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_messages] shortcode', 'kofejob'),
 			),
			array(
				'id' => 'my_reviews_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('My Reviews Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_reviews] shortcode', 'kofejob'),
			),
			array(
				'id' => 'my_payments_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('My Payments Page', 'kofejob'),
				'desc'     => __( 'Select page that holds [kofejob_payments] shortcode', 'kofejob'),
			),
			array(
				'id' => 'terms_condition_page',
				'type' => 'select',
				'data' => 'pages',
				'multi' => false,
				'title' => esc_html__('Terms and Condition page', 'kofejob'),
			),
 
			array(
						'id'       => 'user_attachment_size',
						'type'     => 'text',
						'title'    => __( 'Profile image and cover image max size', 'kofejob' ),
						'subtitle' => __( 'This must be numeric.', 'kofejob' ),
						'desc'     => __( 'Attachment size should be in KB. 1Mb = 1000 Kb', 'kofejob' ),
						'validate' => 'numeric',
						'default'  => '500',
					),
			array(
                'id'       => 'del_account-section',
                'type'     => 'section',
                'title'    => __( 'Delete Account Option', 'kofejob' ),
                'indent'   => true,  
            ),
			array(
                'id'       => 'delete_account',
                'type'     => 'switch',
                'title'    => __( 'Delete account option to user', 'kofejob' ),
                'default'  => true,
                'on'       => __( 'ON', 'kofejob' ),
                'off'      => __( 'OFF', 'kofejob' ),
            ),
			array(
                'id'       => 'delete_mesg',
                'type'     => 'textarea',
                'title'    => __( 'Delete account text', 'kofejob' ),
                'subtitle' => __( 'It will be visible to customers on their profile delete account box.', 'kofejob' ),
				'required' => array( 'delete_account', '=', true )
            ),
        ),
    ) );
	Redux::setSection( $opt_name, array(
        'title' => __( 'Payout Settings', 'kofejob' ),
        'id'    => 'payout_settings',
		'subsection' => true,
        'fields' => array(
						array(
								'id'       => 'payout_switch',
								'type'     => 'switch',
								'title'    => __( 'Turn On or off payouts', 'kofejob' ),
								'default'  => true,
								'on'       => 'ON',
								'off'      => 'OFF',
							),
						array(
								'id'       => 'manual_payout_switch',
								'type'     => 'switch',
								'title'    => __( 'Allow Manual payout', 'kofejob' ),
								'default'  => false,
								'on'       => 'ON',
								'off'      => 'OFF',
							),
						array(
								'id'       => 'payout_processing_fee',
								'type'     => 'text',
								'title'    => __( 'Processing Fee', 'kofejob' ),
								'desc' 		=> __( 'only numeric allowed without currency symbol and decimal', 'kofejob' ),
								'default'  => __( '0', 'kofejob' ),
								'validate' => 'numeric',
							),
						array(
								'id'       => 'payout_min_limit',
								'type'     => 'text',
								'title'    => __( 'Minimum payout limit', 'kofejob' ),
								'desc' 		=> __( 'only numeric allowed without currency symbol and decimal', 'kofejob' ),
								'default'  => __( '100', 'kofejob' ),
								'validate' => 'numeric',
							),
						array(
								'id'       => 'payout_days_after',
								'type'     => 'text',
								'title'    => __( 'Payout after how many days', 'kofejob' ),
								'desc' 		=> __( 'only numeric value is allowed in days like 30 for one month ', 'kofejob' ),
								'default'  => __( '30', 'kofejob' ),
								'validate' => 'numeric',
							),
						array(
								'id'       => 'payout_note',
								'type'     => 'textarea',
								'title'    => __( 'Payout Note to show over the payout page', 'kofejob' ),
								'subtitle' => __( 'It will be visible to freelancers on their profile payout section.', 'kofejob' ),
								'required' => array( 'payout_switch', '=', true )
							),
						array(
								'id'       => 'paypal_switch',
								'type'     => 'switch',
								'title'    => __( 'Allow paypal payouts', 'kofejob' ),
								'default'  => true,
								'on'       => 'ON',
								'off'      => 'OFF',
							),
						
        )
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Employer', 'kofejob' ),
        'id'         => 'user-employer',
		'icon'  => 'el el-adjust',
        'fields'     => array(
            array(
                'id'       => 'employer_df_img',
                'type'     => 'media',
                'url'      => true,
                'title'    => __( 'Employer Default Picture', 'kofejob' ),
                'compiler' => 'true',
                'desc'     => __( 'If Employer does not provide image. This will be shown over his profile', 'kofejob' ),
                'default'  => array( 'url' => trailingslashit(get_template_directory_uri()) . '/assets/images/emp_default.jpg' ),
            ),
			array(
                'id'       => 'employer_df_cover',
                'type'     => 'media',
                'url'      => true,
                'title'    => __( 'Employer Default Cover Image', 'kofejob' ),
                'compiler' => 'true',

                'desc'     => __( 'If Employer does not provide Cover image. This will be shown over his public profile', 'kofejob' ),
                'default'  => array( 'url' => trailingslashit(get_template_directory_uri()) . '/assets/images/default_cover.jpg' ),
            ),
            array(
                'id'       => 'em_allow_profile_clickable',
                'type'     => 'button_set',
                'title'    => __( 'Allow Employer Picture Clickable', 'kofejob' ),
                'compiler' => 'true',
                'desc'     => __( 'If Select No then user will not be able to click on profile', 'kofejob' ),
                'options'  => array(
                    '1' => 'Yes',
                    '2' => 'No',
                ),
                'default'  => '1'
            ),
			array(
                'id'       => 'contact_detail_show',
                'type'     => 'button_set',
                'title'    => __( 'Want to show contact detail on employer detail page', 'kofejob' ),
                'desc'     => __( 'Choose one of these options.', 'kofejob' ),
                'options'  => array(
                    '1' => 'Show',
                    '2' => 'Hide',
                    '3' => 'Login to Show'
                ),
                'default'  => '2'
            ),
			array(
                'id'       => 'social_links_switch',
                'type'     => 'switch',
                'title'    => __( 'Social Links', 'kofejob' ),
                'default'  => true,
            ),
			
			 
        ),
    ) );
	Redux::setSection( $opt_name, array(
        'title' => __( 'Edit Profile', 'kofejob' ),
        'id'    => 'employer-edit-profile',
		'subsection' => true,
        'fields' => array(
						array(
								'id'     => 'edit_pro-section-end',
								'type'   => 'section',
								'indent' => false,
							),
						array(
							'id'       => 'employer-show-hide-fields',
							'type'     => 'section',
							'title'    => __( 'Required/Show/Hide Fields', 'kofejob' ),
							'subtitle' => __( 'All options to show hide or required fields fields', 'kofejob' ),
							'indent'   => true,
						),
						array(
							'id'       => 'employer_dispaly_name',
							'type'     => 'button_set',
							'title'    => __( 'Display Name', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'employer_tagline',
							'type'     => 'button_set',
							'title'    => __( 'Tagline', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'employer_contact_no',
							'type'     => 'button_set',
							'title'    => __( 'Contact Number', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'employer_department',
							'type'     => 'button_set',
							'title'    => __( 'Department', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'employer_employee_count',
							'type'     => 'button_set',
							'title'    => __( 'Number of Employees', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'employer_custom_locationt',
							'type'     => 'button_set',
							'title'    => __( 'Custom Location', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'employer_map',
							'type'     => 'button_set',
							'title'    => __( 'Map Address', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
								'id'     => 'employer-show-hide-fields-end',
								'type'   => 'section',
								'indent' => false,
							),
        )
    ) );
	Redux::setSection( $opt_name, array(
        'title' => __( 'Detail page', 'kofejob' ),
        'id'    => 'employer-detail Page',
		'subsection' => true,
        'fields' => array(
						array(
							'id'       => 'detail-page-section',
							'type'     => 'section',
							'title'    => __( 'Employer detail page', 'kofejob' ),
							'subtitle' => __( 'All the employer detail page options will be here.', 'kofejob' ),
							'indent'   => true,
						),
						array(
							'id'       => 'contact_detail_show',
							'type'     => 'button_set',
							'title'    => __( 'Want to show contact detail on employer detail page?', 'kofejob' ),
							'desc'     => __( 'Choose one of these options.', 'kofejob' ),
							'options'  => array(
								'1' => 'Show',
								'2' => 'Hide',
								'3' => 'Login to Show'
							),
							'default'  => '2'
						),
						array(
								'id'     => 'detail-page-end',
								'type'   => 'section',
								'indent' => false,
							),
						 array(
								'id'            => 'employers_posted_project_limit',
								'type'          => 'slider',
								'title'         => __( 'Number of post to show', 'kofejob' ),
								'subtitle'      => __( 'This slider displays the value as a label.', 'kofejob' ),
								'desc'          => __( 'Number of post to show Employer detail page', 'kofejob' ),
								'min'           => 1,
								'step'          => 1,
								'max'           => 50,
								'display_value' => 'label'
							),
					)
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Employer Search', 'kofejob' ),
        'id'         => 'employer-search',
        'subsection' => true,
        'fields'     => array(
							array(
								'id'       => 'employer_show_non_verified',
								'type'     => 'switch',
								'title'    => esc_html__( 'Want to show only email verified employers?', 'kofejob' ),
								'desc'     => __( 'If you want to show all employers whos email is verified or not.', 'kofejob' ),
								'default'  => false,
								'on'       => __( 'Yes', 'kofejob' ),
								'off'      => __( 'No', 'kofejob' ),
							),
                            array(
                                'id'       => 'employer_show_admin',
                                'type'     => 'switch',
                                'title'    => esc_html__( 'Want to show admin as a employer on search page?', 'kofejob' ),
                                'desc'     => __( 'If you want to show admin as a employer.', 'kofejob' ),
                                'default'  => false,
                                'on'       => __( 'Yes', 'kofejob' ),
                                'off'      => __( 'No', 'kofejob' ),
                            ),
							array(
								'id'       => 'employer_sidebar_count',
								'type'     => 'switch',
								'title'    => esc_html__( 'Sidebar Filters Count', 'kofejob' ),
								'desc'     => __( 'Select count for the terms should visible or hidden. ', 'kofejob' ),
								'default'  => true,
							),
                            array(
                                'id'       => 'employer_show_spending',
                                'type'     => 'switch',
                                'title'    => esc_html__( 'Want to Show Employer Spending or Not', 'kofejob' ),
                                'default'  => true,
                            ),
							array(
								'id'       => 'employer_sidebar_show_all_terms',
								'type'     => 'switch',
								'title'    => esc_html__( 'Sidebar Show terms', 'kofejob' ),
								'desc'     => __( 'Show only terms which has posts in it ', 'kofejob' ),
								'default'  => true,
							),
							
        ),
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Freelancer', 'kofejob' ),
        'id'         => 'user-freelancer',
		'icon'  => 'el el-user',
        'fields'     => array(
            array(
                'id'       => 'freelancer_df_img',
                'type'     => 'media',
                'url'      => true,
                'title'    => __( 'Freelancer Default Picture', 'kofejob' ),
                'compiler' => 'true',
                'desc'     => __( 'If Freelancer does not provide image. this will be shown over his profile.', 'kofejob' ),
                'default'  => array( 'url' => trailingslashit(get_template_directory_uri()) . '/assets/images/emp_default.jpg' ),
            ),
			array(
                'id'       => 'freelancer_df_cover',
                'type'     => 'media',
                'url'      => true,
                'title'    => __( 'Freelancer Default cover', 'kofejob' ),
                'compiler' => 'true',
                'desc'     => __( 'If Freelancer does not provide image. This will be shown over his profile.', 'kofejob' ),
                'default'  => array( 'url' => trailingslashit(get_template_directory_uri()) . '/assets/images/default_cover.jpg' ),
            ),
            array(
                'id'       => 'fl_allow_profile_clickable',
                'type'     => 'button_set',
                'title'    => __( 'Allow Freelancer Picture Clickable', 'kofejob' ),
                'compiler' => 'true',
                'desc'     => __( 'If Select No then user will not be able to click on profile', 'kofejob' ),
                'options'  => array(
                    '1' => 'Yes',
                    '2' => 'No',
                ),
                'default'  => '1'
            ),
			
            array(
                'id'       => 'freelancer_show_earning',
                'type'     => 'switch',
                'title'    => esc_html__( 'Want to Show Freelancer Earning or Not', 'kofejob' ),
                'default'  => true,
            ),
        ),
    ) );
    Redux::setSection( $opt_name, array(
        'title' => __( 'Edit Profile', 'kofejob' ),
        'id'    => 'freelancer-edit-profile',
		'subsection' => true,
        'fields' => array(
						array(
							'id'       => 'fl-show-hide-fields',
							'type'     => 'section',
							'title'    => __( 'Required/Show/Hide Fields for freelancer', 'kofejob' ),
							'subtitle' => __( 'All options to show hide or required fields fields', 'kofejob' ),
							'indent'   => true,  
						),
						array(
							'id'       => 'fl_dispaly_name',
							'type'     => 'button_set',
							'title'    => __( 'Display Name', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_tagline',
							'type'     => 'button_set',
							'title'    => __( 'Tagline', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_hourly_rate',
							'type'     => 'button_set',
							'title'    => __( 'Hourly rate', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_contact_number',
							'type'     => 'button_set',
							'title'    => __( 'Contact Number', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_gender',
							'type'     => 'button_set',
							'title'    => __( 'Freelancer gender', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_specialization',
							'type'     => 'button_set',
							'title'    => __( 'Freelancer Specialization', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_type',
							'type'     => 'button_set',
							'title'    => __( 'Freelancer Type', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_english_level',
							'type'     => 'button_set',
							'title'    => __( 'English level', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_language',
							'type'     => 'button_set',
							'title'    => __( 'English level', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_location',
							'type'     => 'button_set',
							'title'    => __( 'Location', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_address',
							'type'     => 'button_set',
							'title'    => __( 'Freelancer Address', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Required',
								'2' => 'Not Required',
								'3' => 'Hide',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_skills',
							'type'     => 'button_set',
							'title'    => __( 'Freelancers Skills', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Hide',
								'2' => 'Show',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_awards',
							'type'     => 'button_set',
							'title'    => __( 'Awards', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Hide',
								'2' => 'Show',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_projects',
							'type'     => 'button_set',
							'title'    => __( 'Projects', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Hide',
								'2' => 'Show',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_experience',
							'type'     => 'button_set',
							'title'    => __( 'Experience', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Hide',
								'2' => 'Show',
							),
							'default'  => '2'
						),
						array(
							'id'       => 'fl_education',
							'type'     => 'button_set',
							'title'    => __( 'Education', 'kofejob' ),
							'subtitle' => __( 'Select option to show hide or required', 'kofejob' ),
							'options'  => array(
								'1' => 'Hide',
								'2' => 'Show',
							),
							'default'  => '2'
						),

						array(
								'id'     => 'fl-show-hide-fields-end',
								'type'   => 'section',
								'indent' => false, 
							),
        )
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Detail page', 'kofejob' ),
        'id'         => 'freelancer-details',
		'subsection' => true,
        'fields'     => array(
							array(
								'id'       => 'freelancer_details_page_layout',
								'type'     => 'image_select',
								'title'    => __( 'Detail page layout', 'kofejob' ),
								'options'  => array(
									'2' => array(
										'alt' => __( 'Style 2', 'kofejob' ),
										'img' => trailingslashit(get_template_directory_uri()) . 'assets/images/freelancer-details.jpg',
									),
								),
								'default'  => '2'
							),
							array(
								'id'       => 'freelancer_states',
								'type'     => 'button_set',
								'title'    => __( 'Freelancer counters', 'kofejob' ),
								'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
								'options'  => array(
									'1' => 'Hide',
									'2' => 'Show',
								),
								'default'  => '2'
							),
							array(
								'id'       => 'freelancer_phone_number',
								'type'     => 'button_set',
								'title'    => __( 'Show contact number', 'kofejob' ),
								'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
								'options'  => array(
									'1' => 'Hide',
									'2' => 'Show',
								),
								'default'  => '1'
							),
							array(
								'id'       => 'freelancer_email',
								'type'     => 'button_set',
								'title'    => __( 'Show email', 'kofejob' ),
								'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
								'options'  => array(
									'1' => 'Hide',
									'2' => 'Show',
								),
								'default'  => '1'
							),
							array(
								'id'       => 'detail_page_gender',
								'type'     => 'button_set',
								'title'    => __( 'Show Gender', 'kofejob' ),
								'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
								'options'  => array(
									'1' => 'Hide',
									'2' => 'Show',
								),
								'default'  => '2'
							),
							array(
								'id'       => 'detail_page_type',
								'type'     => 'button_set',
								'title'    => __( 'Show Freelancer Type', 'kofejob' ),
								'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
								'options'  => array(
									'1' => 'Hide',
									'2' => 'Show',
								),
								'default'  => '2'
							),
							array(
								'id'       => 'detail_page_eglish_level',
								'type'     => 'button_set',
								'title'    => __( 'Show English Level', 'kofejob' ),
								'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
								'options'  => array(
									'1' => 'Hide',
									'2' => 'Show',
								),
								'default'  => '2'
							),
							array(
								'id'       => 'detail_page_language',
								'type'     => 'button_set',
								'title'    => __( 'Show Language', 'kofejob' ),
								'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
								'options'  => array(
									'1' => 'Hide',
									'2' => 'Show',
								),
								'default'  => '2'
							),
                            array(
                                'id'       => 'detail_page_specialization',
                                'type'     => 'button_set',
                                'title'    => __( 'Show Specialization', 'kofejob' ),
                                'subtitle' => __( 'Select option to show or hide', 'kofejob' ),
                                'options'  => array(
                                    '1' => 'Hide',
                                    '2' => 'Show',
                                ),
                                'default'  => '2'
                            ),
							
                            array(
                                'id'       => 'freelancer_skills_percentage',
                                'type'     => 'button_set',
                                'title'    => __( 'Freelancer Skills Percentage', 'kofejob' ),
                                'subtitle' => __( 'Turn On to show percentage of Freelancer skills', 'kofejob' ),
                                'desc' => __( 'On freelancer detail page show skills with percentage', 'kofejob' ),
                                'options'  => array(
                                    '1' => 'Show',
                                    '2' => 'Hide',
                                ),
                                'default'  => '1'
                            ),
							array(
								'id'       => 'detail_page_lower_layout',
								'type'     => 'sorter',
								'title'    => __( 'Detail page Lower part sorting', 'kofejob' ),
								'desc'     => __( 'Organize how you want the layout to appear on detail page', 'kofejob' ),
								'required' => array( 'freelancer_details_page_layout', '=', 1, 'freelancer_details_page_layout', '=', 2),
								'compiler' => 'true',
								'options'  => array(
									'disabled' => array(
									),
									'enabled'  => array(
										'description' => __( 'Description', 'kofejob' ),
										'reviews_seller'     => __( 'Seller Reviews', 'kofejob' ),
										'reviews_freelancer'     => __( 'Freelancer Reviews', 'kofejob' ),
										'projects'     => __( 'Projects', 'kofejob' ),
										'experience'     => __( 'Experience', 'kofejob' ),
										'education'     => __( 'Education', 'kofejob' ),
										'ads_1'     => __( 'Advertisement 1', 'kofejob' ),
										'ads_2'     => __( 'Advertisement 2', 'kofejob' ),
										'freelancer_custom_fields'     => __( 'Custom Fields', 'kofejob' ),
									),
								),
							),
							array(
								'id'       => 'detail_page_sidebar',
								'type'     => 'sorter',
								'title'    => __( 'Detail page Sidebar sorting', 'kofejob' ),
								'desc'     => __( 'Organize how you want the layout to appear on detail page', 'kofejob' ),
								'required' => array( 'freelancer_details_page_layout', '=', 1, 'freelancer_details_page_layout', '=', 2),
								'compiler' => 'true',
								'options'  => array(
									'disabled' => array(
									),
									'enabled'  => array(
										'certifications' => __( 'Certifications', 'kofejob' ),
										'skills'     => __( 'Skills', 'kofejob' ),
										'freelancer_detail'     => __( 'Freelancer detail', 'kofejob' ),
										'sidebar_ads_1'     => __( 'Advertisement 1', 'kofejob' ),
										'sidebar_ads_2'     => __( 'Advertisement 2', 'kofejob' ),
									),
								),
							),
							array(
							'id'       => 'detail_page_title_section',
							'type'     => 'section',
							'title'    => __( 'Detail page titles', 'kofejob' ),
							'subtitle' => __( 'Detail page main area titles.', 'kofejob' ),
							'indent'   => true, 
							),
							array(
								'id'       => 'detail_desc_title',
								'type'     => 'text',
								'title'    => __( 'Description Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'detail_seller_reviews_title',
								'type'     => 'text',
								'title'    => __( 'Seller Reviews Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'detail_freelancer_reviews_title',
								'type'     => 'text',
								'title'    => __( 'Freelancer Reviews Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'detail_projects_title',
								'type'     => 'text',
								'title'    => __( 'Projects Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'detail_exp_title',
								'type'     => 'text',
								'title'    => __( 'Experience Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'detail_edu_title',
								'type'     => 'text',
								'title'    => __( 'Education Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'freelancer_cf_title',
								'type'     => 'text',
								'title'    => __( 'Freelancer Custom Fields Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'     => 'detail_page_title_section-end',
								'type'   => 'section',
								'indent' => false, 
							),
							array(
							'id'       => 'detail_sidebar_title_section',
							'type'     => 'section',
							'title'    => __( 'Detail page sidebar titles', 'kofejob' ),
							'subtitle' => __( 'Detail page sidebar titles will be here.', 'kofejob' ),
							'indent'   => true,
							),
							array(
								'id'       => 'detail_sidebar_about',
								'type'     => 'text',
								'title'    => __( 'About Freelancer Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'detail_sidebar_skills',
								'type'     => 'text',
								'title'    => __( 'Skills Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'       => 'detail_sidebar_certificates',
								'type'     => 'text',
								'title'    => __( 'Certificate Title', 'kofejob' ),
								'desc' => __( 'Leave it empty if you do not want title', 'kofejob' ),
							),
							array(
								'id'     => 'detail_sidebar_title_section-end',
								'type'   => 'section',
								'indent' => false,  
							),
							
							array(
								'id'     => 'detail_main_ads_section_end',
								'type'   => 'section',
								'indent' => false,  
							),
							array(
								'id'     => 'detail_sidebar_ads_section_end',
								'type'   => 'section',
								'indent' => false,  
							),

        ),
    ) );
    Redux::setSection( $opt_name, array(
        'title' => __( 'Rating', 'kofejob' ),
        'id'    => 'freelancer-rating',
		'subsection' => true,
        'icon'  => 'el el-magic',
        'fields' => array(
						array(
							'id'       => 'rating_section',
							'type'     => 'section',
							'title'    => __( 'Freelancer Rating For Project', 'kofejob' ),
							'subtitle' => __( 'after Project Completion', 'kofejob' ),
							'indent'   => true,  
						),
						array(
							'id'       => 'first_title',
							'type'     => 'text',
							'title'    => __( 'First rating stars title', 'kofejob' ),
							'default'  => __( 'Proffesional Behaviour', 'kofejob' ),
						),
						
        )
    ) );
	Redux::setSection( $opt_name, array(
        'title'      => __( 'Freelancer Search', 'kofejob' ),
        'id'         => 'freelancer-search',
        'subsection' => true,
        'fields'     => array(
							array(
								'id'       => 'freelancer_show_non_verified',
								'type'     => 'switch',
								'title'    => esc_html__( 'Want to show only email verified freelancers?', 'kofejob' ),
								'desc'     => __( 'If you want to show all freelancers whos email is verified or not.', 'kofejob' ),
								'default'  => false,
								'on'       => __( 'Yes', 'kofejob' ),
								'off'      => __( 'No', 'kofejob' ),
							),
                            array(
                                'id'       => 'freelancer_show_admin',
                                'type'     => 'switch',
                                'title'    => esc_html__( 'Want to show admin as a freelancer on search page?', 'kofejob' ),
                                'desc'     => __( 'If you want to show admin as a freelancer.', 'kofejob' ),
                                'default'  => false,
                                'on'       => __( 'Yes', 'kofejob' ),
                                'off'      => __( 'No', 'kofejob' ),
                            ),

							array(
								'id'       => 'freelancer_sidebar',
								'type'     => 'button_set',
								'title'    => __( 'Freelancer Search Sidebar Position', 'kofejob' ),
								'desc'     => __( 'Select the Freelancer search page side bar postion.', 'kofejob' ),
								'options'  => array(
									'left' => 'Left',
								),
								'default'  => 'left',
							),
							array(
								'id'       => 'freelancer_sidebar_count',
								'type'     => 'switch',
								'title'    => esc_html__( 'Sidebar Filters Count', 'kofejob' ),
								'desc'     => __( 'Select count for the terms should visible or hidden. ', 'kofejob' ),
								'default'  => true,
							),
							array(
								'id'       => 'freelancer_sidebar_show_all_terms',
								'type'     => 'switch',
								'title'    => esc_html__( 'Sidebar Show terms', 'kofejob' ),
								'desc'     => __( 'Show only terms which has posts in it ', 'kofejob' ),
								'default'  => true,
							),
							array(
								'id'       => 'freelancer_grid_style',
								'type'     => 'button_set',
								'title'    => __( 'Freelancer Grid style', 'kofejob' ),
								'desc'     => __( 'Only one can be selected at a time.', 'kofejob' ),
								'options'  => array(
									'grid_1' => __( 'Grid 1', 'kofejob' ),
								),
								'default'  => 'grid_1',
							),
							array(
								'id'       => 'freelancer_listing_style',
								'type'     => 'button_set',
								'title'    => __( 'Freelancer Listing style', 'kofejob' ),
								'desc'     => __( 'Only one can be selected at a time.', 'kofejob' ),
								'options'  => array(
									'list_1' => __( 'List 1', 'kofejob' ),
								),
								'default'  => 'list_1',
							),
							
        ),
    ) );
    
	Redux::setSection( $opt_name, array(
			'title'      => esc_html__( 'Statistics Graph', "kofejob" ),
			'id'         => 'kofejob_statistics_pg',
			'icon'  => 'el el-graph',
			'desc'       => '',
			//'subsection' => true,
			'fields'     => array(
				array(
					'id'       => 'kofejob_stats_days',
					'type'     => 'text',
					'title'    => esc_html__( 'Number Of Days', 'kofejob' ),
					'desc'	=> esc_html__( 'How many days will shown on the chart!: .', 'kofejob' ),
					'default'  =>  20,
				),
		array(
				'id'		=> 'kofejob_chart_type',
				'type'		=> 'select',
				'title'		=> esc_html__( 'Chart Type', 'kofejob' ),
				'options'	=> array(
					'bar'	=> esc_html__( 'Bar Chart', 'kofejob' ),
					'line'			=> esc_html__( 'Line Chart', 'kofejob' )
				),
				'default'	=> 'bar',
			),
			
			 array(
					'id' => 'kofejob_chart_bg',
					'type' => 'color_rgba',
					'title' => __('Background Color For Chart', 'kofejob'),
					'default' => array(
						'color' => '#00aeef',
						'alpha' => '0.2'
					),
					'validate' => 'colorrgba',
					'desc'	=> esc_html__( 'Defualt color: rgba(0, 174, 239, 0.2)', 'kofejob' ),
				),
				
				array(
					'id' => 'kofejob_chart_border',
					'type' => 'color',
					'title' => esc_html__('Border Color', 'kofejob'),
					'subtitle' => esc_html__('Graph Border Color (default: #00aeef).', 'kofejob'),
					'transparent' => false,
					'default' => '#00aeef',
					'validate' => 'color',
      			  ),
			)
		));
    // -> START Editors
    Redux::setSection( $opt_name, array(
        'title'            => __( 'Footer Options', 'kofejob' ),
        'id'               => 'footers',
        'customizer_width' => '500px',
        'icon'             => 'el el-edit',
		'fields'     => array(
							array(
								'id'       => 'footer_type',
								'type'     => 'button_set',
								'title'    => __( 'Select the footer type', 'kofejob' ),
								'options'  => array(
									'0' => 'Kofejob Theme',
								),
								'default'  => '0',
							),
							array(
								'id'       => 'foote_layout',
								'type'     => 'image_select',
								'title'    => esc_html__( 'Select Footer Type', 'kofejob' ),
								'subtitle' => esc_html__( 'Click on any footer and save to apply.', 'kofejob' ),
								'options'  => array(
									'1' => array(
										'alt' => esc_html__( 'Footer 1', 'kofejob' ),
										'img' => trailingslashit(get_template_directory_uri()) . 'assets/images/header-1.png',
									),
								),
								'default'  => '1',
							),
							array(
                                    'id'       => 'footer_custom_link',
                                    'type'     => 'button_set',
                                    'title'    => __( 'Select To Show Location / Custom links', 'kofejob' ),
                                    'options'  => array(
                                        '0' => 'Project Location',
                                    ),
                                    'default'  => '0',
                                ),
							array(
								'id' => 'footer_project_locations_heading',
								'type' => 'text',
								'title' => esc_html__('Useful links Heading', 'kofejob'),
								'default' => '',
                                'required' => array(array('footer_custom_link','equals','0')),
								),
                           
							array(
								'id' => 'footer_project_locations',
								'type' => 'select',
								'title' => __('Select Usefullinks Pages', 'kofejob'),
								'multi' => true,
								'sortable' => true,
								'data' => 'pages',
                                'required' => array(array('footer_custom_link','equals','0')),
								),

							array(
								'id' => 'footer_services_locations_heading',
								'type' => 'text',
								'title' => esc_html__('Help and support Heading', 'kofejob'),
								'default' => '',
								),
							array(
								'id' => 'footer_services_locations',
								'type' => 'select',
								'title' => __('Select Helpful Pages', 'kofejob'),
								'multi' => true,
								'sortable' => true,
								'data' => 'pages'
							),
							array(
								'id' => 'footer_links_heading',
								'type' => 'text',
								'title' => esc_html__('Other Links Heading', 'kofejob'),
								'default' => '',
								),
							array(
								'id' => 'footer_page_links',
								'type' => 'select',
								'title' => __('Other links pages', 'kofejob'),
								'multi' => true,
								'sortable' => true,
								'data' => 'pages',
							),
							array(
									'id'       => 'footer-section-end',
									'type'     => 'section',
									'indent'   => false,  
								),
							array(
									'id'       => 'footer-social-section',
									'type'     => 'section',
									'title'    => __( 'Footer Social Links', 'kofejob' ),
									'subtitle' => __( 'Give complete link for your social pages and leave empty to hide.', 'kofejob' ),
									'indent'   => true,  
								),
							array(
								'id' => 'footer_facebook_link',
								'type' => 'text',
								'title' => esc_html__('Facebook', 'kofejob'),
								'default' => '',
								),
							array(
								'id' => 'footer_twitter_link',
								'type' => 'text',
								'title' => esc_html__('Twitter', 'kofejob'),
								'default' => '',
								),
								array(
								'id' => 'footer_linkedin_link',
								'type' => 'text',
								'title' => esc_html__('LinkedIn', 'kofejob'),
								'default' => '',
								),
								array(
								'id' => 'footer_youtube_link',
								'type' => 'text',
								'title' => esc_html__('Youtube', 'kofejob'),
								'default' => '',
								),
								array(
								'id' => 'footer_instagram_link',
								'type' => 'text',
								'title' => esc_html__('Instagram', 'kofejob'),
								'default' => '',
								),
							array(
									'id'       => 'footer-social-section-end',
									'type'     => 'section',
									'indent'   => false,  
								),
							array(
								'id' => 'footer_copyright_text',
								'type' => 'editor',
								'title' => esc_html__('Footer Copyright Text', 'kofejob'),
								'default' => 'Copyright 2023 &copy; Theme Created By Kofejob, All Rights Reserved.',
								'args' => array(
									'wpautop' => false,
									'media_buttons' => false,
									'textarea_rows' => 5,
									'teeny' => false,
									'quicktags' => false,
								)
							),								
        ),
    ) );
    Redux::setSection( $opt_name, array(
        'icon'            => 'el el-list-alt',
        'title'           => __( 'Customizer Only', 'kofejob' ),
        'desc'            => __( '<p class="description">This Section should be visible only in Customizer</p>', 'kofejob' ),
        'customizer_only' => true,
        'fields'          => array(
            array(
                'id'              => 'opt-customizer-only',
                'type'            => 'select',
                'title'           => __( 'Customizer Only Option', 'kofejob' ),
                'subtitle'        => __( 'The subtitle is NOT visible in customizer', 'kofejob' ),
                'desc'            => __( 'The field desc is NOT visible in customizer.', 'kofejob' ),
                'customizer_only' => true,
                'options'         => array(
                    '1' => 'Opt 1',
                    '2' => 'Opt 2',
                    '3' => 'Opt 3'
                ),
                'default'         => '2'
            ),
        )
    ) );
    if ( file_exists( dirname( __FILE__ ) . '/../README.md' ) ) {
        $section = array(
            'icon'   => 'el el-list-alt',
            'title'  => __( 'Documentation', 'kofejob' ),
            'fields' => array(
                array(
                    'id'       => '17',
                    'type'     => 'raw',
                    'markdown' => true,
                    'content_path' => dirname( __FILE__ ) . '/../README.md', 
                ),
            ),
        );
        Redux::setSection( $opt_name, $section );
    }
    if ( ! function_exists( 'compiler_action' ) ) {
        function compiler_action( $options, $css, $changed_values ) {
            echo '<h1>The compiler hook has run!</h1>';
            echo "<pre>";
            print_r( $changed_values );
            echo "</pre>";

        }
    }
    if ( ! function_exists( 'redux_validate_callback_function' ) ) {
        function redux_validate_callback_function( $field, $value, $existing_value ) {
            $error   = false;
            $warning = false;

            //do your validation
            if ( $value == 1 ) {
                $error = true;
                $value = $existing_value;
            } elseif ( $value == 2 ) {
                $warning = true;
                $value   = $existing_value;
            }

            $return['value'] = $value;

            if ( $error == true ) {
                $field['msg']    = 'your custom error message';
                $return['error'] = $field;
            }

            if ( $warning == true ) {
                $field['msg']      = 'your custom warning message';
                $return['warning'] = $field;
            }

            return $return;
        }
    }
    if ( ! function_exists( 'redux_my_custom_field' ) ) {
        function redux_my_custom_field( $field, $value ) {
            print_r( $field );
            echo '<br/>';
            print_r( $value );
        }
    }
    if ( ! function_exists( 'dynamic_section' ) ) {
        function dynamic_section( $sections ) {
            $sections[] = array(
                'title'  => __( 'Section via hook', 'kofejob' ),
                'desc'   => __( '<p class="description">This is a section created by adding a filter to the sections array. Can be used by child themes to add/remove sections from the options.</p>', 'kofejob' ),
                'icon'   => 'el el-paper-clip',
                'fields' => array()
            );

            return $sections;
        }
    }
    if ( ! function_exists( 'change_arguments' ) ) {
        function change_arguments( $args ) {

            return $args;
        }
    }
    if ( ! function_exists( 'change_defaults' ) ) {
        function change_defaults( $defaults ) {
            $defaults['str_replace'] = 'Testing filter hook!';

            return $defaults;
        }
    }