<?php 
if (basename($_SERVER['PHP_SELF'])==basename(__FILE__)) {
  exit();
} 
?>
<footer class="footer-part footer-gape">
  <div class="container">
    <div class="row">
      <div class="col-lg-12">
        <div class="footer-logo">
          <a href="index"><img src="<?= public_url()."".$rowset['logo'] ?>" alt="logo" /></a>
          <ul>
            <?php if (!empty($rowset['facebook'])) { ?>
              <li>
                <a class="icon icon-inline" href="<?= $rowset['facebook'] ?>" target="_blank"><i class="fab fa-facebook-f"></i></a>
              </li>
            <?php } ?>
            <?php if (!empty($rowset['twitter'])) { ?>
              <li>
                <a class="icon icon-inline" href="<?= $rowset['twitter'] ?>" target="_blank"><i class="fab fa-twitter"></i></a>
              </li>
            <?php } ?>
            <?php if (!empty($rowset['linkedin'])) { ?>
              <li>
                <a class="icon icon-inline" href="<?= $rowset['linkedin'] ?>" target="_blank"><i class="fab fa-linkedin-in"></i></a>
              </li>
            <?php } ?>
            <?php if (!empty($rowset['instagram'])) { ?>
              <li>
                <a class="icon icon-inline" href="<?= $rowset['instagram'] ?>" target="_blank"><i class="fab fa-instagram"></i></a>
              </li>
            <?php } ?>
            <?php if (!empty($rowset['youtube'])) { ?>
              <li>
                <a class="icon icon-inline" href="<?= $rowset['youtube'] ?>" target="_blank"><i class="fab fa-youtube"></i></a>
              </li>
            <?php } ?>
          </ul>
        </div> 
      </div>
    </div>
    <div class="row">
      <div class="col-lg-4 col-md-6">
        <div class="footer-heading">
          <h3>Bize Ulaşın</h3>
          <p>
            İletmek istediğiniz her türlü istek ve önerilerinizi bize yazabilirsiniz.
          </p>
        </div>
        <ul class="footer-address">
         <?php if (!empty($rowset['address'])) { ?>
          <li>
            <i class="fas fa-map-marked-alt"></i>
            <p><?= $rowset['address'] ?></p>
          </li>
        <?php } ?>
        <?php if (!empty($rowset['email'])) { ?>
          <li>
            <i class="fas fa-envelope-open-text"></i>
            <p><?= $rowset['email'] ?></p>
          </li>
        <?php } ?>
        <?php if (!empty($rowset['phone'])) { ?>
          <li>
            <i class="fas fa-phone"></i>
            <p><?= $rowset['phone'] ?></p>
          </li>
        <?php } ?>
      </ul>
    </div>
    <div class="col-lg-4 col-md-6">
      <div class="footer-heading">
        <h3>Bağlantılar</h3>
      </div>
      <ul class="footer-link">
        <li>
          <a href="sayfa/hakkimizda"><i class="fas fa-angle-right"></i>Hakkımızda</a>
        </li>
        <li>
          <a href="yayin-akisi"><i class="fas fa-angle-right"></i>Yayın Akışı</a>
        </li>
        <li>
          <a href="haber"><i class="fas fa-angle-right"></i>Haberler</a>
        </li>
        <li>
          <a href="sayfa/reklamlar"><i class="fas fa-angle-right"></i>Reklamlar</a>
        </li>
        <li>
          <a href="iletisim"><i class="fas fa-angle-right"></i>Bize Ulaşın</a>
        </li>
      </ul>
    </div>

    <div class="col-lg-4">
      <div class="footer-heading">
        <h3>Uygulamayı İndir</h3>
        <p>
          HER AN YANINIZDA!
          GOOGLE PLAY ve APP STORE’DAYIZ TIKLA HEMEN İNDİR...
        </p>
      </div>
      <div class="download-part">
        <ul> 
          <?php if (!empty($rowset['android_app'])) { ?>
            <li>
              <a href="<?= $rowset['android_app'] ?>" target="_blank"><img src="<?= public_url(); ?>img/google.png" alt="google" /></a>
            </li>
          <?php } ?>
          <?php if (!empty($rowset['ios_app'])) { ?>
            <li>
              <a href="<?= $rowset['ios_app'] ?>" target="_blank"><img src="<?= public_url(); ?>img/app.png" alt="app" /></a>
            </li>
          <?php } ?>
        </ul>
      </div>
    </div>
  </div>
</div>
</footer>

<section class="copy-part">
  <div class="container">
    <ul>
      <li>
        <h6>&copy; Copyright - <span>2023</span></h6>
      </li>
      <li>
        <h6>Tüm Hakları Saklıdır. - <span><?= $title ?></span></h6>
      </li>
      <li>
        <h6>
          Developed by -
          <a target="_blank" href="https://demosorgula.com">DemoSorgula</a>
        </h6>
      </li>
    </ul>
  </div>
</section>
 
<script src="<?= public_url(); ?>js/vendor/jquery-1.12.4.min.js"></script>
<script src="<?= public_url(); ?>js/vendor/popper.min.js"></script>
<script src="<?= public_url(); ?>js/vendor/bootstrap.min.js"></script>
<script src="<?= public_url(); ?>js/vendor/slick.min.js"></script>
<script src="<?= public_url(); ?>js/custom/slick.js"></script>
<script src="<?= public_url(); ?>js/vendor/venobox.min.js"></script>
<script src="<?= public_url(); ?>js/custom/venobox.js"></script>
<script src="<?= public_url(); ?>js/player.js"></script>
<script src="<?= public_url(); ?>js/custom/main.js"></script>
</body> 

</html>