-
Notifications
You must be signed in to change notification settings - Fork 0
/
get-help.php
171 lines (158 loc) · 6.78 KB
/
get-help.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
<?php
session_start();
if(isset($_SESSION["error"])) {
$error = $_SESSION["error"];
unset($_SESSION["error"]);
} else {
$error = "";
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Treatment</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<div class="inner">
<!-- Logo -->
<a href="index.php" class="logo">
<span class="symbol"><img src="images/logo.png" alt="" /></span><span class="title">Covid Tracker</span>
</a>
<!-- Nav -->
<nav>
<ul>
<li><a href="#menu">Menu</a></li>
</ul>
</nav>
</div>
</header>
<!-- Menu -->
<nav id="menu">
<h2>Menu</h2>
<ul>
<li><a href="index.php">Overview</a></li>
<li><a href="symptoms.html">Symptoms</a></li>
<li><a href="prevention.html">Prevention</a></li>
<li><a href="get-help.php">Treatment / Help</a></li>
<li><a href="contact-us.php">Contact Us</a></li>
<?php
if(isset($_SESSION['userid']) && !empty($_SESSION['userid'])) {
?>
<li><a href="assets/php/logout.php">Logout</a></li>
<?php
} else {
?>
<li><a href="login.php">SignIn</a></li>
<?php } ?>
</ul>
</nav>
<!-- Main -->
<div id="main">
<div class="inner">
<h1>Treatment</h1>
<span class="image main"><img src="images/treatment.png" alt="" /></span>
<p>Scientists around the world are working to find and develop treatments for COVID-19.</p>
<ul>
<li>Optimal supportive care includes oxygen for severely ill patients and those who are at risk for severe disease and more advanced respiratory support such as ventilation for patients who are critically ill.</li>
<li>Dexamethasone is a corticosteroid that can help reduce the length of time on a ventilator and save lives of patients with severe and critical illness.</li>
</ul>
<h1>Get Help for Covid</h1>
<p>WHO does not recommend self-medication with any medicines, including antibiotics, as a prevention or cure for COVID-19. If you or anyone you know is going through a rough patch and is in need of help to get through COVID-19, you can apply for help below.</p>
<!-- Form -->
<section>
<h2>Fill in the Form</h2>
<form action="gethelp.php" method="POST">
<div class="row gtr-uniform">
<div class="col-6 col-12-xsmall">
<input type="text" name="name" id="name" value="" required="required" placeholder="Name" />
</div>
<div class="col-6 col-12-xsmall">
<input type="email" name="email" id="email" value="" required="required" placeholder="Email" />
</div>
<div class="col-12">
<select name="category" id="category" required="required">
<option value="">- Category -</option>
<option value="1">Most Common Symptoms</option>
<option value="2">Less Common Symptoms</option>
<option value="3">Serious Symptoms</option>
<option value="4">Emergency</option>
</select>
</div>
<div class="col-3 col-12-small">
<p>Average Blood Pressure:</p>
</div>
<div class="col-3 col-12-small">
<input type="radio" id="priority-low" name="priority" checked>
<label for="priority-low">Low</label>
</div>
<div class="col-3 col-12-small">
<input type="radio" id="priority-normal" name="priority">
<label for="priority-normal">Normal</label>
</div>
<div class="col-3 col-12-small">
<input type="radio" id="priority-high" name="priority">
<label for="priority-high">High</label>
</div>
<div class="col-12">
<textarea name="message" id="message" required="required" placeholder="Enter your message" rows="6"></textarea>
</div>
<div class="col-6 col-12-small">
<input type="checkbox" id="copy" name="copy">
<label for="copy">Email me a copy</label>
</div>
<div class="col-6 col-12-small">
<input type="checkbox" id="human" name="human" required="required" checked>
<label for="human">Not a robot</label>
</div>
<div class="col-12">
<p>
<small style="color: red;"><?php print $error; ?></small>
</p>
<ul class="actions">
<li><input type="submit" value="Get Help" class="primary" /></li>
<li><input type="reset" value="Reset" /></li>
</ul>
</div>
</div>
</form>
</section>
</div>
</div>
<!-- Footer -->
<footer id="footer">
<div class="inner">
<section>
<h2>Follow</h2>
<ul class="icons">
<li><a href="#" class="icon brands style2 fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon brands style2 fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon brands style2 fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon brands style2 fa-dribbble"><span class="label">Dribbble</span></a></li>
<li><a href="#" class="icon brands style2 fa-github"><span class="label">GitHub</span></a></li>
<li><a href="#" class="icon brands style2 fa-500px"><span class="label">500px</span></a></li>
<li><a href="#" class="icon solid style2 fa-phone"><span class="label">Phone</span></a></li>
<li><a href="#" class="icon solid style2 fa-envelope"><span class="label">Email</span></a></li>
</ul>
</section>
<ul class="copyright">
<li>© E Lara. All rights reserved</li>
</ul>
</div>
</footer>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>