mirror of
https://github.com/idanoo/nzart-exam-generator.git
synced 2024-12-04 22:26:58 +00:00
More styling
This commit is contained in:
parent
d262d86e11
commit
3d98b9a290
@ -114,17 +114,17 @@ if (isset($_POST['mark'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($day as $t=>$da) {
|
foreach ($day as $t=>$da) {
|
||||||
echo "<span style='font-weight:bold'>".$t."</span><br/>";
|
echo "<br/><span style='font-weight:bold'>".$t."</span> - ";
|
||||||
$total = 0;
|
$total = 0;
|
||||||
foreach($da['total'] as $t) {
|
foreach($da['total'] as $t) {
|
||||||
$total = $total+$t;
|
$total = $total+$t;
|
||||||
}
|
}
|
||||||
$total = round(($total/count($da['total'])),2);
|
$total = round(($total/count($da['total'])),2);
|
||||||
|
echo $total."% Average<br/>";
|
||||||
unset($da['total']);
|
unset($da['total']);
|
||||||
foreach($da as $c=>$d) {
|
foreach($da as $c=>$d) {
|
||||||
echo $d;
|
echo $d;
|
||||||
}
|
}
|
||||||
echo $total."% Average<br/><br/>";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user