Make Courses.php look better

Bug430-Eden2
Lan Hui 2023-07-31 17:15:35 +08:00
parent 346fb348c7
commit 197437f6a1
1 changed files with 458 additions and 572 deletions

View File

@ -456,17 +456,11 @@ WHERE Lecturer_User_ID=$lecturer_id and course_students_table.Status='Pending'"
&nbsp;&nbsp;<a href='~\..\Script.php?AcceptStudent=y&id=$id&rs=no' class='btn-sm btn-danger' onclick=return confirm(\"are you sure to join this course?\")' > Decline </a>
</div>";
}
}
?>
<?php
if( $_SESSION['user_type']=="TA")
{
@ -517,8 +511,6 @@ WHERE Lecturer_User_ID=$lecturer_id and course_students_table.Status='Pending'"
<?php
}
if( $_SESSION['user_type']=="Student")
{
?>
@ -541,14 +533,9 @@ if( $_SESSION['user_type']=="Student")
</div>
<div class="row" style="width:80%;margin:auto; text-align:left;">
<div class="col-md-6">
<?php
error_reporting(0);
$student_id= $_SESSION['user_student_id'];
@ -651,32 +638,6 @@ INNER JOIN course_students_table on course_students_table.Course_ID=courses_tabl
}
}
echo "</div><div class='col-md-6'>
<form method='get' action='Courses.php'>
@ -708,83 +669,8 @@ List courses by faculty
</div>
</form>
</div></div>";
}
?>
<style>
</style>