<h2 class="panel-title"> <?php echo h5($vlm['volume_name']); ?> <small style="color:#fafafa;"><?php echo h5($vlm['volume_desc']); ?> </small> </h2> </div> <div class="panel-body"> <ul class="list-group"> <?php $parts = ProjectInfo::getAllParts($project_id, $domain_handle, $volume_handle); foreach ($parts as $prt) { $latest_chapters = ProjectInfo::getLatestChapters($project_id, $domain_handle, $volume_handle, $prt['part_handle']); ?> <li class="list-group-item"> <ul class="list-group"> <li class="list-group-item"> <span class="badge"><?php echo $prt['nr_chapters']; ?> </span> <h3 class="list-group-item-heading"> <a href="<?php echo ProjectInfo::assemblePath($project_id, $domain_handle, $volume_handle, $prt['part_handle']); ?> "><?php echo h5($prt['part_name']);