diff --git a/Admin.php b/Admin.php index 6accee9..3234bf3 100644 --- a/Admin.php +++ b/Admin.php @@ -9,7 +9,7 @@ include 'Header.php'; -
+ Full name
Email -
- Passport No. (used as the initial password) -
+
+ Initial password + + + Leave it empty to let LRR generate a strong password for you.

User type: - TA (Teaching Assistant) '; - } else if ($_SESSION['user_type'] == "Admin"){ - echo " Lecturer "; - } - ?> + + TA (Teaching Assistant) '; + } else if ($_SESSION['user_type'] == "Admin"){ + echo " Lecturer "; + } + + ?> +

- + ID Name Email - Passport / ID Reset password Block/Activate @@ -130,7 +135,7 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") { } while ($row = mysqli_fetch_assoc($result)) { - $pass = $row['Passport_Number']; + $pass = $row['Password']; $btn = ""; if ($row['Status'] == "Active") { $newstatus = "Blocked"; @@ -140,7 +145,7 @@ if ($_SESSION['user_type'] != "Lecturer" && $_SESSION['user_type'] != "Admin") { $btnBlock = ""; } - echo "" . $row['User_ID'] . "" . $row['Full_Name'] . "" . $row['Email'] . " " . $row['Passport_Number'] . "$btn$btnBlock"; + echo "" . $row['User_ID'] . "" . $row['Full_Name'] . "" . $row['Email'] . "$btn$btnBlock"; } ?>