-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatient_booked.php
More file actions
81 lines (71 loc) · 1.41 KB
/
patient_booked.php
File metadata and controls
81 lines (71 loc) · 1.41 KB
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
<?php
session_start();
if(time()-$_SESSION["tim"]>60){
echo "<script>alert('Session timed out');";
echo "window.location.href='logout.php';</script>";
}
else{
$_SESSION["tim"]=time();
}
?>
<html>
<head>
<style>
body{
margin:0;
background-color: #c0c0c0;
}
.navigation{
width:15%;
height:100%;
position:fixed;
background-color:lightblue;
margin: 0;
}
.navigation button{
width:100%;
border:none;
display:inline-block;
padding:15px;
background-color:lightblue;
font-size: 20px;
font-weight: bolder;
}
.navigation button:hover{
background-color:black;
color:white;
}
.top{
margin-left:15%;
}
.round{
width:200px;
height:200px;
border-radius: 50%;
background-color: red;
background-image: url('doctor.jpg');
}
.big{
margin-left:18%;
}
</style>
</head>
<body>
<div class="navigation">
<div class="round">
</div>
<button><a href="doctor_dash.php">Overview</a></button>
<button><a href="patient_booking.php">Book ticket</a></button>
<button><a href="patient_report.php">Check Report</a></button>
<button><a href="patient_notice.php">Check Notice</a></button>
<button><a href="logout.php">Sign Out</a></button>
</div>
<div class="top"><center><h2>
<?php
if($_SESSION["Name"]){
echo "Welcore on board".$_SESSION["Name"]."!!";
}
?>
</h2></center><hr></div>
<div class="big">
</div>