Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/imyrqtmy/public_html/flauntingbird/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("admin/includes/config.php"); ?> <!DOCTYPE html> <html lang="zxx"> <?php require "inc/head.php" ?> <body> <div id="main-wrapper"> <!-- ============================================================== --> <!-- Top header --> <!-- ============================================================== --> <?php require "inc/header.php" ?> <!-- End Navigation --> <div class="clearfix"></div> <!-- ============================================================== --> <!-- Top header --> <!-- ============================================================== --> <!-- ======================= Shop Style 1 ======================== --> <section class="gray"> <div class="container"> <div class="row"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 mb-3 text-center"> <?php $category_id = $_GET['category_id']; $query = "SELECT * FROM categories WHERE id='$category_id'"; $query_run =mysqli_query($conn, $query); if(mysqli_num_rows($query_run) > 0){ foreach($query_run as $row){ ?> <h1 class="ft-medium mb-3"><?php echo $row['cat_name']; ?></h1> <?php }} ?> </div> </div> </div> </section> <!-- ======================= Shop Style 1 ======================== --> <!-- ======================= Filter Wrap Style 1 ======================== --> <section class="py-2 br-bottom br-top"> <div class="container"> <div class="row align-items-center justify-content-between"> <div class="col-xl-3 col-lg-4 col-md-5 col-sm-12"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="#">Home</a></li> <li class="breadcrumb-item"><a href="#">Shop</a></li> </ol> </nav> </div> </div> </div> </section> <!-- ============================= Filter Wrap ============================== --> <section class="middle"> <div class="container"> <div class="row justify-content-center"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12"> <div class="sec_title position-relative text-center"> <?php $category_id = $_GET['category_id']; $query = "SELECT * FROM categories WHERE id='$category_id'"; $query_run =mysqli_query($conn, $query); if(mysqli_num_rows($query_run) > 0){ foreach($query_run as $row){ ?> <h2 class="off_title"><?php echo $row['cat_name']; ?></h2> <h3 class="ft-bold pt-3"><?php echo $row['cat_name']; ?></h3> <?php }} ?> </div> </div> </div> <div class="row align-items-center rows-products"> <?php if (isset($_GET['category_id'])) { $category_id = $_GET['category_id']; $category_query = "SELECT cat_name FROM categories WHERE id = '$category_id'"; $category_result = mysqli_query($conn, $category_query); $category_name = mysqli_fetch_assoc($category_result)['cat_name']; $subcat_query = "SELECT * FROM scategories WHERE category_id = '$category_id'"; $subcat_query_run = mysqli_query($conn, $subcat_query); if (mysqli_num_rows($subcat_query_run) > 0) { foreach ($subcat_query_run as $subcategory) { ?> <div class="col-xl-3 col-lg-4 col-md-6 col-6"> <div class="product_grid card b-0"> <div class="card-body p-0"> <div class="shop_thumb position-relative"> <a class="card-img-top d-block overflow-hidden" href="productbycat.php?id=<?php echo $subcategory['id']; ?>"><img class="card-img-top cat-image" src="<?php echo "admin/scategory/" . $subcategory['photo']; ?>" alt="..."></a> </div> </div> <div class="card-footer b-0 p-3 pb-0 bg-white d-flex align-items-start justify-content-center"> <div class="text-left"> <div class="text-center"> <h5 class="fw-bolder fs-md mb-0 lh-1 mb-1"><a href="productbycat.php?id=<?php echo $subcategory['id']; ?>"><?php echo $subcategory['scat_name']; ?> </a></h5> </div> </div> </div> </div> </div> <?php } } else { echo '<p>No subcategories available for this category.</p>'; } } else { echo "No category selected."; } ?> </div> </div> </section> <!-- ============================ Footer Start ================================== --> <?php require "inc/footer.php" ?> <!-- ============================ Footer End ================================== --> <a id="back2Top" class="top-scroll" title="Back to top" href="#"><i class="ti-arrow-up"></i></a> </div> <!-- ============================================================== --> <!-- End Wrapper --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- All Jquery --> <!-- ============================================================== --> <script src="assets/js/jquery.min.js"></script> <script src="assets/js/popper.min.js"></script> <script src="assets/js/bootstrap.min.js"></script> <script src="assets/js/ion.rangeSlider.min.js"></script> <script src="assets/js/slick.js"></script> <script src="assets/js/slider-bg.js"></script> <script src="assets/js/lightbox.js"></script> <script src="assets/js/smoothproducts.js"></script> <script src="assets/js/snackbar.min.js"></script> <script src="assets/js/jQuery.style.switcher.js"></script> <script src="assets/js/custom.js"></script> <!-- ============================================================== --> <!-- This page plugins --> <!-- ============================================================== --> <script> function openWishlist() { document.getElementById("Wishlist").style.display = "block"; } function closeWishlist() { document.getElementById("Wishlist").style.display = "none"; } </script> <script> function openCart() { document.getElementById("Cart").style.display = "block"; } function closeCart() { document.getElementById("Cart").style.display = "none"; } </script> <script> function openSearch() { document.getElementById("Search").style.display = "block"; } function closeSearch() { document.getElementById("Search").style.display = "none"; } </script> </body> <!-- Mirrored from themezhub.net/kumo-demo-2/kumo/shop-style-4.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 25 Mar 2025 12:24:07 GMT --> </html>