ok
Direktori : /proc/self/root/proc/thread-self/root/proc/self/root/home2/selectio/www/ramali.in/ |
Current File : //proc/self/root/proc/thread-self/root/proc/self/root/home2/selectio/www/ramali.in/index3.php |
<?php include "header.php"?> <!-- Start of Main --> <div class="main"> <div class="container"> <div class="intro-wrapper mb-4"> <div class="swiper-container swiper-theme nav-inner swiper-nav-md animation-slider" data-swiper-options="{ 'autoplay': { 'delay': 8000, 'disableOnInteraction': false } }"> <div class="swiper-wrapper row cols-1 gutter-no"> <?php $statement = $pdo->prepare("SELECT * FROM slider"); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($result as $row) { ?> <div class="swiper-slide banner banner-fixed intro-slide intro-slide1 br-sm" style="background-image: url(dashboard/<?=$row['image'] ?>);background-color: #262729;"> </div> <?php } ?> </div> <button class="swiper-button-next"></button> <button class="swiper-button-prev"></button> </div> </div> <!-- End of Intro Wrapper --> <div class="swiper-container swiper-theme intro-banner appear-animate" data-swiper-options="{ 'spaceBetween': 20, 'slidesPerView': 1, 'breakpoints': { '576': { 'slidesPerView': 2, 'spaceBetween': 15 }, '992': { 'slidesPerView': 3 } } }"> <div class="swiper-wrapper row cols-lg-3 cols-sm-2 cols-1"> <?php $statement = $pdo->prepare("SELECT offers.*,category.name FROM offers LEFT JOIN category ON category.id=offers.position"); $statement->execute(); $offer = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($offer as $row_offer) { ?> <div class="swiper-slide"> <figure class="banner banner-fixed br-sm"> <img src="dashboard/<?=$row_offer['image'] ?>" alt="Category Banner" width="400" height="200" style="background-color: #3C3C3C;height: 198px;object-fit: fill;" /> <div class="banner-content y-50"> <h5 class="banner-subtitle text-primary text-uppercase font-weight-bold ls-25"> <?=$row_offer['main_title'] ?> </h5> <h3 class="banner-title text-white font-weight-bold"><?=$row_offer['second_title'] ?><br></h3> <a href="category.php?category=<?=$row_offer['position']?>" class="btn btn-white btn-link btn-underline btn-icon-right"> Shop Now<i class="w-icon-long-arrow-right"></i> </a> </div> </figure> </div> <?php } ?> </div> <div class="swiper-pagination"></div> </div> <div class="swiper-container swiper-theme icon-box-wrapper appear-animate br-sm mt-6 mb-10" data-swiper-options="{ 'slidesPerView': 1, 'breakpoints': { '576': { 'slidesPerView': 2 }, '768': { 'slidesPerView': 3 }, '992': { 'slidesPerView': 3 }, '1200': { 'slidesPerView': 4 } } }"> <div class="swiper-wrapper row cols-md-4 cols-sm-3 cols-1"> <div class="swiper-slide icon-box icon-box-side text-dark"> <span class="icon-box-icon icon-shipping"> <i class="w-icon-truck"></i> </span> <div class="icon-box-content"> <h4 class="icon-box-title mb-1 ls-normal">Fastest Shipping & Returns</h4> <p class="text-default">For all orders</p> </div> </div> <div class="swiper-slide icon-box icon-box-side text-dark"> <span class="icon-box-icon icon-payment"> <i class="w-icon-bag"></i> </span> <div class="icon-box-content"> <h4 class="icon-box-title mb-1 ls-normal">Secure Payment</h4> <p class="text-default">We ensure secure payment</p> </div> </div> <div class="swiper-slide icon-box icon-box-side text-dark icon-box-money"> <span class="icon-box-icon icon-money"> <i class="w-icon-money"></i> </span> <div class="icon-box-content"> <h4 class="icon-box-title mb-1 ls-normal">Money Back Guarantee</h4> <p class="text-default">Any back within 30 days</p> </div> </div> <div class="swiper-slide icon-box icon-box-side text-dark icon-box-chat"> <span class="icon-box-icon icon-chat"> <i class="w-icon-chat"></i> </span> <div class="icon-box-content"> <h4 class="icon-box-title mb-1 ls-normal">Customer Support</h4> <p class="text-default">Call or email us 24/7</p> </div> </div> </div> </div> <!-- End of Iocn Box Wrapper --> <h2 class="title text-left pt-1 mb-5 appear-animate">Most Popular Products</h2> <div class="swiper"> <div class="swiper-container category-wrapper swiper-theme appear-animate" data-swiper-options="{ 'spaceBetween': 20, 'slidesPerView': 2, 'breakpoints': { '576': { 'slidesPerView': 3 }, '768': { 'slidesPerView': 4 }, '992': { 'slidesPerView': 5 }, '1200': { 'slidesPerView': 6 } } }"> <div class="swiper-wrapper row cols-xl-6 cols-lg-5 cols-md-4 cols-sm-3 cols-2"> <?php $statement = $pdo->prepare("SELECT * FROM category"); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($result as $row) { ?> <div class="swiper-slide category category-ellipse"> <figure class="category-media"> <a href="category.php?category=<?=$row['id']?>"> <img src="dashboard/<?=$row['image'] ?>" alt="Categroy" style="background-color: #5C92C0;height: 190px;width: 190px;" /> </a> </figure> <div class="category-content"> <h4 class="category-name"> <a href="#"><?=$row['name']?></a> </h4> </div> </div> <?php } ?> </div> <div class="swiper-pagination"></div> </div> </div> <!-- Banner Product Wrapper --> <?php $statement = $pdo->prepare("SELECT * FROM product_type"); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($result as $row) { ?> <h2 class="title text-left appear-animate mb-5"><?=$row['title']?></h2> <div class="row banner-product-wrapper appear-animate mb-10"> <div class="col-lg-12 mb-4 mb-lg-0"> <div class="swiper-container swiper-theme mt-4" data-swiper-options="{ 'spaceBetween': 20, 'slidesPerView': 2, 'breakpoints': { '576': { 'slidesPerView': 3 }, '768': { 'slidesPerView': 4 } } }"> <div class="swiper-wrapper row cols-md-4 cols-sm-3 cols-2"> <?php $statement = $pdo->prepare("SELECT products.*,product_variant.price FROM products LEFT JOIN product_variant ON product_variant.product_id=products.id where indicator=".$row['id'].""); $statement->execute(); $product_detail = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($product_detail as $row) { ?> <div class="swiper-slide product-wrap"> <div class="product product-simple text-center"> <figure class="product-media"> <a href="product-details.php?products=<?=$row['id']?>"> <img src="dashboard/<?=$row['image'] ?>" alt="Product" width="330" height="338" style="height: 378px;"> <img src="dashboard/<?=$row['image'] ?>" alt="Product" width="330" height="338" style="height: 378px;"> </a> <div class="product-action-vertical"> <a href="#" class="btn-product-icon btn-wishlist w-icon-heart" title="Add to wishlist"></a> <!--<a href="#" class="btn-product-icon btn-cart w-icon-cart" title="Add to Compare"></a>--> </div> <div class="product-action"> <a href="product-details.php?products=<?=$row['id']?>" class="btn-product btn-quickview" title="Quick View">Quick View</a> </div> </figure> <div class="product-details"> <h4 class="product-name"><a href="#"><?=$row['name']?></a> </h4> <div class="ratings-container"> <div class="ratings-full"> <span class="ratings" style="width: 100%;"></span> <span class="tooltiptext tooltip-top"></span> </div> <a href="#" class="rating-reviews">(4.5 reviews)</a> </div> <div class="product-pa-wrapper"> <div class="product-price"> <ins class="new-price"><i class="bi bi-currency-rupee"></i><?=number_format($row['price'],2)?></ins> </div> <div class="product-action"> <span id="items_<?=$product_detail['id']?>" onclick="Quick_AddToCart('<?=$product_detail['id']?>')" class="btn-cart btn-product btn btn-icon-right btn-link btn-underline"> Add To Cart </span> </div> </div> </div> </div> </div> <?php } ?> </div> </div> </div> </div> <?php } ?> </div> <!-- End of Container --> </div> <!-- End of Main --> <?php include "footer.php"?>