<div id="bgleft" class="clearfix">
	<?php 
		include '../libs/functiondb.php';
		$bdb = mysqli_query($koneksi, "SELECT * FROM cmas_banner WHERE bannerkat_id='16' AND banner_status='Aktif' ORDER BY banner_id ASC");
		while($bdt = mysqli_fetch_array($bdb)) {
		
		if ($bdt['banner_imageid'] == "0") {
	?>
			<div id="boleft">
				<div class="bolefttit">
					<?php echo $bdt['banner_judul']; ?>
				</div>
				<div class="boleftdes">
					<?php echo $bdt['banner_deskripsi']; ?>
				</div>
			</div>
		<?php } else { ?>
			<div id="boleft">
				<div class="bolefttit">
					<?php echo $bdt['banner_judul']; ?>
				</div>
				<div class="boleftdes">
					<?php echo $bdt['banner_deskripsi']; ?>
				</div>
				<div class="boleftimg">
					<a href="<?php echo $bdt['banner_url']; ?>" target="_blank">
						<img src="assets/images/banner/<?php echo $bdt['banner_image']; ?>" alt="<?php echo $bdt['banner_judul']; ?>" title="<?php echo $bdt['banner_judul']; ?>">
					</a>
				</div>
			</div>
		<?php } ?>
	<?php } ?>
</div>