-
Notifications
You must be signed in to change notification settings - Fork 13
/
admin.php
215 lines (188 loc) · 9.17 KB
/
admin.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<?php
session_start();
include 'includes/dbconnect.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!-- Title -->
<title>Credit.com - Credit Company </title>
<!-- Favicon -->
<link rel="icon" href="img/core-img/favicon.ico">
<!-- Stylesheet -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Preloader -->
<div class="preloader d-flex align-items-center justify-content-center">
<div class="lds-ellipsis">
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<!-- ##### Header Area Start ##### -->
<header class="header-area">
<!-- Top Header Area -->
<div class="top-header-area">
<div class="container h-100">
<div class="row h-100 align-items-center">
<div class="col-12 d-flex justify-content-between">
<!-- Logo Area -->
<div class="logo">
<a><img src="img/core-img/logo.png" alt=""></a>
</div>
<!-- Top Contact Info -->
<div class="top-contact-info d-flex align-items-center">
<a href="#" data-toggle="tooltip" data-placement="bottom" title="25 th Street Avenue, Karachi, PAK"><img src="img/core-img/placeholder.png" alt=""> <span>25 th Street Avenue, Karachi, PAK</span></a>
<a href="#" data-toggle="tooltip" data-placement="bottom" title="info@credit.com"><img src="img/core-img/message.png" alt=""> <span>info@credit.com</span></a>
</div>
</div>
</div>
</div>
</div>
<!-- Navbar Area -->
<div class="credit-main-menu" id="sticker">
<div class="classy-nav-container breakpoint-off">
<div class="container">
<!-- Menu -->
<nav class="classy-navbar justify-content-between" id="creditNav">
<!-- Menu -->
<div class="classy-menu">
</div>
<!-- Contact -->
<div class="contact">
<!-- <a href="index.html"> LOG-OUT </a> -->
<?php if (isset($_SESSION['usr_id'])) ?>
<li><a href="logout.php">Log Out</a></li>
</div>
</nav>
</div>
</div>
</div>
</header>
<!-- ##### Header Area End ##### -->
<!-- ========== Web Icons ========== -->
<div class="col-12">
<div class="elements-title mb-30">
<section class="elements-area section-padding-100-0">
<h2>Admin DashBoard</h2>
</div>
</div>
<div>
<h3>Welcome, <?php echo $_SESSION['usr_name']; ?></h3>
</div>
<div class="col-12 mb-70">
<div class="row">
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-purse"></i>
<a href="addaccount.php"> <span>Add Account</span></a>
</div>
</div>
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-diamond"></i>
<a href="deleteaccount.php"><span>Delete Account</span></a>
</div>
</div>
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-smartphone-1"></i>
<a href="grantloan.php"><span>Grant Loan</span></a>
</div>
</div>
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-check"></i>
<a href="viewaccounts.php"><span>View Accounts</span></a>
</div>
</div>
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-invoice"></i>
<a href="depositmoney.php"><span>Deposit Money</span></a>
</div>
</div>
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-smartphone"></i>
<a href="withdrawmoney.php"><span>Withdraw Money</span></a>
</div>
</div>
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-calculator"></i>
<a href="viewloans.php"><span>View Loans</span></a>
</div>
</div>
<!-- Single Icons -->
<!-- <div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-atm-machine-1"></i>
<a href="#"><span>ATM</span></a>
</div>
</div> -->
<!-- Single Icons -->
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-credit-card-1"></i>
<a href="card.php"><span>Debit-Card</span></a>
</div>
</div>
<!-- Single Icons -->
<!-- <div class="col-12 col-sm-6 col-md-4 col-lg-3">
<div class="single-icons mb-30">
<i class="icon-wallet"></i>
<a href="#"><span>Wallet</span></a>
</div>
</div> -->
</div>
</div>
</div>
</div>
<!-- Copywrite Area -->
<div class="copywrite-area">
<div class="container">
<div class="row">
<div class="col-12">
<div class="copywrite-content d-flex flex-wrap justify-content-between align-items-center">
<!-- Footer Logo -->
<a href="index.html" class="footer-logo"><img src="img/core-img/logo.png" alt=""></a>
<!-- Copywrite Text -->
<p class="copywrite-text"><a href="#"><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved </a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- ##### Footer Area Start ##### -->
<!-- ##### All Javascript Script ##### -->
<!-- jQuery-2.2.4 js -->
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<!-- Popper js -->
<script src="js/bootstrap/popper.min.js"></script>
<!-- Bootstrap js -->
<script src="js/bootstrap/bootstrap.min.js"></script>
<!-- All Plugins js -->
<script src="js/plugins/plugins.js"></script>
<!-- Active js -->
<script src="js/active.js"></script>
</body>
</html>