-
Notifications
You must be signed in to change notification settings - Fork 2
/
bank.php
58 lines (51 loc) · 1.79 KB
/
bank.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
<html>
<title>payment_gateway</title>
<head>
<?php
session_start();
if ( isset( $_SESSION['user_id'] ) ) {
$idh=$_SESSION['user_id'];
} else {echo 'session expired.';
header("Refresh:0; URL=expiredsess.php");
die();
}
$crdnum=$_POST['cardNumber'];
?>
<link rel="stylesheet" href="5.css" />
</head>
<body>
<table id="bank_transac">
<tr>
<td id="bankname">STATE BANK OF INDIA</td>
</tr>
<tr>
<td>
<div>
<pre id="transac_details">Merchant : CineBook<br>Transaction amount : ₹ <?php echo $_SESSION['amount']; ?><br>Debit Card : <?php echo $crdnum ?></pre>
</div>
<tr>
<tr>
<td>
<font color="dodgerblue" face="calibri"><b>Authenticate Payment</b></font>
<br>
<font size="2.5">OTP sent to your mobile number ending
<?php ?>
</font><br><br>
<font size="2">Enter One Time Password (OTP)</font>
<div id="otp">
<input type="text" minlength=6 maxlength="6" placeholder="123456">
<a href="saveBooking.php"><button> Make Payment</button></a> </div>
<br><a href="#">
<font size="2">
<label style="margin-left:260px;">Resend OTP</label>
</font>
</a><br>
<font size="2"><a href="payment.php?amount=<?php echo $_SESSION['amount'];?>&numseats=<?php echo $_SESSION['numseats'];?>&dob=<?php echo $_SESSION['dob'];?>">Go Back </a>to merchant</font>
</td>
</tr>
</tr>
</td>
</tr>
</table>
</body>
</html>