📁 File Manager
Editing:
/home/wedigitalindia/public_html/jaybalajiassociates.com/include/footer.php
<!-- Footer Start --> <footer class="main-footer"> <!-- Footer Contact Start --> <div class="footer-contact"> <div class="container"> <div class="row"> <div class="col-lg-4"> <!-- Footer Contact Box Start --> <div class="footer-contact-box wow fadeInUp" data-wow-delay="0.25s"> <div class="contact-icon-box"> <img src="<?php path() ?>images/icon-email.svg" alt=""> </div> <div class="footer-contact-info"> <h3>Support & Email</h3> <p><?php echo INFO_EMAIL; ?></p> </div> </div> <!-- Footer Contact Box End --> </div> <div class="col-lg-4"> <!-- Footer Contact Box Start --> <div class="footer-contact-box wow fadeInUp" data-wow-delay="0.5s"> <div class="contact-icon-box"> <img src="<?php path() ?>images/icon-phone.svg" alt=""> </div> <div class="footer-contact-info"> <h3>Customer Support</h3> <p><?php echo PHONE_DISPLAY; ?></p> </div> </div> <!-- Footer Contact Box End --> </div> <div class="col-lg-4"> <!-- Footer Contact Box Start --> <div class="footer-contact-box wow fadeInUp" data-wow-delay="0.75s"> <div class="contact-icon-box"> <img src="<?php path() ?>images/icon-location.svg" alt=""> </div> <div class="footer-contact-info"> <h3>Our Location</h3> <p><?php echo ADDRESS; ?></p> </div> </div> <!-- Footer Contact Box End --> </div> </div> </div> </div> <!-- Footer Contact End --> <div class="container"> <div class="row"> <div class="col-md-12"> <!-- Mega Footer Start --> <div class="mega-footer"> <div class="row"> <div class="col-lg-3 col-md-12"> <!-- Footer About Start --> <div class="footer-about"> <figure> <img src="<?php path() ?>images/white-logo.png" alt="logo" class="w-50"> </figure> <p>Jay Balaji Associates is a trusted renewable energy solutions provider committed to delivering high-quality, efficient, and future-ready solar power systems.</p> </div> <!-- Footer About End --> <!-- Footer Social Link Start --> <div class="footer-social-links"> <ul> <li><a href="https://www.facebook.com/share/1Bk6niPMy9/" target="_blank"><i class="fa-brands fa-facebook-f"></i></a></li> <li><a href="https://www.linkedin.com/company/jay-balaji-associates/" target="_blank"><i class="fa-brands fa-linkedin-in"></i></a></li> <li><a href="https://www.instagram.com/jaybalajiassociates/" target="_blank"><i class="fa-brands fa-instagram"></i></a></li> </ul> </div> <!-- Footer Social Link End --> </div> <div class="col-lg-3 col-md-4"> <!-- Footer Links Start --> <div class="footer-links"> <h2>Quick Links</h2> <ul> <li><a href="<?php path() ?>">Home</a></li> <li><a href="<?php path() ?>about.php">About Us</a></li> <li><a href="<?php path() ?>gallery.php">Gallery</a></li> <!-- <li><a href="<?php path() ?>blogs.php">Blog</a></li> --> <li><a href="<?php path() ?>contact.php">Contact Us</a></li> <li><a href="<?php path() ?>location.php">Our Locations</a></li> </ul> </div> <!-- Footer Links End --> </div> <div class="col-lg-3 col-md-4"> <!-- Footer Links Start --> <div class="footer-links"> <h2>Services</h2> <ul> <?php $squery = "SELECT name, slug FROM services ORDER BY id ASC"; $ssql = mysqli_query($con, $squery); while ($srow = mysqli_fetch_assoc($ssql)) { ?> <li><a href="<?php echo path() . 'services/' . $srow['slug']; ?>"><?php echo htmlspecialchars($srow['name']); ?></a></li> <?php } ?> </ul> </div> <!-- Footer Links End --> </div> <div class="col-lg-3 col-md-4"> <!-- Footer Links Start --> <div class="footer-links"> <h2>Useful Links</h2> <ul> <li><a href="#">Privacy Policy</a></li> <li><a href="#">Term & Conditions</a></li> <li><a href="#">Warranty</a></li> </ul> </div> <!-- Footer Links End --> </div> </div> </div> <!-- Mega Footer End --> <!-- Copyright Footer Start --> <div class="footer-copyright"> <div class="row"> <div class="col-md-12"> <!-- Footer Copyright Content Start --> <div class="footer-copyright-text"> <p>Copyright © <?php echo date('Y') . ' ' . COMPANY_NAME; ?>. All rights reserved.</p> </div> <!-- Footer Copyright Content End --> </div> </div> </div> <!-- Copyright Footer End --> </div> </div> </div> </footer> <!-- Footer End --> <style> #whatsapp-cta { position: fixed; bottom: 1.7rem; left: 2rem; z-index: 50; background-color: #25D366; color: white; padding: 0.75rem; border-radius: 9999px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.7); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; text-decoration: none; cursor: pointer; width: 56px; height: 56px; } #call-cta { position: fixed; bottom: 1.7rem; right: 2rem; z-index: 50; color: white; padding: 0.75rem; border-radius: 9999px; box-shadow: 0 4px 15px rgb(37 127 211 / 70%); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; text-decoration: none; cursor: pointer; width: 56px; height: 56px; } </style> <a href="https://wa.me/+918650552268?text=Hello" id="whatsapp-cta" target="_blank" rel="noopener noreferrer" aria-label="Chat with us on WhatsApp"> <svg fill="#fff" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" stroke="#fff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <title>whatsapp</title> <path d="M26.576 5.363c-2.69-2.69-6.406-4.354-10.511-4.354-8.209 0-14.865 6.655-14.865 14.865 0 2.732 0.737 5.291 2.022 7.491l-0.038-0.070-2.109 7.702 7.879-2.067c2.051 1.139 4.498 1.809 7.102 1.809h0.006c8.209-0.003 14.862-6.659 14.862-14.868 0-4.103-1.662-7.817-4.349-10.507l0 0zM16.062 28.228h-0.005c-0 0-0.001 0-0.001 0-2.319 0-4.489-0.64-6.342-1.753l0.056 0.031-0.451-0.267-4.675 1.227 1.247-4.559-0.294-0.467c-1.185-1.862-1.889-4.131-1.889-6.565 0-6.822 5.531-12.353 12.353-12.353s12.353 5.531 12.353 12.353c0 6.822-5.53 12.353-12.353 12.353h-0zM22.838 18.977c-0.371-0.186-2.197-1.083-2.537-1.208-0.341-0.124-0.589-0.185-0.837 0.187-0.246 0.371-0.958 1.207-1.175 1.455-0.216 0.249-0.434 0.279-0.805 0.094-1.15-0.466-2.138-1.087-2.997-1.852l0.010 0.009c-0.799-0.74-1.484-1.587-2.037-2.521l-0.028-0.052c-0.216-0.371-0.023-0.572 0.162-0.757 0.167-0.166 0.372-0.434 0.557-0.65 0.146-0.179 0.271-0.384 0.366-0.604l0.006-0.017c0.043-0.087 0.068-0.188 0.068-0.296 0-0.131-0.037-0.253-0.101-0.357l0.002 0.003c-0.094-0.186-0.836-2.014-1.145-2.758-0.302-0.724-0.609-0.625-0.836-0.637-0.216-0.010-0.464-0.012-0.712-0.012-0.395 0.010-0.746 0.188-0.988 0.463l-0.001 0.002c-0.802 0.761-1.3 1.834-1.3 3.023 0 0.026 0 0.053 0.001 0.079l-0-0.004c0.131 1.467 0.681 2.784 1.527 3.857l-0.012-0.015c1.604 2.379 3.742 4.282 6.251 5.564l0.094 0.043c0.548 0.248 1.25 0.513 1.968 0.74l0.149 0.041c0.442 0.14 0.951 0.221 1.479 0.221 0.303 0 0.601-0.027 0.889-0.078l-0.031 0.004c1.069-0.223 1.956-0.868 2.497-1.749l0.009-0.017c0.165-0.366 0.261-0.793 0.261-1.242 0-0.185-0.016-0.366-0.047-0.542l0.003 0.019c-0.092-0.155-0.34-0.247-0.712-0.434z"></path> </g></svg> </a> <a href="tel:+918650552268?text=Hello" id="call-cta" target="_blank" rel="noopener noreferrer" aria-label="Call us"> <svg fill="#2b6baa" height="200px" width="200px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 507.172 507.172" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g> <g> <path d="M253.588,0C113.764,0,0,113.76,0,253.592c0,139.828,113.764,253.58,253.588,253.58s253.584-113.752,253.584-253.58 C507.168,113.76,393.412,0,253.588,0z M387.108,349.432l-24.032,24.036c-1.548,1.548-4.056,1.548-5.604,0L352.5,368.5 c-10.28,6.42-24.424,15.288-26.432,16.624c-2.372,2.256-5.62,3.564-8.948,3.564c-2.464,0-4.872-0.696-6.96-2.024 c-69.444-44.032-145.676-120.276-189.72-189.72c-3.164-5-2.504-11.612,1.524-15.884c1.356-2.08,10.052-16.384,16.34-26.756 l-5.008-5.008c-0.744-0.748-1.16-1.752-1.16-2.804c0-1.048,0.416-2.056,1.16-2.8l24.032-24.036c1.476-1.484,4.108-1.484,5.6,0 l67.132,67.124c0.748,0.744,1.164,1.752,1.164,2.796c0,1.056-0.416,2.064-1.164,2.804l-24.032,24.032 c-1.548,1.544-4.056,1.544-5.608,0l-4.852-4.852l-11.672,11.672c24.924,31.28,68.264,74.66,99.604,99.688l11.712-11.72 l-4.86-4.852c-0.748-0.744-1.164-1.752-1.164-2.804c0-1.04,0.416-2.056,1.164-2.796l24.032-24.048c1.488-1.484,4.12-1.484,5.604,0 l67.116,67.124C388.656,345.376,388.656,347.884,387.108,349.432z"></path> </g> </g> </g></svg> </a> <!-- Jquery Library File --> <script src="<?php path() ?>js/jquery-3.7.1.min.js"></script> <!-- Bootstrap js file --> <script src="<?php path() ?>js/bootstrap.min.js"></script> <!-- Validator js file --> <script src="<?php path() ?>js/validator.min.js"></script> <!-- SlickNav js file --> <script src="<?php path() ?>js/jquery.slicknav.js"></script> <!-- Swiper js file --> <script src="<?php path() ?>js/swiper-bundle.min.js"></script> <!-- Counter js file --> <script src="<?php path() ?>js/jquery.waypoints.min.js"></script> <script src="<?php path() ?>js/jquery.counterup.min.js"></script> <!-- Magnific js file --> <script src="<?php path() ?>js/jquery.magnific-popup.min.js"></script> <!-- SmoothScroll --> <!-- <script src="js/SmoothScroll.js"></script> --> <!-- Parallax js --> <script src="<?php path() ?>js/parallaxie.js"></script> <!-- MagicCursor js file --> <script src="<?php path() ?>js/gsap.min.js"></script> <!-- <script src="js/magiccursor.js"></script> --> <!-- Text Effect js file --> <script src="<?php path() ?>js/splitType.js"></script> <script src="<?php path() ?>js/ScrollTrigger.min.js"></script> <!-- Wow js file --> <script src="<?php path() ?>js/wow.js"></script> <!-- Main Custom js file --> <script src="<?php path() ?>js/function.js"></script> <!-- <script src="../../../demo.awaikenthemes.com/assets/js/theme-panel.js"></script> --> <script> document.getElementById("contactForm").addEventListener("submit", function (e) { e.preventDefault(); let name = document.getElementById("name").value.trim(); let email = document.getElementById("email").value.trim(); let phone = document.getElementById("phone").value.trim(); let service = document.getElementById("service_interest").value; let msg = document.getElementById("msg").value.trim(); // Name: only letters & spaces let namePattern = /^[A-Za-z ]+$/; // Email pattern (valid Gmail & others) let emailPattern = /^[a-zA-Z0-9._%+-]+@gmail\.com$|^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-z]{2,}$/; // Indian mobile number (10 digits) let phonePattern = /^[6-9]\d{9}$/; if (!namePattern.test(name)) { alert("Name should contain letters only"); return; } if (!emailPattern.test(email)) { alert("Please enter a valid email address"); return; } if (!phonePattern.test(phone)) { alert("Enter valid 10-digit mobile number"); return; } if (service === "") { alert("Please select a service"); return; } if (msg != '' & msg.length < 10) { alert("Message should be at least 10 characters"); return; } // Submit via AJAX let formData = new FormData(this); fetch("https://jaybalajiassociates.com/form-process", { method: "POST", body: formData, headers: { "X-Requested-With": "XMLHttpRequest" } }) .then(res => res.text()) .then(data => { if (data.trim() === "success") { window.location.href = "https://jaybalajiassociates.com/thank-you" } else { alert("Something went wrong. Please try again."); } }); }); </script> <script> function nameKeyValidation(e) { let key = e.key; // Allow backspace, space, tab if (key === "Backspace" || key === " " || key === "Tab") { return true; } // Allow letters only if (/^[A-Za-z]$/.test(key)) { return true; } // Block everything else (numbers & symbols) return false; } </script> </body> </html>
Save
Cancel