<?php 
include('root/config.php');
?>
<!DOCTYPE html>
<html>


<head>
	<meta charset="utf-8">
	<title><?php echo $ai_core->aiGetValue(DB_PREFIX."setting","description","id",'3');?></title>
	<meta name="keywords" content="<?php echo $ai_core->aiGetValue(DB_PREFIX."setting","description","id",'9');?>">
	<meta name="description" content="<?php echo $ai_core->aiGetValue(DB_PREFIX."setting","description","id",'15');?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="icon" href="img/favicon.jpg">
	<link href="https://fonts.googleapis.com/css?family=Playfair+Display:400,700,900" rel="stylesheet">
	<link rel="stylesheet" href="css/core.css">
	<link rel="stylesheet" href="css/theme.css">
</head>
<body class="sticky-header sticky-footer">

	<!-- Preloader -->
	<div id="preloader"></div>
	
	<!-- Header -->
	<header id="header">

		<!-- Logo -->
		<a href="<?php echo SITE_URL; ?>Home" class="logo">
			<img src="logo.png" class="logo-light" alt="">
			<img src="logo.png" class="logo-dark" alt="">
		</a>

		<!-- Mobile Menu Icon -->
		<a href="#" class="mob-menu">
			<span></span><span></span><span></span>
		</a>

		<!-- Navigation -->
		<?php
		include('menu.php');
		?>
		<!-- /Navigation -->

	</header>
	<!-- /Header -->

	<!-- Main Content -->
	<main id="main">

		<!-- Title Text -->
		<section class="text-center py-10">
			<h1>Vinyl Flooring</h1>
			<!-- <p class="small serif">We specialize in high end quality carpet tiles for offfice , events and residential purposes.  Our wide range of products (Loop or Cut) includes the following but not limited to:</p>-->
		</section>
		<!-- /Title Text -->

		<!-- Portfolio Container -->
		<div class="container my-5">
		
			<!-- Portfolio Grid -->
			<div class="grid lightbox" data-columns="3" data-gutter="30" data-cell-ratio="5/4">
				

<?php
$imageUrl = "upload/Vinyl_Flooring/";
$qry = "SELECT * FROM ".DB_PREFIX."vinyl_flooring WHERE status='active'";
$result = $ai_db->aiGetQueryObj($qry);
if (COUNT($result) > 0) {
foreach ($result as $row) {
?>
				<figure class="portfolio-item" data-background="<?php echo $imageUrl.$row->image; ?>">
					<a href="<?php echo $imageUrl.$row->image; ?>" class="lightbox-link" title="Carpet"></a>
				</figure>
<?php 
}
}
else
{
	echo '<h3>No Record Found...</h3>';
}
?>				
				<!-- Portfolio Item -->
				
				<!-- /Portfolio Item -->

				
				

			</div>
			<!-- /Portfolio Grid -->

		</div>
		<!-- /Portfolio Container -->

	</main>
	<!-- /Main Content -->

	<!-- Footer -->
	<?php include('footer.php'); ?>
	<!-- /Footer -->

	<!-- JS -->
	<script src="js/core.js"></script>
	<script src="js/theme.js"></script>
</body>

</html>