ÿØÿà JFIF ` ` ÿáfExif MM * i >ê 2 ê ê P ê ÿþ ?CREATOR: gd-jpeg v1.0 (usi
|
Server : Apache System : Linux gains.enterpriseappscloud.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : beyondlimi ( 2438) PHP Version : 7.4.33 Disable Function : allow_url_include, show_source, symlink, system, passthru, exec, popen, pclose, proc_open, proc_terminate,proc_get_status, proc_close, proc_nice, allow_url_fopen, shell-exec, shell_exec, fpassthru, base64_encodem, escapeshellcmd, escapeshellarg, crack_check,crack_closedict, crack_getlastmessage, crack_opendict, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, dl, escap, phpinfo Directory : /home/beyondlimi/domains/beyondlimits.org.in/private_html/ |
Upload File : |
<?php
include './include/db.php';
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['payment_id'])) {
// Save data after payment
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$purpose = $_POST['purpose'];
$amount = $_POST['amount'];
$payment_id = $_POST['payment_id'];
$stmt = $conn->prepare("INSERT INTO donations (name, email, phone, purpose, amount, payment_id) VALUES (?, ?, ?, ?, ?, ?)");
$stmt->bind_param("ssssds", $name, $email, $phone, $purpose, $amount, $payment_id);
$stmt->execute();
$stmt->close();
echo "success";
exit;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Donate - Beyondlimits social foundation</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Favicon -->
<link href="./NEWIMAGES/BEYONDLIMITS LOGO.png" rel="icon">
<!-- Google Web Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Saira:wght@500;600;700&display=swap" rel="stylesheet">
<!-- Icon Font Stylesheet -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet">
<!-- Libraries Stylesheet -->
<link href="lib/animate/animate.min.css" rel="stylesheet">
<link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
<!-- Customized Bootstrap Stylesheet -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Template Stylesheet -->
<link href="css/style.css" rel="stylesheet">
<script src="https://checkout.razorpay.com/v1/checkout.js"></script>
</head>
<body>
<!-- Spinner Start -->
<!-- <div id="spinner" class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center">
<div class="spinner-grow text-primary" role="status"></div>
</div> -->
<!-- Spinner End -->
<!-- Navbar Start -->
<?php include 'include/navbar.php'; ?>
<!-- Navbar End -->
<!-- Page Header Start -->
<div class="container-fluid page-headerdnt mb-5 wow fadeIn" data-wow-delay="0.1s">
<div class="container text-center">
<h1 class="display-4 text-white animated slideInDown mb-4">Donate</h1>
<nav aria-label="breadcrumb animated slideInDown">
<ol class="breadcrumb mb-0">
<li class="breadcrumb-item"><a class="text-white" href="#">Home</a></li>
<li class="breadcrumb-item"><a class="text-white" href="#">Pages</a></li>
<li class="breadcrumb-item text-light active" aria-current="page">Donate</li>
</ol>
</nav>
</div>
</div>
<!-- Page Header End -->
<!-- Donate Start -->
<div class="container-fluid donate my-5 py-5" data-parallax="scroll" data-image-src="./NEWIMAGES/bg1.jpg">
<div class="container py-5">
<div class="row g-5 align-items-center">
<div class="col-lg-6 wow fadeIn" data-wow-delay="0.1s">
<div class="d-inline-block rounded-pill bg-secondary txtclr py-1 px-3 mb-3">Donate Now</div>
<h1 class="display-6 text-warning mb-5 ">Give Now, Make a Difference Tomorrow.</h1>
<p class="text-white-50 mb-0">Communities are strengthened, education is promoted, and prospects for
a better, more sustainable future are created by your gift today. Give right now!</p>
</div>
<!-- <div class="col-lg-6 wow fadeIn" data-wow-delay="0.5s">
<div class="h-100 bg-white p-5">
<form>
<div class="row g-3">
<div class="col-12">
<div class="form-floating">
<input type="text" class="form-control bg-light border-0" id="name"
placeholder="Your Name">
<label for="name">Your Name</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="email" class="form-control bg-light border-0" id="email"
placeholder="Your Email">
<label for="email">Your Email</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="tel" class="form-control bg-light border-0" id="phone"
placeholder="Contact No.">
<label for="phone">Contact No.</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<select class="form-select bg-light border-0" id="donation-purpose"
aria-label="Donation Purpose">
<option selected disabled>Choose a cause</option>
<option value="Skill Building">Skill Building</option>
<option value="Educational Support">Educational Support</option>
<option value="Women Empowerment">Women Empowerment</option>
<option value="Youth Training">Youth Training</option>
<option value="Community Upliftment">Community Upliftment</option>
<option value="Health Awareness">Health Awareness</option>
<option value="Tree Plantation">Tree Plantation</option>
<option value="Sports Participation">Sports Participation</option>
</select>
<label for="donation-purpose">What would you like to support?</label>
</div>
</div>
//<div class="col-12">
<div class="btn-group d-flex justify-content-around">
<input type="radio" class="btn-check" name="btnradio" id="btnradio1" checked>
<label class="btn btn-light py-3" for="btnradio1">$10</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio2">
<label class="btn btn-light py-3" for="btnradio2">$20</label>
<input type="radio" class="btn-check" name="btnradio" id="btnradio3">
<label class="btn btn-light py-3" for="btnradio3">$30</label>
</div>
</div>//
<div class="col-12">
<div class="form-floating">
<input type="text" class="form-control bg-light border-0" id="phone"
placeholder="Enter Amount">
<label for="phone">Donate Amount ₹</label>
</div>
</div>
<div class="col-12">
<button class="btn btn-warning px-5" style="height: 60px;">
Donate Now
<div
class="d-inline-flex btn-sm-square bg-white text-warning rounded-circle ms-2">
<i class="fa fa-arrow-right"></i>
</div>
</button>
</div>
</div>
</form>
</div>
</div> -->
<div class="col-lg-6">
<div class="bg-white p-5 rounded shadow-sm mobform">
<h3 class="text-primary mb-4">Support Our Cause</h3>
<form id="donation-form">
<div class="row g-3">
<div class="col-12">
<div class="form-floating">
<input type="text" class="form-control" id="name" placeholder="Your Name" required>
<label for="name">Your Name</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="email" class="form-control" id="email" placeholder="Your Email" required>
<label for="email">Your Email</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="tel" class="form-control" id="phone" placeholder="Contact No." required>
<label for="phone">Contact No.</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<select class="form-select" id="purpose" required>
<option disabled selected>Choose a cause</option>
<option value="Skill Building">Skill Building</option>
<option value="Educational Support">Educational Support</option>
<option value="Women Empowerment">Women Empowerment</option>
<option value="Youth Training">Youth Training</option>
<option value="Community Upliftment">Community Upliftment</option>
<option value="Health Awareness">Health Awareness</option>
<option value="Tree Plantation">Tree Plantation</option>
<option value="Sports Participation">Sports Participation</option>
</select>
<label for="purpose">What would you like to support?</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="number" class="form-control" id="amount" placeholder="Enter Amount" required>
<label for="amount">Donate Amount ₹</label>
</div>
</div>
<div class="col-12">
<button type="submit" class="btn btn-warning w-100 py-3">
Donate Now
<span class="ms-2"><i class="fa fa-arrow-right"></i></span>
</button>
</div>
</div>
</form>
<div id="status-message" class="mt-3"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Donate End -->
<!-- Footer Start -->
<?php include 'include/footer.php' ?>
<!-- <div class="container-fluid bg-dark text-white-50 footer mt-5 pt-5 wow fadeIn" data-wow-delay="0.1s">
<div class="container py-5">
<div class="row g-5">
<div class="col-lg-3 col-md-6">
<a href="index.html" class="navbar-brand ms-4 ms-lg-0 pb-5 ">
<img src="./NEWIMAGES/BEYONDLIMITS LOGO.png" class="head-logo" alt="">
</a>
</span></h1>
<p class="mt-3">Beyondlimits social foundation empowers communities through education, skill
development, and
social welfare, fostering sustainable change and growth.</p>
<div class="d-flex pt-2">
<a class="btn btn-square me-1" href=""><i class="fab fa-twitter"></i></a>
<a class="btn btn-square me-1"
href="https://www.facebook.com/share/1F7ZYrR8Vp/"><i class="fab fa-facebook-f"></i></a>
<a class="btn btn-square me-1"
href="https://www.instagram.com/beyondlimitsnpo?igsh=MXZ0aG95bmhxbXVlbw=="><i class="fab fa-instagram"></i></a>
<a class="btn btn-square me-0" href=""><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
<div class="col-lg-3 col-md-6">
<h5 class="text-warning mb-4">Address</h5>
<p><i class="fa fa-map-marker-alt me-3"></i>Plot no-226, ward no-11, Chakabandi road, Bhabua
kaimur,Bihar
821106</p>
<p><i class="fa fa-phone-alt me-3"></i>+91 8588897779</p>
<p><i class="fa fa-envelope me-3"></i>info@beyondlimits.org.in</p>
</div>
<div class="col-lg-3 col-md-6">
<h5 class="text-warning mb-4">Quick Links</h5>
<a class="btn btn-link" href="index.html">Home</a>
<a class="btn btn-link" href="about.html">Who We Are </a>
<a class="btn btn-link" href="causes.html">Our Causes </a>
<a class="btn btn-link" href="service.html">Our Work</a>
<a class="btn btn-link" href="contact.html">Contact Us</a>
<a class="btn btn-link" href="certificate.html">Legal Documents </a>
<a class="btn btn-link" href="join_us.html">Get Involved</a>
<a class="btn btn-link" href="donate.html">Donate Now</a>
<a class="btn btn-link" href="Privacy_Policy.html">Privacy Policy</a>
<a class="btn btn-link" href="terms_&_condition.html">Terms & condition</a>
<a class="btn btn-link" href="refund_policy.html">Refund policy</a>
</div>
<div class="col-lg-3 col-md-6">
<h5 class="text-warning mb-4">Our Work </h5>
<a class="btn btn-link" href="service.html">Skill Development</a>
<a class="btn btn-link" href="service.html">Educational Support</a>
<a class="btn btn-link" href="service.html">Leadership programs </a>
<a class="btn btn-link" href="service.html">Academic and practical knowledge program</a>
<a class="btn btn-link" href="service.html">Women Empowerment</a>
<a class="btn btn-link" href="service.html">Youth Training</a>
<a class="btn btn-link" href="service.html">Community Upliftment</a>
<a class="btn btn-link" href="service.html">Health Awareness</a>
</div>
</div>
</div>
<div class="container-fluid copyright">
<div class="container">
<div class="row">
<div class="col-md-6 text-center text-md-start mb-3 mb-md-0">
©2025, All Right Reserved By <a href="#">Beyondlimits social foundation</a>.
</div>
<div class="col-md-6 text-center text-md-end">
Designed By <a href="https://zixinindia.com">Zixin</a>💖
</div>
</div>
</div>
</div>
</div> -->
<!-- Footer End -->
<!-- whatsapp integration start -->
<!-- <div class="whatsapp-float">
<a href="https://wa.me/+918588897779" target="_blank"><img src="./NEWIMAGES/wp.png" style="z-index: 999;" alt=""
whatsapp-float-btn></a>
</div> -->
<!-- whatsapp integration end -->
<!-- Back to Top -->
<a href="#" class="btn btn-lg btn btn-lg-square back-to-top abtbg"><i class="bi bi-arrow-up"></i></a>
<script>
document.getElementById("donation-form").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 purpose = document.getElementById("purpose").value;
let amount = parseFloat(document.getElementById("amount").value.trim());
if (!name || !email || !phone || !purpose || !amount || amount <= 0) {
alert("Please fill in all fields correctly.");
return;
}
let options = {
"key": "rzp_live_7j9Zcd3czWZicj", // Replace with your Razorpay key
"amount": amount * 100,
"currency": "INR",
"name": "Beyondlimits Foundation",
"description": purpose,
"handler": function (response) {
// After successful payment, post data to PHP to save
fetch("", {
method: "POST",
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: new URLSearchParams({
name: name,
email: email,
phone: phone,
purpose: purpose,
amount: amount,
payment_id: response.razorpay_payment_id
})
})
.then(res => res.text())
.then(data => {
if (data.trim() === "success") {
document.getElementById("status-message").innerHTML = '<div class="alert alert-success">Thank you for your donation!</div>';
document.getElementById("donation-form").reset();
} else {
document.getElementById("status-message").innerHTML = '<div class="alert alert-danger">Something went wrong.</div>';
}
});
},
"prefill": {
"name": name,
"email": email,
"contact": phone
},
"theme": {
"color": "#00a2c7"
}
};
let rzp = new Razorpay(options);
rzp.open();
});
</script>
<!-- JavaScript Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<script src="lib/easing/easing.min.js"></script>
<script src="lib/waypoints/waypoints.min.js"></script>
<script src="lib/owlcarousel/owl.carousel.min.js"></script>
<script src="lib/parallax/parallax.min.js"></script>
<!-- Template Javascript -->
<script src="js/main.js"></script>
</body>
</html>