-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserpage.php
More file actions
137 lines (96 loc) · 3.56 KB
/
Copy pathuserpage.php
File metadata and controls
137 lines (96 loc) · 3.56 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?php
session_start();
$connection = mysqli_connect("localhost","root","","bankaccount");
$database = mysqli_select_db($connection,"bankaccount");
$id=$_SESSION['id'];
$sql="SELECT * FROM banktable WHERE id='$id'";
$result=mysqli_query($connection,$sql);
$row=mysqli_fetch_array($result);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, scalable=no">
<link rel="stylesheet" href="userpage.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<title>THE USER'S PAGE</title>
</head>
<body>
<div id="topmain">
<div class="top1">
<p class="rn">Account Balance</p><img src="balance.png" id="mg">
<p id="t1">$<?php echo @$row["current_balance"]; ?></p>
</div>
<div class="top2">
<p class="rn">Cash Transfered</p><img src="transaction.png" id="mg">
<p id="t2">0</p>
</div>
<div class="top3">
<p class="rn">Cash Debut</p><img src="debut.png" id="mg">
<p id="t3">0</p>
</div>
<div class="top4">
<p class="rn">Transaction failed</p><img src="failed.png" id="mg">
<p id="t4">0</p>
</div>
</div>
<div id="mobileside">
<h2><?php echo @$row["fullname"];?>' DASHBOARD</h2>
<p id="dash1"><?php echo'<img height="100%" width="100%" style="border-radius:50%;" src="'.@$row['image'].'">'; ?></p>
<a href="accountprofile.php">USER PROFILE</a><br>
<a href="useredit.php">EDIT PROFILE</a><br>
<a href="account.php">ACCOUNT DETAILS</a><br>
<a href="#">STATEMENT OF ACCOUNT</a><br>
<a href="moneytransfer.php">TRANSFER FUNDS</a><br>
<a href="logout.php">LOG OUT</a><br>
</div>
<div id="alldiv">
<frameset cols="19%,78%">
<iframe src="leftpage.php" id="leftside">
</iframe>
<iframe src="rightpage.php" id="rightside" name="rightopen">
</iframe>
</frameset>
</div>
<footer class="footer-distributed">
<div class="footer-left">
<h3>Developed By<span>CodeTech</span></h3>
<p class="footer-links">
<a href="#" class="link-1">Home</a>
<a href="#">Blog</a>
<a href="#">About</a>
<a href="#">Contact</a>
</p>
<p class="footer-company-name">American State Bank © 2015</p>
</div>
<div class="footer-center">
<div>
<i class="fa fa-map-marker"></i>
<p><span>BA street ashiaman</span> greater accra, ghana</p>
</div>
<div>
<i class="fa fa-phone"></i>
<p>0268343400</p>
</div>
<div>
<i class="fa fa-envelope"></i>
<p><a href="mailto:support@company.com">support@company.com</a></p>
</div>
</div>
<div class="footer-right">
<p class="footer-company-about">
<span>About the company</span>
we will help you with all your online transaction with minimum charges and
maximum security!!!!
</p>
<div class="footer-icons">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-linkedin"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
</div>
</footer>
</body>
</html>