<?php
require_once 'ayar/Config.php';
include "header.php";
?>
  <?php if ($Site->site_ayarlari('referanslar-title') != ''){ // Meta Title ?>
  <title>
    <?php echo $Site->site_ayarlari('referanslar-title'); ?>
  </title>
  <?php } else { ?>
  <title>Referanslar</title>
  <?php } ?>
  <?php if ($Site->site_ayarlari('referanslar-keywords') != ''){ // Meta Keywords ?>
  <meta name="keywords" content="<?php echo $Site->site_ayarlari('referanslar-keywords'); ?>">
  <?php } else { ?>

  <?php } ?>
  <?php if ($Site->site_ayarlari('referanslar-description') != ''){  // Meta Description ?>
  <meta name="description" content="<?php echo $Site->site_ayarlari('referanslar-description'); ?>">
  <?php } else { ?>
  <?php } ?>
  <!--===== Başlık =====-->
  <section class="padding bg_light">

    <div class="container">
      <div class="row">
        <div class="col-md-12 bottom20"><br>
          <br>
          <br>
          <br>
          <h2 class="text-uppercase"><span class="color_red"> REFERANSLAR </span></h2>
          <br>
          <span style="font-size:12px; color:#000000;"><a href="./">ANA SAYFA</a> / <a href="referanslar>">REFERANSLAR</a></span> </div>
      </div>
  </section>

  <div class="container">
    <div class="row">
      <?php
                $referans = $Site->referans();
                foreach ($referans as $key => $value){
                  if($value['aktifkontrol']=="aktif" || $Site->adminyetki(session("id"),'yetki')==1){
              ?>
        <div class="gallery_product col-lg-4 col-md-4 col-sm-4 col-xs-6 filter hdpe">
          <a href="<?php echo $value['referansURL'] ?>" target="_blank">
               <img src="upload/referans/<?php echo $value['referansResim'] ?>" alt="<?php echo $value['referansBaslik'] ?>" title="<?php echo $value['referansBaslik'] ?>" class="img-responsive">
             </a>
        </div>
      <?php }} ?>
    </div>
  </div>
  </section>
<br>

  <?php include "footer.php"; ?>
