<div class="ustalan">
  <div class="kurumsal-img">
  </div>
  <div class="kurumsal">
    <div class="icerik">
      <p>
      <?php echo $anasayfayazi->aciklama_tr;?>
      </p>
    </div>
  </div>
</div>
<div class="calismalar">


<?php foreach($referanslar as $referans) {?>
  <a class="calisma" href="<?php echo base_url(); ?>calisma/<?php echo $referans->id; ?>/<?php echo turkceyap($referans->baslik_tr); ?>">
    <div class="resim">
      <?php
        $kapakresim = get_image_cover($referans->id, "referanslar");
        $kapakresim = ($kapakresim) ? base_url("uploads/ekstrasayfalar_v/$kapakresim") : base_url("assets/etkinlik2.jpg")
      ?>

    <img src="<?php echo $kapakresim; ?>" alt="<?php echo $referans->baslik_tr; ?>">
    </div>
    <div class="bilgiler">
      <div class="adi">
      <?php echo $referans->baslik_tr; ?>
      </div>
      <div class="hizmet">
      <?php echo $referans->aciklama_tr; ?>
      </div>
    </div>
  </a>
<?php } ?>
</div>


<div class="hizmetler-alan">
  <div class="container">
    <div class="baslik">
    Neler Yapıyoruz?
    </div>
    <div class="hizmetler">
      <div class="swiper-wrapper">

        <?php foreach($urunler_footer as $urun) {?>
        <div class="swiper-slide">
          <a href="<?php echo base_url(); ?>neler-yapiyoruz/<?php echo $urun->id; ?>/<?php echo turkceyap($urun->baslik_tr); ?>">
            <div class="resim">
            <?php
              $kapakresim = get_image_cover($urun->id, "products");
              $kapakresim = ($kapakresim) ? base_url("uploads/products_v/$kapakresim") : base_url("assets/etkinlik2.jpg")
            ?>
             <img src="<?php echo $kapakresim; ?>" alt="<?php echo $urun->baslik_tr; ?>">
            </div>
            <div class="hizmet-liste">
              <div class="adi">
              <?php echo $urun->baslik_tr; ?>
              </div>
              <div class="aciklama">
              <?php echo character_limiter($urun->aciklama_tr,150); ?>
              </div>
            </div>
          </a>
        </div>
        <?php } ?>



      </div>
    </div>
    <div class="hizmet-ileri"><i class="fa fa-angle-right" aria-hidden="true"></i></div>
    <div class="hizmet-geri"><i class="fa fa-angle-left" aria-hidden="true"></i></div>    
  </div>
</div>

<div class="referanslar">
  <div class="container">
    <div class="baslik">
    Müşterilerimiz
    </div>

    <?php foreach ($musteriler as $musteri) {?>
      <div class="referans">
        <img src="<?php echo base_url("uploads/markalar_v/$musteri->resim"); ?>" alt="<?php echo $musteri->baslik; ?>">
      </div>
    <?php } ?>
  </div>
  <a class="devami" href="<?php echo base_url("musteriler");?>">
  TÜMÜNÜ GÖR
  </a>

</div>



<div class="blog-alan">
  <div class="container">
    <div class="baslik">
    Blog
    </div>
    <div class="blog">
      <div class="swiper-wrapper">
        
      
      <?php foreach($blogs as $blog) {?>
        <div class="swiper-slide">
          <a href="<?php echo base_url(); ?>blog/<?php echo $blog->id; ?>/<?php echo turkceyap($blog->baslik_tr); ?>">
            <div class="resim">
            <?php
              $kapakresim = get_image_cover($blog->id, "blog");
              $kapakresim = ($kapakresim) ? base_url("uploads/ekstrasayfalar_v/$kapakresim") : base_url("assets/etkinlik2.jpg")
            ?>
             <img src="<?php echo $kapakresim; ?>" alt="<?php echo $blog->baslik_tr; ?>">
            </div>
            <div class="adi">
            <?php echo $blog->baslik_tr; ?>
            </div>
            <div class="text">
            <?php echo character_limiter($blog->aciklama_tr,250); ?>
            </div>            
          </a>
        </div>
        <?php } ?>

      </div>
      <a class="devami" href="#">
      TÜMÜNÜ GÖR
      </a>
    </div>
    <div class="blog-ileri"><i class="fa fa-angle-right" aria-hidden="true"></i></div>
    <div class="blog-geri"><i class="fa fa-angle-left" aria-hidden="true"></i></div>    
  </div>
</div>