PNG IHDR x sBIT|d pHYs + tEXtSoftware www.inkscape.org< ,tEXtComment
<?php
require "include/header.php";
if(isset($_GET["id"])){
$id= $_GET["id"];
$sql= "SELECT * FROM celeb WHERE id= $id";
$quary= mysqli_query($connection,$sql);
$celeb= mysqli_fetch_assoc($quary);
} else{
}
?>
<main id="main">
<!-- ======= Breadcrumbs ======= -->
<div class="breadcrumbs d-flex align-items-center" style="background-image: url('assets/img/blog-header.jpg');">
<div class="container position-relative d-flex flex-column align-items-center">
<h2>Donate to Celebrity </h2>
<ol>
<li><a href="index.php">Home</a></li>
<li><a href="">celebrity details</a></li>
<li>book Celebrity </li>
</ol>
</div>
</div><!-- End Breadcrumbs -->
<style>
input,
select {
margin-top: 3px;
margin-bottom: 14px;
height: 50px;
}
label {
font-size: 18px;
}
</style>
<!-- ======= Blog Details Section ======= -->
<div class="container">
<section class="form">
<?php
if(isset($success)){
?>
<div class="alert alert-success" role="alert">
<?php echo $success;?>
</div>
<?php
}else{
if(isset($error)){
?>
<div class="alert alert-danger" role="alert">
<?php echo $error;?>
</div>
<?php
}
}
?>
<form action="" id="bookingForm" method="POST">
<label for="">FullName</label>
<input type="text" placeholder="Enter your name" name="name" required style="border-radius:0:"
class="form-control">
<div class="row">
<div class="col-md">
<label for="">Email</label>
<input type="text" required placeholder="Enter your email" name="email" class="form-control">
</div>
<div class="col-md">
<label for="">Phone Number</label>
<input type="text" required name="phone" placeholder="Enter your Contact Number"
class="form-control">
</div>
</div>
<div class="row">
<div class="col-md">
<label for="">Street Name</label>
<input type="text" required name="street" class="form-control">
</div>
<div class="col-md">
<label for="">City</label>
<input type="text" required name="city" class="form-control">
</div>
</div>
<div class="row">
<div class="col-md">
<label for="">State/Province</label>
<input type="text" required name="state" class="form-control">
</div>
<div class="col-md">
<label for="">Country</label>
<select name="country" class="form-control" id="">
<option value="">Select Your Country</option>
<?php
$sql_country= "SELECT * FROM countries";
$quary_country= mysqli_query($connection,$sql_country);
while($country= mysqli_fetch_assoc($quary_country))
{
?>
<option value="<?php echo $country["name"];?>"><?php echo $country["name"];?></option>
<?php
}
?>
</select>
</div>
</div>
<div class="row">
<div class="col-md">
<label for="">Choose Celebrity</label>
<select type="text" required name="celeb" class="form-control">
<option value=""> select your celebrity</option>
<?php
$sql_c= "SELECT * FROM celeb";
$quary_c= mysqli_query($connection,$sql_c);
while($celeb_c= mysqli_fetch_assoc($quary_c))
{
?>
<option value="<?php echo $celeb_c["id"];?>"><?php echo $celeb_c["name"];?></option>
<?php
}
?>
</select>
</div>
</div>
<label for="">Note</label>
<textarea name="note" class="form-control" id="" cols="30" rows="10"></textarea>
<br>
<button class="btn btn-success btn-lg" name="donate" style="border-radius:0;">Submit Donation</button>
<div class="processing-container">
</div>
</form>
</section>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- <script>
$(document).ready(function() {
// Attach a click event handler to the button
$('#ajaxButton').on('click', function() {
// Make an AJAX request when the button is clicked
var ref = '<?php echo $bnk_ref;?>';
var amount = '<?php echo $grand_total;?>';
console.log(amount);
$.ajax({
type: "GET",
url: "admin/inc/verify-payment.php",
data: {
"ref": ref,
"amount": amount
},
beforeSend: function() {
$("#message").fadeIn();
$("#oflinepay").fadeOut();
},
success: function(response) {
$("#message").find("strong").html(
"Payment notification recived <br> Please wait your payment shotly..."
);
$('#exampleModal').fadeOut();
setTimeout(function() {
window.location.href = "users";
}, 5000); // 5000 milliseconds = 5 seconds
},
});
});
});
</script>
</script> -->
</main><!-- End #main -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- ======= Footer ======= -->
<?php
require "include/footer.php";
?>
b IDATxytVսϓ22 A@IR:hCiZ[v*E:WũZA ^dQeQ @ !jZ'>gsV仿$|?g)&x-E