-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmoney.php
120 lines (97 loc) · 4.86 KB
/
money.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
114
115
116
117
118
119
120
<?php
include "header.php";
include "navbar.php";
?>
<!doctype html>
<html lang="en">
<style>
body {
background-image: url('images/contact.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<title>GRIP Bank</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link rel="stylesheet" href="style2.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
</head>
<body>
<?php
include 'connect.php';
$sql = "SELECT * FROM users";
$result = mysqli_query($conn, $sql);
?>
<!-- options -->
<div class="d-grip gap-2 col-6 mx-auto text-center p-3 mb-2">
<a href="history.php"><button type="button" class="btn btn-primary btn-lg mb-3">See all Transaction History</button></a>
</div>
</div>
<div class="container">
<div class="row text-center">
<div class="col text-center">
<div class="table-responsive-sm">
<table class="table table-hover table-striped table-sm">
<thead style="color : black;" class="table-danger">
<tr>
<th scope="col" class="text-center py-2">S.No.</th>
<th scope="col" class="text-center py-2">Name</th>
<th scope="col" class="text-center py-2">E-Mail</th>
<th scope="col" class="text-center py-2">Balance</th>
<th scope="col" class="text-center py-2">Action</th>
</tr>
</thead>
<tbody>
<?php
while ($rows = mysqli_fetch_assoc($result)) {
?>
<tr style="color : black;">
<td class="text-center py-2">
<?php echo $rows['id'] ?>
</td>
<td class="text-center py-2">
<?php echo $rows['name'] ?>
</td>
<td class="text-center py-2">
<?php echo $rows['email'] ?>
</td>
<td class="text-center py-2">
<?php echo $rows['balance'] ?>
</td>
<td><a href="users.php?id= <?php echo $rows['id']; ?>"> <button class="btn btn-outline-dark btn">View and Transact</button></a></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- footer -->
<div class="foot">
<footer class="bg-light text-center text-lg-start">
<!-- Copyright -->
<div class="text-center p-3" style="background-color: grey;text-align:center;color:white;">
© 2021 Copyright - Made by <strong>Rakshitha Murthy</strong> :
<a class="text-dark" href="https://www.thesparksfoundationsingapore.org/" target="_blank" style="color:white;"> The Sparks
Foundation </a>
</div>
<!-- Copyright -->
</footer>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous"></script>
-->
</body>
</html>