-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
92 lines (75 loc) · 3.97 KB
/
index.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
<?php
session_start();
$Welcome = false;
//if(isset($_SESSION['loggedin']) || $_SESSION['loggedin']=true)
{
//header("location: login.php");
//header("location: login.php");
if(isset($_SESSION['username']))
{
$Welcome = true;
}
}
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<!--<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">-->
<link rel="stylesheet" href="bootstrap.css" type="text/css" media="all">
<link rel="stylesheet" href="stylehome.css" type="text/css" media="all">
<link rel="icon" href="image/favicon.ico">
<title>Covid-19</title>
</head>
<body style="background-image : url(image/corona2.jpg);">
<?php
include "navbar.php";
?>
<?php
if($Welcome){
echo '<p class="py-2 text-center user-intro">Welcome, ' .$_SESSION["username"] .'</p>' ;
}
?>
<div class="row mb-3" style="background-color: none;">
<div class="col-lg-6" style="background-color: none;">
<h3 class="my-4 mx-4" style="text-align: center; color: #B7D3E7; background-color:none;"><span class="p-2 corner-custom"style="background-color: black">What is Covid-19</span></h3>
<p class="mx-5 list-color">Coronavirus disease (COVID-19) is an infectious
disease caused by a newly discovered nobel corona virus.
</p>
<ul class="mx-5 list-color mbcustom">
<li class="my-0 list-custom">Fever</li>
<li class="my-0 list-custom">Drycough</li>
<li class="my-0 list-custom">Tierdness</li>
</ul>
<hr class="mx-5 hr1" style=" color:red;">
<h3 class="my-4 mx-4" style="text-align: center; color: #B7D3E7; background-color:none;"><span class="p-2 corner-custom"style="background-color: black">Covid-19 Precautions</span></h3>
<ul class="my-0 mx-5 list-color">
<li class="my-0 list-custom">Clean your hands often. Use soap and water, or an alcohol-based hand rub.</li>
<li class="my-0 list-custom">Maintain social distancing</li>
<li class="my-0 list-custom">Cover your nose and mouth with your bent elbow or a tissue when you cough or sneeze.</li>
<li class="my-0 list-custom">Stay home if you feel unwell.</li>
<li class="my-0 list-custom">If you have a fever, cough and difficulty breathing, seek medical attention. Call in
advance.</li>
<li class="my-0 list-custom">Follow the directions of your local health authority.</li>
</ul>
</div>
<div class="row col-lg-6 " style="background-color: none">
<img class = "my-4 img-custom mbcustom" src="image/Home_img_2.png" alt="Home_img_1" width="80%" height="80%">
</div>
</div>
<div class=" footer1">
<p class="pt-3" style="display: inline-block;">Designed By XYZ</p>
</div>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-eMNCOe7tC1doHpGoWe/6oMVemdAVTMs2xqW4mwXrXsW0L84Iytr2wi5v2QjrP/xp" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-cn7l7gDp0eyniUwwAZgrzD06kc/tftFf19TOAs2zVinnD/C7E91j9yyk5//jjpt/" crossorigin="anonymous"></script>
-->
</body>
</html>