403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/ict/wp-content/plugins/so-widgets-bundle/base/inc/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/ict/wp-content/plugins/so-widgets-bundle/base/inc/fields//slider.class.php
<?php

/**
 * Class SiteOrigin_Widget_Field_Slider
 */
class SiteOrigin_Widget_Field_Slider extends SiteOrigin_Widget_Field_Base {
	/**
	 * The minimum value of the allowed range.
	 *
	 * @var float
	 */
	protected $min;

	/**
	 * The maximum value of the allowed range.
	 *
	 * @var float
	 */
	protected $max;

	/**
	 * The step size when moving in the range.
	 *
	 * @var float
	 */
	protected $step;

	protected function render_field( $value, $instance ) {
		?>
		<div class="siteorigin-widget-slider-value"><?php echo ! empty( $value ) ? esc_html( $value ) : 0; ?></div>
		<div class="siteorigin-widget-slider-wrapper">
			<div class="siteorigin-widget-value-slider"></div>
		</div>
		<input
			type="number"
			class="siteorigin-widget-input siteorigin-widget-input-slider"
			name="<?php echo esc_attr( $this->element_name ); ?>"
			id="<?php echo esc_attr( $this->element_id ); ?>"
			value="<?php echo ! empty( $value ) ? esc_attr( $value ) : 0; ?>"
			min="<?php echo isset( $this->min ) ? (float) $this->min : 0; ?>"
			max="<?php echo isset( $this->max ) ? (float) $this->max : 100; ?>"
			step="<?php echo isset( $this->step ) ? (float) $this->step : 1; ?>"
		/>
		<?php
	}

	protected function sanitize_field_input( $value, $instance ) {
		return (float) $value;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit