-
Notifications
You must be signed in to change notification settings - Fork 0
/
up.php
288 lines (244 loc) · 7.89 KB
/
up.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
<?php
include 'config.php';
if (isset($_POST['post_comment'])) {
$name = $_POST['name'];
$message = $_POST['message'];
$sql = "INSERT INTO demo (name, message)
VALUES ('$name', '$message')";
if ($conn->query($sql) === TRUE) {
echo "";
} else {
echo "Error: " . $sql . "<br>" . $conn->error;
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Uttar Pradesh Schemes</title>
<link rel="stylesheet" href="css./styles.css">
</head>
<body>
<style>
h1{
text-align: center;
color: tomato;
}
body{
background-color: aqua;
color: green;
}
h2{
text-align: center;
color: darkred
}
.text{
color: blue;
}
.menu-btn {
background-color: #040008;
color: white;
padding: 16px;
font-size: 20px;
font-weight: bolder;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
border: none;
}
.dropdown-menu {
position: relative;
display: inline-block;
}
.menu-content {
display: none;
position: absolute;
background-color: #017575;
min-width: 160px;
z-index: 1;
}
nav {
background-color: #017575;
}
.links,
.links-hidden {
display: inline-block;
color: rgb(255, 255, 255);
padding: 12px 16px;
text-decoration: none;
font-size: 18px;
font-weight: bold;
}
.links-hidden {
display: block;
}
.links {
display: inline-block;
}
.links-hidden:hover,
.links:hover {
background-color: rgb(8, 107, 46);
}
.dropdown-menu:hover .menu-content {
display: block;
}
.dropdown-menu:hover .menu-btn {
background-color: #3e8e41;
}
body {
background-color: rgb(202, 255, 255);
}
.wrapper {
background: white;
border-radius: 10px;
width: 500px;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.wrapper .form input {
background: #222222;
color: white;
font-size: 15px;
width: 450px;
border-radius: 20px;
padding: 10px;
border: none;
outline: none;
margin-bottom: 10px;
margin-top: 20px;
}
.wrapper .form textarea {
background: #222222;
color: white;
font-size: 15px;
width: 450px;
border-radius: 20px;
padding: 10px;
border: none;
outline: none;
resize: none;
}
.wrapper .form .btn {
background: #222222;
color: white;
font-size: 15px;
border: none;
outline: none;
cursor: pointer;
padding: 10px;
width: 200px;
border-radius: 20px;
margin: 0 auto;
display: block;
margin-top: 5px;
margin-bottom: 20px;
opacity: 0.8;
transition: 0.3s all ease;
}
.wrapper .form .btn:hover {
opacity: 1;
}
.content {
text-align: center;
background: royalblue;
color: white;
padding: 10px;
width: 500px;
border-radius: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.content p {
margin-bottom: 15px;
width: 450px;
}
</style>
<script src="//code.tidio.co/zsurtwbieuvgc4aj2t138ql6s6zg3ckr.js" async></script>
<nav>
<a class="links" href="index.html">HOME</a>
<a class="links" href="#">CONTACT US</a>
<a class="links" href="central.php">CENTRAL SCHME</a>
<div class="dropdown-menu">
<button class="menu-btn">STATES v </button>
<div class="menu-content">
<a class="links-hidden" href="up.php">Uttar Pradesh</a>
<a class="links-hidden" href="bihar.php">Bihar</a>
<a class="links-hidden" href="punjab.php"> Punjab</a>
</div>
</div>
</nav>
<h1>UTTAR PRADESH HEALTH SCHEMES</h1> <hr>
<img src="images/lic.jpg" height="250" width="300">
<img src="images/icds.jpg"height="250" width="300">
<img src="images/adlo.jpeg"height="250" width="300">
<img src="images/nvb.jpg"height="250" width="310">
<h2>AAM AADMIN BIMA YOJNA</h2>
<p>
The Aam Aadmi Bima Yojana covers natural death/accidental death, permanent total disability, and partial permanent disability. The scheme provides coverage to individuals residing in rural areas and individuals who are below the poverty line.
For those who work in various occupations like carpentry, fishing, handloom weaving, etc., the Aam Aadmi Bima Yojana (AABY) is designed. There are 48 defined occupations that exist as per this policy scheme’s wordings. AABY and Janashree Bima Yojana (JBY) were two Health schemes of a similar sort that existed before to 2013, both were combined after 2013. For a Rs.30,000 insurance coverage, the annual premium is Rs.200. The qualifying requirements for this policy are that you must be a family head or a family earner (income at or below the poverty line) and be employed in one of the 48 listed vocations.
TO KNOW MORE CLICK ON:<a href="https://www.bankbazaar.com/health-insurance/aam-aadmi-bima-yojana.html#:~:text=The%20Aam%20Aadmi%20Bima%20Yojana,are%20below%20the%20poverty%20line.">CLICK HERE</a>
</p>
<h2>INTEGRATED CHILD DEVELOPMENT SERVICES</h2>
<p> The beneficiaries under the Scheme are children in the age group of 0-6 years, pregnant women and lactating mothers. Objectives of the Scheme are:
<ul>
<li>to improve the nutritional and health status of children in the age-group 0-6 years;</li>
<li>to lay the foundation for proper psychological, physical and social development of the child;</li>
<li>to reduce the incidence of mortality, morbidity, malnutrition and school dropout;</li>
<li>to achieve effective co-ordination of policy and implementation amongst the various departments to promote child development;</li>
<li>to enhance the capability of the mother to look after the normal health and nutritional needs of the child through proper nutrition and health education.
</li>
TO KNOW MORE:<a href="http://icds-wcd.nic.in/">CLICK HERE</a>
</ul>
</p>
<h2>ADLOSCENT HEALTH AWARENESS PROGRAM</h2>
<p>We identified five key areas in which students needed to be educated. They are:
<ul>
<li>Nutrition</li>
<li>Sexual and Reproductive Health</li>
<li>Substance Misuse</li>
<li>Mental Health</li>
<li>Physical Health and Well Being<br><a href="https://www.youthforseva.org/Adolescent-Health-and-Awareness-Programs">CLICK TO KNOW </a></li>
</ul></p>
<center>
<div class="wrapper">
<form action="" method="post" class="form">
<input type="text" class="name" name="name" placeholder="Name">
<br>
<textarea name="message" cols="30" rows="10" class="message" placeholder="Message"></textarea>
<br>
<button type="submit" class="btn" name="post_comment">Post Comment</button>
</form>
</div>
<div class="content">
<?php
$sql = "SELECT * FROM demo";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while ($row = $result->fetch_assoc()) {
?>
<h3>
<?php echo $row['name']; ?>
</h3>
<p>
<?php echo $row['message']; ?>
</p>
<?php }
} ?>
</div>
</center>
<p style="background-color: #060606;
padding: 20px;
text-align: center;
font-size: 14px;
color: #ffffff;
position:bottom;
bottom: 0;
width: 100%;margin-bottom: 0px;">Copyright © 2023 | Code Leapers</p>
</body>
</html>