<?php 
include 'include/menu.php'; 
$metakey=$db->prepare("SELECT * from meta where meta_id=7");
$metakey->execute();
$metakeyprint=$metakey->fetch(PDO::FETCH_ASSOC);
?>
<title><?php echo $metakeyprint['meta_title'] ?></title>
<meta name="description" content="<?php echo $metakeyprint['meta_descr'] ?>">
<meta name="keywords" content="<?php echo $metakeyprint['meta_keyword'] ?>">
</head>




<!-- Page title -->
<section id="page-title" class="page-title-classic" style="background: url(trex/assets/img/genel/pattern10.png)">
  <div class="container">
    <div class="breadcrumb">
      <ul>
        <li><a href="<?php echo $settingsprint['ayar_siteurl']; ?>">AnaSayfa</a> </li>
        <li class="active">VİDEO GALERİSİ</li>
      </ul>
    </div>
    <div class="page-title">
      <h1>VİDEO GALERİSİ</h1>
    </div>
  </div>
</section>
<!-- end: Page title -->
<!-- GALERİ -->
<section id="p-t-50">
  <div class="container">
    <!--Embeds -->
    <div class="row">
      <?php 
      $vidsor=$db->prepare("SELECT * from videogaleri order by video_id DESC");
      $vidsor->execute(); 
      while ($vidprint=$vidsor->fetch(PDO::FETCH_ASSOC)) { ?>
      <div class="col-md-6 p-b-30">
        <iframe width="1280" height="720" src="https://www.youtube.com/embed/<?php echo $vidprint['video_link']; ?>" allowfullscreen></iframe>
      </div>
      <?php } ?>
    </div>
    <!--END: Embeds -->
  </div>
</section>
<!-- end: GALERİ -->

<?php include 'include/footer.php'; ?>
