|
@@ 1050-1054 (lines=5) @@
|
| 1047 |
|
$total_score_possible += $exercise_results_tmp['score_possible']; |
| 1048 |
|
$total_questions_answered += $exercise_results_tmp['questions_answered']; |
| 1049 |
|
} |
| 1050 |
|
if ($nb_progress_lp > 0) { |
| 1051 |
|
$avg_progress = round($progress / $nb_progress_lp, 2); |
| 1052 |
|
} else { |
| 1053 |
|
$avg_progress = 0; |
| 1054 |
|
} |
| 1055 |
|
if ($nb_score_lp > 0) { |
| 1056 |
|
$avg_score = round($score / $nb_score_lp, 2); |
| 1057 |
|
} else { |
|
@@ 1235-1239 (lines=5) @@
|
| 1232 |
|
$total_score_possible += $exercise_results_tmp['score_possible']; |
| 1233 |
|
$total_questions_answered += $exercise_results_tmp['questions_answered']; |
| 1234 |
|
} |
| 1235 |
|
if ($nb_progress_lp > 0) { |
| 1236 |
|
$avg_progress = round($progress / $nb_progress_lp, 2); |
| 1237 |
|
} else { |
| 1238 |
|
$avg_progress = 0; |
| 1239 |
|
} |
| 1240 |
|
if ($nb_score_lp > 0) { |
| 1241 |
|
$avg_score = round($score / $nb_score_lp, 2); |
| 1242 |
|
} else { |
|
@@ 1449-1453 (lines=5) @@
|
| 1446 |
|
$total_score_possible += $exercise_results_tmp['score_possible']; |
| 1447 |
|
$total_questions_answered += $exercise_results_tmp['questions_answered']; |
| 1448 |
|
} |
| 1449 |
|
if ($nb_progress_lp > 0) { |
| 1450 |
|
$avg_progress = round($progress / $nb_progress_lp, 2); |
| 1451 |
|
} else { |
| 1452 |
|
$avg_progress = 0; |
| 1453 |
|
} |
| 1454 |
|
if ($nb_score_lp > 0) { |
| 1455 |
|
$avg_score = round($score / $nb_score_lp, 2); |
| 1456 |
|
} else { |
|
@@ 1623-1627 (lines=5) @@
|
| 1620 |
|
$total_score_possible += $exercise_results_tmp['score_possible']; |
| 1621 |
|
$total_questions_answered += $exercise_results_tmp['questions_answered']; |
| 1622 |
|
} |
| 1623 |
|
if ($nb_progress_lp > 0) { |
| 1624 |
|
$avg_progress = round($progress / $nb_progress_lp, 2); |
| 1625 |
|
} else { |
| 1626 |
|
$avg_progress = 0; |
| 1627 |
|
} |
| 1628 |
|
if ($nb_score_lp > 0) { |
| 1629 |
|
$avg_score = round($score / $nb_score_lp, 2); |
| 1630 |
|
} else { |