forked from tejapaturu/simple-website-php-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreceipt.php
More file actions
68 lines (62 loc) · 3.09 KB
/
receipt.php
File metadata and controls
68 lines (62 loc) · 3.09 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
<?php session_start(); ?>
<html>
<head>
<meta charset="utf-8">
<meta name="Author" content="Sri Sai Teja Paturu">
<link rel="stylesheet" type="text/css" media="screen" href="Style_sheet.css" />
<title>Receipt</title>
</head>
<body>
<main>
<div class="receipt-div">
<h1 class="receipt-heading">Receipt</h1>
<h2 class="receipt-subheading">Customer Information:</h2>
<label class="receipt-label">Name:</label>
<?php echo "<span class='receipt-span'>$_SESSION[fname]</span>" ?>
</br>
<label class="receipt-label">Phone:</label>
<?php echo "<span class='receipt-span'>$_SESSION[phone]</span>" ?>
</br>
<label class="receipt-label">Email:</label>
<?php echo "<span class='receipt-span'>$_SESSION[email]</span>" ?>
</br>
<label class="receipt-label">Address:</label>
<?php echo "<span class='receipt-span'>$_SESSION[address]</span>" ?>
</br></br>
<h2 class="receipt-subheading">Booking Information:</h2>
<label class="receipt-label">Accomodation Type:</label>
<?php echo "<span class='receipt-span'>$_SESSION[aid]</span>" ?>
</br>
<label class="receipt-label">Arrival Date:</label>
<?php echo "<span class='receipt-span'>$_SESSION[date]</span>" ?>
</br>
<label class="receipt-label">Number of Days:</label>
<?php echo "<span class='receipt-span'>$_SESSION[days]</span>" ?>
</br>
<label class="receipt-label">Number of Adults:</label>
<?php echo "<span class='receipt-span'>$_SESSION[adults]</span>" ?>
</br>
<label class="receipt-label">Number of Children:</label>
<?php echo "<span class='receipt-span'>$_SESSION[children]</span>" ?>
</br><hr>
<label class="receipt-label">Total Price:</label>
<?php echo "<span class='receipt-span'>$$_SESSION[Total_Price]</span>" ?>
</br>
<label class="receipt-label">GST Price:</label>
<?php echo "<span class='receipt-span'>$$_SESSION[GST_Price]</span>" ?>
</br></br></br>
<h2 class="receipt-subheading">Contact Information:</h2>
<label class="receipt-label">Portarlington Camping</label>
</br>
<label class="receipt-label">Phone:</label>
<span class='receipt-span'>03 1234 5678</span>
</br>
<label class="receipt-label">Address:</label>
<span class='receipt-span'>Portarling, VIC, Australia</span>
</br>
<label class="receipt-label">Email:</label>
<span class='receipt-span'>portarlington@camping.com</span>
</br></br></br>
</div>
</main>
</body>