Activity Week is a structured approach to experiential learning and provides our students with exciting learning experiences that are both valuable and memorable.
$activities_handler = mysqli_query($dbhandle,"select album.type,category.subcategory from album inner join category on category.catid=album.type where album.type!='activity' group by album.type");
if(mysqli_num_rows($activities_handler)>0){
while($activities = mysqli_fetch_assoc($activities_handler)){
$type = $activities['type'];
$category = $activities['subcategory'];
?>
Activity Week
$albums_handler = mysqli_query($dbhandle,"select * from album where type='$type' and status='active' order by sn desc");
while($album_row = mysqli_fetch_assoc($albums_handler)){
$albumid = $album_row['albumid'];
$title = $album_row['title'];
$subtitle = $album_row['subtitle'];
$date = $album_row['date'];
$short_desc = $album_row['short_description'];
$cover_url = $album_row['display_url'];
$cover_type = $album_row['display_type'];
$img_path = "gallery-images/$albumid/$cover_url";
?>
if($cover_type=="video"){?>
}else{?>
} ?>
View Album