<section class="wpo-blog-section section-padding">
                <div class="container">
                    <div class="row">
                        <div class="wpo-section-title">
                       
                            <h2>Blog</h2>
                            <div class="section-title-img">
                                <img src="assets/images/section-title.png" alt="">
                            </div>
                        </div>
                    </div>
                    <div class="wpo-blog-items">
                        <div class="row">
                                                                                          <?php
                    $cek=$db->query("select * from haberler where durum='on' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
					foreach($cek as $goster){
					?>
                            <div class="col col-lg-4 col-md-6 col-12">
                                <div class="wpo-blog-item">
                                    <div class="wpo-blog-img">
                                        <img src="resimler/<?=$goster['resim']?>" alt="<?=$goster['adi']?>">
                                    </div>
                                    <div class="wpo-blog-content">
                                        <ul>
                                            <li>By <a href="<?=$goster['seo']?>"><?=$ayar['site_title']?></a></li>
                                            <li><?=$goster['tarih']?></li>
                                        </ul>
                                        <h2><a href="<?=$goster['seo']?>"><?=$goster['adi']?></a>
                                        </h2>
                                    </div>
                                </div>
                            </div>
                           <?php }?>
                        </div>
                    </div>

                </div>
            </section>