System: Windows NT WINDOWS18 10.0 build 17763 (Windows Server 2016) AMD64 | User: IWPD_3544(appclien)
Path: D:\Inetpub\vhosts\appclients.in\fruits-vegitables.nmvm.org
[Back to List]
<script>
if(screen.width>769)window.location='https://rkoyal.com/home.php';
</script>
<?php
include "includes/main-action.php";
$obj=new admin_main();
$sel_cs=$obj->select_all("menu","order by menu_id limit 8");
//for mobile category
$sel_cs_mobile=$obj->select_all("menu","order by menu_id limit 8");
//for categorywise products
$sel_catwise_product=$obj->select_all("menu","order by menu_id limit 7");
$sel_banner_top=$obj->select_all("adv_tbl1","where status='Active' order by adv_id desc limit 2");
$sel_banner_right=$obj->select_all("adv_tbl3","where status='Active' order by adv_id desc limit 3");
$sel_slider=$obj->select_all("adv_tbl2","where status='Active' order by adv_id");
$sel_subcat=$obj->select_all("subcategory","where home_view='yes' order by subcat_id");
//home txt
$homeTxt=$obj->select_all("movingtxt","");
$marData = mysqli_fetch_array($homeTxt);
//bottom banner
$bottombanner=$obj->select_all("adv_tbl0","where status='Active'");
$bbannerData = mysqli_fetch_array($bottombanner);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php include('title.php')?> Home</title>
<meta charset="utf-8">
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="">
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" type="image/png" href="<?php echo $url?>image/icon/favicon.png"/>
<link href="<?php echo $url?>css/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="<?php echo $url?>css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="<?php echo $url?>css/themecss/so_megamenu.css" rel="stylesheet">
<link href="<?php echo $url?>css/header/header2.css" rel="stylesheet">
<link id="color_scheme" href="<?php echo $url?>css/home2.css" rel="stylesheet">
<link href="<?php echo $url?>css/responsive.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700' rel='stylesheet' type='text/css'>
<style type="text/css">
body{font-family:'Poppins', sans-serif}
.left-content-product .content-product-right .box-info-product .quantity .quantity-control {
float:none; margin-top:20px;
}
.products-list.grid .product-layout .product-item-container:hover .right-block .hide-cont, .products-list .product-grid .product-item-container:hover .right-block .hide-cont{
visibility: visible;
}
.price {
line-height: 0px;
}
</style>
<style>
#overlay{
position:fixed;
z-index:99999;
top:0;
left:0;
bottom:0;
right:0;
background:rgba(0,0,0,0.9);
transition: 1s 0.4s;
}
#progress{
height:1px;
background:#fff;
position:absolute;
width:0;
top:50%;
}
#progstat{
font-size:0.7em;
letter-spacing: 3px;
position:absolute;
top:50%;
margin-top:-40px;
width:100%;
text-align:center;
color:#fff;
}
</style>
<script>
;(function(){
function id(v){return document.getElementById(v); }
function loadbar() {
var ovrl = id("overlay"),
prog = id("progress"),
stat = id("progstat"),
img = document.images,
c = 0;
tot = img.length;
function imgLoaded(){
c += 1;
var perc = ((100/tot*c) << 0) +"%";
prog.style.width = perc;
stat.innerHTML = "Loading "+ perc;
if(c===tot) return doneLoading();
}
function doneLoading(){
ovrl.style.opacity = 0;
setTimeout(function(){
ovrl.style.display = "none";
}, 1200);
}
for(var i=0; i<tot; i++) {
var tImg = new Image();
tImg.onload = imgLoaded;
tImg.onerror = imgLoaded;
tImg.src = img[i].src;
}
}
document.addEventListener('DOMContentLoaded', loadbar, false);
}());
</script>
</head>
<body class="common-home res layout-2">
<div id="overlay">
<div id="progstat"></div>
<div id="progress"></div>
</div>
<div id="wrapper" class="wrapper-fluid banners-effect-7">
<!-- Header Container -->
<?php include "includes/topbar.php";?>
<!-- //Header Top -->
<!-- Header center -->
<?php include "includes/searchbar.php";?>
<!-- //Header center -->
<!-- Header Bottom -->
<?php include "includes/navbar.php";?>
</header>
<!-- //Header Container -->
<!-- //Main Container -->
<!-- Main Container -->
<div class="main-container">
<div id="content">
<div class="container">
<div class="row box-content1">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<!-- Start HEAD section -->
<link rel="stylesheet" type="text/css" href="engine1/style.css" />
<script type="text/javascript" src="engine1/jquery.js"></script>
<!-- End HEAD section -->
<!-- Start BODY section -->
<div id="wowslider-container1">
<div class="ws_images">
<ul>
<?php $b=1;
while($result4=mysqli_fetch_array($sel_slider)){?>
<li><a href="<?php echo $url?>"><img src="<?php echo $url?>image/banner_top/<?php echo $result4['img']?>" alt="18" title="" id="wows1_<?php echo $b?>"/></a></li>
<?php $b++;
} ?>
</ul>
</div>
<div class="ws_shadow"></div>
</div>
<script type="text/javascript" src="engine1/wowslider.js"></script>
<script type="text/javascript" src="engine1/script.js"></script>
<!-- End BODY section -->
</div>
</div>
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="row">
<table style="background-color:#1994c3;color: #fff;font-weight: bold;">
<tbody>
<tr>
<td style="padding-left: 8px;font-size: 14px;background: #ff5c01;padding-right: 8px;">Announcement:</td>
<td style="width: 89.2%;">
<marquee direction="left" loop="infinite" scrollamount="5" onMouseOver="this.stop()" onMouseOut="this.start()">
<p style="margin: 0;padding-top: 7px;"><?php echo $marData['mtxt']?></p>
</marquee></td>
</tr>
</tbody>
</table>
</div>
<?php
if(file_exists("image/banner_top/".$bbannerData['img']) && !empty($bbannerData['img'])){
?>
<div class="row">
<div class="">
<div class="banner"> <a href="<?php echo $url?>"><img src="<?php echo "image/banner_top/".$bbannerData['img']?>" alt="image"></a> </div>
</div>
</div>
<?php }?>
</div>
</div>
<div class="container">
<div class="row" style="background: #c5ec95;">
<div class="block-policy1" id="mobileCategory" style="border: 0px">
<div id="product">
<div class="related titleLine products-list grid module ">
<h3 class="modtitle" align="center" style="border-bottom:0px">Shop by Categories</h3>
<?php while($mobile_cat=mysqli_fetch_array($sel_cs_mobile)){ ?>
<div class="item col-md-4 col-xs-6">
<div>
<div class="item-inner product-layout transition product-grid" style="-webkit-box-shadow: 0px 0px 5px 6px #4f4c4c3d;-moz-box-shadow: 0px 0px 5px 6px #4f4c4c3d; box-shadow: 0px 0px 5px 6px #4f4c4c3d; margin: 0 0 15px 0;">
<div class="product-item-container" style="margin:0px;">
<div class="left-block left-b">
<div class=""> <a href="<?php echo $url?>customresult.php?catid=<?php echo $mobile_cat['menu_id']?>">
<center>
<img src="<?php echo $url?>image/product/<?php echo $mobile_cat['menu_image'] ?>" class="img-1 img-responsive" alt="image1" style="padding: 4px;height: 90px;">
</center>
</a> </div>
</div>
<div class="right-block">
<h4><a href="<?php echo $url?>customresult.php?catid=<?php echo $mobile_cat['menu_id']?>" style="font-size: 15px;font-weight: 600;">
<?php echo $mobile_cat['menu']?>
</a></h4>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<!--begining of the product slider -->
<?php if(mysqli_num_rows($sel_banner_right)>0){
@extract($reso=mysqli_fetch_array($sel_banner_right));
echo '<div class="banners bannersb">';
if(file_exists("image/banner_top/".$img) && !empty($img)){ ?>
<div class="banner" style="margin-top: -20px;"> <a href="<?php echo $url?>">
<img src="<?php echo $url?>image/banner_top/<?php echo $img ?>" height="" width="100%" alt="image"></a> </div>
<?php }
echo "</div>";
}?>
<div style="margin-bottom:55px"></div>
</div>
</div>
</div>
<!-- //Main Container -->
<!-- Footer Container -->
<script>
function showBar(){
$('.megamenu-wrapper').addClass('so-megamenu-active');
}
</script>
<style>
.footer-mob {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #619b19;
color: white;
text-align: center;
padding:5px;
z-index: 999;
}
</style>
<footer class="footer-container footer-mob hidden-lg hidden-md" style="margin-top:20px">
<div class="footer-middle">
<div class="container">
<div class="row">
<div class="col-xs-3"><a href="<?php echo $url?>home.php"><font color="#fff"><i class="fa fa-home fa-2x"></i></font></a></div>
<div class="col-xs-3"><a href="<?php echo $url?>offer-products.php"><font color="#fff"><i class="fa fa-gift fa-2x"></i></font></a></div>
<div class="col-xs-3"><a href="<?php if(!empty($_SESSION['cart']))echo "shoppingcart.php";else echo "javascript:alert('Your cart is empty!')";?>"><font color="#fff"><i class="fa fa-cart-plus fa-2x"></i>
<span style="padding-left: 1px;"><?php echo sizeof($_SESSION['cart'])?></span></font></a></div>
<div class="col-xs-3"><a href="https://api.whatsapp.com/send?phone=+91-6351538984"><font color="#fff"><i class="fa fa-whatsapp fa-2x"></i></font></a></div>
</div>
</div>
</div>
</footer>
<!-- END Footer Container -->
<script type="text/javascript" src="<?php echo $url?>js/themejs/so_megamenu.js"></script>
<script type="text/javascript" src="<?php echo $url?>js/bootstrap.min.js"></script>
</body>
</html>