From 24120f1bc48c714ffd30b6f2b25ad8aedf342de6 Mon Sep 17 00:00:00 2001 From: Dmytro Lamashevski <56080362+DmytroLamashevskyi@users.noreply.github.com> Date: Thu, 16 Jun 2022 12:28:12 +0200 Subject: [PATCH] Fixed 418 Update SQL and change UI --- Admin.php | 11 ++++++++--- Course.php | 7 ++----- Header.php | 9 ++++++++- index.php | 14 +++++++------- signup.php | 15 ++++++++------- 5 files changed, 33 insertions(+), 23 deletions(-) diff --git a/Admin.php b/Admin.php index 563dcdf..e233a2a 100644 --- a/Admin.php +++ b/Admin.php @@ -200,19 +200,24 @@ where course_ta.Course_ID=$c_id"); } echo " - $code - $name $faculty $lecturer$ta
"; while ($row = mysqli_fetch_assoc($resultx)) { $id = $row['User_ID']; $name = $row['Full_Name']; echo ""; } + echo "
"; } - echo " + echo " "; } } ?> diff --git a/Course.php b/Course.php index 8946d75..d9a75e0 100644 --- a/Course.php +++ b/Course.php @@ -94,11 +94,7 @@ if ($_SESSION['user_type'] == "Student") { -
  • - - - - +
  • +
  • diff --git a/Header.php b/Header.php index 45a80a2..ebd90ad 100644 --- a/Header.php +++ b/Header.php @@ -23,7 +23,7 @@ if (mysqli_connect_errno()) { - + @@ -32,7 +32,12 @@ if (mysqli_connect_errno()) { + + + + +