-
Notifications
You must be signed in to change notification settings - Fork 0
/
confirm.php
71 lines (59 loc) · 1.99 KB
/
confirm.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
<?php
session_start();
?>
<html>
<head>
<title>Inver Tyre Services</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="stylesheet.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<header>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
<div class="topnav" id="myTopnav">
<a link rel="Home" href="regUser.php" class="active">Member</a>
<a link rel="Contact Us" href="ContactUs.php">Contact Us</a>
<a link rel="About Us" href="aboutUs.php">About Us</a>
<a link rel="Log out" href="logout.php">Log out</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i></a>
</div>
<br><br>
</header>
<body>
<br><br>
<?php
include("../../DbConnect.php");
session_start();
$user_id = $_SESSION['user_id'];
$Service = $_SESSION["service"];
$Tyre = $_SESSION["tyre"];
$Make = $_SESSION["make"];
$Model = $_SESSION["model"];
$Datetime = $_SESSION["datetime"];
echo '<table class="w3-table w3-striped w3-bordered">';
echo '<tr><td><h2>Booking Confirmation</h2></td></tr><br>';
echo '<tr><td>User No: '. $user_id .'</td></tr><br>';
echo '<tr><td>Service: '. $Service .'</td></tr><br>';
echo '<tr><td>Tyre: '. $Tyre .'</td></tr><br>';
echo '<tr><td>Make: '. $Make .'</td></tr><br>';
echo '<tr><td>Model: '. $Model .'</td></tr><br>';
echo '<tr><td>Service Date & Time : '. $Datetime .'</td></tr><br>';
echo '</table>';
?>
</body><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<div class="footer">
© Inver Tyre <?php echo date("Y");?>
<p>We deliver excellence in tyre services.</p>
</div>
</html>