From 62c708e12f1174602b2a997dc486048999d06bc6 Mon Sep 17 00:00:00 2001 From: Dmytro Lamashevski <56080362+DmytroLamashevskyi@users.noreply.github.com> Date: Thu, 16 Jun 2022 13:24:24 +0200 Subject: [PATCH] Bug 34 Update UI --- Submissions.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Submissions.php b/Submissions.php index 2505d39..31186e0 100644 --- a/Submissions.php +++ b/Submissions.php @@ -370,12 +370,13 @@ WHERE Course_id=$c_id"); if (mysqli_num_rows($result) == 0) { echo "You have no Group in this Course"; } else { + echo "
"; while ($row = mysqli_fetch_assoc($result)) { $name = $row['Group_Name']; $leader = $row['Full_Name'] . "(" . $row['Group_Leader'] . ")"; $id = $row['Course_Group_id']; - - echo "
$name - Leader : $leader
"; + echo "
+
$name - Leader : $leader
    "; $rs2 = mysqli_query($con, "SELECT `ID`, `Course_Group_id`, course_group_members_table.Student_ID, course_group_members_table.`Status`,users_table.Full_Name FROM `course_group_members_table` @@ -387,10 +388,13 @@ where course_group_members_table.Course_Group_id=$id"); $id = $row['Course_Group_id']; $status = $row['Status']; $Student_ID = $row['Student_ID']; - - echo "
  • $name-$Student_ID ($status)
  • "; + + echo "
  • $name-$Student_ID ($status)
  • "; + } + echo "
"; } + echo "
"; } ?>