403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/plugins/landing-pages/shared/shortcodes/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/plugins/landing-pages/shared/shortcodes/shortcodes/list-icon.php
<?php
/**
*   List Icon Shortcode
*/

/* 	Shortcode generator config
 * 	----------------------------------------------------- */
	$shortcodes_config['list_icons'] = array(
		'no_preview' => true,
		'options' => array(),
		'child' => array(
			'options' => array(
				'icon' => array(
					'name' => __('Icon', 'inbound-pro' ),
					'desc' => __('Select the icon.', 'inbound-pro' ),
					'type' => 'select',
					'options' => $fontawesome,
					'std' => 'none'
				),
				'content' => array(
					'name' => __('List Content',  'leads'),
					'desc' => __('Put the content here.',  'leads'),
					'type' => 'textarea',
					'std' => ''
				)
			),
			'shortcode' => '[list icon="{{icon}}"]{{content}}[/list]',
			'clone' => __('Add More List',  'cta' )
		),
		'shortcode' => '[list_icons]{{child}}[/list_icons]',
		'popup_title' => __('Insert List Icons Shortcode', 'inbound-pro' )
	);

/* 	Add shortcode
 * 	----------------------------------------------------- */
	add_shortcode('list_icons', 'inbound_shortcode_list_icons');

	function inbound_shortcode_list_icons( $atts, $content = null ) {
		extract(shortcode_atts(array(), $atts));

		$out = '';

		if (!preg_match_all("/(.?)\[(list)\b(.*?)(?:(\/))?\](?:(.+?)\[\/list\])?(.?)/s", $content, $matches)) {

			return do_shortcode($content);

		} else {

			for($i = 0; $i < count($matches[0]); $i++) {
				$matches[3][$i] = shortcode_parse_atts($matches[3][$i]);
			}

			$out .= '<ul class="icons">';

			for($i = 0; $i < count($matches[0]); $i++) {
				$icon = ( $matches[3][$i]['icon'] ) ? '<i class="icon-'. $matches[3][$i]['icon'] .'"></i>' : '';

	            $out .= '<li>'. $icon . do_shortcode(trim($matches[5][$i])) .'</li>';
            }

			$out .= '</ul>';
		}

		return $out;
	}

Youez - 2016 - github.com/yon3zu
LinuXploit