403Webshell
Server IP : 104.21.28.229  /  Your IP : 216.73.216.142
Web Server : Apache/2
System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : mienphi ( 1014)
PHP Version : 8.2.14
Disable Function : exec,system,passthru,shell_exec,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
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mienphi/public_html/wp-content/plugins/learnpress-random-quiz/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mienphi/public_html/wp-content/plugins/learnpress-random-quiz/templates/random-questions.php
<?php
/**
 * Template meta-box random questions.
 *
 * @since 4.0.2
 * @version 1.0.0
 */

defined( 'ABSPATH' ) || exit;

if ( ! isset( $data ) || ! isset( $data['question_random_meta_box'] ) ||
	! $data['question_random_meta_box'] instanceof LP_Meta_Box_Random_Questions ) {
	return;
}

wp_enqueue_script( 'lp-random-quiz' );
wp_enqueue_style( 'lp-admin-random-quiz' );

$question_random_meta_box = $data['question_random_meta_box'];
$value                    = esc_attr( $data['value'] ?? 0 );
$total                    = esc_attr( $data['total'] ?? 0 );
?>
<div class="form-field lp-quiz-random-questions-meta-box" <?php echo $question_random_meta_box->condition; ?>>
	<label for="<?php echo esc_attr( $question_random_meta_box->id ); ?>">
		<?php echo wp_kses_post( $question_random_meta_box->label ); ?>
	</label>
	<div class="lp-quiz-random-questions-meta-box-fields">
		<div class="content">
			<label>
				<?php esc_html_e( 'Use', 'learnpress-random-quiz' ); ?>
			</label>
			<input type="number" name="<?php echo $question_random_meta_box->id; ?>"
				id="<?php echo $question_random_meta_box->id; ?>"
				value="<?php echo $value; ?>"
				max="<?php echo $total; ?>" min="0">
			<div>
				<span><?php echo __( 'to', 'learnpress-random-quiz' ); ?></span>
				<span class="total_questions"><strong><?php echo $total; ?></strong></span>
			</div>
		</div>
		<?php
		if ( ! empty( $question_random_meta_box->description ) ) {
			echo '<span class="description">' . wp_kses_post( $question_random_meta_box->description ) . '</span>';
		}
		?>
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit