Admin.php: remove redundant parenthese
parent
2230bf4222
commit
ce4a9b76c7
|
@ -44,7 +44,7 @@ if ($_SESSION['user_type'] != "Lecturer" || $_SESSION['user_type'] != "Admin") {
|
||||||
echo "<b>TA Accounts </b><br>" ;
|
echo "<b>TA Accounts </b><br>" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(($_SESSION['user_type'] == "Admin")){
|
else if($_SESSION['user_type'] == "Admin"){
|
||||||
|
|
||||||
echo " <h4> Lecturer Account Management </h4>
|
echo " <h4> Lecturer Account Management </h4>
|
||||||
<hr> ";
|
<hr> ";
|
||||||
|
@ -84,7 +84,7 @@ if ($_SESSION['user_type'] != "Lecturer" || $_SESSION['user_type'] != "Admin") {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(($_SESSION['user_type'] == "Admin")){
|
else if($_SESSION['user_type'] == "Admin"){
|
||||||
|
|
||||||
echo "<b>Create Lecturer Accounts </b>";
|
echo "<b>Create Lecturer Accounts </b>";
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ if ($_SESSION['user_type'] != "Lecturer" || $_SESSION['user_type'] != "Admin") {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(($_SESSION['user_type'] == "Admin")){
|
else if($_SESSION['user_type'] == "Admin"){
|
||||||
|
|
||||||
echo " <input type='radio' name = 'type' value = 'Lecturer' required = '' id='role_lecturer' > Lecturer ";
|
echo " <input type='radio' name = 'type' value = 'Lecturer' required = '' id='role_lecturer' > Lecturer ";
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ if ($_SESSION['user_type'] != "Lecturer" || $_SESSION['user_type'] != "Admin") {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(($_SESSION['user_type'] == "Admin")){
|
else if($_SESSION['user_type'] == "Admin"){
|
||||||
|
|
||||||
$result = mysqli_query(
|
$result = mysqli_query(
|
||||||
$con,
|
$con,
|
||||||
|
|
Loading…
Reference in New Issue