[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.191.171.26: ~ $
<?php
/**
 * Quiz content
 *
 * @package Tutor\Templates
 * @subpackage Single\Quiz
 * @author Themeum <support@themeum.com>
 * @link https://themeum.com
 * @since 1.4.3
 */

global $post;

$currentPost = $post; //phpcs:ignore
$quiz_id           = get_the_ID();
$previous_attempts = tutor_utils()->quiz_attempts();
$attempted_count   = is_array( $previous_attempts ) ? count( $previous_attempts ) : 0;
$attempts_allowed  = tutor_utils()->get_quiz_option( $quiz_id, 'attempts_allowed', 0 );
$attempt_remaining = $attempts_allowed - $attempted_count;

if ( 0 !== $attempted_count ) {
	?>
<div id="tutor-quiz-content" class="tutor-quiz-content tutor-quiz-content-<?php the_ID(); ?>">
	<?php
	do_action( 'tutor_quiz/content/before', $quiz_id );

	do_action( 'tutor_quiz/content/after', $quiz_id );
	?>
</div>
<?php } ?>

Filemanager

Name Type Size Permission Actions
parts Folder 0755
body.php File 4.1 KB 0644
content.php File 816 B 0644
no_course_belongs.php File 513 B 0644
previous-attempts.php File 2.03 KB 0644
single_quiz_contents.php File 830 B 0644
top.php File 5.67 KB 0644