Courses.php: better spacing
parent
849009e624
commit
33e454e3da
25
Courses.php
25
Courses.php
|
@ -579,20 +579,19 @@ include 'Header.php';
|
||||||
$url = $row['URL'];
|
$url = $row['URL'];
|
||||||
$id = $row['Course_ID'];
|
$id = $row['Course_ID'];
|
||||||
$status = $row['Status'];
|
$status = $row['Status'];
|
||||||
|
if($status == "Joined") {
|
||||||
if($status=="Joined")
|
echo "<a href='~\..\Course.php?url=$url'>
|
||||||
{
|
<div class='btn btn-default' style='word-wrap:break-word'>
|
||||||
echo "<a href='~\..\Course.php?url=$url'> <div class='btn btn-default' style='word-wrap:break-word'>
|
($code) $name <br>
|
||||||
($code) - $name <br>($url) <i class='fa fa-check-circle'></i> $status
|
($url) <i class='fa fa-check-circle'></i> $status <br>
|
||||||
<br> <span style='font-size:8pt'>Faculty: $faculty Year: $academic_year Lecturer: $lecturer </span></div></a>
|
<span style='font-size:8pt'>Faculty: $faculty Year: $academic_year Lecturer: $lecturer </span>
|
||||||
";
|
</div>
|
||||||
}
|
</a>";
|
||||||
else
|
} else {
|
||||||
{
|
|
||||||
echo "<div class='btn btn-default'>
|
echo "<div class='btn btn-default'>
|
||||||
($code) - $name <i class='btn btn-sm btn-danger'> $status</i>
|
($code) $name <i class='btn btn-sm btn-danger'> $status</i> <br>
|
||||||
<br> <span style='font-size:8pt'>Faculty: $faculty Year: $academic_year Lecturer: $lecturer </span></div>
|
<span style='font-size:8pt'>Faculty: $faculty Year: $academic_year Lecturer: $lecturer </span>
|
||||||
";
|
</div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue