- $title
($marks Marks out of $Originalmarks) Lecturer Feedback : $notes $remarking
Submitted files :";
+ $title
($marks marks out of $Originalmarks) Lecturer feedback: $notes $remarking
Submitted files :";
$Sub_result = mysqli_query($con,"SELECT `Submission_ID`, `Submission_Date`, lab_report_submissions.Lab_Report_ID,
lab_report_submissions.Student_id sub_std, lab_report_submissions.Course_Group_id, `Attachment1`,
diff --git a/Courses.php b/Courses.php
index 0a2de79..e3401b7 100644
--- a/Courses.php
+++ b/Courses.php
@@ -85,7 +85,7 @@ if( $_SESSION['user_type']=="Lecturer" || $_SESSION['user_type']=="TA")
($code) - $name
-
Faculty: $faculty | Year: $academic | Lecturer: $lecturer
+
Faculty:$faculty Year: $academic Lecturer: $lecturer
";
@@ -366,7 +366,7 @@ WHERE Course_ID=$course_id");
$result = mysqli_query($con,"SELECT `Course_ID`, `Course_Name`, `Academic_Year`, `Faculty`, "
- . "`Lecturer_User_ID`, `TA_User_ID`, `Course_Code`, `URL`, `Verify_New_Members` , users_table.Full_Name FROM `courses_table` INNER JOIN users_table ON users_table.User_ID=courses_table.Lecturer_User_ID where courses_table.Lecturer_User_ID=$user_d");
+ . "`Lecturer_User_ID`, `TA_User_ID`, `Course_Code`, `URL`, `Verify_New_Members` , users_table.Full_Name FROM `courses_table` INNER JOIN users_table ON users_table.User_ID=courses_table.Lecturer_User_ID where courses_table.Lecturer_User_ID=$user_d ORDER BY Academic_Year DESC, URL ASC");
if($_SESSION['user_type']=="TA")
{
@@ -412,7 +412,7 @@ where course_ta.Course_ID=$id");
-
Course Joining Requests
+
Course joining requests
@@ -426,7 +426,7 @@ WHERE Lecturer_User_ID=$lecturer_id and course_students_table.Status='Pending'"
if(mysqli_num_rows($result)==0)
{
- echo "
No course-joining request so far for all your courses
";
+ echo "
No course-joining request so far for your courses
";
} else { while($row = mysqli_fetch_assoc($result)) {
$id=$row['ID'];
@@ -453,7 +453,7 @@ WHERE Lecturer_User_ID=$lecturer_id and course_students_table.Status='Pending'"
}
if( $_SESSION['user_type']=="Lecturer"){ ?>
-
Create new Course Portal
+
Create a new course
@@ -537,7 +537,7 @@ if( $_SESSION['user_type']=="Student")
// the user has not entered something under "Find course by Code"
if($faculty=="")
{
- echo "
Search Results for Course Code $search
";
+ echo "
Search results for course code: $search
";
$result = mysqli_query($con,"SELECT `Course_ID`, `Course_Name`, `Academic_Year`, `Faculty`,"
. " `Lecturer_User_ID`, `TA_User_ID`, `Course_Code`, `URL`, `Verify_New_Members` "
. " , users_table.Full_Name FROM `courses_table` INNER JOIN users_table"
@@ -546,7 +546,7 @@ if( $_SESSION['user_type']=="Student")
// the user has entered something under "Find course by Code"
else
{
- echo "
Find Courses under faculty $faculty
";
+ echo "
Find courses under faculty: $faculty
";
$result = mysqli_query($con,"SELECT `Course_ID`, `Course_Name`, `Academic_Year`, `Faculty`,
`Lecturer_User_ID`, `TA_User_ID`, `Course_Code`, `URL`, `Verify_New_Members`
, users_table.Full_Name FROM `courses_table` INNER JOIN users_table
@@ -556,7 +556,7 @@ if( $_SESSION['user_type']=="Student")
if(mysqli_num_rows($result)==0)
{
- echo "No results found ...
";
+ echo "No results.
";
} else {
@@ -569,7 +569,6 @@ if( $_SESSION['user_type']=="Student")
$url=$row['URL'];
$id=$row['Course_ID'];
$v=$row['Verify_New_Members'];
- $msg2="Join Course";
if($v>0)
{
$msg="
Lecturer verification required";
@@ -577,25 +576,25 @@ if( $_SESSION['user_type']=="Student")
}
echo "
- [$code] $name
($url)
$msg2
-
Faculty: $faculty | Year: $academic | Lecturer: $lecturer $msg
+ ($code) $name
($url)
Join
+
Faculty: $faculty Year: $academic Lecturer: $lecturer $msg
";
}
}
}
// Otherwise, list the student's joined courses (already done), in reverse chronological order
- echo "