-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDonate.php
203 lines (190 loc) · 6.7 KB
/
Donate.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<?php include('include/conn.php');?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Responsive Meta-->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<!-- Website SEO -->
<meta name="keyword" content="HIS, Online Hospital Management System" />
<meta name="description" content="Online Hospital Management System" />
<!-- Author -->
<meta name="author" content="Ahnaf Sayed" />
<!-- Favicon icon -->
<link rel="icon" type="image/png" href="assets/img/logo/mlogo.png" />
<meta name="robots" content="noindex">
<!-- Page Title -->
<title>Ambulance | Healing Infirmary</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<!-- OWl-Carousel CSS -->
<link rel="stylesheet" href="assets/css/owl.carousel.min.css" />
<link rel="stylesheet" href="assets/css/owl.theme.default.min.css" />
<!-- Lightbox CSS -->
<link rel="stylesheet" href="assets/css/lightbox.min.css" />
<!-- Animate CSS -->
<link rel="stylesheet" href="assets/css/animate.min.css" />
<!-- Fontawesome CSS-->
<link rel="stylesheet" href="assets/font/css/font-awesome.min.css" />
<link rel="stylesheet" href="assets/font/css/font-awesome.min.css" />
<!-- Custom Style CSS -->
<link rel="stylesheet" href="assets/css/style1.css" />
<link rel="icon" href="assets/img/mlogo.png">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap"rel="stylesheet"/>
</head>
<body>
<!-- ============== Top Header Start ====================== -->
<header id="top" class="bg-light">
<div class="container">
<div class="d-flex justify-content-between">
<!-- ================= Left Top Side Start========== -->
<div class="first">
<ul class="d-flex flex-row bd-highlight mb-3 top_list">
<li class="">
<a href="#" class="text-white">
<i class="bi bi-phone"></i> <a href="tel:01866263500">+8801866263500</a>
</a>
</li>
<li class="">
<a href="#" class="text-white">
<i class="bi bi-envelope"></i> <a href="mailto:[email protected]">[email protected]</a>
</a>
</li>
<li class="">
<a href="#" class="text-white">
<i class="fa fa-calendar" aria-hidden="true"></i> <span class="d_class">Sun-Mon (9am-4pm) </span>
</a>
</li>
</ul>
</div>
<!-- ============= Left To Side End ============== -->
<!-- ============= Right To Side Start ============== -->
<div class="second">
<ul class="d-flex flex-row bd-highlight mb-3 top_list">
<li>
<a href="login.php" class="text-primary">
Login
</a>
</li> <span class="login_border">|</span>
<li class="">
<a href="type-selection.php" class="text-primary">
Register
</a>
</li>
</ul>
</div>
<!-- ============ Right Top Side End ============ -->
</div>
</div>
</header>
<!-- ============== Top Header End ====================== -->
<!-- ============== Nav Header Start ====================== -->
<div class="navsection custom_nv_bg_col" id="navstart">
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light ">
<a class="navbar-brand" href="#">
<h3 class="logo me-auto"><a href="home.php">Healing Infirmary</a></h3>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="home.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#recentnews">Recent News</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#contact">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Ambulance.php">Ambulance</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
<!-- ============== Nav Header End ====================== -->
<main class="app-content">
<div class="app-title">
<div>
<h1>Donation Requests</h1>
</div>
<ul class="app-breadcrumb breadcrumb side">
</ul>
</div>
<div class="row">
<div class="col-md-12">
<div class="tile">
<div class="tile-body">
<div class="table-responsive">
<table class="table table-hover table-bordered" id="sampleTable">
<tr>
<td>Name</td>
<td>NID No.</td>
<td>Description</td>
<td>Donation Amount</td>
<td>Money Transfer Method</td>
</tr>
<?php
require_once('include/conn.php');
foreach ($dbh->query('SELECT * FROM donation_request') as $row) {
echo "
<tr>
<td>" . $row["name"] . "</td>
<td>" . $row["nidno"] . "</td>
<td>" . $row["description"] . "</td>
<td>" . $row["donationamount"] . "</td>
<td>" . $row["moneytransfermethod"] . "</td>
</tr>
";
}
?>
</table>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- ============== Footer Section Start =============-->
<footer class="footer">
<div class="container">
<div class="footer_bottom">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 text-light pt-3 pb-3 copy">
© Copyright 2022<span id="date"></span>. All Rights Reserved
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 text-center text-white pt-3 pb-3">
Design by <a href="home.html">Healing Infirmary System</a>
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 pt-3 pb-3">
<ul class="list d-flex justify-content-center custom_list">
<li class="c_p"><a href="#" class="custom_text_color">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a></li>
<li><a href="#" class="custom_text_color">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a></li>
<li><a href="#" class="custom_text_color">
<i class="fa fa-google-plus" aria-hidden="true"></i>
</a></li>
<li><a href="#" class="custom_text_color">
<i class="fa fa-youtube-play" aria-hidden="true"></i>
</a></li>
<li><a href="#" class="custom_text_color">
<i class="fa fa-linkedin" aria-hidden="true"></i>
</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>
<!-- ============== Footer Section End =============-->