-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCompleteReservationRec.php
92 lines (75 loc) · 2.49 KB
/
CompleteReservationRec.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
include('config.php');
include('loginfirst.php');
if (!array_key_exists("loginalertmsg",$_SESSION)) {
$_SESSION['loginalertmsg'] = '';
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Hospital</title>
</head>
<body>
<!--main navigation bar !-->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="collapse navbar-collapse" id="navbarColor02">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Log Out</a>
</li>
</ul>
</div>
</nav>
<!--Receptionist navigation bar !-->
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link " href="ReceptionistProfile.php">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link " href="AboutDoctorsRec.php">About Doctors</a>
</li>
<li class="nav-item">
<a class="nav-link " href="SearchForDoctorsRec.php">Search for Doctor</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="ReservationByRec.php">Make a Reservation</a>
</li>
<li class="nav-item">
<a class="nav-link " href="RegistrationRec.php">Registration</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Payment.php">Payment</a>
</li>
</ul>
<?php
echo "<br>";
echo '<b>'.'Username : '.'</b>' . $_SESSION['username'];
echo "<br>";
?>
<script type="text/javascript">
var chanelNo = <?php echo json_encode($_SESSION['chanelNo']); ?>;
var chanelDate = <?php echo json_encode($_SESSION['chanelDate']); ?>;
var chanelDoctor = <?php echo json_encode($_SESSION['chanelDoctor']); ?>;
</script>
<div class="container" style="padding-top: 100px;">
<div class="jumbotron">
<h1 class="display-3">Reservation Successful</h1>
<h2 class="lead">Your Channel No : <script type="text/javascript"> document.write(chanelNo) </script> </h2>
<h2 class="lead">Your Channel Date : <script type="text/javascript"> document.write(chanelDate) </script> </h2>
<h2 class="lead">Your Channel Doctor : <script type="text/javascript"> document.write(chanelDoctor) </script> </h2>
<hr class="my-4">
<h4>Please contact us for more information</h4>
<hr>
<p class="lead">
<a class="btn btn-primary btn-lg" href="logout.php" role="button">Logout</a>
</p>
</div>
</div>
</body>
</html>