'exercise_report.php?'.api_get_cidreq(), 'name' => get_lang('Tests'), ]; $interbreadcrumb[] = [ 'url' => 'exercise_report.php?filter=2&'.api_get_cidreq(), 'name' => get_lang('Learner score'), ]; $interbreadcrumb[] = [ 'url' => 'exercise_history.php?exe_id='.intval($_GET['exe_id']).'&'.api_get_cidreq(), 'name' => get_lang('Details'), ]; $TBL_USER = Database::get_main_table(TABLE_MAIN_USER); $TBL_EXERCISES = Database::get_course_table(TABLE_QUIZ_TEST); $TBL_EXERCISES_QUESTION = Database::get_course_table(TABLE_QUIZ_QUESTION); $TBL_TRACK_ATTEMPT_RECORDING = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ATTEMPT_RECORDING); Display::display_header($nameTools, get_lang('Test')); if (isset($_GET['message'])) { if (in_array($_GET['message'], ['ExerciseEdited'])) { $my_message_history = Security::remove_XSS($_GET['message']); echo Display::return_message(get_lang($my_message_history), 'confirm'); } } echo '
'.$row['question'].' | '; echo ''.$row['marks'].' | '; if (!empty($row['teacher_comment'])) { echo ''.$row['teacher_comment'].' | '; } else { echo ''.get_lang('Without comment').' | '; } echo ''.(empty($row['firstname']) && empty($row['lastname']) ? ''.get_lang('Original value').'' : api_get_person_name($row['firstname'], $row['lastname'])).' | '; echo ''.api_convert_and_format_date($row['insert_date'], DATE_TIME_FORMAT_LONG).' | '; echo ''; } echo '