<!-- widget Galeri-->
<div class="box box-warning box-solid">
	<div class="box-header">
		<h3 class="box-title"><a href="<?= site_url();?>first/gallery"><i class="fa fa-camera"></i> Galeri Foto</a></h3>
	</div>
	<div class="box-body">
		<ul id="li-komentar" class="sidebar-latest">
			<?php foreach ($w_gal As $data): ?>
				<?php if (is_file(LOKASI_GALERI . "sedang_" . $data['gambar'])): ?>
					<a href='<?= site_url("first/sub_gallery/$data[id]"); ?>' title="<?= "Album : $data[nama]" ?>">
						<img src="<?= AmbilGaleri($data['gambar'],'kecil')?>" width="130" alt="<?= "Album : $data[nama]" ?>">
					</a>
				<?php endif; ?>
			<?php endforeach; ?>
		</ul>
	</div>
</div>
