Location: PHPKode > projects > Dev's CMS > devscms/templates/albums.tpl
<? foreach($albums as $album): ?>
	<div class="album">
		<h2><a href="?a=<?= $album['link'] ?>"><?= $album['name'] ?></a></h2>
		
		<a href="?a=<?= $album['link'] ?>">
		<? foreach ($album['samples'] as $sample):
			?><img src="<?= $sample['thumbnail'] ?>" alt="<?= $sample['name'] ?>" /><?
		endforeach; ?>
		</a>
	</div>
<? endforeach; ?>
Return current item: Dev's CMS