-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtransaction_successful.php
33 lines (32 loc) · 1.06 KB
/
transaction_successful.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
<?php
session_start();
$pnr = $_SESSION['pnr_no'];
?>
<!DOCTYPE html>
<html>
<head>
<title>Transaction Details</title>
</head>
<link rel="stylesheet" type="text/css" href="css/index.css" ></link>
<body style=" background-color: #f7f7f7;">
<div>
<ul>
<?php if(isset($_SESSION['user_name'])){ ?>
<li><a class="active" href="index.php">Home</a></li>
<li><a href="pnr_status.php">PNR Status</a></li>
<li><a href="cancel_ticket.php">Cancel Ticket</a></li>
<li style="float: right;"><a href="logout.php">Log Out</a></li>
<li style="float: right;"><p>Hi <?php echo " ".$_SESSION['user_name']." "?></p></li>
<?php } else {?>
<li><a class="active" href="index.php">Home</a></li>
<li><a href="pnr_status.php">PNR Status</a></li>
<li style="float: right"><a href="signup.php">SignUp</a></li>
<li style="float: right"><a href="login.php">Login</a></li>
<?php }?>
</ul>
</div><br><br><br>
<h3 align="center"> Transaction Successful</h3>
<h3 align="center">PNR No: <?php echo $pnr; ?> </h3>
<h5 align="center">please note down your PNR No</h5>
</body>
</html>