<title>Blog</title>
<meta name="keywords" content="<?php echo $ayar['sitekey']; ?>">
<meta name="description" content="<?php echo $ayar['sitedesc']; ?>">
<meta property="og:url" content="<?php echo $url; ?>"/>
<meta property="og:title" content="Blog"/>
<meta property="og:description" content="<?php echo $ayar['sitedesc']; ?>"/>
    
	

	
<main id="MainContent">
   <div id="shopify-section-template--18643475071261__breadcrumb" class="shopify-section laber_section laber-breadcrumb">
      <div class="breadcrumbs">
         <div class="container">
            <div class="outline-breadcrum">
               <div class="wrap-breadcrum h_left v_middle">
                  <div class="breadcrum text_center">
                     <ul class="list-unstyled ">
                        <li><a href="<?php echo $url;?>">Anasayfa</a></li>
						<li><a>Blog</a></li>
                       
                     </ul>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>

<div id="shopify-section-template--18643476349213__34cc858b-cf4b-4d9d-aaba-853275cc9caa" class="shopify-section laber_section cms_section type_custom_section">
   <section id="laber_template--18643476349213__34cc858b-cf4b-4d9d-aaba-853275cc9caa">
      <div class="container ">
         <div class="section_content ">
            <div class="part">
               <div class="row flex-wrap" style="padding-top:20px;">
			    
			
 <?php 

     
        $pages = intval(temizle(@$_GET['pages']));
        if (!$pages) {
          $pages = 1;
        }
        
        $bak = $ozy->prepare("select * from haberler where durum='1'");
        $bak->execute(array());
        $toplam= $bak->rowCount();
        $limit = 20;
        $goster = $pages*$limit-$limit;
        $sayfasayisi = ceil($toplam/$limit);
        $forlimit = 200;
		
	
	
        $pr = $ozy->query("select * from haberler where durum='1' order by sira DESC limit $goster,$limit")->fetchAll(PDO::FETCH_ASSOC);
        



        $__URUN__ = false;
       foreach ($pr as $blog) {
        $__URUN__ = true;

                           ?>
			  
			  <div class="col-xs-12 col-sm-12 col-lg-3" style="padding: 5px !important;">
			  
              <article class="post-item post_laber_loop">
                <div class="item">
                  <div class="image-blog">
                    <a href="blog/<?php echo $blog['seo']; ?>" title="<?php echo $blog['adi']; ?>">
                      <div class="pr_lazy_img laber_bg_lz lazyload item__position" data-bgset="resimler/haberler/<?php echo $blog['resim']; ?>?v=1677830513" data-ratio="1.6629711751662972" data-sizes="auto" style="padding-top:60.13333333333333%;" ></div>
                    </a>
                  </div>
                  <div class="post-info">
                    <div class="blog"><a href="blog/<?php echo $blog['seo']; ?>">Blog</a></div>
                    <div class="head head-article">
                      <div class="title_blog">
                        <h3>
                          <a href="blog/<?php echo $blog['seo']; ?>" class="post-title"><?php echo $blog['adi']; ?></a>
                        </h3>
                      </div>
                      <div class="meta-post">
                        <div class="item-meta author"><?php echo $blog['hit']; ?> defa okundu</div>
                      </div>
                    </div>
                    <div class="main-info-post">
                      <div class="des">
                        <p><?php echo strip_tags(mb_substr($blog['aciklama'],0,100));?>...</p>
                      </div>
                    </div>
                    <div class="read_more">
                      <a href="blog/<?php echo $blog['seo']; ?>" title="<?php echo $blog['adi']; ?>">
                     Devamı
                      </a>
                      <div class="item-meta inner-date">
                        <?php echo $blog['tarih']; ?>
                      </div>
                    </div>
                  </div>
                </div>
              </article>
			   </div>
			        <?php }

                        if (!$__URUN__){?>
						<p style="text-align: center;
  display: block;
  width: 100%;" class="woocommerce-info">
						Henüz blog veya duyuru eklenmemiş.</p>
                           
                      <?php  }

                         ?>	
			
			
				
				
				
				
				
               </div>
			   
	<div class="pagination-wrapper bot_page_collection">
   <nav class="pagination" role="navigation" aria-label="Pagination">
      <ul class="pagination__list list-unstyled page-numbers" role="list">
	  
	   <?php
                for ($i= $pages - $forlimit ; $i < $pages + $forlimit + 1 ; $i++) { 
                  if ($i>0 and $i<=$sayfasayisi) {
                    
                    if ($i == $pages) {
          
                  echo "<li><span class='pagination__item pagination__item--current' aria-current='page'>".$i."</span></li>
				 
				  ";
                                      
                             }else{
          
                  echo "<li><a  href='bloglar/?pages=".$i."' class='pagination__item link'>".$i."</a></li>";
          
          }

                  }
                }
          
          
          
          
                   ?> 
             
		
       
      </ul>
   </nav>
</div>

			   
            </div>
         </div>
      </div>
   </section>
   <style data-shopify="" wfd-invisible="true">#laber_template--18643476349213__34cc858b-cf4b-4d9d-aaba-853275cc9caa {padding-top:;		 padding-right:; padding-bottom: 80px ; padding-left:;		 	 	}@media only screen and (max-width: 1024px) {		#laber_template--18643476349213__34cc858b-cf4b-4d9d-aaba-853275cc9caa {padding-top: ;padding-right: ;padding-bottom: 40px;padding-left: ;}	}</style>
</div>




</main>
<style>
.image_card{
	
  padding: 10px;
  background: #fff;
  border-radius: 6px;
	
}

.about-title{
	
margin-top: -10%;
font-size: 16px;
	
}

.alo-image{
	
margin-top: -10%;
	
}

.post-item {
	
border: 1px solid #e7e7e7;
margin-bottom: 15px;
	
}




</style>

	
	