<div id="bghotline">
	<div id="bohotline">
		<div id="bohotlinetop">
			<?php
				include '../libs/functiondb.php';
				$bcdb = mysqli_query($koneksi, "SELECT * FROM cmas_bannerkat WHERE bannerkat_status='Aktif' AND bannerkat_id='24'");
				$bcdt = mysqli_fetch_array($bcdb);
			?>
			<div id="bohotlinetopbox">
				<div class="bohotlinetopboxcat">
					<?php echo $bcdt['bannerkat_nama']; ?>
				</div>
			</div>
		</div>
		<div id="bohotlinebot" class="clearfix">
			<?php
				include '../libs/functiondb.php';
				$bandb = mysqli_query($koneksi, "SELECT * FROM cmas_banner WHERE banner_status='Aktif' AND bannerkat_id='24'");
				while($bandt = mysqli_fetch_array($bandb)) {
			?>
				<a href="<?php echo $bandt['banner_url']; ?>" target="_blank">
					<div id="bohotlinebotbox">
						<div class="bohotlinebotboximg">
							<img src="../assets/images/banner/<?php echo $bandt['banner_image']; ?>" alt="<?php echo $bandt['banner_judul']; ?>" title="<?php echo $bandt['banner_judul']; ?>">
						</div>
						<div class="bohotlinebotboxtit">
							<?php echo $bandt['banner_judul']; ?>
						</div>
						<div class="bohotlinebotboxdes">
							<?php echo $bandt['banner_deskripsi']; ?>
						</div>
						<div class="bohotlinebotboxnot">
							<?php echo $bandt['banner_desk']; ?>
						</div>
					</div>
				</a>
			<?php } ?>
		</div>
	</div>
</div>
