D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home3
/
encodto1
/
www
/
Filename :
footer2.php
back
Copy
<!-- Contact --> <?php include 'database.php'; // Include database connection if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Retrieve form data $first_name = mysqli_real_escape_string($conn, $_POST['first_name']); $last_name = mysqli_real_escape_string($conn, $_POST['last_name']); $email = mysqli_real_escape_string($conn, $_POST['email']); $phone_number = mysqli_real_escape_string($conn, $_POST['phone_number']); $country = mysqli_real_escape_string($conn, $_POST['country']); $message = mysqli_real_escape_string($conn, $_POST['message']); // Validate required fields if (empty($first_name) || empty($last_name) || empty($email) || empty($phone_number)) { $error_message = "All fields marked with * are required."; } else { // Insert data into enquiry table $query = "INSERT INTO enquiry (first_name, last_name, email, phone_number, country, message) VALUES ('$first_name', '$last_name', '$email', '$phone_number', '$country', '$message')"; if (mysqli_query($conn, $query)) { $success_message = "Your enquiry has been submitted successfully!"; } else { $error_message = "Error: " . mysqli_error($conn); } } } ?> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f9f9f9; } .contact-area { /* max-width: 800px; */ margin: 20px auto; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .contact-area h1, h5 { /* text-align: center; */ margin-bottom: 20px; } .input-row { display: flex; flex-wrap: wrap; gap: 20px; } .input-group { flex: 1; min-width: 100px; } .input-group label { display: block; /* font-weight: bold; */ margin-bottom: 5px; font-size: 15px; margin: 10px 0px; } .input-group input, .input-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; } .theme-btn { background: #007bff; color: #fff; padding: 10px 20px; border: none; border-radius: 40px; cursor: pointer; /* width: 100%; */ } .theme-btn:hover { background: #0056b3; } .alert { padding: 10px; margin-bottom: 10px; border-radius: 4px; text-align: center; } .alert-success { background: #d4edda; color: #155724; } .alert-danger { background: #f8d7da; color: #721c24; } /* General styling for the input row */ .input-row { margin: 10px 0; display: flex; align-items: center; justify-content: flex-start; } /* Styling for the input group */ .input-group { display: flex; align-items: center; } /* Styling for the checkbox */ .input-checkbox input[type="checkbox"] { width: 16px; height: 16px; margin-right: 8px; cursor: pointer; } /* Styling for the label */ .input-checkbox label { font-size: 14px; line-height: 1.5; color: #333; cursor: pointer; } /* Styling for the link */ .input-checkbox label a { color: #007bff; text-decoration: none; } .input-checkbox label a:hover { text-decoration: underline; } .input-group .huge{ width: 100%; text-align: center; display: flex; align-items: center; justify-content: center; } /* Responsive styling */ @media (max-width: 768px) { .input-row { flex-direction: column; align-items: flex-start; } .input-checkbox label { font-size: 12px; } } </style> <!-- Footer --> <footer class="footer-area"> <img src="assets/imgs/bg-shape-4.svg" alt="Shape" class="animation-slide-right bg-shape" /> <div class="footer-top"> <div class="custom-container"> <div class="custom-row align-items-end justify-content-between"> <div class="left-content"> <a href="index.php" class="logo"> <img src="assets/imgs/Logo e white.png" alt="Logo" style="height: 60px;"> </a> <p>We provide the expertise and support to <br> propel your business forward.</p> <form action="" method="POST" class="subscribe-form"> <div class="subscribe-box d-flex"> </div> <!-- Alert Message --> <div class="input-row"> <div class="input-group alert-notification"> <div id="alert-message-subscribe" class="alert-msg"></div> </div> </div> </form> <div class="footer-clients d-flex align-items-center"> <div class="footer-client-img"> <a href="https://www.facebook.com/encodersunlimited" target="_blank"> <img src="assets/imgs/facebook.png" alt="facebook" style="height: 40px; width: 40px;"> </a> </div> <div class="footer-client-img"> <a href="https://www.instagram.com/encodersunlimited/" target="_blank"> <img src="assets/imgs/instagram.png" alt="instagram" style="height: 40px; width: 40px;"> </a> </div> <div class="footer-client-img"> <a href="https://www.linkedin.com/company/encoder-unlimited/" target="_blank"> <img src="assets/imgs/linkedin.png" alt="linkedin" style="height: 40px; width: 40px;"> </a> </div> <div class="footer-client-img"> <a href="https://twitter.com/Encodersunltd" target="_blank"> <img src="assets/imgs/twitter (1).png" alt="twitter" style="height: 40px; width: 40px;"> </a> </div> <div class="footer-client-img"> <a href="https://in.pinterest.com/encodersunlimited/" target="_blank"> <img src="assets/imgs/pinterest.png" alt="pinterest" style="height: 40px; width: 40px;"> </a> </div> </div> </div> <div class="right-content"> <div class="right-content-inner"> <div class="d-flex mb-3"> <img src="assets/imgs/msme.png" alt=""> </div> <h6 class="text-white">MSME Certified</h5> <h6 class="text-white">UAN NO : WB060018144</h5> <h2 class="mt-5">Let’s get started on something great</h2> <p>Our team of IT experts looks forward to meeting with you <br> and providing valuable insights tailored to your business.</p> <a href="getquote.php" class="theme-btn">Get Quote Now</a> <a href="payonlineform.php" class="theme-btn">Pay Online Here</a> </div> </div> </div> </div> </div> <!-- Four phone numbers section --> <div class="footer-phone-numbers" style="text-align: center; padding: 20px; font-size: 18px;"> <p class="" style="margin-bottom: 20px; border-right: 2px solid rgba(134, 129, 129, 0.47); padding-right: 20px; display: inline-block;"> <span style="display: block; font-size: 1.7rem; font-weight: bold; color: #868686">SALES & MARKETING</span><br> <i class="fa-solid fa-phone"></i> +91-9733712121<br> <i class="fa-solid fa-envelope"></i> sales@encodersunlimited.com </p> <p class="" style="margin-bottom: 20px; border-right: 2px solid rgb(232, 232, 232); padding-right: 20px; display: inline-block;"> <span style="display: block; font-size: 1.7rem;font-weight: bold; color: #868686;">JOB & HIRING</span><br> <i class="fa-solid fa-phone"></i> +91-9733714747<br> <i class="fa-solid fa-envelope"></i> career@encodersunlimited.com </p> <p class="" style="margin-bottom: 20px; border-right: 2px solid rgb(254, 254, 255); padding-right: 20px; display: inline-block;"> <span style="display: block; font-size: 1.7rem;font-weight: bold; color: #868686;">ACCOUNTS & BILLING</span><br> <i class="fa-solid fa-phone"></i> +91-9733714747<br> <i class="fa-solid fa-envelope"></i> info@encodersunlimited.com </p> <p class="" style="margin-bottom: 20px; border-right: 2px solid rgb(254, 254, 255); padding-right: 20px; display: inline-block;"> <span style="display: block; font-size: 1.7rem;font-weight: bold; color: #868686;">RENEWAL & QUERY</span><br> <i class="fa-solid fa-phone"></i> +91-9733712121<br> <i class="fa-solid fa-envelope"></i> info@encodersunlimited.com </p> </div> <hr> <div class="footer-bottom"> <div class="custom-container"> <div class="custom-row"> <div class="footer-all-links-wrap justify-content-between d-flex"> <div class="footer-links"> <h3>Company</h3> <ul> <li><a href="index.php">Home</a></li> <li><a href="about.php">About Us</a></li> <li><a href="career.php">Career</a></li> <li><a href="privacypolicy.php">Privacy Policy</a></li> <li><a href="termsandcondition.php">Terms & Conditions</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="blog.php">Blogs</a></li> </ul> </div> <div class="footer-links"> <h3>Our Services</h3> <ul> <li><a href="webdesign&development.php">Websites Designing & Development</a></li> <li><a href="webportal.php">Portal Development</a></li> <li><a href="softwaredevelopment.php">Software Development</a></li> <li><a href="crmsoftware.php">CRM Software</a></li> <li><a href="mobapp.php">Mobile Application</a></li> <li><a href="digitalm.php">Digital Marketing</a></li> <li><a href="socialmediam.php">Social Media Marketing</a></li> <li><a href="contentwriting.php">Content Writing</a></li> <li><a href="graphicsdesigning.php">Graphics Designing</a></li> </ul> </div> <div class="footer-links"> <h3>Portfolio</h3> <ul> <li><a href="websiteportfolio.php">Website Design</a></li> <li><a href="logodesignp.php">Logo Design</a></li> <li><a href="creativedesignp.php">Creative Design </a></li> </ul> </div> <div class="footer-links"> <h3>Courses</h3> <ul> <li><a href="contact.php">Programming Language </a></li> <li><a href="contact.php">Graphics Designing</a></li> <li><a href="contact.php">Website Designing</a></li> <li><a href="contact.php">Website Development</a></li> <li><a href="contact.php">Digital Services</a></li> <li><a href="contact.php">Product Selling</a></li> <li><a href="contact.php">Social Marketing</a></li> </ul> </div> </div> </div> </div> </div> <div class="copyright-area"> <div class="custom-container"> <div class="custom-row d-flex align-items-center justify-content-center "> <p>© 2025 All rights reserved by <a href="">Encoders Unlimited</a></p> </div> </div> </div> </footer>