403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.217.92
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/testsite1441.ru/wp-content/themes/hotello/inc/vc/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/testsite1441.ru/wp-content/themes/hotello/inc/vc/modules/iconbox.php
<?php
add_action('init', 'hotello_moduleVC_iconbox');

function hotello_moduleVC_iconbox()
{
    vc_map(array(
        'name' => esc_html__('Icon Box', 'hotello'),
        'base' => 'stm_icon_box',
        'icon' => 'stmicon-box2',
        'category' => array(
            esc_html__('Content', 'hotello'),
            esc_html__('Hotello', 'hotello'),
        ),
        'description' => esc_html__('Icon and text inside the box', 'hotello'),
        'params' => array(
            array(
                'type' => 'textfield',
                'holder' => 'div',
                'heading' => esc_html__('Title', 'hotello'),
                'param_name' => 'title'
            ),
			array(
				'type' => 'dropdown',
				'heading' => esc_html__('Title tag', 'hotello'),
				'param_name' => 'title_tag',
				'value' => array(
					esc_html__('H1', 'hotello') => 'H1',
					esc_html__('H2', 'hotello') => 'H2',
					esc_html__('H3', 'hotello') => 'H3',
					esc_html__('H4', 'hotello') => 'H4',
					esc_html__('H5', 'hotello') => 'H5',
					esc_html__('H6', 'hotello') => 'H6',
				),
				'std' => 'H5',
			),
            array(
                'type' => 'textfield',
                'heading' => esc_html__('Title font size', 'hotello'),
                'param_name' => 'title_fsz'
            ),
            array(
                'type' => 'colorpicker',
                'heading' => esc_html__('Title Custom Color', 'hotello'),
                'param_name' => 'title_custom_color',
                'value' => '',
            ),
            array(
                'type' => 'checkbox',
                'heading' => esc_html__('Enable heading divider', 'hotello'),
                'param_name' => 'h_divider'
            ),
            array(
                'type' => 'iconpicker',
                'heading' => esc_html__('Icon', 'hotello'),
                'param_name' => 'icon',
                'value' => ''
            ),
            array(
                'type' => 'dropdown',
                'heading' => esc_html__('Content align', 'hotello'),
                'param_name' => 'content_pos',
                'value' => array(
                    esc_html__('Left', 'hotello') => 'left',
                    esc_html__('Center', 'hotello') => 'center',
                    esc_html__('Right', 'hotello') => 'right',
                ),
                'std' => 'left'
            ),
            array(
                'type' => 'dropdown',
                'heading' => esc_html__('Icon position', 'hotello'),
                'param_name' => 'icon_pos',
                'value' => array(
                    esc_html__('Left', 'hotello') => 'left',
                    esc_html__('Center', 'hotello') => 'center',
                    esc_html__('Right', 'hotello') => 'right',
                ),
                'std' => 'left',
            ),
            array(
                'type' => 'dropdown',
                'heading' => esc_html__('Icon Color', 'hotello'),
                'param_name' => 'icon_class',
                'value' => array(
                    esc_html__('Main color', 'hotello') => 'mtc',
                    esc_html__('Secondary color', 'hotello') => 'stc',
                    esc_html__('Third color', 'hotello') => 'ttc',
                    esc_html__('Custom', 'hotello') => 'custom'
                ),
                'description' => esc_html__('Select icon color', 'hotello')
            ),
            array(
                'type' => 'colorpicker',
                'heading' => esc_html__('Icon Custom Color', 'hotello'),
                'param_name' => 'icon_color',
                'value' => '',
                'dependency' => array(
                    'element' => 'icon_class',
                    'value' => 'custom'
                )
            ),
            array(
                'type' => 'textfield',
                'heading' => esc_html__('Icon Size', 'hotello'),
                'param_name' => 'icon_size',
                'value' => '65',
                'description' => esc_html__('Enter icon size in px', 'hotello')
            ),
            array(
                'type' => 'textfield',
                'heading' => esc_html__('Icon Height', 'hotello'),
                'param_name' => 'icon_height',
                'value' => '65',
                'description' => esc_html__('Enter icon height in px', 'hotello'),
            ),
            array(
                'type' => 'textfield',
                'heading' => esc_html__('Icon Width', 'hotello'),
                'param_name' => 'icon_width',
                'value' => '50',
                'description' => esc_html__('Enter icon width in px', 'hotello'),
            ),
            array(
                'type' => 'textarea_html',
                'heading' => esc_html__('Text', 'hotello'),
                'param_name' => 'content'
            ),
            array(
                'type' => 'dropdown',
                'heading' => esc_html__('Link IconBox', 'hotello'),
                'param_name' => 'box_link',
                'value' => array(
                    esc_html__('Enable', 'hotello') => 'enable',
                    esc_html__('Disable', 'hotello') => 'disable',
                ),
                'std' => 'disable',
            ),
            array(
                'type' => 'vc_link',
                'heading' => esc_html__('Link url', 'hotello'),
                'param_name' => 'box_link_url',
                'value' => '',
                'description' => esc_html__('Enter url for box', 'hotello'),
                'dependency' => array(
                    'element' => 'box_link',
                    'value' => 'enable'
                )
            ),
            hotello_load_styles(1, 'style', true),
			hotello_vc_add_css_editor_param('iconbox_css', array(
				'heading' => 'Icon CSS',
				'group' => esc_html__('Icon Design options', 'hotello')
			)),
            hotello_vc_add_css_editor_param(),
        )
    ));
}

if (class_exists('WPBakeryShortCode')) {
    class WPBakeryShortCode_Stm_Icon_Box extends WPBakeryShortCode
    {
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit