Commit 386dc2a6 by sujata

add sahu files

0 parents
Showing 72 changed files with 518 additions and 0 deletions
<script type="text/javascript">
function floorplan_form(event) {
var name = jQuery('input[name="name"]').val();
var email = jQuery('input[name="email"]').val();
var mobile = jQuery('input[name="phonenumber"]').val();
var formname = jQuery('input[name="formname"]').val();
var utmsource = jQuery('input[name="utm_source"]').val();
var utmmedium = jQuery('input[name="utm_medium"]').val();
var utmcampaign = jQuery('input[name="utm_campaign"]').val();
var utmcontent = jQuery('input[name="utm_content"]').val();
$.ajax({
url: 'https://docs.google.com/forms/d/e/1FAIpQLSeDq16qoqjG3AFO_qnAKats8BPTtl7qLiwQFeM8SICj2NNxVA/formResponse',
type: 'POST',
data: {
"entry.1866747040=" . urlencode($name);
"&entry.391332552=" . urlencode($mobile);
"&entry.1319169842=" . urlencode($email);
"&entry.380527525=" . urlencode($formname);
"&entry.1619886954=" . urlencode($utmsource);
"&entry.1888285929=" . urlencode($utmmedium);
"&entry.731420388=" . urlencode($utmcampaign);
"&entry.1910662605=" . urlencode($utmcontent);
},
dataType: "xml",
statusCode: {
0: function (data) {
console.log(data);
console.log('CROS Error');
download();
location.href = "./thankyou.php";
return true;
},
200: function (data) {
download()
location.href = "./thankyou.php";
},
403: function (data) {
console.log('403 Error');
}
},
error: function (xhr, status, error) {
console.log('There was an error in CRM Entry');
}
})
return false;
}
</script>
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
<svg width="466" height="644" viewBox="0 0 466 644" fill="none" xmlns="http://www.w3.org/2000/svg">
<path opacity="0.2" fill-rule="evenodd" clip-rule="evenodd" d="M324.743 567.525L282.279 571.57C288.75 540.019 298.051 512.108 302.5 475.702C306.949 440.914 309.779 406.935 312.61 370.125C315.846 326.438 320.699 176.77 317.059 138.342L309.779 164.635C302.5 200.232 297.647 208.322 295.221 247.155C292.794 286.392 288.75 326.843 284.301 365.676C278.235 417.453 259.228 542.446 233.75 575.616L192.096 583.706C199.375 563.885 210.699 542.446 219.191 521.007C243.456 460.735 269.338 366.485 273.787 301.359L261.25 345.45C241.029 419.475 194.522 523.434 152.868 584.919C144.779 596.65 127.39 599.077 110.404 601.504C122.132 581.683 150.441 566.312 159.338 538.805C149.632 553.368 105.147 592.605 89.7794 603.122C82.0956 608.381 6.47059 644.786 0 646C11.7279 646 61.4706 630.629 78.8603 626.988C237.39 593.009 384.596 586.133 545.956 607.976C607.831 616.471 657.978 632.247 715 644.786C686.287 621.325 654.743 627.393 593.676 573.997C581.544 563.48 571.434 548.918 560.919 540.423C570.625 563.885 592.059 581.279 606.618 599.077C563.346 592.605 571.838 593.009 543.125 544.064C495.404 462.758 468.713 389.137 446.066 294.482C444.853 346.664 477.206 463.567 498.235 516.557C506.324 536.783 520.882 565.098 526.544 582.088L486.912 576.829C429.081 498.759 436.765 214.389 402.39 136.724C401.177 238.66 404.007 369.316 416.949 470.039C422.206 509.681 431.103 537.187 437.169 571.57L393.088 569.548C387.831 474.893 380.956 381.047 376.912 285.583C374.89 236.637 372.463 186.478 373.272 137.533C373.676 101.127 378.529 26.293 361.14 0C342.941 27.1021 344.559 233.401 343.346 282.751C342.132 331.292 340.11 379.429 337.684 427.97C335.257 468.825 333.64 528.288 324.743 567.525Z" fill="#99A7B2"/>
</svg>
This file is too large to display.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
<svg width="20" height="24" viewBox="0 0 20 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.75 0C12.3359 0 14.8158 1.02723 16.6443 2.85571C18.4728 4.68419 19.5 7.16414 19.5 9.75C19.5 13.87 16.605 18.36 10.89 23.268C10.5722 23.541 10.1671 23.6909 9.74813 23.6905C9.3292 23.6902 8.9243 23.5395 8.607 23.266L8.229 22.938C2.767 18.158 0 13.778 0 9.75C0 7.16414 1.02723 4.68419 2.85571 2.85571C4.68419 1.02723 7.16414 0 9.75 0ZM9.75 1.5C7.56196 1.5 5.46354 2.36919 3.91637 3.91637C2.36919 5.46354 1.5 7.56196 1.5 9.75C1.5 13.252 4.048 17.287 9.214 21.807L9.587 22.13C9.63235 22.169 9.69019 22.1904 9.75 22.1904C9.80981 22.1904 9.86765 22.169 9.913 22.13C15.329 17.478 18 13.335 18 9.75C18 8.66659 17.7866 7.5938 17.372 6.59286C16.9574 5.59193 16.3497 4.68245 15.5836 3.91637C14.8175 3.15029 13.9081 2.5426 12.9071 2.12799C11.9062 1.71339 10.8334 1.5 9.75 1.5ZM9.75 6C10.7446 6 11.6984 6.39509 12.4017 7.09835C13.1049 7.80161 13.5 8.75544 13.5 9.75C13.5 10.7446 13.1049 11.6984 12.4017 12.4017C11.6984 13.1049 10.7446 13.5 9.75 13.5C8.75544 13.5 7.80161 13.1049 7.09835 12.4017C6.39509 11.6984 6 10.7446 6 9.75C6 8.75544 6.39509 7.80161 7.09835 7.09835C7.80161 6.39509 8.75544 6 9.75 6ZM9.75 7.5C9.15326 7.5 8.58097 7.73705 8.15901 8.15901C7.73705 8.58097 7.5 9.15326 7.5 9.75C7.5 10.3467 7.73705 10.919 8.15901 11.341C8.58097 11.7629 9.15326 12 9.75 12C10.3467 12 10.919 11.7629 11.341 11.341C11.7629 10.919 12 10.3467 12 9.75C12 9.15326 11.7629 8.58097 11.341 8.15901C10.919 7.73705 10.3467 7.5 9.75 7.5Z" fill="black"/>
</svg>
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="28" cy="28" r="27.5" stroke="#4D4E4E"/>
<g clip-path="url(#clip0_476_166)">
<path d="M32.3346 27.9999L25.668 34.6666V21.3333L32.3346 27.9999Z" fill="#4D4E4E"/>
</g>
<defs>
<clipPath id="clip0_476_166">
<rect width="40" height="40" fill="white" transform="translate(9 8)"/>
</clipPath>
</defs>
</svg>
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="28" cy="28" r="27.5" transform="matrix(-1 0 0 1 56 0)" stroke="#4D4E4E"/>
<g clip-path="url(#clip0_476_160)">
<path d="M23.6654 27.9999L30.332 34.6666V21.3333L23.6654 27.9999Z" fill="#4D4E4E"/>
</g>
<defs>
<clipPath id="clip0_476_160">
<rect width="40" height="40" fill="white" transform="matrix(-1 0 0 1 47 8)"/>
</clipPath>
</defs>
</svg>
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
document.addEventListener("DOMContentLoaded", () => {
const counters = document.querySelectorAll(".counter-number");
counters.forEach((counter) => {
let startValue = 0;
const endValue = +counter.getAttribute("data-target");
const sign = counter.getAttribute("data-sign"); // Optional sign
const duration = 2000; // Total duration in ms
const increment = Math.ceil((endValue / duration) * 20);
const updateCounter = () => {
if (startValue < endValue) {
startValue += increment;
counter.innerText = Math.min(startValue, endValue); // Update counter
setTimeout(updateCounter, 20);
} else {
counter.innerHTML = `${endValue}<span class="sign"> ${sign || ""}</span>`;
}
};
updateCounter();
});
});
// fancy box
document.addEventListener('DOMContentLoaded', function () {
Fancybox.bind('[data-fancybox="gallery-swiper"]', {
Toolbar: {
display: ['zoom', 'close'],
},
Thumbs: {
autoStart: true,
},
});
});
// naviagtion bar
// slider
// banner slider
var proprtySwiper = new Swiper('.banner-slider', {
slidesPerView: 1,
spaceBetween: 30,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
navigation: {
nextEl: '.banner-swiper-button-next',
prevEl: '.banner-swiper-button-prev',
},
loop: true,
});
var masterSwiper = new Swiper('.masterplanSwiper', {
spaceBetween: 30,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
breakpoints: {
992:{
slidesPerView:2,
spaceBetween:20,
},
768: {
slidesPerView: 1,
spaceBetween: 20,
},
480: {
slidesPerView: 1,
spaceBetween: 10,
},
360:{
slidesPerView: 1,
spaceBetween: 10,
}
},
});
var floorSwiper = new Swiper('.mySwiper', {
slidesPerView: 2,
spaceBetween: 30,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
// property slider
var proprtySwiper = new Swiper('.property-slider', {
slidesPerView: 1.2,
spaceBetween: 30,
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
loop: true,
});
var proprtySwiper = new Swiper('.amenities-slider', {
spaceBetween: 60, // Default space
navigation: {
nextEl: '.swiper-button-next-amenities',
prevEl: '.swiper-button-prev-amenities',
},
loop: true,
breakpoints: {
992:{
slidesPerView:4,
spaceBetween:20,
},
768: {
slidesPerView: 2,
spaceBetween: 20,
},
480: {
slidesPerView: 2,
spaceBetween: 10,
},
320:{
slidesPerView: 2,
spaceBetween: 10,
}
},
});
var galleryslider = new Swiper('.gallery-slider', {
slidesPerView: 3,
spaceBetween: 0,
centeredSlides: true,
navigation: {
nextEl: '.gallery-swiper-button-next',
prevEl: '.gallery-swiper-button-prev',
},
autoplay: {
delay: 2500,
},
loop: true,
breakpoints: {
992:{
slidesPerView:3 ,
spaceBetween:20,
},
768: {
slidesPerView: 1,
spaceBetween: 20,
},
480: {
slidesPerView: 1,
spaceBetween: 10,
},
320:{
slidesPerView: 1,
spaceBetween: 10,
}
},
});
function openForm() {
document.getElementById("formModal").style.display = "block";
}
function closeForm() {
document.getElementById("formModal").style.display = "none";
}
function flooropenForm() {
document.getElementById("floorformModal").style.display = "block";
}
function floorcloseForm() {
document.getElementById("floorformModal").style.display = "none";
}
// form submition
const form = document.getElementById("form");
form.addEventListener("input", () => {
const name = document.getElementById("name").value.trim();
const email = document.getElementById("exampleInputEmail1").value.trim();
const phone = document.getElementById("phonenumber").value.trim();
const checkbox = document.getElementById("exampleCheck1").checked;
// Phone validation: Check for exactly 10 digits
const isValidPhone = /^[0-9]{10}$/.test(phone);
if (name && email && isValidPhone && checkbox) {
form.submit();
}
});
document.addEventListener("DOMContentLoaded", () => {
const popupform = document.getElementById("popupform");
popupform.addEventListener("input", () => {
const name = document.getElementById("popup_name").value.trim();
const phone = document.getElementById("popup_mobile").value.trim();
const email = document.getElementById("popup_email").value.trim();
// Phone number validation: Check for exactly 10 digits
const isValidPhone = /^[0-9]{10}$/.test(phone);
// Check if all fields are valid
if (name && email && isValidPhone) {
popupform.submit(); // Auto-submit the form
}
});
});
// document.addEventListener("DOMContentLoaded", () => {
// const popupform1 = document.getElementById("popupform1");
// popupform1.addEventListener("input", () => {
// const name = document.getElementById("floor_name").value.trim();
// const phone = document.getElementById("floor_mobile").value.trim();
// const email = document.getElementById("floor_email").value.trim();
// // Phone number validation: Check for exactly 10 digits
// const isValidPhone = /^[0-9]{10}$/.test(phone);
// // Check if all fields are valid
// if (name && email && isValidPhone) {
// popupform1.submit(); // Auto-submit the form
// }
// });
// });
// back to top
document.addEventListener("DOMContentLoaded", () => {
const backToTopBtn = document.getElementById("backToTop");
window.addEventListener("scroll", () => {
if (window.scrollY > 200) {
backToTopBtn.style.display = "block";
} else {
backToTopBtn.style.display = "none";
}
});
backToTopBtn.addEventListener("click", () => {
window.scrollTo({
top: 0,
behavior: "smooth",
});
});
});
This diff is collapsed. Click to expand it.
<?php
$utm_source = $_REQUEST['utm_source'] ?? null;
$utm_medium = $_REQUEST['utm_medium'] ?? null;
$utm_campaign = $_REQUEST['utm_campaign'] ?? null;
$utm_content = $_REQUEST['utm_content'] ?? null;
$utm_keyword = $_REQUEST['utm_keyword'] ?? null;
$url_data = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$name = $_REQUEST['name'] ?? null;
$email = $_REQUEST['email'] ?? null;
$mobile = $_REQUEST['phonenumber'] ?? null;
$formname = $_REQUEST['formname'] ?? null;
// echo "<h2>Form Data:</h2>";
// echo "<p><strong>Name:</strong> " . htmlspecialchars($name) . "</p>";
// echo "<p><strong>Email:</strong> " . htmlspecialchars($email) . "</p>";
// echo "<p><strong>Mobile:</strong> " . htmlspecialchars($mobile) . "</p>";
// echo "<p><strong>Form:</strong> " . htmlspecialchars($formname) . "</p>";
if (!isset($_SESSION['form_submitted'])) {
// Check if all required fields are filled
if (!empty($name) && !empty($mobile) && !empty($email)) {
// Prepare the post fields
$postFields = "entry.1866747040=" . urlencode($name);
$postFields .= "&entry.391332552=" . urlencode($mobile);
$postFields .= "&entry.1319169842=" . urlencode($email);
$postFields .= "&entry.380527525=" . urlencode($formname);
$postFields .= "&entry.1619886954=" . urlencode($utmsource);
$postFields .= "&entry.1888285929=" . urlencode($utmmedium);
$postFields .= "&entry.731420388=" . urlencode($utmcampaign);
$postFields .= "&entry.1910662605=" . urlencode($utmcontent);
// Initialize CURL
$ch1 = curl_init();
curl_setopt($ch1, CURLOPT_URL, "https://docs.google.com/forms/d/e/1FAIpQLSeDq16qoqjG3AFO_qnAKats8BPTtl7qLiwQFeM8SICj2NNxVA/formResponse");
curl_setopt($ch1, CURLOPT_POST, 1);
curl_setopt($ch1, CURLOPT_POSTFIELDS, $postFields);
curl_setopt($ch1, CURLOPT_HEADER, 0);
curl_setopt($ch1, CURLOPT_RETURNTRANSFER, true);
// Execute CURL request
$result1 = curl_exec($ch1);
// Check if the submission was successful
if ($result1 === false) {
// Generate JavaScript alert for error
echo "<script>alert('Error: " . curl_error($ch1) . "');</script>";
} else {
// Generate JavaScript alert for success
echo "<script>alert('Data submitted successfully!');</script>";
// Set session variable to mark the form as submitted
$_SESSION['form_submitted'] = true;
}
// Close CURL
curl_close($ch1);
} else {
// Generate JavaScript alert for missing fields
echo "<script>alert('Error: Required fields are not filled!');</script>";
}
} else {
// Generate JavaScript alert for form already submitted
echo "<script>alert('Error: Form already submitted!');</script>";
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sahu -Thank You</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" />
<link href="style.css" rel="stylesheet" />
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="/"><img src="./assets/images/logo.png" alt="logo" /></a>
</div>
</nav>
</header>
<section class="thankyou text-center h-100 align-content-center" >
<div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="thankyou-heading">Thank You!</h1>
<p>Your submission has been received. We will contact you shortly.</p>
<a href="/" class="backlink">Go back to Home</a>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="footer-content text-center">
<div class="footer-logo justify-content-center gap-5">
<img src="./assets/images/sld-logo.webp" alt="SLD Logo" />
<img src="./assets/images/footerlogo.webp" alt="Footer Logo" />
</div>
<div class="footer-qr mt-3 justify-content-center d-flex gap-md-5 gap-2">
<img src="./assets/images/qr-1.webp" alt="QR Code 1" />
<img src="./assets/images/qr-2.webp" alt="QR Code 2" />
</div>
</div>
</div>
<div class="col-md-12">
<div class="rera-details text-center mt-3 text-white">
<p>
This project is RERA registered.<br />
Agent Rera Number : A51900029955 | Project MAHARERA
:P51900066547 | P51900066548
</p>
</div>
<div class="mt-2 copy-right text-center text-white">
<p>Disclaimer:</p>
<p>
The content presented on this website is solely for
informational purposes and does not constitute a service offer.
Prices mentioned here are subject to change without prior
notification, and the availability of the listed properties is
not assured. Images showcased are illustrative and may not
precisely represent the actual properties. Read more
</p>
<p>
COPYRIGHT © 2022. Sahu Land Developers Pvt. Ltd. ALL RIGHTS
RESERVED.
</p>
</div>
</div>
</div>
</div>
</footer>
</body>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
</html>
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!