Kerala Cyber
Warriors
KCW Uploader V1.1
<?php
$include_dir = "include/";
include_once($include_dir."config.php");
include_once($include_dir."function.php");
$page_name = "Home";
?>
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="<?php echo $config['SITE_META_DESCRIPTION'];?>" />
<meta name="keywords" content="<?php echo $config['SITE_META_KEYWORDS'];?>" />
<meta name="robots" content="noodp,index,follow" />
<meta name='revisit-after' content='1 days' />
<title><?php echo $config['SITE_NAME'];?> - Home</title>
<?php include("top.php")?>
</head>
<body class="preload" style="background:#fafafa">
<div class="wrap">
<?php include("header.php")?>
<!-- End Header -->
<div id="content">
<div class="banner-slider banner-slider1 bg-slider parallax-slider">
<div class="wrap-item" data-pagination="true" data-autoplay="true" data-transition="fade" data-navigation="true" data-itemscustom="[[0,1]]">
<?php
$slider_qry = "SELECT * FROM slider WHERE status = 'active' ORDER BY id ASC";
$slider_res = mysqli_query($conn, $slider_qry);
while($slider_row = mysqli_fetch_array($slider_res)) {
?>
<div class="item-slider item-slider1">
<div class="banner-thumb">
<a href="#">
<img src="<?php echo $config['SITE_URL']?>/uploads/slider_images/<?php echo $slider_row['slide_image']?>" alt="" />
</a>
</div>
<?php /*?><div class="banner-info">
<div class="container">
<div class="banner-content-text white text-center">
<h2 class="banner-title vibes-font animated" data-animated="flash">First Choice Food</h2>
<h3 class="title60">Tokyo<span class="center-star color2 animated" data-animated="bounceIn"><i class="fa fa-star" aria-hidden="true"></i></span>Bakery</h3>
<div class="banner-button"> <a href="#" class="shop-button title18 animated" data-animated="fadeInLeft">Shop now</a> <a href="#" class="shop-button title18 bg-white animated" data-animated="fadeInRight">browse</a> </div>
</div>
</div>
</div><?php */?>
</div>
<?php
}
?>
</div>
</div>
<!-- End Banner Slider -->
<div class="container">
<div class="banner-top1 bg-white radius6 drop-shadow">
<div class="row">
<div class="col-md-5 col-sm-5 col-xs-12">
<div class="banner-thumb1 banner-adv zoom-image"> <a href="#" class="adv-thumb-link"><img class="radius6" src="images/home/home1/banner1.jpg" alt="" /></a> </div>
</div>
<div class="col-md-7 col-sm-7 col-xs-12">
<div class="banner-info1">
<h2 class="title30 title-underline"><span>WE ARE THE BEST!</span></h2>
<p class="desc"><?php echo $config['HOME_ABOUT_TEXT']?></p>
<a href="<?php echo $config['SITE_URL']?>/page/about-us" class="shop-button">Read more</a> </div>
</div>
</div>
</div>
<!-- End Banner Top -->
<?php /*?><div class="list-banner-adv1">
<div class="row">
<div class="col-md-4 col-sm-12 col-xs-12">
<div class="row">
<div class="col-md-12 col-sm-6 col-xs-6">
<div class="item-adv1 bg-white drop-shadow">
<div class="banner-adv zoom-out"> <a href="#" class="adv-thumb-link"> <img src="images/home/home1/adv1-1.jpg" alt="" /> <img src="images/home/home1/adv1-2.jpg" alt="" /> </a> </div>
<div class="adv-info1 text-uppercase">
<label class="radius4 white" style="background:#f4ca49">top</label>
<span>Shop by Occasion</span> </div>
</div>
</div>
<div class="col-md-12 col-sm-6 col-xs-6">
<div class="item-adv1 bg-white drop-shadow">
<div class="banner-adv fade-out-in"> <a href="#" class="adv-thumb-link"> <img src="images/home/home1/adv2.jpg" alt="" /> </a> </div>
<div class="adv-info1 text-uppercase">
<label class="radius4 white" style="background:#74e7bc">new</label>
<span>New Arrivals</span> </div>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="item-adv1 bg-white drop-shadow">
<div class="banner-adv zoom-image"> <a href="#" class="adv-thumb-link"> <img src="images/home/home1/adv3.jpg" alt="" /> </a>
<div class="banner-info text-center">
<div class="title60 vibes-font">Mega Sale</div>
<div class="title30 white bg-color inline-block radius4">upto 70% off</div>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-6">
<div class="item-adv1 bg-white drop-shadow">
<div class="banner-adv fade-in-out"> <a href="#" class="adv-thumb-link"> <img src="images/home/home1/adv4.jpg" alt="" /> </a> </div>
<div class="adv-info1 text-uppercase">
<label class="radius4 white" style="background:#d02d7f">trend</label>
<span>Gifts by Price</span> </div>
</div>
</div>
<div class="col-md-12 col-sm-12 col-xs-6">
<div class="item-adv1 bg-white drop-shadow">
<div class="banner-adv zoom-rotate"> <a href="#" class="adv-thumb-link"> <img src="images/home/home1/adv5.jpg" alt="" /> </a> </div>
<div class="adv-info1 text-uppercase">
<label class="radius4 white" style="background:#ff607c">Hot</label>
<span>Coming soon</span> </div>
</div>
</div>
</div>
</div>
</div>
</div><?php */?>
<!-- End list adv -->
<?php
$featured_qry = "SELECT * FROM product
WHERE 1
AND featured = '1'
AND status = 'active'
ORDER BY RAND()
LIMIT 6";
$featured_res = mysqli_query($conn, $featured_qry);
if(mysqli_num_rows($featured_res) > 0) {
?>
<div class="product-box1 bg-white drop-shadow">
<h2 class="title30 title-underline"><span>Featured Products</span></h2>
<div class="product-slider1">
<div class="wrap-item show-navi" data-pagination="false" data-navigation="true" data-itemscustom="[[0,1],[480,2],[7683],[980,4]]">
<?php
while($featured_row = mysqli_fetch_array($featured_res)) {
$featured_product_name = $featured_row['name'];
$featured_product_slug = $featured_row['slug'];
$featured_product_short_desc = $featured_row['short_desc'];
$featured_product_price = $featured_row['price'];
$featured_product_image1 = $featured_row['image1'];
?>
<div class="item-product1">
<div class="product-thumb">
<a href="<?php echo $config['SITE_URL']?>/product/<?php echo $featured_product_slug?>" class="product-thumb-link">
<img src="<?php echo $config['SITE_URL']?>/uploads/product_images/<?php echo $featured_product_image1?>" alt="" />
</a>
</div>
<div class="product-info">
<h3 class="product-title"><a href="<?php echo $config['SITE_URL']?>/product/<?php echo $featured_product_slug?>"><?php echo $featured_product_name?></a></h3>
<?php /*?><div class="product-price"> <del><span>$75.00</span></del> <ins><span>$50.00</span></ins> </div>
<div class="product-rate">
<div class="product-rating" style="width:100%"></div>
</div>
<a href="product-grid.html" class="product-incat">Coockies <span>(13)</span></a>
<div class="product-extra-link"> <a href="#" class="wishlist-link"><i class="fa fa-heart-o" aria-hidden="true"></i><span>Wishlist</span></a> <a href="#" class="addcart-link"><i class="fa fa-shopping-basket" aria-hidden="true"></i><span>Add to cart</span></a> <a href="#" class="compare-link"><i class="fa fa-stumbleupon" aria-hidden="true"></i><span>Compare</span></a> </div><?php */?>
</div>
</div>
<!-- End Item -->
<?php
}
?>
</div>
</div>
</div>
<?php
}
?>
<!-- End Product Box -->
<?php
$latest_qry = "SELECT * FROM product
WHERE 1
AND status = 'active'
ORDER BY add_date DESC
LIMIT 6";
$latest_res = mysqli_query($conn, $latest_qry);
if(mysqli_num_rows($latest_res) > 0) {
?>
<div class="product-box1 bg-white drop-shadow">
<h2 class="title30 title-underline"><span>New Products</span></h2>
<div class="product-slider1">
<div class="wrap-item show-navi" data-pagination="false" data-navigation="true" data-itemscustom="[[0,1],[480,2],[7683],[980,4]]">
<?php
while($latest_row = mysqli_fetch_array($latest_res)) {
$featured_product_name = $latest_row['name'];
$featured_product_slug = $latest_row['slug'];
$featured_product_short_desc = $latest_row['short_desc'];
$featured_product_price = $latest_row['price'];
$featured_product_image1 = $latest_row['image1'];
?>
<div class="item-product1">
<div class="product-thumb">
<a href="<?php echo $config['SITE_URL']?>/product/<?php echo $featured_product_slug?>" class="product-thumb-link">
<img src="<?php echo $config['SITE_URL']?>/uploads/product_images/<?php echo $featured_product_image1?>" alt="" />
</a>
<span class="product-label new-label"></span>
</div>
<div class="product-info">
<h3 class="product-title">
<a href="<?php echo $config['SITE_URL']?>/product/<?php echo $featured_product_slug?>"><?php echo $featured_product_name?></a>
</h3>
<?php /*?><div class="product-price"> <ins><span>$32.00</span></ins> </div>
<div class="product-rate">
<div class="product-rating" style="width:100%"></div>
</div>
<a href="product-grid.html" class="product-incat">Coockies <span>(13)</span></a>
<div class="product-extra-link"> <a href="#" class="wishlist-link"><i class="fa fa-heart-o" aria-hidden="true"></i><span>Wishlist</span></a> <a href="#" class="addcart-link"><i class="fa fa-shopping-basket" aria-hidden="true"></i><span>Add to cart</span></a> <a href="#" class="compare-link"><i class="fa fa-stumbleupon" aria-hidden="true"></i><span>Compare</span></a> </div><?php */?>
</div>
</div>
<!-- End Item -->
<?php
}
?>
</div>
</div>
</div>
<?php
}
?>
<!-- End Product Box -->
<?php /*?><div class="brand-slider">
<div class="wrap-item show-navi" data-pagination="false" data-navigation="true" data-itemscustom="[[0,1],[480,2],[7683],[980,4]]">
<div class="item-brand"> <a href="#" class="radius6 bg-white drop-shadow"><img class="grow-rotate" src="images/home/home1/brands/goodshop_bakery_01.jpg" alt="" /></a> </div>
<div class="item-brand"> <a href="#" class="radius6 bg-white drop-shadow"><img class="grow-rotate" src="images/home/home1/brands/goodshop_bakery_02.jpg" alt="" /></a> </div>
<div class="item-brand"> <a href="#" class="radius6 bg-white drop-shadow"><img class="grow-rotate" src="images/home/home1/brands/goodshop_bakery_03.jpg" alt="" /></a> </div>
<div class="item-brand"> <a href="#" class="radius6 bg-white drop-shadow"><img class="grow-rotate" src="images/home/home1/brands/goodshop_bakery_04.jpg" alt="" /></a> </div>
<div class="item-brand"> <a href="#" class="radius6 bg-white drop-shadow"><img class="grow-rotate" src="images/home/home1/brands/goodshop_bakery_05.jpg" alt="" /></a> </div>
<div class="item-brand"> <a href="#" class="radius6 bg-white drop-shadow"><img class="grow-rotate" src="images/home/home1/brands/goodshop_bakery_06.jpg" alt="" /></a> </div>
</div>
</div><?php */?>
<!-- End Brand Slider -->
<!-- End Product Type -->
</div>
<div class="banner-background banner-parallax"> <img src="images/home/home1/bg-prl.jpg" alt="" class="image-background hidden" />
<div class="banner-info">
<div class="container">
<div class="text-parallax text-center text-uppercase white">
<h2 class="title30">A delectable range of aromatic long</h2>
<h3 class="title18"> grain Basmati Rice in the world</h3>
<a href="<?php echo $config['SITE_URL']?>/page/about-us" class="title18 shop-button">more detail</a> </div>
</div>
</div>
</div>
<!-- End Banner -->
<?php
$products_qry = "SELECT * FROM recipe
WHERE 1
AND status = 'active'
ORDER BY add_date DESC
LIMIT 6
";
$products_res = mysqli_query($conn, $products_qry);
if(mysqli_num_rows($products_res) > 0) {
?>
<div class="container">
<div class="latest-news">
<h2 class="title30 title-underline"><span>LATEST Recipes</span></h2>
<div class="latest-news-slider">
<div class="wrap-item show-navi" data-pagination="false" data-navigation="true" data-itemscustom="[[0,1],[600,2],[980,3]]">
<?php
while($products_row = mysqli_fetch_array($products_res)) {
$product_name = $products_row['name'];
$product_slug = $products_row['slug'];
$product_long_desc = $products_row['long_desc'];
$product_add_date = $products_row['add_date'];
$product_image1 = $products_row['image1'];
?>
<div class="item-latest-news radius6 drop-shadow bg-white">
<div class="post-thumb">
<a href="<?php echo $config['SITE_URL']?>/recipe/<?php echo $product_slug?>" class="post-thumb-link">
<img src="<?php echo $config['SITE_URL']?>/uploads/recipe_images/<?php echo $product_image1?>" alt="" />
</a>
</div>
<div class="post-info">
<h3 class="title18">
<a href="<?php echo $config['SITE_URL']?>/recipe/<?php echo $product_slug?>"><?php echo $product_name?></a>
</h3>
<p class="color post-date"><?php echo date("F j, Y",$product_add_date)?></p>
<p class="desc"><?php echo substr(strip_tags($product_long_desc), 0, 120)."..."?></p>
<a href="<?php echo $config['SITE_URL']?>/recipe/<?php echo $product_slug?>" class="readmore shop-button">read more</a>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
<!-- End Latest News -->
</div>
<?php
}
?>
</div>
<!-- End Content -->
<?php include("footer.php")?>
</div>
<?php include("bottom.php")?>
</body>
</html>
-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ