
<?php
include("admin/include/baglan.php");
include("admin/include/fonksiyonlar.php");
?>
<!DOCTYPE html>
<html lang="tr">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="<?=$ayar['site_title']?>">
    <title>Blog - <?=$ayar['site_title']?></title>
    <link rel="shortcut icon" href="resimler/<?=$ayar['favicon']?>">
    <link rel="stylesheet" href="assets/css/icons.css">
    <link rel="stylesheet" href="assets/css/animate.css">
    <link rel="stylesheet" href="assets/css/magnific-popup.css">
    <link rel="stylesheet" href="assets/css/owl.carousel.min.css">
    <link rel="stylesheet" href="assets/css/metismenu.css">
    <link rel="stylesheet" href="assets/css/owl.theme.css">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
  <?php include("style.php");?>
    
</head>

<body class="body-wrapper">    
   <?php include("inc/header.php");?>

    <section class="page-banner-wrap bg-cover" style="background-image: url('assets/img/page-banner.jpg')">
       
        <div class="container">
            <div class="row align-items-center">
                <div class="col-md-12 col-12">
                    <div class="page-heading text-white">
                        <div class="page-title">
                            <h1>Blog</h1>
                        </div>
                    </div>

                    <nav aria-label="breadcrumb">
                        <ol class="breadcrumb">
                          <li class="breadcrumb-item"><a href="./">Anasayfa</a></li>
                          <li class="breadcrumb-item active" aria-current="page">Blog</li>
                        </ol>
                    </nav>
                </div>
            </div>
        </div>
    </section>

    <section class="case-study-wrapper section-padding">
        <div class="container">
           
            
            <div class="row grid">
            
            <?php
            $hizmetcek=$db->query("select * from haberler where durum='on' order by sira asc")->fetchAll(PDO::FETCH_ASSOC);
			foreach($hizmetcek as $hizmet){
			?>
                <div class="col-xl-4 col-md-6 grid-item business product engineering">
                    <div class="single-case-study">
                        <div class="features-thumb bg-cover" style="background-image: url('resimler/<?=$hizmet['resim']?>')"></div>
                        <div class="content">
                            <h3><?=$hizmet['adi']?></h3>
                            <p><?=$hizmet['onaciklama']?></p>
                            <a href="<?=$hizmet['seo']?>">İnceleyin<i class="fas fa-arrow-right"></i></a>
                        </div>
                    </div>
                </div>
              <?php }?>  
                
                
                
                
            </div>
        </div>
    </section>

  <?php include("inc/footer.php");?>
    <script src="assets/js/jquery.min.js"></script>
    <script src="assets/js/modernizr.min.js"></script>
    <script src="assets/js/jquery.easing.js"></script>
    <script src="assets/js/popper.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/isotope.pkgd.min.js"></script>
    <script src="assets/js/imageload.min.js"></script>
    <script src="assets/js/scrollUp.min.js"></script>
    <script src="assets/js/owl.carousel.min.js"></script>
    <script src="assets/js/magnific-popup.min.js"></script>
    <script src="assets/js/easypiechart.min.js"></script>
    <script src="assets/js/counterup.min.js"></script>
    <script src="assets/js/wow.min.js"></script>
    <script src="assets/js/metismenu.js"></script>
    <script src="assets/js/timeline.min.js"></script>
    <script src="assets/js/ajax-mail.js"></script>
    <script src="assets/js/active.js"></script>
</body>

</html>