-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcovid-centers.php
More file actions
156 lines (105 loc) · 4.65 KB
/
Copy pathcovid-centers.php
File metadata and controls
156 lines (105 loc) · 4.65 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
<?php include('security.php'); ?>
<?php include('includes/header.php');?>
<?php include('includes/navbar.php');?>
<style type="text/css">
.button{
background: #3498db;
color: #fff;
border-radius: 50px;
margin: 0 15px;
padding: 10px 30px;
}
</style>
<!-- bradcam_area_start -->
<div class="bradcam_area breadcam_bg ">
<div class="container">
<br><br><br><br>
<div class="row">
<div class="col-lg-6">
<div class="bradcam_text">
<br>
<h1>Covid Care Centers</h1>
<p>Currently, there are 35 private laboratories and 46 government laboratories approved to test Real-Time PCR (RT-PCR) tests; 5 government laboratories and 4 private laboratories to test for TrueNat tests; 1 government laboratory and 7 private laboratories to test CBNAAT testing for COVID-19 in Tamil Nadu.</p>
<a href="#iso"><button class="button">Know More</button></a>
</div>
</div>
<div class="col-lg-6">
<div class="bradcam_text">
<br><br>
<img src="img/tamil/hospital.gif" class="img-fluid">
</div>
</div>
</div>
</div>
</div>
<!-- bradcam_area_end -->
<br><br>
<!-- Start Sample Area -->
<section id="clients" class="clients clients ">
<div class="container text-center">
<div class="row col-lg-12">
<div class="col-lg-4 " data-aos="zoom-in" data-aos-delay="100">
<h4><a href="https://covidindia.org/tamil-nadu/">Isolation Centers</a></h4>
</div>
<div class="col-lg-4 " data-aos="zoom-in" data-aos-delay="100">
<h4><a href="https://covidindia.org/tamil-nadu/">Quarantine Centers</a></h4>
</div>
<div class="col-lg-4 " data-aos="zoom-in" data-aos-delay="100">
<h4><a href="covid-dashboard.php #testing">Testing Centers</a></h4>
</div>
</div>
</div>
</section><!-- End Clients Section -->
<br><br><br>
<!-- Start Align Area -->
<div class="whole-wrap">
<div class="container box_1170">
<div class="col-lg-12">
<h2 class="title-1 m-b-25" id="iso" >Covid19 Health Care Centers In Tamil Nadu</h2>
<div class="table-responsive table--no-card m-b-40">
<table class="table table-borderless table-striped table-earning" id="state-wise">
<thead>
<tr>
<th class="bg-secondary">S.No</th>
<th class="bg-info">Health Facility Name</th>
<th class="bg-warning">Landmark</th>
<th class="bg-primary">District</th>
<th class="bg-success">Facility Type</th>
<th class="bg-danger">Pincode</th>
</tr>
</thead>
<tbody id="state-wise">
</tbody>
</table>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$.ajax({
url:"https://api.data.gov.in/resource/0dfebd78-bac4-44be-9291-025a983323f4?api-key=579b464db66ec23bdd0000016eb95066326649877300f6063b2b8d14&format=json&offset=0&limit=4500",
type:"GET",
dataType:"JSON",
success : function(covid_data) {
console.log(covid_data.records);
var newArray = covid_data.records.filter(function (el) {
return el.state_name === 'Tamil Nadu';
});
console.log(newArray);
var sno = 1;
$.each(newArray, function(key, value){
$("#state-wise").append("<tr>" +
"<td>" + sno + " </td>" +
"<td>" + value.health_facility_name + "</td>" +
"<td>" + value.landmark + "</td>" +
"<td>" + value.district_name + "</td>" +
"<td>" + value.facility_type + "</td>" +
"<td>" + value.pincode + "</td>" +
"</tr>" );
sno++;
});
}
});
</script>
<?php include('includes/scripts.php');?>
<?php include('includes/footer.php');?>