HEX
Server: Apache
System: Linux digivps 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC 2025 x86_64
User: root (0)
PHP: 8.3.15
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/biographybirthday.com/wp-content/plugins/imagify/views/input/selector.php
<?php
defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );

if ( empty( $data['values'] ) || empty( $data['name'] ) ) {
	return;
}

if ( ! isset( $data['value'] ) ) {
	$data['value'] = key( $data['values'] );
}

if ( empty( $data['current_label'] ) ) {
	$data['current_label'] = __( 'Current value:', 'imagify' );
}

if ( ! isset( $data['values'][ $data['value'] ] ) ) {
	return;
}

$list_id = str_replace( [ '[', ']' ], [ '-', '' ], $data['name'] );
$list_id = 'imagify-' . $list_id . '-selector-list';
?>

<div class="imagify-selector">
	<span class="hide-if-js">
		<?php echo esc_html( $data['current_label'] ); ?>
		<span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; ?></span>
	</span>

	<button aria-controls="<?php echo esc_attr( $list_id ); ?>" type="button" class="button imagify-button-clean hide-if-no-js imagify-selector-button">
		<span class="imagify-selector-current-value-info"><?php echo $data['values'][ $data['value'] ]; ?></span>
	</button>

	<ul id="<?php echo esc_attr( $list_id ); ?>" role="listbox" aria-orientation="vertical" aria-hidden="true" class="imagify-selector-list hide-if-no-js">
		<?php
		foreach ( $data['values'] as $val => $label ) {
			$input_id = $list_id . '-' . sanitize_html_class( $val );
			?>
			<li class="imagify-selector-choice<?php echo $val === $data['value'] ? ' imagify-selector-current-value" aria-current="true' : ''; ?>" role="option">
				<input type="radio" name="<?php echo esc_attr( $data['name'] ); ?>" value="<?php echo esc_attr( $val ); ?>" id="<?php echo esc_attr( $input_id ); ?>" <?php checked( $val, $data['value'] ); ?> class="screen-reader-text">
				<label for="<?php echo esc_attr( $input_id ); ?>"><?php echo $label; ?></label>
			</li>
			<?php
		}
		?>
	</ul>
</div>