????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.32.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_divider.php
<?php
	global $cws_theme_funcs;
	$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' ) );
	$icon_params 		= cws_ext_icon_vc_sc_config_params("separate_type", false, array( "iconic" ) );
	// Map Shortcode in Visual Composer
	$params 				= cws_ext_merge_arrs( array(
		array(
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Height', 'globeco' ),
				"description"	=> esc_html__( 'Integer', 'globeco' ),
				"param_name"	=> "height_divider",
				"value"			=> "1"
			),
            array(
                "type"			=> "dropdown",
                "heading"		=> esc_html__( 'Line Type', 'globeco' ),
                "param_name"	=> "line_type",
                "value"			=> array(
                    esc_html__( 'Solid', 'globeco' )		=> 'solid',
                    esc_html__( 'Dashed', 'globeco' )		=> 'dashed',
                )
            ),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Margin Top', 'globeco' ),
				"description"	=> esc_html__( 'in pixels', 'globeco' ),
				"param_name"	=> "mtop",
				"value"			=> ""
			),
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Margin Bottom', 'globeco' ),
				"description"	=> esc_html__( 'in pixels', 'globeco' ),
				"param_name"	=> "mbottom",
				"value"			=> ""
			),
			array(
				"type"			=> "checkbox",
				"param_name"	=> "add_separate",
				"value"			=> array( esc_html__( 'Add line separator', 'globeco' ) => true )
			),
			array(
				"type"			=> "dropdown",
				"heading"		=> esc_html__( 'Separator Type', 'globeco' ),
				"param_name"	=> "separate_type",
				"dependency"	=> array(
					"element"	=> "add_separate",
					"not_empty"	=> true
				),
				"value"			=> array(
					esc_html__( 'Standard', 'globeco' )	=> 'standard',
					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"	=> "separate_type",
					"value"		=> array( "image" )
				),
			),
            array(
                "type"			=> "dropdown",
                "heading"		=> esc_html__( 'Icon Size', 'globeco' ),
                "param_name"	=> "size",
                "dependency"	=> array(
                    "element"	=> "separate_type",
                    "value"		=> array( "iconic" )
                ),
                "value"			=> array(
                    esc_html__( 'Small', 'globeco' )		=> '2x',
                    esc_html__( 'Mini', 'globeco' )		=> 'lg',
                    esc_html__( 'Medium', 'globeco' )		=> '3x',
                    esc_html__( 'Large', 'globeco' )		=> '4x',
                    esc_html__( 'Extra Large', 'globeco' )	=> '5x'
                )
            ),
		),
		$icon_params,
		array(			
			array(
				"type"			=> "textfield",
				"heading"		=> esc_html__( 'Separator Spacings', 'globeco' ),
				"description"	=> esc_html__( 'in pixels', 'globeco' ),
				"param_name"	=> "icon_spacings",
                "dependency"	=> array(
                    "element"	=> "add_separate",
                    "not_empty"	=> true
                ),
				"value"			=> "0px"
			),
			array(
				"type"			=> "colorpicker",
				"param_name"	=> "custom_color",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "heading"		=> esc_html__( 'Divider line color', 'globeco' ),
				"value"			=> $first_color
			),
            array(
                "type"			=> "colorpicker",
                "param_name"	=> "middle_color",
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "heading"		=> esc_html__( 'Standard separator color', 'globeco' ),
                "dependency"	=> array(
                    "element"	=> "separate_type",
                    "value"		=> array( "standard" )
                ),
                "value"			=> $second_color
            ),
            array(
                "type"			=> "colorpicker",
                "heading"		=> esc_html__( "Iconic separator color", 'globeco' ),
                "group"			=> esc_html__( "Styling", 'globeco' ),
                "param_name"	=> "custom_color_icon",
                "dependency"	=> array(
                    "element"	=> "separate_type",
                    "value"		=> array( "iconic" )
                ),
                "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 Divider', 'globeco' ),
		"base"				=> "cws_sc_divider",
		'category'			=> "By CWS",
		"icon"     			=> "cws_icon",
		"weight"			=> 80,
		"params"			=> $params
	));

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

Youez - 2016 - github.com/yon3zu
LinuXploit