????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.64.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/eaabusiness.com/wp-content/themes/globeco/vc/theme_shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/eaabusiness.com/wp-content/themes/globeco/vc/theme_shortcodes/cws_sc_services.php
<?php
	global $cws_theme_funcs;
	$def_fill_color			= "rgba(255, 255, 255, 0.95)";
	$body_font_options		= $cws_theme_funcs->cws_get_option( 'body-font' );
	$body_font_color		= esc_attr( $body_font_options['color'] );	
	$heading_font_options 	= $cws_theme_funcs->cws_get_option( 'header-font' );
	$heading_font_color 	= esc_attr( $heading_font_options['color'] );	
	$first_color 			= esc_attr( $cws_theme_funcs->cws_get_option( 'theme-first-color' ) );
	$second_color 			= esc_attr( $cws_theme_funcs->cws_get_option( 'theme-second-color' ) );
	$def_border_color 		= "rgba(255, 255, 255, 0.95)";
	$icon_params 			= cws_ext_icon_vc_sc_config_params();
//	$icon_params 			= cws_ext_icon_vc_sc_config_params("services_type", false, array( "iconic" ) );
	$params 				= cws_ext_merge_arrs(
	array(
		array(
            array(
                "type"			=> "dropdown",
                "heading"		=> esc_html__( 'Shortcode Style', 'globeco' ),
                "param_name"	=> "shortcode_style",
                "value"			=> array(
                    esc_html__( 'Default', 'globeco' )		            => 'default',
                    esc_html__( 'With Frame', 'globeco' )	            => 'framed',
                    esc_html__( 'Advanced', 'globeco' )	                => 'advanced',
                    esc_html__( 'Advanced Alternative', 'globeco' )	    => 'alt',
                    esc_html__( 'Toggle', 'globeco' )	                => 'toggle',
                )
            ),
            array(
                "type"			=> "checkbox",
                "param_name"	=> "is_open",
                "value"			=> array( esc_html__( 'Open by default', 'globeco' ) => true ),
                "dependency"	=> array(
                    "element"	=> "shortcode_style",
                    "value"		=> array( "toggle", "advanced" )
                ),
            ),
			array(
				"type"			=> "textfield",
				"admin_label"	=> true,
				"heading"		=> esc_html__( 'Title', 'globeco' ),
				"param_name"	=> "title",
			),
			array(
				"type"			=> "dropdown",
				"heading"		=> esc_html__( 'Title Position', 'globeco' ),
				"param_name"	=> "title_pos",
				"value"			=> array(
					esc_html__( 'Above Icon', 'globeco' )		=> 'above',
					esc_html__( 'Beside Icon', 'globeco' )	    => 'beside',
					esc_html__( 'Under Icon', 'globeco' )		=> 'under',
				),
                "dependency"	=> array(
                    "element"	=> "shortcode_style",
                    "value"		=> array( "default" )
                ),
			),
            array(
                "type"			=> "checkbox",
                "param_name"	=> "add_counter",
                "value"			=> array( esc_html__( 'Add counter', 'globeco' ) => true ),
                "dependency"	=> array(
                    "element"	=> "title_pos",
                    "value"		=> array( "above", "under" )
                ),
            ),
            array(
                "type"			=> "textfield",
                "admin_label"	=> true,
                "heading"		=> esc_html__( 'Counter Value', 'globeco' ),
                "param_name"	=> "counter_value",
                "value"         => '01',
                "dependency"	=> array(
                    "element"	=> "add_counter",
                    "not_empty" => true
                ),
            ),
            array(
                "type"			=> "dropdown",
                "heading"		=> esc_html__( 'Alignment', 'globeco' ),
                "param_name"	=> "alignment",
                "value"			=> array(
                    esc_html__( "Left", 'globeco' ) 	=> "left",
                    esc_html__( "Center", 'globeco' ) => "center",
                    esc_html__( "Right", 'globeco' ) 	=> "right",
                )
            ),
            array(
                "type"			=> "dropdown",
                "heading"		=> esc_html__( 'Vertical Alignment', 'globeco' ),
                "param_name"	=> "vertical_alignment",
                "value"			=> array(
                    esc_html__( "Top", 'globeco' ) 	=> "top",
                    esc_html__( "Middle", 'globeco' ) => "center",
                    esc_html__( "Bottom", 'globeco' ) 	=> "bottom",
                ),
                "dependency"	=> array(
                    "element"	=> "title_pos",
                    "value"		=> array( "beside" )
                ),
            ),
            array(
                "type"			=> "textfield",
                "heading"		=> esc_html__( 'Block Padding', 'globeco' ),
                "description"	=> esc_html__( '1, 2( top/bottom, left/right ) or 4, space separated, values with units', 'globeco' ),
                "param_name"	=> "block_padding",
                "value"			=> "0px 0px"
            ),
            array(
                "type"			=> "checkbox",
                "param_name"	=> "add_divider",
                "value"			=> array( esc_html__( 'Add divider', 'globeco' ) => true ),
                "dependency"	=> array(
                    "element"	=> "shortcode_style",
                    "value"		=> array( "default" )
                ),
            ),
            array(
                "type"			=> "checkbox",
                "param_name"	=> "side_separator",
                "value"			=> array( esc_html__( 'Add Right Line', 'globeco' ) => true )
            ),
            array(
				"type"			=> "dropdown",
				"heading"		=> esc_html__( 'Type', 'globeco' ),
				"param_name"	=> "services_type",
				"value"			=> array(
					esc_html__( 'Icon', 'globeco' )		=> 'iconic',
					esc_html__( 'Image', 'globeco' )		=> 'image',
				) 
			),
			array(
				"type"			=> "attach_image",
				"heading"		=> esc_html__( 'Image', 'globeco' ),
				"param_name"	=> "plan_img",
				"dependency"	=> array(
					"element"	=> "services_type",
					"value"		=> array( "image" )
				),
			),
            array(
                "type"			=> "dropdown",
                "heading"		=> esc_html__( 'Shape', 'globeco' ),
                "param_name"	=> "shape",
                "value"			=> array(
                    esc_html__( 'Square', 'globeco' )		=> 'square',
                    esc_html__( 'Circle', 'globeco' )		=> 'circle',
                ),
                "dependency"	=> array(
                    "element"	=> "services_type",
                    "value"		=> array( "image" )
                ),
            ),
		),
		$icon_params,
		array(
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Icon Font Size', 'globeco' ),
				"param_name"	=> "icon_font_size",
				"value"			=> "48px"
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Max Width', 'globeco' ),
				"description"	=> esc_html__( 'Max width in percents', 'globeco' ),
				"param_name"	=> "max_width",
				"value"			=> "100"
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Text Line Height', 'globeco' ),
				"description"	=> esc_html__( 'Enter values with units', 'globeco' ),
				"param_name"	=> "text_line_height",
				"value"			=> "1.5em"
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Url', 'globeco' ),
				"param_name"	=> "url",
			),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "add_button",
				"value"			=> array( esc_html__( 'Add extra button', 'globeco' ) => true ),
				"dependency"	=> array(
					"element"	=> "url",
					"value"		=> array(""),
				),
			),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "hover_button",
				"value"			=> array( esc_html__( 'Show button on hover', 'globeco' ) => true ),
				"dependency"	=> array(
					"element"	=> "add_button",
					"not_empty"	=> true
				),
			),
			array(
				"type"			=> "dropdown",
				"heading"		=> esc_html__( 'Button style', 'globeco' ),
				"param_name"	=> "extra_button_style",
				"value"			=> array(
					esc_html__( 'Simple', 'globeco' )		=> 'simple',
                    esc_html__( 'Default', 'globeco' )	=> 'default',
				),
				"dependency"	=> array(
					"element"	=> "add_button",
					"not_empty"	=> true
				),
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Button link', 'globeco' ),
				"param_name"	=> "extra_button_url",
				"dependency"	=> array(
					"element"	=> "add_button",
					"not_empty"	=> true
				),
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Button top margin', 'globeco' ),
				"param_name"	=> "button_margin_top",
				"description"	=> esc_html__( 'Button Top Spacing, enter values with units.', 'globeco' ),
				"dependency"	=> array(
					"element"	=> "add_button",
					"not_empty"	=> true
				),
                'value'         => '16px'
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Button title', 'globeco' ),
				"param_name"	=> "extra_button_title",
				"dependency"	=> array(
					"element"	=> "add_button",
					"not_empty"	=> true
				),
			),



			array(
				"type"			=> "css_editor",
				"param_name"	=> "custom_styles",
				"group"			=> esc_html__( "Styling", 'globeco' )
			),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "customize_fonts",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"value"			=> array( esc_html__( 'Edit Text Size', 'globeco' ) => true )
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Title Font Size', 'globeco' ),
				"param_name"	=> "title_font_size",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "customize_fonts",
					"not_empty"	=> true
				),
				"value"			=> "22px"
			),
            array(
                "type"			=> "textfield",
                "heading"		=> esc_html__( 'Description Font Size', 'globeco' ),
                "param_name"	=> "desc_font_size",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "customize_fonts",
                    "not_empty"	=> true
                ),
                "value"			=> "16px"
            ),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "add_icon_border",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"value"			=> array( esc_html__( 'Add Border to Icon', 'globeco' ) => true )
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Icon Border Color', 'globeco' ),
				"param_name"	=> "icon_border_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "add_icon_border",
					"not_empty"	=> true
				),
				"value"			=> '#aabdc3'
			),	
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Icon Border Width', 'globeco' ),
				"param_name"	=> "icon_border_width",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "add_icon_border",
					"not_empty"	=> true
				),
				"value"			=> "2px"
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Icon Border Paddings', 'globeco' ),
				"param_name"	=> "icon_border_padding",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "add_icon_border",
					"not_empty"	=> true
				),
				"value"			=> "32px"
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Icon Border Radius', 'globeco' ),
				"param_name"	=> "icon_border_radius",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "add_icon_border",
					"not_empty"	=> true
				),
				"value"			=> "50%"
			),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "draw_hover_shadow",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"value"			=> array( esc_html__( 'Add Box Shadow on Hover', 'globeco' ) => true )				
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Box Shadow Properties', 'globeco' ),
				"param_name"	=> "box_shadow_prop",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "draw_hover_shadow",
					"not_empty"	=> true
				),
				"value"			=> "0px 0px 55px 1px"
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Box Shadow Color', 'globeco' ),
				"param_name"	=> "box_shadow_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "draw_hover_shadow",
					"not_empty"	=> true
				),
				"value"			=> "rgba(0,0,0,.07)"
			),	
			array(
				"type"			=> "checkbox",
				"param_name"	=> "customize_colors",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"value"			=> array( esc_html__( 'Customize Colors', 'globeco' ) => true )
			),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Block Background Color', 'globeco' ),
                "param_name"	=> "bg_color",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "customize_colors",
                    "not_empty"	=> true
                ),
                "value"			=> ''
            ),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Icon Color', 'globeco' ),
				"param_name"	=> "icon_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "customize_colors",
					"not_empty"	=> true
				),
				"value"			=> '#aabdc3'
			),	
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Icon Background Color', 'globeco' ),
				"param_name"	=> "icon_bg_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "customize_colors",
					"not_empty"	=> true
				),
				"value"			=> ""
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Divider Color', 'globeco' ),
				"param_name"	=> "divider_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "customize_colors",
					"not_empty"	=> true
				),
				"value"			=> $second_color
			),		
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Title Color', 'globeco' ),
				"param_name"	=> "title_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "customize_colors",
					"not_empty"	=> true
				),
				"value"			=> $first_color
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Button Text Color', 'globeco' ),
				"param_name"	=> "button_text_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "customize_colors",
					"not_empty"	=> true
				),
				"value"			=> $second_color
			),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Button Background Color', 'globeco' ),
                "param_name"	=> "button_bg_color",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "customize_colors",
                    "not_empty"	=> true
                ),
                "value"			=> $second_color
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Button Border Color', 'globeco' ),
                "param_name"	=> "button_border_color",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "customize_colors",
                    "not_empty"	=> true
                ),
                "value"			=> $second_color
            ),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Description Font Color', 'globeco' ),
				"param_name"	=> "desc_font_color",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"dependency"	=> array(
					"element"	=> "customize_colors",
					"not_empty"	=> true
				),
				"value"			=> $body_font_color
			),



			array(
				"type"			=> "checkbox",
				"param_name"	=> "add_hover",
				"group"			=> esc_html__( "Styling", 'globeco' ),
				"value"			=> array( esc_html__( 'Customize Colors on Hover', 'globeco' ) => true )
			),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Block Background Color (hover)', 'globeco' ),
                "param_name"	=> "bg_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> $first_color
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Icon Color (hover)', 'globeco' ),
                "param_name"	=> "icon_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> '#fff'
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Icon Background Color (hover)', 'globeco' ),
                "param_name"	=> "icon_bg_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> ""
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Icon Border Color (hover)', 'globeco' ),
                "param_name"	=> "icon_border_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> ""
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Divider Color (hover)', 'globeco' ),
                "param_name"	=> "divider_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> '#fff'
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Title Color (hover)', 'globeco' ),
                "param_name"	=> "title_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> '#fff'
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Button Text Color (hover)', 'globeco' ),
                "param_name"	=> "button_text_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> $second_color
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Button Background Color (hover)', 'globeco' ),
                "param_name"	=> "button_bg_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> $second_color
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Button Border Color (hover)', 'globeco' ),
                "param_name"	=> "button_border_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> $second_color
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( 'Description Font Color (hover)', 'globeco' ),
                "param_name"	=> "desc_font_color_hover",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "add_hover",
                    "not_empty"	=> true
                ),
                "value"			=> '#fff'
            ),



			array(
				"type"				=> "textfield",
				"heading"			=> esc_html__( 'Extra class name', 'globeco' ),
				"description"		=> esc_html__( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'globeco' ),
				"param_name"		=> "el_class",
				"value"				=> ""
			),			
			array(
				"type"			=> "textarea_html",
				"heading"		=> esc_html__( 'Description', 'globeco' ),
				"param_name"	=> "content",
			)
		)
	));
	// Map Shortcode in Visual Composer
	vc_map( array(
		"name"				=> esc_html__( 'CWS Services', 'globeco' ),
		"base"				=> "cws_sc_services",
		'category'			=> "By CWS",
		"icon"     			=> "cws_icon",
		"weight"			=> 80,
		"params"			=> $params
	));

	if ( class_exists( 'WPBakeryShortCode' ) ) {
	    class WPBakeryShortCode_CWS_Sc_Services extends WPBakeryShortCode {
	    }
	}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit