<section class="case-study-carousel-wrapper">
        <div class="container text-center">
            <div class="case-study-items owl-carousel">
            
            <?php
            $blogcek=$db->query("select * from haberler where durum='on' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
			foreach($blogcek as $blog){
			?>
                <div class="single-case-item">
                    <div class="case-thumb bg-cover" style="background-image: url('resimler/<?=$blog['resim']?>')"></div>
                    <div class="contents">
                        <div class="content-visible">
                            <h3><?=$blog['adi']?></h3>
                            
                        </div>
                        <div class="overlay-content">
                            <h3><a href="<?=$blog['seo']?>"><?=$blog['adi']?></a></h3>
                            <p><?=$blog['onaciklama']?></p>
                            <a href="<?=$blog['seo']?>" class="theme-btn">İnceleyin <i class="fas fa-arrow-right"></i></a>
                        </div>
                    </div>
                </div>
                
              <?php }?>  
                
                
            </div>
        </div>
    </section>