From 8ecab98e215e600e8f8af174e68e34773180ebce Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Fri, 17 Jun 2022 21:58:14 +0800 Subject: [PATCH 3/5] git reset HEAD^ twice. --- .htaccess | 1 + Submissions.php | 4 ++-- index.php | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8d2f256 --- /dev/null +++ b/.htaccess @@ -0,0 +1 @@ +deny from all diff --git a/Submissions.php b/Submissions.php index a5961e4..cabcaf0 100644 --- a/Submissions.php +++ b/Submissions.php @@ -183,7 +183,7 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Pending' order by Sub } echo "
- $title
by: $submitted_by + $title
by: $submitted_by
Submitted : $posted
Attachments : $full_link
"; } @@ -347,7 +347,7 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Remarking'"); $full_link = $full_link . "| $att4"; } echo "
- $title
by : $submitted_by        [ Marked $Marks ]
Remarking Reason : $remarking_reason + $title
by : $submitted_by        [ Marked $Marks ]
Remarking Reason : $remarking_reason
Submitted : $posted " . "" . "       Ignore Request " diff --git a/index.php b/index.php index fd8c17a..8824217 100644 --- a/index.php +++ b/index.php @@ -1,3 +1,7 @@ + + - LRR was originally developed as a software engineering course project by Mohamed Nor and Elmahdi Houzi. Please submit your suggestions or bug reports to lanhui _at_ zjnu.edu.cn. Last updated on 18/04/2020 by Ashly. More information ... + LRR was originally developed as a software engineering course project by Mohamed Nor and Elmahdi Houzi. Please submit your suggestions or bug reports to lanhui. Last updated on 18/04/2020 by Ashly. More information ...
-- 2.17.1 From 1fc6061e1981aa4a54e79b48eff08a8a86b8b65d Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Fri, 17 Jun 2022 22:02:40 +0800 Subject: [PATCH 4/5] nothing to say --- index.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.php b/index.php index 8824217..94537b3 100644 --- a/index.php +++ b/index.php @@ -1,7 +1,3 @@ - - Date: Fri, 17 Jun 2022 22:42:08 +0800 Subject: [PATCH 5/5] Max input length set to 11 characters. --- Courses.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Courses.php b/Courses.php index 17b6cf8..36ebc2e 100644 --- a/Courses.php +++ b/Courses.php @@ -635,7 +635,7 @@ INNER JOIN course_students_table on course_students_table.Course_ID=courses_tabl if($Status=="Joined") { - echo "
+ echo "
($code) - $name
($url)     $Status     
Open
Faculty : $faculty Year : $academic Lecturer :$lecturer
"; @@ -682,7 +682,7 @@ INNER JOIN course_students_table on course_students_table.Course_ID=courses_tabl
Find course by Code - +
List courses by faculty -- 2.17.1