-
Notifications
You must be signed in to change notification settings - Fork 0
/
Page1.php
988 lines (781 loc) · 44 KB
/
Page1.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
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
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<title>Red Drop</title>
<!-- For the Hospital Login -->
<script>
function validateHlogin(){
$unme2=document.getElementById("HLoginusername").value;
$lpwd2=document.getElementById("HLoginpwd").value;
if($unme2=="" || $lpwd2=="")
{
$("#errorDiv2").addClass('alert alert-danger');
$("#errorDiv2").html("Please fill all fields.");
return false;
}
else
{
//php code for authentication
HloginsendDataToServer();
}
}
function HloginsendDataToServer(){
var username= document.getElementById("HLoginusername").value;
var password= document.getElementById("HLoginpwd").value;
/* $("#form1").submit(function(event){
event.preventDefault() ;
var datatopost = $(this).serializeArray() ;*/
event.preventDefault() ;
$.ajax({
url: "Hlogin.php",
type: "POST",
data:{
username:username,
password:password,
},
success:function(data){
if (data == "true"){
window.location = "HospitalRegister.php" ;
}
else{
$("#errorDiv2").addClass('alert alert-danger');
$("#errorDiv2").html("Please enter valid username or password.");
return false;
}
}
});
// });
}
</script>
<!-- For the Donor Login -->
<script>
function validateDlogin(){
$unme2=document.getElementById("DLoginusername").value;
$lpwd2=document.getElementById("DLoginpwd").value;
if($unme2=="" || $lpwd2=="")
{
$("#errorDiv3").addClass('alert alert-danger');
$("#errorDiv3").html("Please fill all fields.");
return false;
}
else
{
//php code for authentication
DloginsendDataToServer();
}
}
function DloginsendDataToServer(){
var username= document.getElementById("DLoginusername").value;
var password= document.getElementById("DLoginpwd").value;
/* $("#form1").submit(function(event){
event.preventDefault() ;
var datatopost = $(this).serializeArray() ;*/
event.preventDefault() ;
$.ajax({
url: "DonorLogin.php",
type: "POST",
data:{
username:username,
password:password,
},
success:function(data){
if (data == "true"){
window.location = "DonorProfile.php" ;
}
else{
$("#errorDiv3").addClass('alert alert-danger');
$("#errorDiv3").html("Please enter valid username or password.");
return false;
}
}
});
// });
}
</script>
<!-- For the Hospital Sign up -->
<script>
function validateHsignup(){
$unme2=document.getElementById("HSignupusername").value;
$lpwd2=document.getElementById("HSignuppwd").value;
if($unme2=="" || $lpwd2=="")
{
$("#errorDiv1").addClass('alert alert-danger');
$("#errorDiv1").html("Please fill all fields.");
return false;
}
else
{
//php code for authentication
HsignupsendDataToServer();
}
}
function HsignupsendDataToServer(){
var username= document.getElementById("HSignupusername").value;
var password= document.getElementById("HSignuppwd").value;
/* $("#form1").submit(function(event){
event.preventDefault() ;
var datatopost = $(this).serializeArray() ;*/
event.preventDefault() ;
$.ajax({
url: "Login.php",
type: "POST",
data:{
username:username,
password:password,
},
success:function(data){
if (data == "true"){
window.location = "HospitalRegister.php" ;
}
else{
$("#errorDiv1").addClass('alert alert-danger');
$("#errorDiv1").html("Please enter valid username or password.");
return false;
}
}
});
// });
}
</script>
<style>
.navbar-custom {
background-color: #ff3333;
border-color: #ff1212;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ff6666), to(#ff3333));
background-image: -webkit-linear-gradient(top, #ff6666, 0%, #ff3333, 100%);
background-image: -moz-linear-gradient(top, #ff6666 0%, #ff3333 100%);
background-image: linear-gradient(to bottom, #ff6666 0%, #ff3333 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff6666', endColorstr='#ffff3333', GradientType=0);
padding: 10px 0px;
}
.navbar-custom .navbar-brand {
color: #ffffff;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
color: #e6e6e6;
background-color: transparent;
}
.navbar-custom .navbar-text {
color: #ffffff;
}
.navbar-custom .navbar-nav > li:last-child > a {
border-right: 1px solid #ff1212;
}
.navbar-custom .navbar-nav > li > a {
color: #ffffff;
border-left: 1px solid #ff1212;
}
.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus {
color: #c0c0c0;
background-color: transparent;
}
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
color: #c0c0c0;
background-color: #ff1212;
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ff1212), to(#ff4545));
background-image: -webkit-linear-gradient(top, #ff1212, 0%, #ff4545, 100%);
background-image: -moz-linear-gradient(top, #ff1212 0%, #ff4545 100%);
background-image: linear-gradient(to bottom, #ff1212 0%, #ff4545 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff1212', endColorstr='#ffff4545', GradientType=0);
}
.navbar-custom .navbar-nav > .disabled > a,
.navbar-custom .navbar-nav > .disabled > a:hover,
.navbar-custom .navbar-nav > .disabled > a:focus {
color: #cccccc;
background-color: transparent;
}
.navbar-custom .navbar-toggle {
border-color: #dddddd;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
background-color: #dddddd;
}
.navbar-custom .navbar-toggle .icon-bar {
background-color: #cccccc;
}
.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
border-color: #ff0f0f;
}
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
.navbar-custom .navbar-nav > .dropdown > a:focus .caret {
border-top-color: #c0c0c0;
border-bottom-color: #c0c0c0;
}
.navbar-custom .navbar-nav > .open > a,
.navbar-custom .navbar-nav > .open > a:hover,
.navbar-custom .navbar-nav > .open > a:focus {
background-color: #ff1212;
color: #c0c0c0;
}
.navbar-custom .navbar-nav > .open > a .caret,
.navbar-custom .navbar-nav > .open > a:hover .caret,
.navbar-custom .navbar-nav > .open > a:focus .caret {
border-top-color: #c0c0c0;
border-bottom-color: #c0c0c0;
}
.navbar-custom .navbar-nav > .dropdown > a .caret {
border-top-color: #ffffff;
border-bottom-color: #ffffff;
}
@media (max-width: 767) {
.navbar-custom .navbar-nav .open .dropdown-menu > li > a {
color: #ffffff;
}
.navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
color: #c0c0c0;
background-color: transparent;
}
.navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
.navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #c0c0c0;
background-color: #ff1212;
}
.navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
.navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
.navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
color: #cccccc;
background-color: transparent;
}
}
.navbar-custom .navbar-link {
color: #ffffff;
}
.navbar-custom .navbar-link:hover {
color: #c0c0c0;
}
body {
padding-top: 70px;
}
.foot{
background-color: #d9d9d9;
}
.nav>li>a {
padding-top: 15px;
padding-bottom: 15px;
}
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
}
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
</style>
</head>
<body>
<nav class="navbar navbar-custom navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navCollapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--<img src="logo1.JPG" style="padding: 0;" class="img-rounded img-responsive navbar">-->
<a class="navbar-brand" href="#"><span style="color: #FFFFFF;">Red Drop</span></a>
</div>
<div class="collapse navbar-collapse" id="navCollapse">
<ul class="nav navbar-nav navbar-right">
<li><a class="dropdown-toggle" data-toggle="dropdown" href="#">Sign Up<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="DonorRegister.php">as Donor</a></li>
<li><a href="#" data-toggle="modal" data-target="#HSignUp">as Hospital</a></li>
</ul>
</li>
<li><a class="dropdown-toggle" data-toggle="dropdown" href="#">Log In<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#" data-toggle="modal" data-target="#DLogin">as Donor</a></li>
<li><a href="#" data-toggle="modal" data-target="#HLogin">as Hospital</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- Log In as Hospital -->
<div class="modal fade" id="HLogin" tabindex="-1" role="dialog" aria-labelledby="helpModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="myModalLabel">hey</h4>
</div>
<div class="modal-body">
<div id="errorDiv2"></div>
<form id="form3" onsubmit="return validateHlogin()" action="HospitalRegister.php" method="POST">
<div class="form-group text-center">
<label for="HLoginusername" class="col-sm-5 control-label"><h4>Username:</h4></label>
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-user">
</span>
</span>
<input type="text" class="form-control" name="HLoginusername" id="HLoginusername" placeholder="Username">
</div>
</div>
</div>
<br><br><br>
<div class="form-group text-center">
<label for="HLoginpwd" class="col-sm-5 control-label"><h4>Password:</h4></label>
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-lock">
</span>
</span>
<input type="password" name="HLoginpwd" class="form-control" id="HLoginpwd" placeholder="Password">
</div>
</div>
</div>
</form>
</div>
<br><br><br>
<div class="modal-footer">
<input type="submit" name="HLogin" class="btn btn-primary" value="Login" form="form3">
 
<a class="btn btn-default" data-dismiss="modal" name="HCancel" type="submit">Cancel</a>
</div>
</div>
</div>
</div>
<!-- Login as Donor -->
<div class="modal fade" id="DLogin" tabindex="-1" role="dialog" aria-labelledby="helpModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="myModalLabel">hey</h4>
</div>
<div class="modal-body">
<div id="errorDiv3"></div>
<form id="form2" onsubmit="return validateDlogin()" action="HospitalRegister.php" method="POST">
<div class="form-group text-center">
<label for="DLoginusername" class="col-sm-5 control-label"><h4>Username:</h4></label>
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-user">
</span>
</span>
<input type="text" class="form-control" name="DLoginusername" id="DLoginusername" placeholder="Username">
</div>
</div>
</div>
<br><br><br>
<div class="form-group text-center">
<label for="DLoginpwd" class="col-sm-5 control-label"><h4>Password:</h4></label>
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-lock">
</span>
</span>
<input type="password" name="DLoginpwd" class="form-control" id="DLoginpwd" placeholder="Password">
</div>
</div>
</div>
</form>
</div>
<br><br><br>
<div class="modal-footer">
<input type="submit" name="DLogin" class="btn btn-primary" value="Login" form="form2">
 
<a class="btn btn-default" data-dismiss="modal" name="HCancel" type="submit">Cancel</a>
</div>
</div>
</div>
</div>
<!-- Hospital Sign up Modal -->
<div class="modal fade" id="HSignUp" tabindex="-1" role="dialog" aria-labelledby="helpModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title" id="myModalLabel">hey</h4>
</div>
<div class="modal-body">
<div id="errorDiv1"></div>
<form id="form1" onsubmit="return validateHsignup()" action="HospitalRegister.php" method="POST">
<div class="form-group text-center">
<label for="HSignupusername" class="col-sm-5 control-label"><h4>Username:</h4></label>
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-user">
</span>
</span>
<input type="text" class="form-control" name="HSignupusername" id="HSignupusername" placeholder="Username">
</div>
</div>
</div>
<br><br><br>
<div class="form-group text-center">
<label for="HSignuppwd" class="col-sm-5 control-label"><h4>Password:</h4></label>
<div class="col-sm-5">
<div class="input-group">
<span class="input-group-addon">
<span class="glyphicon glyphicon-lock">
</span>
</span>
<input type="password" name="HSignuppwd" class="form-control" id="HSignuppwd" placeholder="Password">
</div>
</div>
</div>
</form>
</div>
<br><br><br>
<div class="modal-footer">
<input type="submit" name="HSignup" class="btn btn-primary" value="Proceed" form="form1">
 
<a class="btn btn-default" data-dismiss="modal" name="HCancel" type="submit">Cancel</a>
</div>
</div>
</div>
</div>
<div class="conatiner">
<ul class="nav nav-tabs nav-justified" role="tablist">
<li class="active"><a class="btn btn-success" data-toggle="tab" href="#Home">Home</a></li>
<li><a data-toggle="tab" href="#BloodTips" class="btn btn-success">Blood Tips</a></li>
<li><a data-toggle="tab" href="#AboutUs" class="btn btn-success">About Us</a></li>
<li><a data-toggle="tab" href="#ContactUs" class="btn btn-success">Contact Us</a></li>
<!-- <li><a data-toggle="tab" href="#SignUp" class="btn btn-default">Sign Up</a></li>
<li><a data-toggle="tab" href="#LogIn" class="btn btn-default">Log In</a></li>-->
</ul>
</div>
<div class="tab-content">
<div id="Home" class="tab-pane fade in active">
<main role="main">
<div id="myCarousel" class="carousel slide " data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<div class="numbertext">1 / 3</div>
<img src="121.jpg" alt="First slide">
</div>
<div class="item">
<div class="numbertext">2 / 3</div>
<img src="122.jpg" alt="Second slide">
</div>
<div class="item">
<div class="numbertext">3 / 3</div>
<img src="123.jpg" alt="Third slide">
</div>
</div>
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" area-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" area-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<hr class="featurette-divider">
<div class="row featurette">
<div class="col-md-7 container">
<div class="featurette-heading jumbotron" style="background: transparent"><h2>"Love is much like a wild rose, beautiful and calm, but willing to draw blood in its defense"</h2></div>
<div class="jumbotron">
<p class="lead">Blood is a cleansing and sanctifying thing, and the nation that regards it as the final horror has lost its manhood … there are many things more horrible than bloodshed, and slavery is one of them!</p></div>
</div>
<div class="col-md-5">
<img class="img-circle person featurette-image img-fluid mx-auto" style="border-radius: 50%;" src="img/feat1.jpg" height="400" width="500" alt="Generic placeholder image">
</div>
</div>
<hr class="featurette-divider">
<div class="row featurette">
<div class="col-md-5 order-md-1">
<img class="featurette-image img-fluid mx-auto img-circle person" src="img/feat2.jpg" height="600" width="500" alt="Generic placeholder image">
</div>
<div class="col-md-7 order-md-2">
<div class="featurette-heading jumbotron text-center" style="background: transparent; font-size: 50px;">
Become Someone's Hero
</div>
<h3>
<span class="text-muted">See for yourself.</span>
</h3>
<br><br><br>
<div class="jumbotron">
<p class="lead text-center">Do You Feel You Don’T Have Much To Offer? You Have The Most Precious Resource Of All: The Ability To Save A Life By Donating Blood! Help Share This Invaluable Gift With Someone In Need
</p></div>
</div>
</div>
<hr class="featurette-divider">
<div class="row featurette">
<div class="col-md-7">
<div class="featurette-heading jumbotron" style="background: transparent"><h1 class="text-center">Part of Someone</h1></div>
<div class="jumbotron">
<p class="lead text-center">The blood you donate gives someone another chance at life. One day that someone may be a close relative, a friend, a loved one or even you.</p></div>
</div>
<div class="col-md-5 pull-right">
<img class="featurette-image img-fluid mx-auto" src="img/feat3.jpg" style="border-radius: 50%;" height="400" width="450" alt="Generic placeholder image">
</div>
</div>
</main>
</div>
<div id="AboutUs" class="tab-pane fade">
<div class="topdiv" style="margin-top:20px; padding-bottom: 20px;"></div>
<div class="container">
<div class="row">
<div class="col-md-6"><h2>About Us</h2><br>
<div>
<p>'One Drop' is the product resulted out of the initiative called 'DBMS Project' from PDPM IIITDM Jabalpur. Universally, 'Blood' is recognized as the most precious element that sustains life. It saves innumerable lives across the world in a variety of conditions. Once in every 2- seconds, someone, somewhere is desperately in need of blood. More than 29 million units of blood components are transfused every year. The need for blood is great - on any given day, approximately 39,000 units of Red Blood Cells are needed. Each year, we could meet only up to 1% (approx) of our nation’s demand for blood transfusion.
</p></div>
<p>
Despite the increase in the number of donors, blood remains in short supply during emergencies, mainly attributed to the lack of information and accessibility. We positively believe this tool can overcome most of these challenges by effectively connecting the blood donors with the blood recipients.</p>
</div>
<div class="col-md-1"></div>
<div class="col-md"><img src="img/about.jpg" alt="One Drop" height="400" width="400"></div>
</div>
</div>
</div>
<div id="ContactUs" class="tab-pane fade">
<div class="topdiv">
</div>
<br><br>
<div class="container marketing">
<div class="row">
<div class="col-lg-1" ></div>
<div class="col-lg-4">
<img class="rounded-circle" src="img/hospital.jpg" alt="Generic placeholder image" width="140" height="140">
<h2>Jabalpur City Hospital</h2>
<h5>
<p>Contact No.</p>
<p>9779989499</p>
<p>Address-</p>
<p>
Sadar Bazaar Main Road,Jabalpur
</p></h5>
</div>
<div class="col-lg-2" ></div>
<div class="col-lg-4">
<img class="rounded-circle" src="img/bank.jpg" alt="Generic placeholder image" width="140" height="140">
<h2>Jabalpur Blood Bank</h2><h5>
<p>Contact No.</p>
<p>9789939199</p>
<p>Address-</p>
<p>
Sadar Bazaar Main Road,Jabalpur
</p></h5>
</div>
</div>
</div>
<br><br><br>
</div>
<div id="BloodTips" class="tab-pane fade">
<div class="modal fade" id="Hlogin" tabindex="-1" role="dialog" aria-labelledby="helpModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">hey</h4>
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
</div>
<div class="modal-body">
<div class="container">
<br>
<form class="form-inline">
<div class="form-group">
<div style="padding-left:135px;">
<input type="text" class="form-control" name="Husername" id="Husername" placeholder="Username">
</div>
</div>
<br><br>
<div class="form-group">
<div style="padding-left:135px;">
<input type="password" class="form-control" name="Hpwd" id="Hpwd" placeholder="Password">
</div>
</div>
</form>
<br><br>
</div>
<div class="modal-footer">
<button class="btn-primary btn-lg" type="button">Proceed</button>
</div>
</div>
</div>
</div>
</div>
<div class="topdiv" style="margin-top:20px; padding-bottom: 20px;"></div>
<div class="container">
<div id="accordion" role="tablist" aria-multiselectable="true" class="container">
<div class="card">
<div class="card-header" role="tab" id="headingOne">
<h5 class="mb-0">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<div class="well" data-toggle="collapse" data-target="#first" >Blood Donation<span class="glyphicon glyphicon-plus" style="float: right"></span> </div>
</a>
</h5>
</div>
<div id="first" class="collapse jumbotron">
<p>Donating blood is safe and simple. It takes approximately 10-15 minutes to complete the blood donation process. Any healthy adult between 18 years and 60 years of age can donate blood. This is what you can expect when you are ready to donate blood:</p> <ul> <li>You walk into a reputed and safe blood donation centre or a mobile camp organized by a reputed institution. </li> <li>A few questions will be asked to determine your health status (general questions on health, donation history etc). Usually you will be asked to fill out a short form. </li> <li>Then a quick physical check will be done to check temperature, blood pressure, pulse and hemoglobin content in blood to ensure you are a healthy donor. </li> <li>If found fit to donate, then you will be asked to lie down on a resting chair or a bed. Your arm will be thoroughly cleaned. Then using sterile equipments blood will be collected in a special plastic bag. Approximately 350 ml of blood will be collected in one donation. Those who weigh more than 60 Kg can donate 450 ml of blood. </li> <li>Then you must rest and relax for a few minutes with a light snack and something refreshing to drink. Some snacks and juice will be provided. </li> <li>Blood will be separated into components within eight hours of donation </li> <li>The blood will then be taken to the laboratory for testing. </li> <li>Once found safe, it will be kept in special storage and released when required. </li> <li>The blood is now ready to be taken to the hospital, to save lives.</li> </ul>
</div>
</div>
</div>
<div id="accordion" role="tablist" aria-multiselectable="true" class="container">
<div class="card">
<div class="card-header" role="tab" id="headingTwo">
<h5 class="mb-0">
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<div class="well" data-toggle="collapse" data-target="#second" >Blood Group<span class="glyphicon glyphicon-plus" style="float: right"></span> </div>
</a>
</h5>
</div>
<div id="collapseTwo" class="collapse" role="tabpanel" aria-labelledby="headingTwo">
<div id="second" class="card-block jumbotron">
<p>Blood type is determined by which antibodies and antigens the person's blood produces. An individual has two types of blood groups namely ABO-grouping and Rh-grouping. Rh is called as the Rhesus factor that has come to us from Rhesus monkeys.</p> <p>Most humans are in the ABO blood group. The ABO group has four categories namely <br> 1) A group 2) B group 3) O group and 4) AB group<br> In the Rh- group, either the individual is said to be Rh- Negative or Rh- Positive.</p> <p>Thus blood group of any human being will mainly fall in any one of the following groups. <br> A positive or A negative <br> B positive or B negative <br> O positive or O negative <br> AB positive or AB negative. </p> </div>
</div>
</div>
</div>
<div id="accordion" role="tablist" aria-multiselectable="true" class="container">
<div class="card">
<div class="card-header" role="tab" id="headingThree">
<h5 class="mb-0">
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
<div class="well" data-toggle="collapse" data-target="#third" >Universal Donor and Recipients<span class="glyphicon glyphicon-plus" style="float: right"></span> </div>
</a>
</h5>
</div>
<div id="collapseThree" class="collapse" role="tabpanel" aria-labelledby="headingThree">
<div id="third" class="card-block jumbotron">
<p>The most common blood type is O, followed by type A. </p> <p>Type O individuals are often called "universal donors" since their blood can be transfused into persons with any blood type. Those with type AB blood are called "universal recipients" because they can receive blood of any type.</p> <p>However, since approximately twice as many people in the general population have O and A blood types, a blood bank's need for this type of blood increases exponentially.</p> </div>
</div>
</div>
</div>
<div id="accordion" role="tablist" aria-multiselectable="true" class="container">
<div class="card">
<div class="card-header" role="tab" id="headingForth">
<h5 class="mb-0">
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseForth" aria-expanded="false" aria-controls="collapseForth">
<div class="well" data-toggle="collapse" data-target="#fourth" >Do Donate Bood, only if you satisfy all of the following conditions<span class="glyphicon glyphicon-plus" style="float: right"></span> </div>
</a>
</h5>
</div>
<div id="collapseForth" class="collapse" role="tabpanel" aria-labelledby="headingForth">
<div id="fourth" class="card-block jumbotron">
<tbody>
<tr>
<td valign="top"><img src="img/do.png" alt="-" style="max-width:10px; max-height: 10px" width="10" height="10"></td>
<td valign="top">You are between age group of 18-60 years.</td><br> </tr>
<tr> <td valign="top"><img src="img/do.png" alt="-" style="max-width:10px; max-height: 10px" width="10" height="10"></td>
<td valign="top">Your weight is 45 kgs or more.</td> </tr> <br>
<tr> <td valign="top"><img src="img/do.png" alt="-" style="max-width:10px; max-height: 10px" width="10" height="10"></td>
<td valign="top">Your hemoglobin is 12.5 gm% minimum.</td> </tr><br>
<tr> <td valign="top"><img src="img/do.png" alt="-" style="max-width:10px; max-height: 10px" width="10" height="10"></td>
<td valign="top">Your last blood donation was 3 or more months earlier.</td>
</tr> <br><tr> <td valign="top"><img src="img/do.png" alt="-" style="max-width:10px; max-height: 10px" width="10" height="10"></td>
<td valign="top">You are healthy and have not suffered from malaria, typhoid or other transmissible disease in the recent past.</td> </tr>
</tbody>
</div>
</div>
</div>
</div>
<div id="accordion" role="tablist" aria-multiselectable="true" class="container">
<div class="card">
<div class="card-header" role="tab" id="headingFive">
<h5 class="mb-0">
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false" aria-controls="collapseFive">
<div class="well" data-toggle="collapse" data-target="#fifth" >Do not Donate Bood, only if you satisfy all of the following conditions<span class="glyphicon glyphicon-plus" style="float: right"></span> </div>
</a>
</h5>
</div>
<div id="collapseFive" class="collapse" role="tabpanel" aria-labelledby="headingFive">
<div id="fifth" class="card-block jumbotron">
<table border="0" cellspacing="0" cellpadding="5"> <tbody><tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Cold / fever in the past 1 week.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Under treatment with antibiotics or any other medication.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Cardiac problems, hypertension, epilepsy, diabetes (on insulin therapy), history of cancer, chronic kidney or liver disease, bleeding tendencies, venereal disease etc.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Major surgery in the last 6 months.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Vaccination in the last 24 hours.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Had a miscarriage in the last 6 months or have been pregnant / lactating in the last one year.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Had fainting attacks during last donation.</td> </tr> <tr> <td valign="top"><img src="img/dont.png " alt="-" width="10" height="10"></td> <td valign="top">Have regularly received treatment with blood products.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Shared a needle to inject drugs/ have history of drug addiction. </td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Had sexual relations with different partners or with a high risk individual.</td> </tr> <tr> <td valign="top"><img src="img/dont.png" alt="-" width="10" height="10"></td> <td valign="top">Been tested positive for antibodies to HIV.</td> </tr> </tbody></table> </div>
</div>
</div>
</div>
<div id="accordion" role="tablist" aria-multiselectable="true" class="container">
<div class="card">
<div class="card-header" role="tab" id="headingSix">
<h5 class="mb-0">
<a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="false" aria-controls="collapseSix">
<div class="well" data-toggle="collapse" data-target="#sixth" >A Healthy Donor<span class="glyphicon glyphicon-plus" style="float: right"></span> </div>
</a>
</h5>
</div>
<div id="collapseSix" class="collapse" role="tabpanel" aria-labelledby="headingSix">
<div id="sixth" class="card-block jumbotron">
<p>A healthy diet helps ensure a successful blood donation, and also makes you feel better! Check out the following recommended foods to eat prior to your donation.</p> <table border="0" cellpadding="5" cellspacing="0" class="ULtable"> <tbody><tr> <td>--- Low fat foods</td> </tr> <tr> <td>--- Iron rich foods</td> </tr> </tbody></table> </div>
</div>
</div>
</div>
<br> <br> <br>
</div>
</div>
</div>
<br><br><br>
<!-- FOOTER -->
<div class="divider"></div>
<div class="foot">
<footer class="page-footer center-on-small-only">
<!--Footer Links-->
<div class="container-fluid">
<div class="row">
<!--First column-->
<div class="col-md-3"></div>
<div class="col-md-4">
<h3 class="title">Red Drop</h3>
<p>A life may depend on a gesture from you, a bottle of Blood.</p>
</div><br>
<div class="col-md">
</div>
</div>
</div>
<br>
<div class="footer-copyright">
<div class="container-fluid text-center">
© 2016 Copyright: <a href="Page.php"> RedDrop </a>
</div>
</div>
<br><br>
</footer>
</div>
</body>
</html>