Visitors.php: indent code
parent
fb72ee5a63
commit
6083fa3a6c
14
Visitors.php
14
Visitors.php
|
@ -1,14 +1,11 @@
|
|||
|
||||
<?php
|
||||
$page = 'Submit LAB+';
|
||||
include 'Header.php';
|
||||
?>
|
||||
|
||||
|
||||
<div class='row' style='width:80%;margin:auto;'>
|
||||
<?php
|
||||
|
||||
|
||||
echo " <div class='alert' style='margin-left:20px;border-bottom:2px solid #1D91EF;'> <a href='~\..\Courses.php?course=$url'>
|
||||
LRRS > Visitor Portal > Public Lab Reports
|
||||
<br> <span style='font-size:8pt'> </span>
|
||||
|
@ -22,8 +19,9 @@ 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
|
||||
WHERE Visibility='Public' ");
|
||||
if(mysqli_num_rows($result)==0)
|
||||
{} else { while($row = mysqli_fetch_assoc($result)) {
|
||||
if (mysqli_num_rows($result) == 0) {
|
||||
} else {
|
||||
while ($row = mysqli_fetch_assoc($result)) {
|
||||
$att1 = $row['Attachment1'];
|
||||
$att2 = $row['Attachment2'];
|
||||
|
||||
|
@ -53,7 +51,6 @@ WHERE Visibility='Public' ");
|
|||
$full_link = $full_link . "| <a href='~\..\Lab_Report_Submisions\\$att4'>$att4</a>";
|
||||
}
|
||||
|
||||
|
||||
echo "
|
||||
|
||||
<div class='btn btn-default'>
|
||||
|
@ -61,7 +58,6 @@ WHERE Visibility='Public' ");
|
|||
<br> <span style='font-size:8pt'>Submission Date :$sdate Files : $full_link </span>
|
||||
</div>
|
||||
";
|
||||
|
||||
}}?>
|
||||
}
|
||||
} ?>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue