<div id="bgfrontpagehotline">
	<div id="bofrontpagehotline" class="clearfix">
		<div id="frontpagehotlineleft">
			<div id="bgfrontpage">
				<div id="bofrontpage">
					
					<?php
						include '../libs/functiondb.php';
						$bandb = mysqli_query($koneksi, "SELECT * FROM cmas_banner WHERE banner_id='103'");
						$bandt = mysqli_fetch_array($bandb);
					?>
					<div id="frontpage" class="clearfix">
						<?php if (empty($bandt['banner_image'])) { ?>
							<div id="frontpagefull">
								<div class="frontpagetit">
									<h2><?php echo $bandt['banner_judul']; ?></h2>
								</div>
								<div class="frontpagesde">
									<?php echo $bandt['banner_desk']; ?>
								</div>
								<div class="frontpagedes">
									<h3><?php echo $bandt['banner_deskripsi']; ?></h3>
								</div>
								<div class="frontpagemor">
									<a href="content-tentang-kami" class="detailbutton">Lihat Detail</a>
								</div>
							</div>
						<?php } else { ?>
							<div id="frontpageleft">
								<div class="frontpageimg">
									<img src="../assets/images/banner/<?php echo $bandt['banner_image']; ?>" alt="<?php echo $bandt['banner_judul']; ?>" title="<?php echo $bandt['banner_judul']; ?>">
								</div>
							</div>
							<div id="frontpagerite">
								<div class="frontpagetit">
									<h2><?php echo $bandt['banner_judul']; ?></h2>
								</div>
								<div class="frontpagesde">
									<?php echo $bandt['banner_desk']; ?>
								</div>
								<div class="frontpagedes">
									<h3><?php echo $bandt['banner_deskripsi']; ?></h3>
								</div>
								<div class="frontpagemor">
									<a href="content-tentang-kami" class="detailbutton">Lihat Detail</a>
								</div>
							</div>
						<?php } ?>
					</div>
					
				</div>
			</div>
		</div>

		<div id="frontpagehotlinerite">
			<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 class="bohotlinetopboxdes">
								<?php echo $bcdt['bannerkat_deskripsi']; ?>
							</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 banner_id='101'");
							$bandt = mysqli_fetch_array($bandb);
						?>
						<a href="<?php echo $bandt['banner_url']; ?>" target="_blank">
							<div id="bohotlinebotbox" class="clearfix">
								<div id="bohotlinebotboxleft">
									<div class="bohotlinebotboximg">
										<i class="fa fa-whatsapp" style="font-size:250%;color:#D62601"></i>
									</div>
								</div>
								<div id="bohotlinebotboxrite">
									<div class="bohotlinebotboxdes">
										<?php echo $bandt['banner_deskripsi']; ?>
									</div>
									<div class="bohotlinebotboxnot">
										<?php echo $bandt['banner_desk']; ?>
									</div>
								</div>
							</div>
						</a>
						
						<?php
							include '../libs/functiondb.php';
							$bandb = mysqli_query($koneksi, "SELECT * FROM cmas_banner WHERE banner_status='Aktif' AND banner_id='105'");
							$bandt = mysqli_fetch_array($bandb);
						?>
						<a href="<?php echo $bandt['banner_url']; ?>" target="_blank">
							<div id="bohotlinebotbox" class="clearfix">
								<div id="bohotlinebotboxleft">
									<div class="bohotlinebotboximg">
										<i class="fa fa-phone-square" style="font-size:240%;color:#D62601"></i>
									</div>
								</div>
								<div id="bohotlinebotboxrite">
									<div class="bohotlinebotboxdes">
										<?php echo $bandt['banner_deskripsi']; ?>
									</div>
									<div class="bohotlinebotboxnot">
										<?php echo $bandt['banner_desk']; ?>
									</div>
								</div>
							</div>
						</a>
						
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
