From c490974dd7c3e713e2f708a17438de50d3092525 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Fri, 4 Aug 2023 18:44:10 +0800 Subject: [PATCH] Better look. --- Course.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Course.php b/Course.php index 1ac1b71..9ba9f86 100644 --- a/Course.php +++ b/Course.php @@ -167,8 +167,8 @@ if( $_SESSION['user_type'] == "Student") $full_link= $full_link."| $att4"; } echo "
- $title ($type)
$ins -
Posted : $posted      Deadline : $deadline     ($Marks Marks)        Submit
Attachments : $full_link
+ $title ($Marks Marks, $type)
$ins +
Posted:$posted   Deadline:$deadline        Submit
Attachments : $full_link
"; }} @@ -227,7 +227,7 @@ Lab_Report_ID not in (select Lab_Report_ID from lab_report_submissions where (St } ; - echo "
MISSED $title ($marks Marks)
$ins + echo "
MISSED $title ($marks Marks)
$ins
Posted: $posted
Deadline: $deadline          
Attachments : $full_link
"; @@ -274,7 +274,7 @@ Lab_Report_ID not in (select Lab_Report_ID from lab_report_submissions where (St $id = $row['Lab_Report_ID']; if( $c_date < $deadline) { - $submittedx=" Re-Submit "; + $submittedx=" Re-submit "; } $full_link = "$att1"; @@ -291,8 +291,8 @@ Lab_Report_ID not in (select Lab_Report_ID from lab_report_submissions where (St } echo "
- $title
$ins -
Posted : $posted Deadline : $deadline ($marks Marks)     $submittedx  Submitted + $title ($marks Marks)
$ins +
Posted:$posted   Deadline:$deadline       $submittedx  Submitted
Submitted files: "; $Sub_result = mysqli_query($con,"SELECT `Submission_ID`, `Submission_Date`, lab_report_submissions.Lab_Report_ID,