-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeposit.php
88 lines (74 loc) · 1.43 KB
/
deposit.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
<html>
<head>
<title>Money in the Bank</title>
<style>
.container{
width: 620px;
padding: 4% 4% 4%;
margin : auto;
box-shadow: 10px 10px 5px #888888;
background-color: #fff;
text-align: center;
position:relative;
top:50px;
vertical-align: middle;
}
form{
align-content: right;
}
input{
align-content: right;
margin:5px;
}
h3{
color:#1f00a8;
font-family: helvetica;
}
a{
color:#f00f53;
text-decoration: none;
align-content: right;
}
.button{
margin :10px;
padding:5px;
font-weight: bold;
background-color: #008cff;
text-align: center;
color:white;
}
.button:hover {
background: #6600f5;;
}
body{
background-color: PaleTurquoise;
}
body
{
background-color : PaleTurquoise ;
</style>
</head>
<?php
session_start();
if($_SESSION['user'])
{}
else
{
header("location:index.php");
}
$user=$_SESSION['user'];
?>
<body>
<div class="container">
<h2 >The Deposit Page</h2>
<h3> Welcome to E-Banking <?php Print "$user" ?></h3>
<a href="home.php" >Click Here to Go Back.</a><br/>
<br/><br/>
<form action="add.php" method="POST">
How much would you like to deposit: <input type="number" name="amount" required="required"/><br/>
Add some details : <input type="text" name="details"/><br/>
<input type="submit" class="button" value="Deposit Money"/>
</form>
</div>
</body>
</html>