-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuccess_new.php
executable file
·82 lines (71 loc) · 2.38 KB
/
success_new.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
<?php
session_start();
if(isset($_SESSION['uname']))
echo "current session: " . $_SESSION['uname'];
require_once 'dbconfig/config.php';
?>
<?php
if(isset($_POST ["lo"]))
{
session_destroy();
header('location:index.php');
}
?>
<html><head><title>Confirmation Page</title><link rel="stylesheet" href="b.css"></head>
<body>
<center><h2>Confirmation Page</h2></center>
<form class="myform" action="" method="post">
<center>
<table>
<tr>
<th colspan="2">1. Income from salary</th>
</tr>
<tr>
<th>a.Pay+Arrear Pay: </th>
<td><?php echo $_POST ["ab"] ?></td>
</tr>
<tr>
<th>b.G.P./D.P + Arrear G.P./D.P.:</th>
<td><?php echo $_POST ["bc"] ?></td>
</tr>
<tr>
<th>c.H.R.A. + Arrear H.R.A:</th>
<td><?php echo $_POST ["cd"] ?></td>
</tr>
<tr>
<th>d.D.A. + ADA:</th>
<td><?php echo $_POST ["de"] ?></td>
</tr>
<tr>
<th>e.Incentive Allowance:</th>
<td><?php echo $_POST ["ef"] ?></td>
</tr>
<tr><th colspan="2" >Income Tax</th> </tr>
<tr>
<th>Total Taxable Income</th>
<td><?php echo $_POST ["qpb"] ?></td>
</tr>
<tr>
<th>Tax Payable</th>
<td><?php echo $_POST ["tp"] ?></td>
</tr>
<tr>
<th>Tax Paid</th>
<td><?php echo $_POST ["taxpname"] ?></td>
</tr>
<tr>
<th>Payable in Jan</th>
<td><?php echo $_POST ["jan"] ?></td>
</tr>
<tr>
<th>Payable in Feb</th>
<td><?php echo $_POST ["feb"] ?></td>
</tr>
</table></center><br><hr>
<center><a href="upload.php" title="Upload pdf"><button type="button">Upload</button></a></center>
<center><a>(If you want to store the pdf for future reference)</a></center> <br>
<center><button type="button" onClick="window.print()">Print this page</button></center><br>
<center><button name="lo">Log out</button> </center><br><hr>
</form>
</body>
</html>