-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
viewpatients.php
84 lines (67 loc) · 2.29 KB
/
viewpatients.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
<!DOCTYPE html>
<?php include("funs.php"); ?>
<html>
<head>
<title>Clintical</title>
<link rel = "icon" href =
"images/logo.png"
type = "image/x-icon">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/patientcss.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
</head>
<body>
<?php require_once "navbar.php"; ?>
<section id="viewpatients" style="margin-top:10px;margin-bottom:40px;">
<div class ="container">
<div class "card-body" style="background:#202124;color:#fff; margin:8px;padding:8px;">
<div class="row">
<div class="col-md-6">
<h2>Patient Record</h2>
</div>
<div class="col-md-6">
<form class="form-group" action="search_patients.php" method="post">
<div class="row">
<div class="col-md-7">
<input type="text" name="search_id" class="form-control">
</div>
<div class="col-md-2">
<input type="submit" name="patient_search" class="btn btn-primary" value="Search">
</div>
<div class="col-md-2">
<input type="submit" name="patient_del" class="btn btn-danger" value="Delete">
</div>
</div>
</form>
</div>
<hr/>
</div>
</div>
<div class="table-responsive">
<table class="table table-hover table-dark">
<thead>
<tr>
<th scope="col">Patient ID</th>
<th scope="col">Name</th>
<th scope="col">Age</th>
<th scope="col">Phone</th>
<th scope="col">Email</th>
<th scope="col">City</th>
<th scope="col">Status</th>
<th colspan="2" >Operations</th>
<!-- <td> "?> <button type="button" class="btn btn-success btn-rounded" onclick="location.href='updatepatient.php?id= $ids'">Update</button> "</td>-->
</tr>
</thead>
<tbody>
<?php get_patient_details (); ?>
</tbody>
</table>
</div>
</div>
</section>
</body>
</html>