-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelatives1.php
149 lines (137 loc) · 7.62 KB
/
relatives1.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
<?php
$patientID=$_GET['patid'];
//echo $patientID;
$con1=mysqli_connect('localhost','root','','covid19_db');
if(isset($_POST['send']))
{
$patient=$_POST['patID'];
$num1=$_POST['num'];
echo $query1;
header("location:relatives2.php?patid=".$patient."&num=".$num1);
}
?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>COVID19 Relatives Page</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<!-- Bootstrap CSS-->
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome CSS-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!-- Google fonts - Popppins for copy-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,800">
<!-- orion icons-->
<link rel="stylesheet" href="css/orionicons.css">
<!-- theme stylesheet-->
<link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
<!-- Custom stylesheet - for your changes-->
<link rel="stylesheet" href="css/custom.css">
<!-- Favicon-->
<link rel="shortcut icon" href="img/favicon.png?3">
<!-- Tweaks for older IEs--><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
</head>
<body>
<!-- navbar-->
<header class="header">
<nav class="navbar navbar-expand-lg px-4 py-2 bg-white shadow"><a href="#" class="sidebar-toggler text-gray-500 mr-4 mr-lg-5 lead"><i class="fas fa-align-left"></i></a><a href="index.html" class="navbar-brand font-weight-bold text-uppercase text-base">Bubbly Dashboard</a>
<ul class="ml-auto d-flex align-items-center list-unstyled mb-0">
<li class="nav-item">
<form id="searchForm" class="ml-auto d-none d-lg-block">
<div class="form-group position-relative mb-0">
<button type="submit" style="top: -3px; left: 0;" class="position-absolute bg-white border-0 p-0"><i class="o-search-magnify-1 text-gray text-lg"></i></button>
<input type="search" placeholder="Search ..." class="form-control form-control-sm border-0 no-shadow pl-4">
</div>
</form>
</li>
<li class="nav-item dropdown mr-3"><a id="notifications" href="http://example.com" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="nav-link dropdown-toggle text-gray-400 px-1"><i class="fa fa-bell"></i><span class="notification-icon"></span></a>
<div aria-labelledby="notifications" class="dropdown-menu"><a href="#" class="dropdown-item">
<div class="d-flex align-items-center">
<div class="icon icon-sm bg-violet text-white"><i class="fab fa-twitter"></i></div>
<div class="text ml-2">
<p class="mb-0">You have 2 followers</p>
</div>
</div></a><a href="#" class="dropdown-item">
<div class="d-flex align-items-center">
<div class="icon icon-sm bg-green text-white"><i class="fas fa-envelope"></i></div>
<div class="text ml-2">
<p class="mb-0">You have 6 new messages</p>
</div>
</div></a><a href="#" class="dropdown-item">
<div class="d-flex align-items-center">
<div class="icon icon-sm bg-blue text-white"><i class="fas fa-upload"></i></div>
<div class="text ml-2">
<p class="mb-0">Server rebooted</p>
</div>
</div></a><a href="#" class="dropdown-item">
<div class="d-flex align-items-center">
<div class="icon icon-sm bg-violet text-white"><i class="fab fa-twitter"></i></div>
<div class="text ml-2">
<p class="mb-0">You have 2 followers</p>
</div>
</div></a>
<div class="dropdown-divider"></div><a href="#" class="dropdown-item text-center"><small class="font-weight-bold headings-font-family text-uppercase">View all notifications</small></a>
</div>
</li>
<li class="nav-item dropdown ml-auto"><a id="userInfo" href="http://example.com" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="nav-link dropdown-toggle"><img src="img/avatar-6.jpg" alt="Jason Doe" style="max-width: 2.5rem;" class="img-fluid rounded-circle shadow"></a>
<div aria-labelledby="userInfo" class="dropdown-menu"><a href="#" class="dropdown-item"><strong class="d-block text-uppercase headings-font-family">Mark Stephen</strong><small>Web Developer</small></a>
<div class="dropdown-divider"></div><a href="#" class="dropdown-item">Settings</a><a href="#" class="dropdown-item">Activity log </a>
<div class="dropdown-divider"></div><a href="login.html" class="dropdown-item">Logout</a>
</div>
</li>
</ul>
</nav>
</header>
<div class="d-flex align-items-stretch">
<div class="page-holder w-100 d-flex flex-wrap">
<div class="container-fluid px-xl-5">
<section class="py-5">
<div class="row">
<!-- Form Elements -->
<div class="col-lg-12 mb-5">
<div class="card">
<div class="card-header">
<h3 class="h6 text-uppercase mb-0">COVID-19 Database </h3>
</div>
<div class="card-body">
<form class="form-horizontal" action="relatives1.php" method="POST">
<input type="hidden" name="patID" id="patID" value="<?php echo $patientID?>" >
<div class="line"></div>
<div class="form-group row">
<label class="col-md-3 form-control-label">Enter number of relatives you met recently</label>
<div class="col-md-3">
<input type="text" placeholder="num" name="num" id="num" class="form-control" >
</div>
<br>
<br>
<div class="line"></div>
<div class="line"></div>
<div class="form-group row">
<div class="col-md-9 ml-auto">
<button type="submit" class="btn btn-primary" name="send">Save changes</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<!-- JavaScript files-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/popper.js/umd/popper.min.js"> </script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="vendor/jquery.cookie/jquery.cookie.js"> </script>
<script src="vendor/chart.js/Chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<script src="js/front.js"></script>
</body>
</html>