-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate_donation_post.php
146 lines (118 loc) · 4.04 KB
/
update_donation_post.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?php
session_start();
include 'common/connect.php';
$id = $_GET["delid"];
if (isset($_POST['submit'])) {
# code...
$rec_msg = $_POST['rec_msg'];
$volunteer_id = $_SESSION['volunteer_id'];
date_default_timezone_set('Asia/Kolkata');
$date = date('Y-m-d h:i:s');
$ext = $obj->query("update volunteer_acceptance set receive_message='$rec_msg',receive_datetime='$date' where v_id='$id'");
if( $ext){
echo "<script>alert(' Status updated Successfullly');document.location='home.php';</script>";
}
else {
echo "<script>alert(' error');</script>";
}
}
?>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
-->
<!doctype html>
<html lang="zxx">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Helping-Hand(NGO)
</title>
<!-- Template CSS -->
<link rel="stylesheet" href="assets/css/style-starter.css">
<!-- Template CSS -->
<link href="//fonts.googleapis.com/css?family=Poppins:300,400,400i,500,600,700&display=swap" rel="stylesheet">
<!-- Template CSS -->
</head>
<body>
<!--w3l-header-->
<?php include 'common/header.php'; ?>
<!--/header-->
<div class="inner-banner">
</div>
<!-- /contact-form -->
<section class="w3l-contact-11">
<div class="form-41-mian py-5">
<div class="container py-lg-4">
<div class="row align-form-map">
<div class="col-lg-12 form-inner-cont">
<div class="title-content text-left">
<h3 class="hny-title mb-lg-5 mb-4">Update status donation post</h3>
</div>
<form method="post" class="signin-form">
<!-- <div class="col-lg-10 form-input">
<select class="form-control" id="status" name="status">
<option value="">--Select Accept--</option>
<option value="accept">Accept</option>
</select>
</div> -->
<div class="form-input col-lg-10">
<textarea placeholder="Receive Message" name="rec_msg" id="rec_msg" required=""></textarea>
</div>
<div class="submit-button text-lg-center">
<button type="submit" class="btn btn-style" name="submit" id="submit">Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- <div class="map">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3671.5832020013786!2d72.62799931496815!3d23.039070984944615!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x395e8691219fcc49%3A0x3b9e0bbd566d855d!2sBrainKlick%20Technologies!5e0!3m2!1sen!2sin!4v1672226949385!5m2!1sen!2sin" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div> -->
</section>
<!-- //contact-form -->
<!-- footer-66 -->
<?php include 'common/footer.php'; ?>
<!--//footer-66 -->
</body>
</html>
<script src="assets/js/jquery-3.3.1.min.js"></script>
<!-- disable body scroll which navbar is in active -->
<!-- disable body scroll which navbar is in active -->
<script>
$(function () {
$('.navbar-toggler').click(function () {
$('body').toggleClass('noscroll');
})
});
</script>
<!-- disable body scroll which navbar is in active -->
<!--/MENU-JS-->
<script>
$(window).on("scroll", function () {
var scroll = $(window).scrollTop();
if (scroll >= 80) {
$("#site-header").addClass("nav-fixed");
} else {
$("#site-header").removeClass("nav-fixed");
}
});
//Main navigation Active Class Add Remove
$(".navbar-toggler").on("click", function () {
$("header").toggleClass("active");
});
$(document).on("ready", function () {
if ($(window).width() > 991) {
$("header").removeClass("active");
}
$(window).on("resize", function () {
if ($(window).width() > 991) {
$("header").removeClass("active");
}
});
});
</script>
<!--//MENU-JS-->
<script src="assets/js/bootstrap.min.js"></script>