-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSearch_Donor.php
115 lines (93 loc) · 3.31 KB
/
Search_Donor.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
<!DOCTYPE html>
<html lang="en">
<head>
<?php include("head.php");?>
</head>
<body>
<?php
include("top_nav.php");
?>
<!-- Page Content -->
<div class="container-fluid" style='margin-top:70px;'>
<!-- Marketing Icons Section -->
<div class="row">
<div class="col-lg-12">
<h3 class=" text-primary">
<i class='fa fa-search'></i> Search Donor Avalibility
</h3><hr>
</div>
</div>
<?php include("blood_bread.php"); ?>
<div class="row centered-form ">
<div class="col-xs-12 col-sm-12 col-md-6">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title text-center" style="padding:5px;font-size:16px;font-weight:bold"><span class="fa fa-search "> </span> Search Donor Avalibility</h3>
</div>
<div class="panel-body">
<form name="frm" id="frm" >
<div class="form-group">
<label class="control-label text-primary">Search Type</label>
<select name="STYPE" id="STYPE" required class="form-control input-sm">
<option value="PINCODE">Pincode</option>
<option value="AREA">Area</option>
<option value="CITY">City</option>
<option value="STATE">State</option>
</select>
</div>
<div class="form-group">
<label class="control-label text-primary">Required Blood Group</label>
<select name="BLOOD" id="BLOOD" required class="form-control input-sm">
<option value="A+">A+</option>
<option value="B+">B+</option>
<option value="O+">O+</option>
<option value="AB+">AB+</option>
<option value="A1+">A1+</option>
<option value="A2+">A2+</option>
<option value="A1B+">A1B+</option>
<option value="A2B+">A2B+</option>
<option value="A-">A-</option>
<option value="B-">B-</option>
<option value="O-">O-</option>
<option value="AB-">AB-</option>
<option value="A1-">A1-</option>
<option value="A2-">A2-</option>
<option value="A1B">A1B-</option>
<option value="A2B">A2B-</option>
<option value="A2B">Bombay o+</option>
<option value="A2B">Bombay o-</option>
</select>
</div>
<div class="form-group">
<label class="control-label text-primary">Search Text</label>
<input type="text" name="str" id="str" required placeholder="Type Here" class="form-control input-sm">
</div>
<div class="form-group">
<button class="btn btn-primary" name="submit" type="button" id="submit"><i class='fa fa-search'></i> Search Donor</button>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6" id="feedback">
<p>
Please fill the correct details and search your nearest donor.For more Details contact our admin.
</p>
</div>
</div>
</div>
<?php include("footer.php"); ?>
<script>
$(document).on('click','#submit',function(){
$.ajax({
url:"search_don.php",
method:"POST",
data:$("#frm").serialize(),
success:function(data)
{
$("#feedback").html(data);
}
});
});
</script>
</body>
</html>