ENOCK JEANNICK OMAR bug41:need to be submitted by whom information. the system shows the information of the person that submit the assignement.
parent
d5c40795a8
commit
4e66a3976c
|
@ -121,8 +121,9 @@ echo "<div class='alert' style='margin-left:20px;border-bottom:2px solid #1D91EF
|
||||||
$result1 = mysqli_query($con,"SELECT `Submission_ID`, `Submission_Date`, lab_report_submissions.Lab_Report_ID,
|
$result1 = mysqli_query($con,"SELECT `Submission_ID`, `Submission_Date`, lab_report_submissions.Lab_Report_ID,
|
||||||
lab_report_submissions.Course_Group_id, `Attachment1`,
|
lab_report_submissions.Course_Group_id, `Attachment1`,
|
||||||
`Notes`, `Attachment2`, `Attachment3`, `Attachment4`, `Marks`, lab_report_submissions.Status,
|
`Notes`, `Attachment2`, `Attachment3`, `Attachment4`, `Marks`, lab_report_submissions.Status,
|
||||||
`Title`,course_groups_table.Group_Name
|
`Title`,course_groups_table.Group_Name,course_groups_table.Group_Leader,users_table.Full_Name, users_table.Student_id
|
||||||
FROM `lab_report_submissions`
|
FROM `lab_report_submissions`
|
||||||
|
Left JOIN users_table on users_table.Student_ID=lab_report_submissions.Student_id
|
||||||
left JOIN course_groups_table on course_groups_table.Course_Group_id=lab_report_submissions.Course_Group_id
|
left JOIN course_groups_table on course_groups_table.Course_Group_id=lab_report_submissions.Course_Group_id
|
||||||
where Lab_Report_ID=$id and lab_report_submissions.Status='Pending' order by Submission_Date desc");
|
where Lab_Report_ID=$id and lab_report_submissions.Status='Pending' order by Submission_Date desc");
|
||||||
}
|
}
|
||||||
|
@ -163,14 +164,15 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Pending' order by Sub
|
||||||
$submitted_group=$row['Course_Group_id'];
|
$submitted_group=$row['Course_Group_id'];
|
||||||
$Submission_ID=$row['Submission_ID'];
|
$Submission_ID=$row['Submission_ID'];
|
||||||
$names=$row['Full_Name'];
|
$names=$row['Full_Name'];
|
||||||
$groupname=$row['Group_Name'];
|
$groupname=$row['Group_Name'];
|
||||||
|
$groupleader=$row['Group_Leader'];
|
||||||
$student_id=$row['sub_std'];
|
$student_id=$row['sub_std'];
|
||||||
|
|
||||||
if($submitted_group==0)
|
if($submitted_group==0)
|
||||||
{
|
{
|
||||||
$submitted_by= $names."(".$student_id.")";
|
$submitted_by= $names."(".$student_id.")";
|
||||||
} else {
|
} else {
|
||||||
$submitted_by="<i>(GROUP)</i> $groupname" ;
|
$submitted_by="$names $submitted_std <i>(GROUP)</i> $groupname ";
|
||||||
}
|
}
|
||||||
|
|
||||||
$base_att1 = basename($att1);
|
$base_att1 = basename($att1);
|
||||||
|
|
Loading…
Reference in New Issue