Sindbad~EG File Manager

Current Path : /home/beghelic/
Upload File :
Current File : /home/beghelic/sayfa.php

<?php
  require "admin/kod/baglan.php";
  $ayalar = $db->query('SELECT * FROM ayarlar where id = 1');
  $ayr = $ayalar->fetch(PDO::FETCH_OBJ);
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <?php
    $s = $_GET['id'];
    $menu = $db->query('SELECT * FROM menu where id = '.$s);
    $cek = $menu->fetch(PDO::FETCH_OBJ);
    ?>
    <title><?php echo $cek->title ?></title>
    <meta name="keywords" content="<?php echo $cek->keywords ?>"/>
    <meta name="description" content="<?php echo $cek->description ?>"/>
    <base href="http://sinapolist.local/">
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/bootstrap-grid.min.css">
    <link rel="stylesheet" href="assets/css/bootstrap-reboot.min.css">
    <link rel="stylesheet" href="assets/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="assets/engine1/style.css" />
    <link href="https://fonts.googleapis.com/css?family=Quicksand:300,400,500,600,700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" type="text/css" href="assets/css/owl.carousel.min.css" />
    <link rel="stylesheet" type="text/css" href="assets/css/docs.theme.min.css" />
  </head>
  <body>
  <?php require "header.php"; ?>
  <section>
    <article class="page-hoos-c">
      <div class="container">
        <h2><?php echo $cek->baslik ?></h2>
      </div>
    </article>

    <article class="corporate-area">
      <div class="container">
        <div class="row">
          <div class="col-md-12">
            <?php echo $cek->icerik ?>
          </div>
        </div>
      </div>
    </article>

    <?php

    $sql=$db->prepare('SELECT * FROM menu where root_id = "'.$cek->id.'"');
    $sql->execute();
    $say = $sql->rowCount();
    ?>


    <article class="our-services ozel-item-sayfa-hiz" style="<?php echo ($say == '0' ? 'display:none' : ''); ?>">
      <div class="container">

          <div class="row">

            <?php
              $menu = $db->query('SELECT * FROM menu where root_id = '.$cek->id);
              While($mn = $menu->fetch(PDO::FETCH_OBJ)){
                echo '
                  <div class="col-md-3">
                    <a href="s/'.$mn->url.'/'.$mn->id.'">
                      <div class="box">
                        <img src="assets/img/'.$mn->resim.'" alt="">
                        <div class="info">
                          <h1>'.$mn->baslik.'</h1>
                          <span>Detaylı Bilgi</span>
                        </div>
                        <span class="back"></span>
                        <div class="hover-info">
                          <h3>'.$mn->baslik.'</h3>
                          <p>'.$mn->ozet.'</p>
                          <i class="fa fa-long-arrow-right" aria-hidden="true"></i>
                        </div>
                      </div>
                    </a>
                  </div>
                ';
              }
            ?>



          </div>
      </div>
    </article>


    <article class="form-area-big ozel-form-area">
      <div class="container">
        <div class="row">
          <div class="col-md-12 form-area-cc">
            <h3><?php echo $ayr->ilebaslik ?></h3>
            <p><?php echo $ayr->ileicerik ?></p>
            <form class="" action="index.html" method="post">
              <div class="row form-ct">
                <div class="col-md-3">
                  <input type="text" name="" placeholder="Adınız Soyadınız">
                </div>
                <div class="col-md-3">
                  <input type="text" name="" placeholder="Telefon">
                </div>
                <div class="col-md-3">
                  <input type="text" name="" placeholder="E-Posta">
                </div>
                <div class="col-md-3">
                  <button type="button" name="button" style="margin-top: 0;width: 100%;">GÖNDER</button>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </article>

    <article class="gallery-area" style="<?php echo ($cek->root_id == '54' ? 'display:none' : ''); ?>">
      <div class="container">
        <div class="row">

          <div class="col-md-4 resim">
             <div class="cerceve">
                <a class="fancybox fancybox-thumb" href="assets/img/galeri/vip-hiz.jpg" data-fancybox-group="gallery">
                <img src="assets/img/galeri/vip-hiz.jpg" thumb-url="assets/img/galeri/vip-hiz.jpg">
                </a>
             </div>
          </div>
          <div class="col-md-4 resim">
             <div class="cerceve">
                <a class="fancybox fancybox-thumb" href="assets/img/galeri/vip-hiz.jpg" data-fancybox-group="gallery">
                <img src="assets/img/galeri/vip-hiz.jpg" thumb-url="assets/img/galeri/vip-hiz.jpg">
                </a>
             </div>
          </div>
          <div class="col-md-4 resim">
             <div class="cerceve">
                <a class="fancybox fancybox-thumb" href="assets/img/galeri/vip-hiz.jpg" data-fancybox-group="gallery">
                <img src="assets/img/galeri/vip-hiz.jpg" thumb-url="assets/img/galeri/vip-hiz.jpg">
                </a>
             </div>
          </div>
          <div class="col-md-4 resim">
             <div class="cerceve">
                <a class="fancybox fancybox-thumb" href="assets/img/galeri/vip-hiz.jpg" data-fancybox-group="gallery">
                <img src="assets/img/galeri/vip-hiz.jpg" thumb-url="assets/img/galeri/vip-hiz.jpg">
                </a>
             </div>
          </div>

        </div>
      </div>
    </article>


    <article class="is-ortaklarimiz" style="<?php echo ($cek->root_id == '54' ? '' : 'display:none'); ?>">
      <div class="container">
        <div class="row">
          <div class="col-md-12">
            <div class="page-baslik">
    					<h2>İŞ ORTAKLARIMIZ</h2>
    				</div>
          </div>
          <div class="owl-carousel owl-carousel-is-ortak owl-theme">
            <?php
              $referans = $db->query('SELECT * FROM referans order by sira asc');
              While($ref = $referans->fetch(PDO::FETCH_OBJ)){
                echo '
                <div class="item">
                    <div class="box">
                      <img src="assets/img/referans/'.$ref->resim.'">
                    </div>
                </div>
                ';
              }
            ?>
          </div>
        </div>
      </div>
    </article>




  </section>
  <?php include "footer.php"?>
  </body>
  <script src="assets/js/jquery-3.4.1.min.js"></script>
  <script src="assets/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="assets/js/owl.carousel.min.js"></script>
  <script src="assets/js/bootstrap.bundle.min.js"></script>
  <script type="text/javascript" src="assets/engine1/wowslider.js"></script>
  <script type="text/javascript" src="assets/engine1/script.js"></script>
  <script src="assets/js/jquery.lazy.min.js"></script>
  <script src="assets/js/style.js"></script>
  <script type="text/javascript">
    $(document).ready(function(){
      $(".owl-carousel-services").owlCarousel({
        items:3,
        loop:true,
        nav:false,
        autoplay:true,
        autoplayTimeout:3000,
        autoplayHoverPause:true,
        responsive:{
          0:{
              items:1,
          },
          600:{
              items:2,
          },
          1000:{
              items:4,
          }
        }
      });

      $(".owl-carousel-is-ortak").owlCarousel({
        items:3,
        loop:true,
        nav:false,
        autoplay:true,
        autoplayTimeout:3000,
        autoplayHoverPause:true,
        responsive:{
          0:{
              items:1,
          },
          600:{
              items:3,
          },
          1000:{
              items:6,
          }
        }
      });

    });
</script>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists