|
|
|
@ -40,7 +40,7 @@ $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')); |
|
|
|
|
Display::display_header(get_lang('Test')); |
|
|
|
|
|
|
|
|
|
if (isset($_GET['message'])) { |
|
|
|
|
if (in_array($_GET['message'], ['ExerciseEdited'])) { |
|
|
|
@ -66,13 +66,13 @@ echo '</div>'; |
|
|
|
|
</tr> |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
$sql = "SELECT *, quiz_question.question, firstname, lastname |
|
|
|
|
$sql = "SELECT *, quiz_question.question, firstname, lastname |
|
|
|
|
FROM $TBL_TRACK_ATTEMPT_RECORDING t, $TBL_USER, |
|
|
|
|
$TBL_EXERCISES_QUESTION quiz_question |
|
|
|
|
WHERE |
|
|
|
|
quiz_question.id = question_id AND |
|
|
|
|
user_id = author AND |
|
|
|
|
exe_id = '".(int) $_GET['exe_id']."' |
|
|
|
|
WHERE |
|
|
|
|
quiz_question.id = question_id AND |
|
|
|
|
user_id = author AND |
|
|
|
|
exe_id = '".(int) $_GET['exe_id']."' |
|
|
|
|
ORDER BY position"; |
|
|
|
|
$query = Database::query($sql); |
|
|
|
|
while ($row = Database::fetch_array($query)) { |
|
|
|
|