<?php
$this->load->view('frontend/includes/header');

$baslik = "baslik_tr";
$aciklama = "aciklama_tr";

$ayar = get_settings_front();
?>

<div class="banner">
  <div class="container">
      <h2>
      <?php echo $icerik->baslik_tr;?>
      </h2>
      <ul class="map">
        <li><a href="<?php echo base_url();?>"><i class="fa fa-home" aria-hidden="true"></i></a></li>
        <li><a href="<?php echo base_url();?>blog">Blog</a></li>  <i>/</i>
        <li><a href="<?php echo base_url();?>blog/<?php echo $icerik->id;?>/<?php echo turkceYap($icerik->baslik_tr);?>"><?php echo $icerik->baslik_tr;?></a></li>
      </ul>
      <div class="yazdir">
        <a onclick="printpage()">
        <i class="fa fa-print" aria-hidden="true"></i>Yazdır    
        </a>
      </div>
      <div class="paylas">
        <ul>
          <li><a href="http://www.facebook.com/sharer.php?u=http://www.kalitefix.com<?php echo $_SERVER['REQUEST_URI'];?>" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
          <li><a href="https://twitter.com/share?url=http://www.kalitefix.com<?php echo $_SERVER['REQUEST_URI'];?>" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
          <li><a href="http://www.linkedin.com/shareArticle?url=http://www.kalitefix.com<?php echo $_SERVER['REQUEST_URI'];?>" target="_blank"><i class="fa fa-linkedin" aria-hidden="true"></i></a></li>
          <li><a href="https://www.pinterest.com/pin/create/button/?url=http://www.kalitefix.com<?php echo $_SERVER['REQUEST_URI'];?>" target="_blank"><i class="fa fa-pinterest" aria-hidden="true"></i></a></li>
        </ul>
    </div>
  </div>
</div>

<div class="sayfa">
  <div class="container">
    <div class="detaysayfa">
      <i class="fa fa-angle-double-down" id="arrowclk" aria-hidden="true" style="transform: rotate(0deg);"></i>
      <ul class="sayfamenu" id="listslidde">
            <?php
            foreach($solMenu as $ksol)
            {
            ?>
                <li><a class="<?php echo ($ksol->id == $icerik->id) ? "active" : "" ?>" href="<?php echo base_url();?>blog/<?php echo $ksol->id;?>/<?php echo turkceYap($ksol->$baslik);?>"><?php echo $ksol->$baslik;?></a></li>
            <?php
            }
            ?>
      </ul>
      <div class="baslik">
      <?php echo $icerik->$baslik;?>
      </div>
       <?php
        $kapakresim = get_image_cover($icerik->id, "blog");
        $kapakresim = ($kapakresim) ? base_url("uploads/ekstrasayfalar_v/$kapakresim") : base_url("assets/etkinlik2.jpg")
      ?>
        <img src="<?php echo $kapakresim; ?>" alt="<?php echo $icerik->baslik_tr; ?>">
        <?php echo $icerik->$aciklama;?>
    </div>
  </div>
</div>




<?php
$this->load->view('frontend/includes/footer');
?>
