<?php $__env->startSection('middle'); ?>
<style>
@media (max-width: 991px){
.agileinfo-ads-display {
margin-top: 35px;
padding: 0px !important;
}
.responsive-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
/* Default character limit for mobile screens */
/* Character limit for tablet and laptop screens */
</style>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators-->
<?php $slidercount=0; ?>
<ol class="carousel-indicators">
<?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($slidercount==0): ?>
<li data-target="#myCarousel" data-slide-to="<?php echo e($slidercount); ?>" class="active"></li>
<?php else: ?>
<li data-target="#myCarousel" data-slide-to="<?php echo e($slidercount); ?>" class=""></li>
<?php endif; ?>
<?php $slidercount=$slidercount+1; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ol>
<div class="carousel-inner" role="listbox">
<?php $slidercount=0; ?>
<?php $__currentLoopData = $sliders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $slider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($slidercount==0): ?>
<div class="item active" style="background: linear-gradient(rgba(23, 22, 23, 0.2), rgba(23, 22, 23, 0.5)), url('public/uploads/sliders/<?php echo e($slider->image); ?>') no-repeat;background-size: cover;">
<div class="container">
<div class="carousel-caption">
<a style="margin-top: 30%;" class="button2" href="<?php echo e(url('shop')); ?>">Shop Now </a>
</div>
</div>
</div>
<?php else: ?>
<div class="item item2" style="background: linear-gradient(rgba(23, 22, 23, 0.2), rgba(23, 22, 23, 0.5)), url('public/uploads/sliders/<?php echo e($slider->image); ?>') no-repeat;background-size: cover;">
<div class="container">
<div class="carousel-caption">
<h3>Proudly
<span>African</span>
</h3>
<p>Best e-shop for groceries items
</p>
<a class="button2" href="<?php echo e(url('shop')); ?>">Shop Now </a>
</div>
</div>
</div>
<?php endif; ?>
<?php $slidercount=$slidercount+1; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="ads-grid">
<div class="container">
<!-- tittle heading -->
<h3 class="tittle-w3l">Categories
<span class="heading-style">
<i></i>
<i></i>
<i></i>
</span>
</h3>
<!-- //tittle heading -->
<!-- product left -->
<!-- //product left -->
<!-- product right -->
<div class="agileinfo-ads-display col-md-12">
<div class="wrapper">
<!-- first section (nuts) -->
<div class="product-sec1">
<?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-md-4 col-xs-6 col-sm-6" style="margin-top: 30px">
<div class="men-pro-item simpleCart_shelfItem" style="background: #ffffff">
<div class="men-thumb-item">
<img style="height: 180px" class="cat_image" src="<?php echo e(url('public/uploads/categories')); ?>/<?php echo e($category->image_name); ?>" alt="">
<div class="men-cart-pro">
<div class="inner-men-cart-pro">
<a href="<?php echo e(url('categorywise_products')); ?>/<?php echo e($category->id); ?>" class="link-product-add-cart">View Products</a>
</div>
</div>
</div>
<div class="item-info-product ">
<h4>
<a href="<?php echo e(url('categorywise_products')); ?>/<?php echo e($category->id); ?>" style="font-weight: bold"><?php echo e($category->name); ?></a>
</h4>
</div>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<div class="clearfix"></div>
</div>
<!-- //first section (nuts) -->
<!-- second section (nuts special) -->
<!-- //second section (nuts special) -->
<!-- third section (oils) -->
<!-- //third section (oils) -->
<!-- fourth section (noodles) -->
<!-- //fourth section (noodles) -->
</div>
</div>
<!-- //product right -->
</div>
</div>
<!-- //banner -->
<!-- top Products -->
<div class="ads-grid">
<div class="container">
<!-- tittle heading -->
<!-- //tittle heading -->
<!-- product left -->
<!-- //product left -->
<!-- product right -->
<div class="agileinfo-ads-display col-md-12">
<div class="wrapper">
<!-- first section (nuts) -->
<div>
<h3 class="heading-tittle">New Arrivals</h3>
<?php $__currentLoopData = $new_arrivals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $arrival): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-md-3 col-xs-6 col-sm-6 khan" style="margin-top: 30px">
<div class="men-pro-item simpleCart_shelfItem">
<div class="men-thumb-item">
<img class="cat_image" src="<?php echo e(url('public/uploads/products')); ?>/<?php echo e($arrival->image_name); ?>" alt="">
<div class="men-cart-pro">
<div class="inner-men-cart-pro">
<?php
$check = DB::table('product_rates')->where('product_id',$arrival->product_id)->get();
?>
<?php if(count($check)>0): ?>
<a href="<?php echo e(url('product_detail')); ?>/<?php echo e($arrival->product_id); ?>/<?php echo e($check[0]->rate_id); ?>" class="link-product-add-cart">Quick View</a>
<?php else: ?>
<?php endif; ?>
</div>
</div>
<span class="product-new-top">New</span>
</div>
<div class="item-info-product ">
<h4 class="responsive-text">
<a><span><?php echo e(str_limit($arrival->name, 15)); ?></span></a>
</h4>
<?php
$check = DB::table('product_rates')->where('product_id',$arrival->product_id)->get();
?>
<?php if(count($check)>0): ?>
<div class="product--size">
<?php $__currentLoopData = $check; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $size): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<span class="active"><a href="<?php echo e(url('product_detail')); ?>/<?php echo e($size->product_id); ?>/<?php echo e($size->rate_id); ?>" onMouseOver="this.style.color='black'"
onMouseOut="this.style.color='white'" style="color: white; "><?php echo e($size->quantity); ?><?php echo e($size->unit); ?></a></span>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php else: ?>
<?php endif; ?>
<div class="snipcart-details top_brand_home_details item_add single-item hvr-outline-out">
<br>
<?php
$check = DB::table('product_rates')->where('product_id',$arrival->product_id)->get();
?>
<?php if(count($check)>0): ?>
<a href="<?php echo e(url('product_detail')); ?>/<?php echo e($arrival->product_id); ?>/<?php echo e($check[0]->rate_id); ?>" style="color: #fff;background: #1accfd;text-decoration: none;position: relative;border: none;border-radius: 0; width: 100%;text-transform: uppercase;padding: 7px; outline: none;letter-spacing: 1px;font-weight: 600;" name="submit" value="View Detail" class="button mycolor"><i class="glyphicon glyphicon-eye-open"></i><span class="hidden-xs"></span></a>
<?php if(count($check)>1): ?>
<button style="" onclick="showoptions('<?php echo $arrival->product_id; ?>','<?php echo $check[0]->rate_id; ?>')" class="btn btn-primary mybtn">Choose Options</button>
<?php else: ?>
<a onclick="addtocart('<?php echo $check[0]->product_id; ?>', '<?php echo $check[0]->quantity; ?>', '<?php echo $check[0]->unit; ?>', '<?php echo $check[0]->amount; ?>')"
style="color: #fff; background: #1accfd; text-decoration: none; position: relative; border: none; border-radius: 0; width: 100%; text-transform: uppercase; padding: 7px; outline: none; letter-spacing: 1px; font-weight: 600;"
name="submit" value="Add to cart" class="button mycolor">
<i class="glyphicon glyphicon-shopping-cart"></i>
<span class="hidden-xs"></span>
</a>
<?php endif; ?>
<?php else: ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<div class="clearfix"></div>
</div>
<!-- //first section (nuts) -->
<!-- second section (nuts special) -->
<div class="product-sec1 product-sec2">
<div class="col-xs-7 effect-bg">
<h3 class="">Pure Energy</h3>
<h6>Enjoy our all healthy Products</h6>
</div>
<h3 class="w3l-nut-middle">Nuts & Dry Fruits</h3>
<div class="col-xs-5 bg-right-nut">
<img src="public/general/images/nut1.png" alt="">
</div>
<div class="clearfix"></div>
</div>
<!-- //second section (nuts special) -->
<!-- //third section (oils) -->
<!-- fourth section (noodles) -->
<!-- //fourth section (noodles) -->
</div>
</div>
<!-- //product right -->
</div>
</div>
<!-- //top products -->
<!-- special offers -->
<?php if(count($other_items)>0): ?>
<div class="featured-section" id="projects">
<div class="container">
<!-- tittle heading -->
<h3 class="tittle-w3l">Suggestions
<span class="heading-style">
<i></i>
<i></i>
<i></i>
</span>
</h3>
<!-- //tittle heading -->
<div class="content-bottom-in">
<ul id="flexiselDemo1">
<?php $__currentLoopData = $other_items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $other): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li>
<div class="w3l-specilamk">
<div class="speioffer-agile">
<a href="single.html">
<?php
$check = DB::table('product_images')->where('product_id',$other->product_id)->get();
?>
<?php if(count($check)>0): ?>
<img style="height: 180px" src="<?php echo e(url('public/uploads/products')); ?>/<?php echo e($check[0]->image_name); ?>" alt="">
<?php endif; ?>
</a>
</div>
<div class="product-name-w3l" align="center">
<h4>
<a><?php echo e($other->name); ?></a>
</h4>
<div a class="w3l-pricehkj">
<h6 style="font-size: 16px">
<?php
$check = DB::table('product_rates')->where('product_id',$other->product_id)->get();
?>
<?php if(count($check)>0): ?>
<div class="product--size">
<?php $__currentLoopData = $check; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $size): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<span class="active">
<a href="<?php echo e(url('product_detail')); ?>/<?php echo e($size->product_id); ?>/<?php echo e($size->rate_id); ?>" onMouseOver="this.style.color='black'"
onMouseOut="this.style.color='white'" style="color: white; ">
<?php echo e($size->quantity); ?><?php echo e($size->unit); ?>
</a>
</span>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php else: ?>
<?php endif; ?>
</h6>
</div>
</div>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</div>
</div>
<?php endif; ?>
<style>
.rating {
margin-top: 40px;
border: none;
float: left;
}
.rating > label {
color: #90A0A3;
float: right;
}
.rating > label:before {
margin: 5px;
font-size: 2em;
font-family: FontAwesome;
content: "\f005";
display: inline-block;
}
.rating > input {
display: none;
}
.rating > input:checked ~ label,
.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
color: #F79426;
}
.rating > input:checked + label:hover,
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label,
.rating > input:checked ~ label:hover ~ label {
color: #FECE31;
}
</style>
<style>
.collection-grid-item{
padding-bottom: 0%;;
}
</style>
<style>
.checked {
color: orange;
}
</style>
<?php if(count($feedbacks)>0): ?>
<div class="featured-section" id="projects">
<div class="container">
<!-- tittle heading -->
<h3 class="tittle-w3l">Feedbacks
<span class="heading-style">
<i></i>
<i></i>
<i></i>
</span>
</h3>
<!-- //tittle heading -->
<div class="content-bottom-in">
<ul id="flexiselDemo2">
<?php $__currentLoopData = $feedbacks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feedback): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li>
<div class="collection-grid-item">
<div style="background: white; color: #000000; min-height: 220px; margin: 9px; border-radius: 30px; padding: 40px;font-size:12.0pt">
<div align="center">
<a class="link-plain" target="_blank">
<p style="color: #000000;font-size:14.0pt; text-transform: uppercase;font-weight: bold"><?php echo e($feedback->name); ?></p>
<p style="color: #000000">"<?php echo e($feedback->feedback); ?>"</p>
<?php if($feedback->stars==1): ?>
<span class="fa fa-star checked"></span>
<span class="fa fa-star "></span>
<span class="fa fa-star "></span>
<span class="fa fa-star "></span>
<span class="fa fa-star"></span>
<?php endif; ?>
<?php if($feedback->stars==2): ?>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star "></span>
<span class="fa fa-star "></span>
<span class="fa fa-star"></span>
<?php endif; ?>
<?php if($feedback->stars==3): ?>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star "></span>
<span class="fa fa-star"></span>
<?php endif; ?>
<?php if($feedback->stars==4): ?>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star"></span>
<?php endif; ?>
<?php if($feedback->stars==5): ?>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<span class="fa fa-star checked"></span>
<?php endif; ?>
</a>
</div>
</div>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</div>
</div>
<script>
function showoptions(product_id,rate_id){
$('#modalmaindiv').html('');
$.get("<?php echo e(url('ajax_product_detail')); ?>"+"/"+product_id + "/" + rate_id, function (data, status) {
$('#loader').hide();
$('#exampleModal').modal('show');
$("#modalmaindiv").html(data.html);
});
}
</script>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('general.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]