<!DOCTYPE html>
<html lang="tr">
<?php require view('include/head'); ?>
<body>
	<?php require view('include/header'); ?>
	<link rel="stylesheet" href="<?= public_url(); ?>css/custom/video.css">
	<section class="single-banner">
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<div class="single-content">
						<h2>Video Galeri</h2>
						<ol class="breadcrumb">
							<li class="breadcrumb-item"><a href="index">Anasayfa</a></li>
							<li class="breadcrumb-item active" aria-current="page">
								Video Galeri
							</li>
						</ol>
					</div>
				</div>
			</div>
		</div>
	</section>

	<section class="video-part">
		<div class="container">
			<div class="row">
				 <?php while ($rowslider=$queryslider->fetch(PDO::FETCH_ASSOC)) { ?>
				<div class="col-md-6 col-lg-4">
					<div class="video-card video-gape">
						<div class="video-img">
							<img src="<?= public_url()."".$rowslider['image'] ?>" alt="<?= $rowslider['baslik']; ?>" />
							<div class="video-overlay">
								<a
								class="venobox icon icon-inline"
								data-autoplay="true"
								data-vbtype="video"
								href="<?= $rowslider['video_url']; ?>"
								><i class="fas fa-play"></i></a>
								</div>
							</div>
							<div class="video-content">
								<h5><?= $rowslider['baslik']; ?></h5>
							<?= $rowslider['aciklama']; ?>
							</div>
						</div>
					</div>
					  <?php } ?>
				</div> 
			</div>
		</section>
		<?php require view('include/footer'); ?>