403Webshell
Server IP : 192.241.186.36  /  Your IP : 216.73.216.164
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64
User : root ( 0)
PHP Version : 7.4.32
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/adsonicdigital/wp-content/plugins/et-core-plugin/app/controllers/vc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/adsonicdigital/wp-content/plugins/et-core-plugin/app/controllers/vc/follow.php
<?php
namespace ETC\App\Controllers\Vc;

use ETC\App\Controllers\VC;

/**
 * Follow shortcode.
 *
 * @since      1.4.4
 * @package    ETC
 * @subpackage ETC/Controllers/VC
 */
class Follow extends VC {

	function hooks() {
		$this->register_follow();
	}

	function register_follow() {

		$strings = $this->etheme_vc_shortcodes_strings();
		$counter = 0;
		$params = array(
			array(
				'type' => 'xstore_title_divider',
				'title' => esc_html__( 'Social icons', 'xstore-core' ),
				'param_name' => 'divider'.$counter++
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Facebook link', 'xstore-core'),
				'param_name' => 'facebook'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Twitter link', 'xstore-core'),
				'param_name' => 'twitter'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Instagram link', 'xstore-core'),
				'param_name' => 'instagram'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Whatsapp link', 'xstore-core'),
				'param_name' => 'whatsapp'
			),
            array(
                'type' => 'textfield',
                'heading' => esc_html__('Snapchat link', 'xstore-core'),
                'param_name' => 'snapchat'
            ),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Pinterest link', 'xstore-core'),
				'param_name' => 'pinterest'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('LinkedIn link', 'xstore-core'),
				'param_name' => 'linkedin'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Tumblr link', 'xstore-core'),
				'param_name' => 'tumblr'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('YouTube link', 'xstore-core'),
				'param_name' => 'youtube'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Telegram link', 'xstore-core'),
				'param_name' => 'telegram'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Vimeo link', 'xstore-core'),
				'param_name' => 'vimeo'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('RSS link', 'xstore-core'),
				'param_name' => 'rss'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('VK link', 'xstore-core'),
				'param_name' => 'vk'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Houzz link', 'xstore-core'),
				'param_name' => 'houzz'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Tripadvisor link', 'xstore-core'),
				'param_name' => 'tripadvisor'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Etsy link', 'xstore-core'),
				'param_name' => 'etsy'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Tik-tok link', 'xstore-core'),
				'param_name' => 'tik-tok'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Strava link', 'xstore-core'),
				'param_name' => 'strava'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Cafecito link', 'xstore-core'),
				'param_name' => 'cafecito'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Dribbble link', 'xstore-core'),
				'param_name' => 'dribbble'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Kofi link', 'xstore-core'),
				'param_name' => 'kofi'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Line link', 'xstore-core'),
				'param_name' => 'line'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Patreon link', 'xstore-core'),
				'param_name' => 'patreon'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Reddit link', 'xstore-core'),
				'param_name' => 'reddit'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Discord link', 'xstore-core'),
				'param_name' => 'discord'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Email link', 'xstore-core'),
				'param_name' => 'email'
			),
			array(
				'type' => 'textfield',
				'heading' => esc_html__('Untapped link', 'xstore-core'),
				'param_name' => 'untapped'
			),
			array(
				'type' => 'xstore_title_divider',
				'title' => esc_html__( 'Links target', 'xstore-core' ),
				'param_name' => 'divider'.$counter++
			),
			array(
				'type' => 'xstore_button_set',
				'param_name' => 'target',
				'value' => array(
					esc_html__('Current window', 'xstore-core') => '_self',
					esc_html__('Blank', 'xstore-core') => '_blank',
				)
			),
			array(
				'type' => 'xstore_title_divider',
				'title' => esc_html__( 'Icons styles', 'xstore-core' ),
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'param_name' => 'divider'.$counter++
			),
			array(
				'type' => 'xstore_button_set',
				'heading' => esc_html__('Size', 'xstore-core'),
				'param_name' => 'size', 
				'value' => array(
					esc_html__('Normal', 'xstore-core') => 'normal',
					esc_html__('Small', 'xstore-core') => 'small',
					esc_html__('Large', 'xstore-core') => 'large'
				),
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'edit_field_class' => 'vc_col-sm-6 vc_column',
			),
			array(
				'type' => 'xstore_button_set',
				'heading' => esc_html__('Align', 'xstore-core'),
				'param_name' => 'align', 
				'value' => $strings['value']['align'],
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'edit_field_class' => 'vc_col-sm-6 vc_column',
			),
			array(
				'type' => 'checkbox',
				'heading' => esc_html__('Filled icons', 'xstore-core'),
				'param_name' => 'filled',
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
			),
			array(
				'type' => 'xstore_title_divider',
				'title' => esc_html__( 'Icons colors', 'xstore-core' ),
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'param_name' => 'divider'.$counter++
			),
			array(
				'type' => 'colorpicker',
				'heading' => esc_html__('Icons color', 'xstore-core'),
				'param_name' => 'icons_color',
				'value' => '',

				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'edit_field_class' => 'vc_col-md-6 vc_column',
			),
			array(
				'type' => 'colorpicker',
				'heading' => esc_html__('Icons color hover', 'xstore-core'),
				'param_name' => 'icons_color_hover',
				'value' => '',
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'edit_field_class' => 'vc_col-md-6 vc_column',
			),
			array(
				'type' => 'colorpicker',
				'heading' => esc_html__('Icons background', 'xstore-core'),
				'param_name' => 'icons_bg',
				'value' => '',
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'dependency' =>  array('element' => 'filled', 'value' => 'true' ),
				'edit_field_class' => 'vc_col-md-6 vc_column',
			),
			array(
				'type' => 'colorpicker',
				'heading' => esc_html__('Icons background hover', 'xstore-core'),
				'param_name' => 'icons_bg_hover',
				'value' => '',
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'dependency' =>  array('element' => 'filled', 'value' => 'true' ),
				'edit_field_class' => 'vc_col-md-6 vc_column',
			),
			array(
				'type' => 'xstore_title_divider',
				'title' => esc_html__( 'Border radius', 'xstore-core' ),
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'param_name' => 'divider'.$counter++,
				'dependency' =>  array('element' => 'filled', 'value' => 'true' ),
			),
			array(
				'type' => 'textfield',
				'param_name' => 'icons_border_radius',
				'group' => esc_html__( 'Icons styles', 'xstore-core' ),
				'dependency' =>  array('element' => 'filled', 'value' => 'true' ),
			),
			array(
				'type' => 'css_editor',
				'heading' => esc_html__( 'CSS box', 'xstore-core' ),
				'param_name' => 'css',
				'group' => esc_html__( 'Design', 'xstore-core' )
			),
		);

		$banner_params = array(
			'name' => 'Social links',
			'base' => 'follow',
			'icon' => ETHEME_CODE_IMAGES . 'vc/Social-links.png',
			'description' => esc_html__('Display social icons with links', 'xstore-core'),
			'category' => $strings['category'],
			'params' => $params
		);

		vc_map($banner_params);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit