<title>Kampanyalar</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="Kampanyalar"/>
<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>Kampanyalar</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 kampanyalar where durum='1'");
        $bak->execute(array());
        $toplam= $bak->rowCount();
        $limit = 12;
        $goster = $pages*$limit-$limit;
        $sayfasayisi = ceil($toplam/$limit);
        $forlimit = 200;
		
	
	
        $pr = $ozy->query("select * from kampanyalar where durum='1' order by sira DESC limit $goster,$limit")->fetchAll(PDO::FETCH_ASSOC);
        



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

                           ?>
		  
			   
			   
                  <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
                     <div id="bk_f052fa9b-9552-4482-968d-480960e60141" class="flex h_left v_middle text_left h-full">
                        <div class="image_card w-full">
                           <a class="gl" href="<?php if($gfirsat['link']=='0'){?>kampanya/<?php echo $gfirsat['seo']; ?><?php } else { ?><?php echo $gfirsat['link']; ?><?php } ?>" title="">
                              <div data-image-id="33134311047453" class="alo-image ratio w-full h-full" style="--ratio-percent: 62.77456647398844%;">
                                 <img style="object-fit: contain !important;" src="resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=3840" alt="" srcset="resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=375 375w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=550 550w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=750 750w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=1100 1100w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=1500 1500w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=1780 1780w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=2000 2000w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=3000 3000w, resimler/kampanyalar/<?php echo $gfirsat['resim']; ?>?v=1678935543&amp;width=3840 3840w" width="1730" height="1086.0" loading="lazy" class="w-full h-full" sizes="100vw">
                              </div>
                           </a>
                           <h2 class="about-title"><?php echo $gfirsat['adi']; ?></h2>
                           <p class="about-subtitle">

                           </p>
                           <div class="about-btn">
                                <a href="<?php if($gfirsat['link']=='0'){?>kampanya/<?php echo $gfirsat['seo']; ?><?php } else { ?><?php echo $gfirsat['link']; ?><?php } ?>" title="Kampanyayı İncele">İncele</a>
                           </div>
                        </div>
                     </div>
                     <style data-shopify="" wfd-invisible="true">#bk_f052fa9b-9552-4482-968d-480960e60141 {padding-top:;		 padding-right:; padding-bottom: 10px ; padding-left:;}@media only screen and (max-width: 1024px) {		#bk_f052fa9b-9552-4482-968d-480960e60141 {padding-top: ;padding-right: ;padding-bottom: 30px;padding-left: ;}	}</style>
                  </div>
                
				
				
		 <?php }

                        if (!$__URUN__){?>
						<p style="text-align: center;
  display: block;
  width: 100%;" class="woocommerce-info">
						Henüz kampanya 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='kampanyalar/?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%;
	
}






</style>

	
	