HEX
Server: Apache
System: Linux web04.cloudvoor.nl 5.15.0-1089-azure #98~20.04.1-Ubuntu SMP Fri May 2 20:18:39 UTC 2025 x86_64
User: web517 (1027)
PHP: 8.3.21
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,expect_popen,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
Upload Files
File: /var/www/clients/client93/web517/web/wp-content/themes/allx/include/range/range-class.php
<?php if( ! defined( 'ABSPATH' ) ) exit;
	function allx_customize_register_range( $wp_customize ) {
		class WP_Customize_Range_Control extends WP_Customize_Control {
			public $type = 'custom_range';
			public function enqueue () {
				wp_enqueue_script( 'allx-range-js', allx_THEME_URI. "include/range/range.js", array('jquery'), false , true );
			}
			public function render_content() {
			?>			</label>
			
			<label>
				<?php if ( ! empty( $this->label )) : ?>
				<span class="customize-control-title"><?php echo esc_html($this->label); ?></span>
				<?php endif; ?>
				<div id="value_<?php echo esc_html($this->id); ?>" class="custom-range-value"><?php echo esc_html($this->value()); ?> </div>
				<input id="input_<?php echo esc_html($this->id); ?>" class="customize-range" data-input-type="range" type="range" <?php esc_html($this->input_attrs()); ?> value="<?php echo esc_html($this->value()); ?>" <?php esc_html($this->link()); ?> />
				<?php if ( ! empty( $this->description )) : ?>
				<span class="description customize-control-description"><?php echo esc_html($this->description); ?></span>
				<?php endif; ?>
				
				<?php
				}
			}		
	}
	add_action( 'customize_register', 'allx_customize_register_range', 0 );
	
	
	/*********************************************************************************************************
		* Customizer Styles
	**********************************************************************************************************/
	function allx_customize_range_styles( $input ) { ?>
	<style>
		.customize-range {
		width: 100%;
		}
		.custom-range-value {
		color: #50575e;
		font-family: Impact;
		font-size: 17px;
		}
		.dashicons-image-rotate {
		position:absolute;
		right: 10px;
		}
	</style>
	
	<?php }
	add_action( 'customize_controls_print_styles', 'allx_customize_range_styles');