Ejemplo n.º 1
0
"><?php 
    echo h5($vlm['volume_name']);
    ?>
</a>
						<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, $vlm['volume_handle']);
    foreach ($parts as $prt) {
        $latest_chapter = ProjectInfo::getLatestChapterInfo($project_id, $domain_handle, $vlm['volume_handle'], $prt['part_handle']);
        ?>
						<li class="list-group-item">
							<div class="row">
								<div class="col-md-6">
									<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, $vlm['volume_handle'], $prt['part_handle']);
        ?>
"><?php 
        echo h5($prt['part_name']);