D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
G:
/
PleskVhosts
/
jhalakdembla.com
/
akkonlineservices.com
/
Filename :
index.php
back
Copy
<?php $title="AKK Online Services | Metcon | Online Shopping Services | Herbal Products | Ayurvedic Products"; include('layout/header.php'); require('Admin/Coding/db.php'); $query = "SELECT * FROM `productcategory` order by Title"; $categoryresult = mysqli_query($conn,$query); ?> <section class="hero"> <div class="container"> <div class="row"> <div class="col-lg-3"> <div class="hero__categories"> <div class="hero__categories__all"> <i class="fa fa-bars"></i> <span>All departments</span> </div> <ul> <?php while($row = mysqli_fetch_assoc($categoryresult)){ ?> <li><a href="Category.php?name=<?php echo $row['Title'];?>&id=<?php echo $row['id']; ?>"><?php echo $row['Title']; ?></a></li> <?php } ?> </ul> </div> </div> <div class="col-lg-9"> <div class="hero__search"> <div class="hero__search__form"> <form action="Admin/Coding/Search.php" method="post"> <input type="text" name="str" placeholder="Search Store......"> <button name="submit" class="site-btn">SEARCH</button> </form> </div> <div class="hero__search__phone"> <div class="hero__search__phone__icon"> <i class="fa fa-phone"></i> </div> <div class="hero__search__phone__text"> <a href="tel:+916266873612"><h5>+91 62668 73612</h5></a> <span>support 24/7 time</span> </div> </div> </div> <div class="hero__item set-bg" data-setbg="img/banner/4.png"> <div class="hero__text"> <!-- <span>FRUIT FRESH</span> <h2>Vegetable <br />100% Organic</h2> <p>Free Pickup and Delivery Available</p> --> <!-- <a href="#Allproducts" class="primary-btn " style="margin-top: ;">SHOP NOW</a> --> </div> </div> </div> </div> </div> </section> <div class="banner"> <div class="container"> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6"> <div class="banner__pic"> <img src="img/banner/banner-1.png" alt=""> </div> </div> <div class="col-lg-6 col-md-6 col-sm-6"> <div class="banner__pic"> <img src="img/banner/banner-2.png" alt=""> </div> </div> </div> </div> </div> <br/> <br/> <!-- <section class="categories"> <div class="container"> <div class="row"> <div class="categories__slider owl-carousel"> <div class="col-lg-3"> <div class="categories__item set-bg" data-setbg="img/categories/cat-1.jpg"> <h5><a href="#">Fresh Fruit</a></h5> </div> </div> </div> </div> </div> </section> --> <?php $procatquery = "SELECT * FROM `productcategory` order by Title"; $getcategoryresult = mysqli_query($conn,$procatquery); while($cate_row = mysqli_fetch_assoc($getcategoryresult)){ $catId=$cate_row['id']; $queryy = "SELECT * FROM `product` where ProductCtgId = $catId limit 4 "; $resultt = mysqli_query($conn,$queryy); // $rows = mysqli_fetch_assoc($resultt); $rowcount= mysqli_num_rows($resultt); if ($rowcount > 0) { ?> <section class="featured spad"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="section-title"> <h2><?php echo $cate_row['Title'];?></h2> </div> </div> </div> <div class="row featured__filter"> <?php while($rows = mysqli_fetch_assoc($resultt)){ ?> <div class="col-lg-3 col-md-4 col-sm-6 mix oranges fresh-meat"> <div class="featured__item"> <a href="shop-details.php?id=<?php echo $rows['id'];?>"> <div class="featured__item__pic set-bg" data-setbg="Admin/img/Productimg/<?php echo $rows['Image1'];?>"> <!-- <ul class="featured__item__pic__hover"> <li><a href="#"><i class="fa fa-heart"></i></a></li> <li><a href="#"><i class="fa fa-retweet"></i></a></li> <li><a href="#"><i class="fa fa-shopping-cart"></i></a></li> </ul> --> </div> </a> <div class="featured__item__text"> <h6><a href="ViewFeatured.php?id=<?php echo $rows['id']; ?>"><?php echo $rows['Title'];?></a></h6> <span class="LineThrough">MRP-<?php echo $rows['Price'];?> </span><br/><h5>₹ <?php echo $rows['Price'];?></h5> </div> <div style=" text-align: center; margin-top: 10px;"> <a href="inquire.php?id=<?php echo $rows['id']; ?>" class="btn" style="background-color:yellowgreen; color:white;">Inquire</a> </div> </div> </div> <?php } ?> </div> <div style=" text-align: center; margin-top: 10px;"> <a href="Category.php?name=<?php echo $cate_row['Title']; ?>&id=<?php echo $cate_row['id']; ?>" class="btn" style="background-color:grey; color:white;">View More</a> </div> </div> </section> <?php } } ?> <!-- ==========show products by category end============= --> <?php $querye = "SELECT * FROM `store`"; $resulte = mysqli_query($conn,$querye); $rowcount_= mysqli_num_rows($resulte); ?> <section class="latest-product spad" id="Store"> <div class="container"> <div class="row"> <div class="col-lg-8" style="margin: 0px auto;"> <h4 style="margin-bottom: 10px ;">All Stores (<?php echo $rowcount_;?>)</h4> <?php while($res = mysqli_fetch_assoc($resulte)){ ?> <div class="col-lg-12 StoreItems "> <div class="latest-product__item__text"> <span><?php echo $res['Title'];?></span> <h6><?php echo $res['Description'];?></h6> </div> <a href="<?php echo $res['URL'];?>" target="_blank" style="">View Location</a> </div> <?php } ?> </div> </div> </div> </section> <?php include('layout/footer.php'); ?>