-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
445 lines (412 loc) · 18.5 KB
/
Copy pathindex.php
File metadata and controls
445 lines (412 loc) · 18.5 KB
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
<?php
//Connecting to Database
$db = mysqli_connect('localhost', 'root', '', 'care');
//Total Relief Center Count
$sql="SELECT * FROM rc_register";
$res=mysqli_query($db,$sql);
$count=mysqli_num_rows($res);
//Total Refugee Count
$sql2="SELECT * FROM refugee_info";
$res2=mysqli_query($db,$sql2);
$count2=mysqli_num_rows($res2);
//Total Volunteers Count
$sql3="SELECT * FROM volunteer_info";
$res3=mysqli_query($db,$sql3);
$count3=mysqli_num_rows($res3);
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>CareHand</title>
<link rel="icon" href="img/favicon.png">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- animate CSS -->
<link rel="stylesheet" href="css/animate.css">
<!-- owl carousel CSS -->
<link rel="stylesheet" href="css/owl.carousel.min.css">
<!-- themify CSS -->
<link rel="stylesheet" href="css/themify-icons.css">
<!-- flaticon CSS -->
<link rel="stylesheet" href="css/flaticon.css">
<!-- magnific popup CSS -->
<link rel="stylesheet" href="css/magnific-popup.css">
<!-- nice select CSS -->
<link rel="stylesheet" href="css/nice-select.css">
<!-- swiper CSS -->
<link rel="stylesheet" href="css/slick.css">
<!-- style CSS -->
<link rel="stylesheet" href="css/style.css">
<!-- <script type="text/javascript">
(function(d, m){
var kommunicateSettings =
{"appId":"1184c9013f5377226f54b79f86a5bca1f","popupWidget":true,"automaticChatOpenOnNavigation":true};
var s = document.createElement("script"); s.type = "text/javascript"; s.async = true;
s.src = "https://widget.kommunicate.io/v2/kommunicate.app";
var h = document.getElementsByTagName("head")[0]; h.appendChild(s);
window.kommunicate = m; m._globals = kommunicateSettings;
})(document, window.kommunicate || {});
/* NOTE : Use web server to view HTML files as real-time update will not work if you directly open the HTML file in the browser. */
</script> -->
</head>
<body>
<!--::header part start::-->
<header class="main_menu home_menu">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-12">
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="index.php"><img src="img/favicon.png" alt="logo"></a>
<h3><font color="#fff">CareHand</font></h3>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="ti-menu"></span>
</button>
<div class="collapse navbar-collapse main-menu-item justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav align-items-center">
<li class="nav-item">
<a class="nav-link" href="rclist.php">Relief Centers</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="" id="navbarDropdown_1" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Donate</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown_1">
<a class="dropdown-item" href="donate.php">Donate To Charity</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="" id="navbarDropdown" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Info</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="medicalinfo.php">Medical Info</a>
<a class="dropdown-item" href="EmergencyNo.php">Emergency Numbers</a>
</div>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="EmergencyNo.php">Emergency Numbers</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="about.php">Contact us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="rclogin.php">Login</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</header>
<!-- Header part end-->
<!-- banner part start-->
<section class="banner_part">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6 offset-lg-5">
<div class="banner_text">
<div class="banner_text_iner">
<h1>Bless others with
your gift</h1>
<p>Your greatness is not what you have , It's what you give.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- banner part end-->
<!-- Works part start-->
<section class="feature_part">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-8">
<div class="section_tittle text-center">
<p>Awesome Feature</p>
<h2>How Could You Help </h2>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-lg-5 col-sm-6">
<div class="single_feature">
<div class="single_feature_part">
<div class=" d-flex align-items-center">
<img src="img/icon/feature_1.svg" alt="">
<h4>Give Support To The Refugee</h4>
</div>
<p>Provide support for those who are fleeing violence by offering them
emergency health,shelter,and educational service.</p>
</div>
</div>
</div>
<div class="col-lg-5 col-sm-6">
<div class="single_feature">
<div class="single_feature_part">
<div class=" d-flex align-items-center">
<img src="img/icon/feature_2.svg" alt="">
<h4>Become A Volunteer</h4>
</div>
<p>A person who does something,especially helping other people,willingly and
without being forced or paid to do it.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Works part end-->
<!-- Newsfeed section starts-->
<section>
<marquee scrollamount="10" hspace="0%" bgcolor="#151721" style="letter-spacing: 2px;text-transform: initial;">
<h5><b style="color: #8653b5;">LATEST NEWS</b>::- --
<b style="color: #fff;">
<?php
$query="SELECT * FROM newsfeed WHERE status='show' ORDER BY date desc ";
$result=mysqli_query($db,$query);
while ($row=mysqli_fetch_array($result,MYSQLI_ASSOC)) //Showing News as marquee
{
echo "{$row['news']} <b> ⇔ </b>";
}
?>
</b>
</h5></marquee>
</section>
<!-- Newsfeed section End -->
<!-- Donation part start-->
<section class="be_part">
<div class="container">
<div class="row justify-content-between align-items-center">
<div class="col-lg-6">
<div class="be_part_text">
<h2>Be a part of the break
through and make someone
happy</h2>
<p>Fundraising does not begin and end with cold hard cash.You could be using your
assets to end poverty in the hardest places.</p>
<a href="donate.php" class="btn_2">lets donate</a>
</div>
</div>
</div>
</div>
<img src="img/Charity.jpg" alt="" class="be_img">
</section>
<!-- Donation part end-->
<!-- Counter part start-->
<section class="counter">
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="single_counter d-flex">
<img src="img/icon/feature_1.svg" >
<div class="single_counter_text">
<p>Total Registered Relief Centers</p>
<span class="count"><?php echo "$count"; ?></span>
</div>
</div>
<div class="single_counter d-flex">
<img src="img/icon/feature_2.svg" >
<div class="single_counter_text">
<p>Helped People</p>
<span class="count"><?php echo "$count2"; ?></span>
</div>
</div>
<div class="single_counter d-flex">
<img src="img/icon/feature_3.svg" >
<div class="single_counter_text">
<p>Total Volunteer</p>
<span class="count"><?php echo "$count3"; ?></span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Counter part end-->
<!--::Flood info part start::-->
<section class="passion_part section_padding">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-8">
<div class="section_tittle text-center">
<p>What We Faced Earlier</p>
<h2>What We Done Together</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-lg-4 col-xl-4">
<div class="single-home-passion">
<div class="card">
<img src="img/kerala/img5.jpeg" class="card-img-top" alt="blog">
<div class="card-body">
<a href="#"><h5 class="card-title">The Flood</h5></a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-4 col-xl-4">
<div class="single-home-passion">
<div class="card">
<img src="img/kerala/img2.jpeg" class="card-img-top" alt="blog">
<div class="card-body">
<a href="#"><h5 class="card-title">The Saviour</h5></a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-4 col-xl-4">
<div class="single-home-passion">
<div class="card">
<img src="img/kerala/img4.jpeg" class="card-img-top" alt="blog">
<div class="card-body">
<a href="#"><h5 class="card-title">The Helper</h5></a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--::Flood info part end::-->
<!-- Volunteer Reg part start-->
<section class="intro_video_bg">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8 col-lg-6">
<div class="intro_video_iner text-center">
<h2>" Only a life lived for others is worth living "</h2>
<a href="volunteers.php" class="btn_2">Become a Volunteer</a>
</div>
</div>
</div>
</div>
</section>
<!-- Volunteer Reg part start-->
<!--::volunteers_part start::-->
<section class="volunteers_part section_padding">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-8">
<div class="section_tittle text-center">
<p>volunteers</p>
<h2>Expert Volunteers</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-lg-3">
<div class="single_blog_item">
<div class="single_blog_img">
<img src="img/kerala/img6.jpg" alt="doctor">
<div class="social_icon"></div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3">
<div class="single_blog_item">
<div class="single_blog_img">
<img src="img/kerala/img7.jpeg" alt="doctor">
<div class="social_icon">
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3">
<div class="single_blog_item">
<div class="single_blog_img">
<img src="img/kerala/img8.jpeg" alt="doctor">
<div class="social_icon">
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3">
<div class="single_blog_item">
<div class="single_blog_img">
<img src="img/kerala/img9.jpeg" alt="doctor">
<div class="social_icon">
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--::volunteers_part end::-->
<!-- footer part start-->
<footer class="footer-area">
<div class="container">
<div class="row justify-content-between">
<div class="col-sm-6 col-md-4 col-xl-3">
<div class="single-footer-widget footer_1">
<a href="index.php"> <img src="img/favicon.png" alt=""> </a><font color="#fff">CareHand</font>
<p>A webportal which helps the peoples to easily
find out where the relief centers are placed,and donate requirements they needed.They can register as a volunteer.
</p>
</div>
</div>
<div class="col-xl-3 col-sm-6 col-md-4">
<div class="single-footer-widget footer_2">
<h4>Contact us</h4>
<p>##########</p>
<div class="contact_info">
<p><span class="ti-mobile"></span> +91 ###########</p>
<p><span class="ti-email"></span>reliefproject@gmail.com </p>
<p><span class="ti-world"></span>reliefcell.com </p>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="copyright_part_text text-center">
<div class="row">
<div class="col-lg-12">
<p class="footer-text m-0">
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- footer part end-->
<!-- jquery plugins here-->
<script src="js/jquery-1.12.1.min.js"></script>
<!-- popper js -->
<script src="js/popper.min.js"></script>
<!-- bootstrap js -->
<script src="js/bootstrap.min.js"></script>
<!-- easing js -->
<script src="js/jquery.magnific-popup.js"></script>
<!-- swiper js -->
<script src="js/swiper.min.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/jquery.smooth-scroll.min.js"></script>
<!-- swiper js -->
<script src="js/masonry.pkgd.js"></script>
<!-- particles js -->
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.nice-select.min.js"></script>
<!-- swiper js -->
<script src="js/slick.min.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/waypoints.min.js"></script>
<!-- contact js -->
<script src="js/jquery.ajaxchimp.min.js"></script>
<script src="js/jquery.form.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/mail-script.js"></script>
<script src="js/contact.js"></script>
<!-- custom js -->
<script src="js/custom.js"></script>
</body>
</html>