HEX
Server: Apache
System: Linux cp4.skywebbox.com 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
User: alfouzantranspor (1054)
PHP: 8.3.23
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/alfouzantranspor/public_html/wp-content/plugins/customizer-login-page/include/range-bar.php
<?php 
	/**
	 * Check for WP_Customizer_Control existence before adding custom control because WP_Customize_Control
	 * is loaded on customizer page only
	 *
	 * @see _wp_customize_include()
	 */
	if ( class_exists( 'WP_Customize_Control' ) && ! class_exists( 'Customizer_Range_Value_Control' ) ) :

		class Customizer_Range_Value_Control extends WP_Customize_Control {
			public $type = 'range-input';

			/**
			 * Enqueue scripts/styles.
			 *
			 * @since 3.4.0
			 */
			public function enqueue() {
				wp_enqueue_script( 'customizer-range-value-control-js', AWP_CLP_PLUGIN_URL . '/js/customizer-range-value-control.js', array( 'jquery' ), rand(), true );
				wp_enqueue_style( 'customizer-range-value-control-css', AWP_CLP_PLUGIN_URL . '/css/customizer-range-value-control.css', array(), rand() );
			}

			/**
			 * Render the control's content.
			 *
			 * @author soderlind
			 * @version 1.2.0
			 */
			public function render_content() {
				?>
				<label>
					<span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>
					<div class="range-slider"  style="width:100%; display:flex;flex-direction: row;justify-content: flex-start;">
						<span  style="width:100%; flex: 1 0 0; vertical-align: middle;"><input class="range-slider__range" type="range" value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->input_attrs(); $this->link(); ?>>
						<span class="range-slider__value">0</span></span>
					</div>
					<?php if ( ! empty( $this->description ) ) : ?>
					<span class="description customize-control-description"><?php echo $this->description; ?></span>
					<?php endif; ?>
				</label>
				<?php
			}
		}
	endif;			
?>