-
Notifications
You must be signed in to change notification settings - Fork 8
/
patientList.php
156 lines (146 loc) · 6.85 KB
/
patientList.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
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Mobirise v5.2.0, mobirise.com">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="shortcut icon" href="assets/images/feminine-128x128.png" type="image/x-icon">
<meta name="description" content="">
<title>Patient List</title>
<link rel="stylesheet" href="styles/patientList.css">
<link rel="stylesheet" href="assets/web/assets/mobirise-icons2/mobirise2.css">
<link rel="stylesheet" href="assets/tether/tether.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap-reboot.min.css">
<link rel="stylesheet" href="assets/dropdown/css/style.css">
<link rel="stylesheet" href="assets/socicon/css/styles.css">
<link rel="stylesheet" href="assets/theme/css/style.css">
<link rel="preload" as="style" href="assets/mobirise/css/mbr-additional.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/mobirise/css/mbr-additional.css" type="text/css">
</head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Patient List</title>
</head>
<body>
<section class="menu cid-s48OLK6784" once="menu" id="menu1-h">
<nav class="navbar navbar-dropdown navbar-fixed-top navbar-expand-lg">
<div class="container-fluid">
<div class="navbar-brand">
<span class="navbar-logo">
<a href="index.php">
<img src="assets/images/feminine-1-335x335.png" alt="login" style="height: 5rem;">
</a>
</span>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<div class="hamburger">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav nav-dropdown" data-app-modern-menu="true">
<li class="nav-item">
<a class="nav-link link text-black display-4" href="index.php#features1-n">Features</a>
</li>
<li class="nav-item">
<a class="nav-link link text-black display-4" href="index.php#tabs1-p">AI Tools</a>
</li>
<li class="nav-item">
<a class="nav-link link text-black display-4" href="signup.php">Dashboard</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link link text-black dropdown-toggle display-4" href="#" data-toggle="dropdown-submenu" aria-expanded="false">Book</a>
<div class="dropdown-menu">
<a class="text-black dropdown-item display-4" href="labs.html">Lab Appointment</a>
<a class="text-black dropdown-item display-4" href="consult-doc.html">Expert Consultancy</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link link text-black display-4" href="Tracker.php">Period Tracker</a>
</li>
</ul>
</div>
</div>
</nav>
</section>
<div id="patient-list-wrapper">
<div id="patient-list-wrapper-img">
<img src="assets/images/doctorlist.png"/>
</div>
<div id="patient-list-lists">
<table>
<!-- <thead>
<tr>Patient Name</tr>
<tr>Hospital</tr>
<tr></tr>
</thead> -->
<?php
// session_start();
echo "<br>";
require_once("./config.php");
$occ = "patient";
$query = "SELECT * FROM users WHERE occupation='$occ'";
$result = $con->query($query);
if($result){
while($row=$result->fetch_array()){
$name = $row['username'];
$id = $row['userid'];
$hospital ="Ram Narayan Hospital, G.E. Road, Raipur";
echo "
<center><div class='patient-list-item'>
<center><div>
<a href='./doctorDashboard.php?id=".$row['userid']."'><h2 style='text-transform:uppercase; color:#ff6666'>$name</h2></a>
</div>
</center>
<center><div>$hospital</div></center>
</div></center>
";
}
}
else{
echo "nahi aaya";
}
?>
</table>
</div>
</div>
<section class="footer3 cid-s48P1Icc8J" once="footers" id="footer3-i"><div class="container">
<div class="media-container-row align-center mbr-white">
<div class="row social-row">
<div class="social-list align-right pb-2">
<div class="soc-item">
<a href="https://twitter.com/mobirise" target="_blank">
<span class="mbr-iconfont mbr-iconfont-social socicon-github socicon"></span>
</a>
</div>
</div>
</div>
<div class="row row-copirayt">
<p class="mbr-text mb-0 mbr-fonts-style mbr-white align-center display-7">Made by Team HackDivas </p>
</div>
</div>
</div>
</section>
<a href="https://mobirise.site/e" "></a>
<script src="assets/web/assets/jquery/jquery.min.js"></script>
<script src="assets/popper/popper.min.js"></script>
<script src="assets/tether/tether.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/smoothscroll/smooth-scroll.js"></script>
<script src="assets/parallax/jarallax.min.js"></script>
<script src="assets/mbr-tabs/mbr-tabs.js"></script>
<script src="assets/dropdown/js/nav-dropdown.js"></script>
<script src="assets/dropdown/js/navbar-dropdown.js"></script>
<script src="assets/touchswipe/jquery.touch-swipe.min.js"></script>
<script src="assets/theme/js/script.js"></script>
</body>
</html>