Administration Panel
TA Account Management
" ; echo "
TA Accounts
" ; } else if($_SESSION['user_type'] == "Admin"){ echo "
Lecturer Account Management
"; echo "
Lecturer Accounts
"; } ?>
Create New Account
Batch Create New Student Accounts
Existing Accounts
Create TA Accounts "; } else if($_SESSION['user_type'] == "Admin"){ echo "
Create Lecturer Accounts
"; } ?>
Full Name
Email
Passport Number / ID (Used as Initial Password)
User Type : TA (Teaching Assistant) '; } else if($_SESSION['user_type'] == "Admin"){ echo "
Lecturer "; } ?>
' . $_SESSION['info_Admin_Users'] . '
'; $_SESSION['info_Admin_Users'] = null; } if (isset($_SESSION['info_Admin_Users'])) { echo '
' . $_SESSION['info_Admin_Users'] . '
'; $_SESSION['info_Admin_Users'] = null; } ?>
ID
Name
Email
Passport / ID
Reset Password
Block/Activate
Reset"; if ($row['Status'] == "Active") { $newstatus = "Blocked"; $btnBlock = "
Block
"; } else { $newstatus = "Active"; $btnBlock = "
Activate
"; } echo "
" . $row['User_ID'] . "
" . $row['Full_Name'] . "
" . $row['Email'] . "
" . $row['Passport_Number'] . "
$btn
$btnBlock
"; } ?>
Separate two student numbers with a space.
Existing Courses
Existing Course Portals
Course Name
Faculty
Lecturer
TAs
Assign new TA
$code - $name
$faculty
$lecturer
$ta
"; $resultx = mysqli_query($con, "SELECT * FROM Users_Table WHERE UserType='TA'"); if (mysqli_num_rows($resultx) == 0) { } else { while ($row = mysqli_fetch_assoc($resultx)) { $id = $row['User_ID']; $name = $row['Full_Name']; echo "
$name
"; } } echo "
"; } } ?>