<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		var my_cookie = $.cookie($('.modal-check').attr('name'));
		if (my_cookie && my_cookie == "true") {
			$(this).prop('checked', my_cookie);
			console.log('checked checkbox');
		} else {
			$('#actionsModal').modal('show');
			console.log('uncheck checkbox');
		}
		$(".modal-check").change(function() {
			$.cookie($(this).attr("name"), $(this).prop('checked'), {
				path: '/',
				expires: 1
			});
		});
	});
</script>
<?php if($popup['durum'] == 1){?>
<!-- Modal -->
<div class="modal fade" id="actionsModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
    <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body p-1">
				<div class="row">
					<div class="col-md-12 text-center">
						<a href="<?php echo $popup['url']?>" <?php echo($popup['sekme'] == 1 ? 'target="_blank"' : '');?> title="<?php echo $popup['adi']?>">
							<img src="<?php echo tema;?>/uploads/popup/<?php echo $popup['resim']?>" class="img-responsive" alt="<?php echo $popup['adi']?>" title="<?php echo $popup['adi']?>" style="margin: 0 auto;">
						</a>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<div class="checkbox pull-right">
					<label>
						<input class="modal-check" name="modal-check" type="checkbox"> <?=@$dil['txt29'];?>
					</label>
				</div>
			</div>
        </div>
    </div>
</div>
<?php }?>
<!-- Start main-content -->
<div class="main-content">

	<!-- Section: home -->
	<section id="home">
		<div class="container-fluid p-0">
		
			<div id="amazingslider-wrapper-1" style="display:block;position:relative;max-width:100%;margin:0px auto 0px;">
				<div id="amazingslider-1" style="display:block;position:relative;margin:0 auto;">
					<ul class="amazingslider-slides" style="display:none;">
					<?php $Sorgu = $db->prepare("SELECT * FROM slider WHERE durum = ? AND dil = ? ORDER BY sira ASC");
					$Sorgu->execute(array("1",$_SESSION['k_dil']));
					$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
						<?php foreach ( $islem as $Sliderkey => $Sonuc ){?>	
						<li>
							<img src="<?php echo tema;?>/uploads/slider/<?php echo $Sonuc['resim']?>" <?php if($moduller['alan1'] == "1"){?>alt="<?php echo $Sonuc['adi']?>" title="<?php echo $Sonuc['adi']?>" data-description="<?php echo $Sonuc['aciklama']?>"<?php }?> />
							<?php if($moduller['alan1'] == "1"){?>
							<?php if($Sonuc['url']){?><a <?php echo($Sonuc['sekme'] == 1 ? 'target="_blank"' : '');?> href="<?php echo $Sonuc['url'];?>"><button class="as-btn-navy-medium"><?=@$dil['txt30'];?></button></a><?php }?>
							<?php }?>
						</li>
						<?php }?>
					</ul>
				</div>
			</div>

		</div>
	</section>

	<!-- Section: About -->
	<?php if($moduller['alan2'] == "1" || $moduller['alan3'] == "1"){?>
	<section>
		<div class="container">
			<div class="section-content">
				<?php if($moduller['alan2'] == "1"){?>
				<div class="row">
				<?php $Sorgu = $db->prepare("SELECT * FROM egitim_birimleri WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY id DESC");
				$Sorgu->execute(array("1","1",$_SESSION['k_dil']));
				$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
					<?php foreach ( $islem as $Sonuc ){?>	
					<div class="col-sm-6 col-md-4 maxwidth500 mb-sm-40 wow fadeInUp birim" data-margin-top="-140px" data-wow-duration="1s" data-wow-delay="0.1s">
						<img class="img-fullwidth" src="<?php echo tema;?>/uploads/egitim_birimleri/<?php echo $Sonuc['resim']; ?>" alt="<?php echo $Sonuc['adi']; ?>">
						<div class="bg-lighter border-1px p-20 pt-0">
							<h4 class="font-weight-700 mt-20"><?php echo $Sonuc['adi']; ?></h4>
							<p><?php echo kisa(strip_tags($Sonuc['aciklama']),200);?></p>
							<a href="<?php echo $htc['birimdetayurl'];?>/<?php echo $Sonuc['seo']; ?><?php echo $html;?>" class="btn btn-sm btn-theme-colored"><?=@$dil['txt31'];?></a>
						</div>
					</div>
					<?php }?>
				</div>
				<?php }?>
				<?php if($moduller['alan3'] == "1"){?>
				<div class="row">
					<div class="col-md-12 text-center">
						<?php $kurumsal = $db->query("SELECT * FROM sayfalar WHERE anasayfa = '1' AND dil = '{$_SESSION['k_dil']}' ORDER BY id ASC LIMIT 1")->fetch();?>
						<h2 class="title font-42 text-theme-colored mt-30 mb-20"><?php echo $kurumsal['adi'];?></h2>
						<p class="mb-20"><?php echo $kurumsal['aciklama'];?></p>
						<a class="btn btn-colored btn-theme-colored btn-lg text-uppercase font-13 mt-30" href="<?php echo $htc['sayfaurl'];?>/<?php echo $kurumsal['seo'];?><?php echo $html;?>"><?php echo $kurumsal['adi'];?></a>
						<?php if($moduller['alan12'] == "1"){?><a class="btn btn-theme-color-2 btn-lg text-uppercase text-white font-13 mt-30" href="<?php echo $htc['onbasvuruformurl'];?><?php echo $html;?>"><?=@$dil['txt32'];?></a><?php }?>
					</div>
				</div>
				<?php }?>
			</div>
		</div>
	</section>
	<?php }?>

	
	<!-- Section: COURSES -->
	<?php if($moduller['alan4'] == "1"){?>
	<section class="bg-lighter">
		<div class="container pb-60">
			<div class="section-title mb-10">
				<div class="row">
					<div class="col-md-8">
						<h2 class="mt-0 text-uppercase font-28 line-bottom line-height-1"><span class="text-theme-color-2 font-weight-400"><?=@$dil['txt33'];?></span></h2>
					</div>
				</div>
			</div>
			<div class="section-content">
				<div class="row">
					<div class="col-md-12">
						<div class="owl-carousel-4col" data-dots="true">
						<?php $Sorgu = $db->prepare("SELECT * FROM kurslar WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY id DESC");
						$Sorgu->execute(array("1","1",$_SESSION['k_dil']));
						$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
							<?php foreach ( $islem as $Sonuc ){?>
							<div class="item">
								<div class="service-block bg-white service-ana-block">
									<div class="thumb"> 
										<img alt="featured project" src="<?php echo tema;?>/uploads/kurslar/<?php echo $Sonuc['resim'];?>" class="img-fullwidth">
									</div>
									<div class="content text-left flip p-25 pt-0">
										<h4 class="line-bottom mb-10"><?php echo $Sonuc['adi'];?></h4>
										<p><?php echo kisa(strip_tags($Sonuc['aciklama']),200);?></p>
										<a class="btn btn-dark btn-theme-colored btn-sm text-uppercase mt-10" href="<?php echo $htc['kursdetayurl'];?>/<?php echo $Sonuc['seo']; ?><?php echo $html;?>"><?=@$dil['txt31'];?></a>
									</div>
								</div>
							</div>
							<?php }?>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<?php }?>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FWNLR9MSEW"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-FWNLR9MSEW');
</script>
	<!-- Divider: Funfact -->
	<?php if($moduller['alan5'] == "1"){?>
	<section class="divider parallax layer-overlay overlay-theme-colored-9" data-bg-img="<?php echo tema;?>/uploads/arkaplan/arkaplan2/<?php echo $arkaplan['arkaplan2'];?>" data-parallax-ratio="0.7">
		<div class="container">
			<div class="row">
				<div class="col-xs-12 col-sm-6 col-md-3 mb-md-50">
					<div class="funfact text-center">
						<i class="pe-7s-smile mt-5 text-theme-color-2"></i>
						<h2 data-animation-duration="2000" data-value="<?=@$dil['txt35'];?>" class="animate-number text-white mt-0 font-38 font-weight-500">0</h2>
						<h5 class="text-white text-uppercase mb-0"><?=@$dil['txt34'];?></h5>
					</div>
				</div>
				<div class="col-xs-12 col-sm-6 col-md-3 mb-md-50">
					<div class="funfact text-center">
						<i class="pe-7s-note2 mt-5 text-theme-color-2"></i>
						<h2 data-animation-duration="2000" data-value="<?=@$dil['txt37'];?>" class="animate-number text-white mt-0 font-38 font-weight-500">0</h2>
						<h5 class="text-white text-uppercase mb-0"><?=@$dil['txt36'];?></h5>
					</div>
				</div>
				<div class="col-xs-12 col-sm-6 col-md-3 mb-md-50">
					<div class="funfact text-center">
						<i class="pe-7s-users mt-5 text-theme-color-2"></i>
						<h2 data-animation-duration="2000" data-value="<?=@$dil['txt39'];?>" class="animate-number text-white mt-0 font-38 font-weight-500">0</h2>
						<h5 class="text-white text-uppercase mb-0"><?=@$dil['txt38'];?></h5>
					</div>
				</div>
				<div class="col-xs-12 col-sm-6 col-md-3 mb-md-0">
					<div class="funfact text-center">
						<i class="pe-7s-cup mt-5 text-theme-color-2"></i>
						<h2 data-animation-duration="2000" data-value="<?=@$dil['txt41'];?>" class="animate-number text-white mt-0 font-38 font-weight-500">0</h2>
						<h5 class="text-white text-uppercase mb-0"><?=@$dil['txt40'];?></h5>
					</div>
				</div>
			</div>
		</div>
	</section>
	<?php }?>

	<!-- Section: team -->
	<?php if($moduller['alan6'] == "1"){?>
	<section>
		<div class="container pb-0">
			<div class="section-title mb-10">
				<div class="row">
					<div class="col-md-8">
						<h2 class="mt-0 text-uppercase font-28 line-bottom line-height-1"><?=@$dil['txt42'];?> <span class="text-theme-color-2 font-weight-400"><?=@$dil['txt43'];?></span></h2>
					</div>
				</div>
			</div>
			<div class="row mtli-row-clearfix">
				<div class="col-md-12">
					<div class="owl-carousel-4col">
					<?php $EKIPSorgu = $db->prepare("SELECT * FROM ekibimiz WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY id DESC");
					$EKIPSorgu->execute(array("1","1",$_SESSION['k_dil']));
					$EKIPislem = $EKIPSorgu->fetchALL(PDO::FETCH_ASSOC);?>
						<?php foreach ( $EKIPislem as $EKIPSonuc ){?>	
						<div class="item">
							<div class="team-members maxwidth400">
								<div class="team-thumb">
									<img class="img-fullwidth" alt="<?php echo $EKIPSonuc['adi']; ?>" src="<?php echo tema;?>/uploads/ekibimiz/<?php echo $EKIPSonuc['resim']; ?>">
								</div>
								<div class="team-bottom-part border-bottom-theme-color-2-2px bg-lighter border-1px text-center p-10 pt-20 pb-10">
									<h4 class="font-raleway font-weight-600 m-0">
										<a <?php if($EKIPSonuc['detay'] == 1){?>class="text-theme-color-2" href="<?php echo $htc['ekibdetayurl']; ?>/<?php echo $EKIPSonuc['seo']; ?><?php echo $html;?>" <?php }else{?> class="text-theme-color-2 image-popup-vertical-fit" href="<?php echo tema;?>/uploads/ekibimiz/<?php echo $EKIPSonuc['resim']; ?>"  <?php }?>>
											<?php echo $EKIPSonuc['adi']; ?>
										</a>
									</h4>
									<h5 class="text-theme-color"><?php echo $EKIPSonuc['gorev']; ?></h5>
									<ul class="styled-icons icon-sm icon-dark icon-theme-colored">
										<?php if($EKIPSonuc['facebook']){?><li><a target="_blank" href="<?php echo $EKIPSonuc['facebook']; ?>" class="fab fa-facebook-f" title="facebook"></a></li><?php }?>
										<?php if($EKIPSonuc['twitter']){?><li><a href="<?php echo $EKIPSonuc['twitter']; ?>" class="fab fa-telegram-plane" title="telegram"></a></li><?php }?>
										<?php if($EKIPSonuc['instagram']){?><li><a href="<?php echo $EKIPSonuc['instagram']; ?>" class="fab fa-instagram" title="instagram"></a></li><?php }?>
										<?php if($EKIPSonuc['linkedin']){?><li><a href="<?php echo $EKIPSonuc['linkedin']; ?>" class="fab fa-linkedin" title="linkedin"></a></li><?php }?>
										<?php if($EKIPSonuc['youtube']){?><li><a href="<?php echo $EKIPSonuc['youtube']; ?>" class="fab fa-youtube" title="youtube"></a></li><?php }?>
									</ul>
								</div>
							</div>
						</div>
						<?php }?>
					</div>
				</div>
			</div>
		</div>
	</section>
	<?php }?>

	<!-- Section: Gallery -->
	<?php if($moduller['alan7'] == "1" || $moduller['alan16'] == "1"){?>
	<section id="gallery">
		<div class="container">
			<div class="section-content">
				<div class="row">
				<?php if($moduller['alan7'] == "1"){?>
				<?php $GALERISorgu = $db->prepare("SELECT * FROM foto_galeri WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY sira ASC LIMIT 1");
				$GALERISorgu->execute(array("1","1",$_SESSION['k_dil']));
				$GALERIislem = $GALERISorgu->fetchALL(PDO::FETCH_ASSOC);?>
					<?php foreach ( $GALERIislem as $GALERISonuc ){
					$galeriadi = explode(" ", $GALERISonuc['adi']);
					?>
					<div class="<?php echo($moduller['alan16'] == "1" ? 'col-md-7' : 'col-md-12');?> wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.3s">
						<h3 class="text-uppercase title line-bottom mt-0 mb-30 mt-sm-40 font-weight-400"><i class="far fa-image text-gray-darkgray mr-10"></i><?php echo $galeriadi[0];?> <span class="text-theme-colored"><?php echo $galeriadi[1];?> <?php echo $galeriadi[2];?> <?php echo $galeriadi[3];?></span></h3>
						
						<!-- Portfolio Gallery Grid -->
						<div class="gallery-isotope grid-4 gutter-small clearfix foto-ana-widget" data-lightbox="gallery">
						<?php $Sorgu = $db->prepare("SELECT * FROM fotograflar WHERE resimid = ? ORDER BY id DESC LIMIT 12");
						$Sorgu->execute(array($GALERISonuc['id']));
						$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
							<?php foreach ( $islem as $Sonuc ){?>
							<!-- Portfolio Item Start -->
							<div class="gallery-item ilk">
								<figure class="post-thumb">
									<img src="<?php echo tema;?>/uploads/fotogaleri/diger/<?php echo $Sonuc['resim']; ?>" alt="<?php echo $GALERISonuc['adi']?>"><a href="<?php echo tema;?>/uploads/fotogaleri/diger/<?php echo $Sonuc['resim']; ?>" class="overlay-box" data-lightbox-gallery="gallery" data-caption="<?php echo $GALERISonuc['adi']?>" title="<?php echo $GALERISonuc['adi']?>"><span class="icon far fa-image"></span></a>
								</figure>
							</div>
							<!-- Portfolio Item End -->
							<?php }?>
						</div>
						<!-- End Portfolio Gallery Grid -->
					</div>
					<?php }?>
					<?php }?>
					
					<?php if($moduller['alan16'] == "1"){?>
					<div class="<?php echo($moduller['alan7'] == "1" ? 'col-md-5' : 'col-md-12');?> wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0.3s">
						<h3 class="text-uppercase title line-bottom mt-0 mb-30 mt-sm-40 font-weight-400"><i class="fas fa-comment-alt-lines text-gray-darkgray mr-10"></i><?=@$dil['txt44'];?> <span class="text-theme-colored"><?=@$dil['txt45'];?></span></h3>

						<div class="bxslider bx-nav-top">
						<?php $Sorgu = $db->prepare("SELECT * FROM musteri_gorusleri WHERE durum = ? ORDER BY id DESC");
						$Sorgu->execute(array("1"));
						$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
							<?php foreach ( $islem as $key => $Sonuc ){?>
							<div class="border-1px border-<?php echo($key%2 == "0" ? 'left' : 'right');?>-theme-color-2-6px media sm-maxwidth400 p-15 mt-0 mb-15 min-h220">
								<div class="testimonial pt-10">
									<div class="thumb pull-left mb-0 mr-0 pr-20">
										<img width="75" class="img-circle" alt="<?php echo $Sonuc['isim']; ?>" src="<?php echo tema;?>/images/unnamed.png">
									</div>
									<div class="ml-100 ">
										<p><?php echo $Sonuc['yorum']; ?></p>
										<p class="author mt-10">- <span class="text-theme-colored"><?php echo $Sonuc['isim']; ?>,</span> <small><em><?php echo $Sonuc['meslek']; ?></em></small></p>
									</div>
								</div>
							</div>
							<?php }?>
						</div>
					</div>
					<?php }?>
				</div>
			</div>
		</div>
	</section>
	<?php }?>

	<!-- Diver: Video Background  -->
	<?php if($moduller['alan11'] == "1"){?>
	<section class="divider parallax layer-overlay overlay-theme-colored-9" data-bg-img="<?php echo tema;?>/uploads/arkaplan/arkaplan3/<?php echo $arkaplan['arkaplan3'];?>" data-parallax-ratio="0.7">
		<div class="container pt-120 pb-120">
			<!-- Section Content -->
			<div class="section-content">
				<div class="row">
					<div class="col-md-12 text-center">
						<h3 class="text-white text-uppercase font-30 font-weight-600 mt-0 mb-20"><?=@$dil['txt46'];?> </h3>
						<a href="//www.youtube.com/watch?v=<?php echo $ayar['video'];?>" data-lightbox-gallery="youtube-video"><i class="fa fa-play-circle text-theme-color-2 font-72"></i>
						</a>
					</div>
				</div>
			</div>
		</div>
	</section>
	<?php }?>

	<!-- Section: blog -->
	<?php if($moduller['alan14'] == "1"){?>
	<section id="blog">
		<div class="container">
			<div class="section-content">
				<div class="row">
					<div class="col-md-12">
						<h2 class="text-uppercase text-theme-colored title line-bottom line-height-1 mt-0"><?=@$dil['txt47'];?> <span class="text-theme-color-2 font-weight-400"><?=@$dil['txt48'];?></span></h2>
						<div class="owl-carousel-3col owl-nav-top" data-nav="true">
						<?php $Sorgu = $db->prepare("SELECT * FROM haberler WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY id DESC");
						$Sorgu->execute(array("1","1",$_SESSION['k_dil']));
						$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
							<?php foreach ( $islem as $Sonuc ){?>		
							<div class="item">
								<article class="post clearfix maxwidth600 mb-sm-30">
									<div class="entry-header">
										<div class="post-thumb thumb haberler"> 
											<img src="<?php echo tema;?>/uploads/haberler/<?php echo $Sonuc['resim']; ?>" alt="<?php echo $Sonuc['adi']; ?>" class="img-responsive img-fullwidth"> 
										</div>
									</div>
									<div class="entry-content border-1px p-20">
										<h4 class="entry-title mt-0 pt-0"><a class="font-weight-700" href="<?php echo $htc['haberdetayurl']; ?>/<?php echo $Sonuc['seo']; ?><?php echo $html;?>"><?php echo kisa(strip_tags($Sonuc['adi']),60); ?></a></h4>
										<p class="text-left mb-20 mt-15 font-13 min-h100"><?php echo $Sonuc['spot']; ?></p>
										<a class="btn btn-flat btn-dark btn-theme-colored btn-sm pull-left" href="<?php echo $htc['haberdetayurl']; ?>/<?php echo $Sonuc['seo']; ?><?php echo $html;?>"><?=@$dil['txt49'];?></a>
										<ul class="list-inline entry-date pull-right font-12 mt-5">
											<li><span class="text-theme-colored"><i class="far fa-clock mr-5 text-theme-colored"></i> <?php echo tarih2($Sonuc['tarih']);?></span></li>
										</ul>
										<div class="clearfix"></div>
									</div>
								</article>
							</div>
							<?php }?>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
	<?php }?>
	
	 <!-- Section: Pricing -->
	 <?php if($moduller['alan10'] == "1"){?>
	 <section id="pricing" class="bg-lighter">
		 <div class="container">
			<div class="section-title mb-10">
				<div class="row">
					<div class="col-md-12">
					  <h2 class="mt-0 text-uppercase text-theme-colored title line-bottom line-height-1"><?=@$dil['txt50'];?></h2>
					</div>
				</div>
			</div>
			 <div class="section-content">
				 <div class="row">
					<div class="col-md-12">
						<!-- Works Filter -->
						<?php $PAKETSorgu = $db->prepare("SELECT * FROM paket_kategori WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY id DESC");
						$PAKETSorgu->execute(array("1","1",$_SESSION['k_dil']));
						$PAKETislem = $PAKETSorgu->fetchALL(PDO::FETCH_ASSOC);?>	
						<div class="portfolio-filter font-alt align-center">
							<?php foreach ( $PAKETislem as $key => $PAKETSonuc ){reset($PAKETislem);?>	
							<a href="#<?php echo $PAKETSonuc['seo']; ?>" class="<?php echo ($key === key($PAKETislem) ? 'active' : '');?>" data-filter=".<?php echo ($key === key($PAKETislem) ? 'ilk' : $PAKETSonuc['seo']);?>"><?php echo $PAKETSonuc['adi']; ?></a>
							<?php }?>
						</div>
						  <!-- End Works Filter -->
					</div>
					<div class="clearfix"></div>
					<div id="grid" class="gallery-isotope grid-3 gutter clearfix">
					
						
						<?php $PAKETSorgu = $db->prepare("SELECT * FROM paket_kategori WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY id DESC");
						$PAKETSorgu->execute(array("1","1",$_SESSION['k_dil']));
						$PAKETislem = $PAKETSorgu->fetchALL(PDO::FETCH_ASSOC);?>
						<?php foreach ( $PAKETislem as $key => $PAKETSonuc ){reset($PAKETislem);?>	
						<?php $Sorgu = $db->prepare("SELECT * FROM paketler WHERE durum = ? AND kategori = ? AND dil = ? ORDER BY sira ASC");
						$Sorgu->execute(array("1",$PAKETSonuc['id'],$_SESSION['k_dil']));
						$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
						<?php foreach ( $islem as $Sonuc ){?>
						<div class="col-xs-12 col-sm-4 col-md-4 hvr-float-shadow mb-sm-30 gallery-item wide <?php echo ($key === key($PAKETislem) ? 'ilk' : $PAKETSonuc['seo']);?>">
							<div class="pricing-table">
								<div class="font-36 pl-20 bg-theme-color-3 text-white text-left pr-20 p-10"><?php echo $Sonuc['fiyat']; ?> <?php echo $Sonuc['pbirim']; ?>  <span class="font-15 pull-right mt-15 text-white">
								<?php if($Sonuc['periyod'] == 0){?>
								<?=@$dil['txt51'];?>
								<?php }elseif($Sonuc['periyod'] == 1){?>
									<?php echo($Sonuc['periyod_sure'] > 1 ? $Sonuc['periyod_sure'] : '');?> <?=@$dil['txt52'];?>
								<?php }else{?>
									<?php echo($Sonuc['periyod_sure'] > 1 ? $Sonuc['periyod_sure'] : '');?> <?=@$dil['txt53'];?>
								<?php }?>
								</span>
								</div>
								<div class="min-h550 bg-white border-1px p-30 pt-20 pb-20">
									<h3 class="package-type font-28 m-0 text-black"><?php echo $Sonuc['adi']; ?></h3>
									<ul class="table-list list-icon theme-colored pb-0">
									<?php $parcala = preg_split('/,/', $Sonuc['ozellikler'], null, PREG_SPLIT_NO_EMPTY);
									foreach($parcala as $ozellik){?>
										<li><i class="fal fa-check"></i> <?php echo $ozellik;?></li>
									<?php }?>
									</ul>
								</div>
								<a href="<?php echo $Sonuc['link']; ?>" class="btn btn-lg btn-theme-colored text-uppercase btn-block pt-20 pb-20 btn-flat"><i class="fas fa-shopping-basket"></i> <?=@$dil['txt54'];?></a>
							</div>
						</div>
						<?php }?>						
						<?php }?>						
					</div>
				 </div>
			 </div>
		 </div>
	 </section>
	 <?php }?>

	<!-- Divider: Clients -->
	<?php if($moduller['alan13'] == "1"){?>
	<section class="clients bg-white">
		<div class="container pt-10 pb-0">
			<div class="row">
				<div class="col-md-12">
					<!-- Section: Clients -->
					<div class="owl-carousel-6col clients-logo transparent text-center owl-nav-top">
					<?php $Sorgu = $db->prepare("SELECT * FROM referanslar WHERE durum = ? AND anasayfa = ? AND dil = ? ORDER BY id DESC");
					$Sorgu->execute(array("1","1",$_SESSION['k_dil']));
					$islem = $Sorgu->fetchALL(PDO::FETCH_ASSOC);?>
						<?php foreach ( $islem as $Sonuc ){?>
						<div class="item"> 
							<a <?php if($Sonuc['detay'] == 1){?>href="<?php echo $htc['refdetayurl']; ?>/<?php echo $Sonuc['seo']; ?><?php echo $html;?>" <?php }else{?> class="image-popup-vertical-fit" href="<?php echo tema;?>/uploads/referanslar/<?php echo $Sonuc['resim']; ?>" alt="<?php echo $Sonuc['adi'];?>" title="<?php echo $Sonuc['adi'];?>" <?php }?>>
								<img src="<?php echo tema;?>/uploads/referanslar/<?php echo $Sonuc['resim']; ?>" alt="<?php echo $Sonuc['adi'];?>">
							</a>
						</div>
						<?php }?>
					</div>
				</div>
			</div>
		</div>
	</section>
	<!-- end main-content -->
	<?php }?>
	
</div>