<section class="hero-slide-wrapper hero-2">
       
        <div class="hero-slider-2 owl-carousel">
        
        <?php
        $slidercek=$db->query("select * from slider where durum='on' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
		foreach($slidercek as $slider){
		?>
            <div class="single-slide bg-cover" style="background-image: url('resimler/<?=$slider['resim']?>')">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-12 col-lg-10 col-xl-8">
                            <div class="hero-contents">
                                <h1><?=$slider['adi']?></h1>
                                <p><?=$slider['aciklama']?></p>
                                <a href="<?=$slider['linki']?>" class="theme-btn">İnceleyin <i class="fas fa-arrow-right"></i></a>
                                <a href="hakkimizda" class="theme-btn minimal-btn">Hakkımızda <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
          <?php }?>
        </div>
    </section>
    
   