📁 File Manager
Editing:
/home/wedigitalindia/public_html/kirmson.com/index.php
<?php include('include/head.php'); ?> <body> <?php include('include/header.php'); ?> <!-- ==== slider start ==== --> <div id="carouselExampleInterval" class="carousel slide" data-bs-ride="carousel"> <div class="carousel-inner"> <?php $bann = mysqli_query($conn, "SELECT * FROM banners where page_name='Home' order by id ASC"); $count = 1; while($ba = mysqli_fetch_array($bann)) { $slid = $ba['banners']; ?> <div class="carousel-item <?php if($count==1) { echo "active"; } ?>" data-bs-interval="4000"> <img src="<?php path(); ?>/admin/assets/images/banner-image/<?php echo $slid; ?>" class="d-block w-100 car" alt="..."> </div> <?php $count++; } ?> </div> <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleInterval" data-bs-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="visually-hidden">Previous</span> </button> <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleInterval" data-bs-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="visually-hidden">Next</span> </button> </div> <!-- ==== slider end ==== --> <!-- ==== new section start ===== --> <section class="Trust"> <div class="container"> <div class="row"> <div class="col-md-4 mt-3"> <div class="Trust-box"> <div class="box"> <div class="icon text-center"> <svg aria-hidden="true" class="e-font-icon-svg e-fas-cogs" viewBox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"> <path d="M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"> </path> </svg> </div> <h3>Innovation</h3> <p>We embrace new technologies and creative business solutions to shape a better future</p> </div> </div> </div> <div class="col-md-4 mt-3"> <div class="Trust-box"> <div class="box"> <div class="icon text-center"> <svg aria-hidden="true" class="e-font-icon-svg e-fas-chart-line" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"> </path> </svg> </div> <h3>Trust</h3> <p>We cultivate transparent and rewarding partnerships with our customers.</p> </div> </div> </div> <div class="col-md-4 mt-3"> <div class="Trust-box"> <div class="box"> <div class="icon text-center"> <svg aria-hidden="true" class="e-font-icon-svg e-fas-comments" viewBox="0 0 576 512" xmlns="http://www.w3.org/2000/svg"> <path d="M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"> </path> </svg> </div> <h3>Excellence</h3> <p>We take pride in what we do and strive for continuous improvement</p> </div> </div> </div> </div> </div> </section> <!-- ==== new section end ===== --> <!-- ==== about section start ==== --> <section class="about"> <div class="container"> <div class="row"> <div class="col-md-12"> <h2>About Us</h2> <h4>25+ YEARS EXPERIENCE IN POWER INDUSTRY</h4> </div> <div class="col-md-7"> <p class="mb-0">Welcome to Kirmson Electric, your trustworthy and sustainable energy solution provider. In today’s world, where clean and green energy is more important than ever, we serve as a light of innovation and excellence.</p> <p class="mb-0">Kirmson Electric, a pioneer in power systems with a focus on renewable energy, has a distinguished legacy and a steadfast dedication to quality. Our reputation as one of the industry’s leading names is built on experience and dedication.</p> <p class="mb-0">Our motto, “Powering the Future Today,” shows our steadfast commitment to bringing good change and shaping a better tomorrow. We recognize the critical need for sustainable energy solutions and are dedicated to providing the most dependable and efficient options.</p> <p class="mb-0">What sets us apart is our unwavering commitment to quality and innovation. By combining cutting-edge technologies with good engineering principles, we produce solutions that not only meet but surpass expectations, setting new industry standards.</p> <p class="mb-0">Whether it’s pioneering sophisticated power systems or realizing the tremendous potential of renewable energy sources, each project is addressed with passion, skill, and an unwavering commitment to excellence. Our ultimate goal is to not only meet today’s energy needs, but also leave a lasting legacy for future generations.</p> <p class="mb-0">Join us on a mission to transform the way we power the world. Let’s embrace the revolutionary power of clean and green energy with Kirmson Electric, where the future is bright and the possibilities are limitless.</p> </div> <div class="col-md-5"> <div> <img src="assets/about-img.webp" alt="" style="width: 100%; height: 100%;"> </div> </div> </div> </div> </section> <!-- === about section end ===== --> <!-- === service section start ==== --> <section class="service"> <div class="container"> <div class="row"> <div class="col-md-6"> <div class="row"> <div class="col-md-12 mt-3" data-aos="zoom-in-down"> <div class="servive-img"> <div class="serv"> <h1>Transformers</h1> <img src="assets/tranform.webp" alt="" width="100%"> </div> </div> </div> <div class="col-md-12 mt-4" data-aos="zoom-in-down"> <div class="servive-img"> <div class="serv"> <h1> Energy Conservation</h1> <img src="assets/energy-conversion.webp" alt="" width="100%"> </div> </div> </div> </div> </div> <div class="col-md-6 mt-3" data-aos="zoom-in-down"> <div class="servive-img"> <div class="serv"> <h1 class="final-text"> Installation & <br> Maintenance</h1> <img src="assets/inp.webp" alt="" width="100%"> </div> </div> </div> </div> </div> </section> <!-- === service section end ==== --> <!-- ==== WHY KIRMSON start ==== --> <section class="why-krimson"> <div class="container"> <div class="row"> <div class="col-md-6 mt-5"> <div class="mt-5"> <h2>WHY KIRMSON</h2> <p>When you choose Kirmson, you are choosing more than just a business; you are choosing a beacon of excellence, comprehension, and unshakable dedication to your happiness. At Kirmson, we take great satisfaction in our ability to delve deeply into our clients’ problems and deliver nothing less than the best solutions available. With a team of highly skilled individuals dedicated to mastering engineering for long-lasting, bespoke products, we ensure tailor-made solutions that properly meet your energy needs.</p> </div> </div> <div class="col-md-6"> <img src="assets/why-img.webp" alt=""> </div> </div> </div> </section> <!-- ==== WHY KIRMSON end ==== --> <!-- ===== media section start ==== --> <section class="media"> <div class="container"> <h4 class="text-center text-white">OUR WORK</h4> <h2 class="text-center text-white">Media Gallery</h2> <div class="row"> <div class="col-md-6 mt-3 "> <video class="elementor-video" src="assets/VID-20240530-WA0003.mp4" controls="" preload="metadata" controlslist="nodownload"></video> </div> <!--<div class="col-md-6 mt-3">--> <!-- <video class="elementor-video"--> <!-- src="https://kirmson.com/wp-content/uploads/2024/05/VID-20240530-WA0005.mp4" controls=""--> <!-- preload="metadata" controlslist="nodownload"></video>--> <!--</div>--> <!--<div class="col-md-6 mt-3">--> <!-- <video class="elementor-video"--> <!-- src="https://kirmson.com/wp-content/uploads/2024/05/VID-20240530-WA0002.mp4" controls=""--> <!-- preload="metadata" controlslist="nodownload"></video>--> <!--</div>--> <div class="col-md-6 mt-3"> <video class="elementor-video" src="assets/VID-20240530-WA0004.mp4" controls="" preload="metadata" controlslist="nodownload"></video> </div> </div> </div> </section> <!-- ===== media section end ==== --> <!-- ===== mission section start ==== --> <section class="mission mb-5" style="margin-bottom: 50px;"> <div class="container"> <div class="row"> <div class="col-md-6"> <img src="assets/back-img.webp" alt=""> </div> <div class="col-md-6 mt-5"> <h2>Mission</h2> <p> At Kirmson Electric, our mission is clear: to establish a consistent identity as providers of highly qualified services on a global scale while adding significant value to our clients. We achieve this by prioritizing proactive communication, transparency, and timely project delivery, all backed by excellent performance. Furthermore, we are committed to practicing sustainability to preserve our environment for future generations. This commitment drives us to maintain the highest standards of professionalism, honesty, and trust in all our relationships with clients and affiliates. By adhering to these principles, we not only aim to meet but exceed the expectations of our clients, while also contributing positively to our planet and upholding the values that define us as a company. </p> </div> </div> </div> </section> <!-- ===== mission section end ==== --> <!-- ==== gallery section start ==== --> <section class="final-gallery"> <h2 class="text-center">Picture Gallery</h2> <div class="container gallery mt-5" id="infiniteScroll--left"> <?php $gall = mysqli_query($conn, "SELECT * FROM `gallery`"); while($rok = mysqli_fetch_array($gall)) { $gallery = $rok['banners']; ?> <article> <div class="wrapper"> <div class="img"> <img src="<?php path(); ?>/admin/assets/images/gallery/<?php echo $gallery; ?>" alt="" style="width:100%; height: 100%;"> </div> </div> </article> <?php } ?> </div> </section> <script> const scrollContainers = document.querySelectorAll("#infiniteScroll--left"); scrollContainers.forEach((container) => { const scrollWidth = container.scrollWidth; let isScrollingPaused = false; window.addEventListener("load", () => { self.setInterval(() => { if (isScrollingPaused) { return; } const first = container.querySelector("article"); if (!isElementInViewport(first)) { container.appendChild(first); container.scrollTo(container.scrollLeft - first.offsetWidth, 0); } if (container.scrollLeft !== scrollWidth) { container.scrollTo(container.scrollLeft + 1, 0); } }, 15); }); function isElementInViewport(el) { var rect = el.getBoundingClientRect(); return rect.right > 0; } function pauseScrolling() { isScrollingPaused = true; } function resumeScrolling() { isScrollingPaused = false; } const allArticles = container.querySelectorAll("article"); for (let article of allArticles) { article.addEventListener("mouseenter", pauseScrolling); article.addEventListener("mouseleave", resumeScrolling); } }); </script> <!-- ==== gallery section end === --> <!-- ==== form section start ==== --> <section class="form-text"> <div class="container"> <div class="row"> <div class="col-md-6 "> <div class="form-box"> <h4>GET IN TOUCH</h4> <h2>Contact Us</h2> <div style="padding-left: 40px;"> <h4 class="mt-3">Office Mail</h4> <p style="margin-top: 15px; font-size: 14px; margin-bottom: 15px;"> <svg aria-hidden="true" class="e-font-icon-svg e-fas-envelope" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path fill="#db6815" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"> </path> </svg> info@kirmson.com </p> <h4 class="mt-3">Office Number</h4> <p style="margin-top: 15px; font-size: 14px; margin-bottom: 15px;"> <svg aria-hidden="true" class="e-font-icon-svg e-fas-mobile-alt" viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"> <path fill="#db6815" d="M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm112-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v312z"> </path> </svg> +91- 9810515537 </p> <h4 class="mt-3">Landline Number</h4> <p style="margin-top: 15px; font-size: 14px; margin-bottom: 15px;"> <svg aria-hidden="true" class="e-font-icon-svg e-fas-phone-alt" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path fill="#db6815" d="M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z"> </path> </svg> +91120-4099600 </p> <h4 class="mt-3">Office Address</h4> <div class="row" style="margin-top: 15px; font-size: 14px; margin-bottom: 15px;"> <div class="col-md-1 col-2"><svg aria-hidden="true" class="e-font-icon-svg e-fas-map-marker-alt" viewBox="0 0 384 512" xmlns="http://www.w3.org/2000/svg"> <path fill="#db6815" d="M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"> </path> </svg></div> <div class="col-md-11 col-10"> <p style="font-size: 14px;"> 428 IVth Floor, Angel Corporate Plaza, Angel Mega Mall, Kaushambi, Ghaziabad-201010, Uttar Pradesh, India. </p> </div> </div> </div> </div> </div> <div class="col-md-6"> <div class="form-box"> <h4>APPOINTMENT</h4> <h2>Enquiry Now</h2> <div style="margin-top: 20px;"> <form method="POST"> <div class="form-group"> <label for="name" style="font-size: 14px; font-weight: 600;">Full Name </label> <input type="text" id="name" name="app-name" required> </div> <div class="form-group"> <label for="email" style="font-size: 14px; font-weight: 600;">Email Address</label> <input type="email" id="email" name="app-email" required> </div> <div class="form-group"> <label for="phone" style="font-size: 14px; font-weight: 600;">Phone Number</label> <input type="tel" id="phone" name="app-phone" required> </div> <div class="text-center"> <button type="submit" name="app-message" class="btn">Send Message</button> </div> </form> </div> </div> </div> </div> </div> </section> <!-- ==== form section end ==== --> <?php if(isset($_POST['app-message'])) { $name=$_POST['app-name']; $phone=$_POST['app-phone']; $email_id=$_POST['app-email']; // $subject=$_POST['service']; // $message=$_POST['message_quote']; $to = "kirmson.electric@gmail.com"; $subject = "Website Enquiry Data"; $output =" <html> <head> <title>Send Messages</title> </head> <body> <p>Send Messages!</p> <table border='1'> <tr> <th>Name</th> <th>Phone</th> <th>Email</th> </tr> <tr> <td>$name</td> <td>$phone</td> <td>$email_id</td> </tr> </table> </body> </html> "; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From: <kirmson.electric@gmail.com>' . "\r\n"; $headers .= 'Cc: kirmson.electric@gmail.com' . "\r\n"; $mail_send = mail($to,$subject,$output,$headers); if($mail_send){ // echo "Email Sent GET Quates Successfully"; }else{ // echo "Something Went Wrongs"; } } ?> <!-- === counter section start ==== --> <section class="py-5 text-center final-counter"> <div class="container"> <div class="row"> <div class="col-md-4"> <div> <svg aria-hidden="true" class="e-font-icon-svg e-fas-user-friends" viewBox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"> <path d="M192 256c61.9 0 112-50.1 112-112S253.9 32 192 32 80 82.1 80 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C51.6 288 0 339.6 0 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zM480 256c53 0 96-43 96-96s-43-96-96-96-96 43-96 96 43 96 96 96zm48 32h-3.8c-13.9 4.8-28.6 8-44.2 8s-30.3-3.2-44.2-8H432c-20.4 0-39.2 5.9-55.7 15.4 24.4 26.3 39.7 61.2 39.7 99.8v38.4c0 2.2-.5 4.3-.6 6.4H592c26.5 0 48-21.5 48-48 0-61.9-50.1-112-112-112z" fill="#7ee6f7"> </path> </svg> </div> <div class="counter" data-target="50" data-plus="true">0</div> <p>Clients</p> </div> <div class="col-md-4"> <div> <svg aria-hidden="true" class="e-font-icon-svg e-fas-users" viewBox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"> <path d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z" fill="#7ee6f7"> </path> </svg> </div> <div class="counter" data-target="100" data-plus="true">0</div> <p>Happy Customers</p> </div> <div class="col-md-4"> <div> <svg aria-hidden="true" class="e-font-icon-svg e-fas-project-diagram" viewBox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"> <path d="M384 320H256c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h128c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32zM192 32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v128c0 17.67 14.33 32 32 32h95.72l73.16 128.04C211.98 300.98 232.4 288 256 288h.28L192 175.51V128h224V64H192V32zM608 0H480c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h128c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32z" fill="#7ee6f7"> </path> </svg> </div> <div class="counter" data-target="150" data-plus="true">0</div> <p>Projects</p> </div> </div> </div> </section> <script> document.addEventListener("DOMContentLoaded", function () { const counters = document.querySelectorAll('.counter'); counters.forEach(counter => { const updateCounter = () => { const target = +counter.getAttribute('data-target'); const count = +counter.innerText; const increment = target / 200; // Adjust this value to control speed if (count < target) { counter.innerText = Math.ceil(count + increment); setTimeout(updateCounter, 20); } else { counter.innerText = target; if (counter.getAttribute('data-plus') === 'true') { counter.innerText += '+'; } } }; const observer = new IntersectionObserver(entries => { entries.forEach(entry => { if (entry.isIntersecting) { updateCounter(); observer.unobserve(entry.target); } }); }, { threshold: 0.5 }); observer.observe(counter); }); }); </script> <!-- === counter section end ==== --> <!-- ===== blog section start ==== --> <section class="user-blog"> <div class="container"> <div class="text-center"> <h2 class="mb-5">Our Blog</h2> </div> <div class="row"> <?php $blog = mysqli_query($conn, "SELECT * FROM `blogs` order by id DESC limit 3"); while($rol = mysqli_fetch_array($blog)) { $title = $rol['name']; $banner = $rol['banner']; $short_description = $rol['short_description']; $slug = $rol['slug']; ?> <div class="col-md-4"> <div class="item2"> <div class="blog-grid"> <div class="img-date"> <img src="<?php path(); ?>/admin/assets/images/blog-image/<?php echo $banner; ?>" width="100%" style="height: 250px;"> <!--<div class="date-blog">May--> <!-- <br /> 20,--> <!--</div>--> </div> <div class="discretion-blog"> <a href="<?php path(); ?>/blogs/<?php echo $slug; ?>" style="text-decoration: none;"> <h4><?php echo $title; ?></h4> </a> <!-- <p class="para"><?php //echo $short_description; ?></p>--> <!--<a class="btn" href="blog-details.php">Read more</a>--> </div> </div> </div> </div> <?php } ?> </div> </div> </section> <style> </style> <!-- ==== blog section end ==== --> <?php include('include/footer.php'); ?> </body> </html>
Save
Cancel