-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThird_Page.php
113 lines (87 loc) · 2.07 KB
/
Third_Page.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
include 'connection.php';
$CustName=$_GET["Sender"];
$CustEmail=$_GET["Email"];
$CurrentBal=$_GET["Current_Balance"];
if($CustName!=null && $CustEmail!=null && $CurrentBal!=null )
{
echo "<br>";
?>
<h2>Hello <?php echo $CustName ?> Ji, Please find below your Details :- </h2>
<?php
}
else
{
header("location:Second_Page.php");
}
?>
<html>
<head>
<title>Third Page</title>
<link rel="icon" type="image/jpg" href="TSFIMG.png" ></link>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 80%;
margin-left:auto;
margin-right:auto;
}
td, th {
border: 1px solid #dddddd;
text-align: center;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
button{
width:120px;
height:60px;
}
.container .btn {
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
background-color: #f1f1f1;
color: black;
font-size: 16px;
padding: 16px 30px;
border: none;
cursor: pointer;
border-radius: 5px;
text-align: center;
}
.container .btn:hover {
background-color: black;
color: white;
}
</style>
</head>
<body>
<form name="myform" action="Fourth_Page.php" method="GET" target="_blank">
<input type="hidden" name="Sender" value=<?php echo $CustName ?> />
<input type="hidden" name="Email" value=<?php echo $CustEmail ?> />
<input type="hidden" name="Current_Balance" value=<?php echo $CurrentBal ?> />
<table>
<tr>
<th>Customer Name</th>
<th>Email</th>
<th>Current Balance</th>
</tr>
<tr>
<td><?php echo $CustName ?></td>
<td><?php echo $CustEmail ?></td>
<td> <?php echo $CurrentBal ?> </td>
</tr>
</table>
<div class="container">
<br></br>
<h3 align="center">Please click on Transfer Money and select Customer to whom you want to transfer</h3>
<Center><button class="btn" name="button1">Transfer Money</button></center>
</form>
</div>
</body>
</html>