-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
442 lines (374 loc) · 20.6 KB
/
index.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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
<?php
session_start();
include("connect.php");
$q= mysqli_query($success,"SELECT * from details");
$rowcount=mysqli_num_rows($q);
?>
<!doctype html>
<html class="no-js" lang="zxx">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>BASIC BANKING SYSTEM</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="manifest" href="site.webmanifest"> -->
<!-- Place favicon.ico in the root directory -->
<!-- CSS here -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/themify-icons.css">
<link rel="stylesheet" href="css/nice-select.css">
<link rel="stylesheet" href="css/flaticon.css">
<link rel="stylesheet" href="css/gijgo.css">
<link rel="stylesheet" href="css/animate.min.css">
<link rel="stylesheet" href="css/slick.css">
<link rel="stylesheet" href="css/slicknav.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!-- <link rel="stylesheet" href="css/responsive.css"> -->
</head>
<body>
<style>
.login100-form {
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 3px 28px 3px 19px;
}
element.style {
margin-left: -20px;
margin-top: 50px;
}
.modal-footer>:not(:last-child) {
margin-right: 9rem;
}
</style>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<!-- header-start -->
<nav class=”navbar fixed-top navbar-expand-md navbar-light bg-light”>
<header class="header">
<div class="header-area ">
<div id="sticky-header" class="main-header-area">
<div class="container-fluid p-0">
<div class="row align-items-center no-gutters">
<div class="col-xl-2 col-lg-2 ">
<div class="logo-img">
<br>
</div>
</div>
<div class="col-xl-8 col-lg-8">
<div class="main-menu d-none d-lg-block text-center">
<nav>
<ul id="navigation">
<br>
<li class="nav-item">
<div class="container-login100-form-btn" style="margin-left: 220px;">
</div>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
</nav>
<!-- header-end -->
<!-- slider_area_start -->
<div class="slider_area" style="background-image: url(images/image.jpg);">
<div class="single_slider d-flex align-items-center slider_bg_1 overlay"
style="background-image: url(images/image.jpg);">
<div class="container">
<div class="row align-items-center justify-content-start">
<div class="col-lg-10 col-md-10">
<div class="slider_text">
<h3 class="wow fadeInLeft" data-wow-duration="1s" data-wow-delay=".1s"
style="color: white; margin-left: -150px; ">
<b>BASIC BANKING SYSTEM</b>
</h3>
<h2 class="wow fadeInLeft" data-wow-duration="1s" data-wow-delay=".1s"
style="color: #57b846; margin-left: -147px; margin-top:-35px;">
Transferring Money between multiple accounts
</h2>
<br>
<p class="wow fadeInLeft" data-wow-duration="1s" data-wow-delay=".1s"
style="color:white; margin-left: -142px;">
<b>Managed by the cashier!</b>
</p>
<br>
<a name="getstarted" href="#services" style="margin-left: -142px; width: 50px; "
class="login100-form-btn ">
Get Started
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- slider_area_end -->
<!-- service_area -->
<div class="service_area">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6">
<div class="section_title text-center mb-70">
<span class="wow fadeInUp" data-wow-duration="1s" data-wow-delay=".1s"
style="font-size: 50px; color:#57b846; margin-top: -110px;" id="services"> SERVICES OFFERED</span>
</div>
</div>
<div class="row">
<div class="col-xl-4 col-md-4">
<div class="single_service text-center wow fadeInLeft" data-wow-duration="1.2s"
data-wow-delay=".4s">
<!-- <a href="add.php"> -->
<button type="button" data-toggle="modal" data-target="#myModal">
<div class="icon">
<img src="img/svg_icon/add.svg" alt="" height="70px" width="70px">
</div>
<h3 style="color:red;"><b>ADD CUSTOMER</b></h3>
<p>Add new customers to the list with all the required details and then you are all set
to transact</p>
</button>
</div>
</div>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<!-- <button style="margin-left: -200px;" class="close" data-dismiss="modal">×</button> -->
<h4 style="margin-left: 0px; color: red;"><b>ADD CUSTOMER</b></h4>
</div>
<div class="modal-body">
<form class="login100-form validate-form" action="insert.php" method="post">
<br>
<div class="wrap-input100 validate-input m-b-26"
data-validate="Username is required">
<br>
<br>
<input class="input100" type="text" name="cname"
placeholder="Enter Customer Name">
<span class="focus-input100"></span>
</div>
<div class="wrap-input100 validate-input m-b-18"
data-validate="Password is required">
<input class="input100" type="number" name="mobile"
placeholder="Enter Customer Mobile-no">
<span class="focus-input100"></span>
</div>
<div class="wrap-input100 validate-input m-b-18"
data-validate="Password is required">
<input class="input100" type="email" name="email"
placeholder="Enter Customer Email-id">
<span class="focus-input100"></span>
</div>
<div class="wrap-input100 validate-input m-b-18"
data-validate="Password is required">
<input class="input100" type="number" name="amount"
placeholder="Enter Depositing Amount">
<span class="focus-input100"></span>
</div>
<div class="wrap-input100 validate-input m-b-18"
data-validate="Password is required">
<input class="input100" type="number" name="accno"
placeholder="Enter Unique customer ID">
<span class="focus-input100"></span>
</div>
<br>
<br>
<div class="modal-footer">
<br><br>
<button style="margin-left: -10px; margin-top:50px;" type="button"
class="login100-form-btn" data-dismiss="modal">Close</button>
<input style="margin-left: 20px; margin-top:50px;" type="submit"
value="Save" name="sub" class="login100-form-btn" >
</div>
</form>
</div>
</div>
</div>
</div>
<div class="col-xl-4 col-md-4">
<div class="single_service text-center wow fadeInUp" data-wow-duration="1s"
data-wow-delay=".3s">
<button type="button" onclick="window.location.href='/Basic-Banking-System/transact.php'">
<div class="icon">
<img src="img/svg_icon/money-transfer.svg" alt="" height="74px" width="74px">
</div>
<h3 style="color:red;"><b>TRANSFER MONEY</b></h3>
<p>Transfer money between multiple accounts </p>
<br>
</button>
</div>
</div>
<!-- <div class="modal fade" id="myModal1" role="dialog">
<div class="modal-dialog">
Modal content-->
<!-- <div class="modal-content">
<div class="modal-header">
<button style="margin-left: -200px;" class="close" data-dismiss="modal">×</button>
<h4 style="margin-left: 0px;">Transact</h4>
</div>
<div class="modal-body">
<form class="login100-form validate-form" action="insert1.php" method="post">
<br>
<div class="wrap-input100 validate-input m-b-26"
data-validate="Username is required">
<input class="input100" type="text" name="st" list="devename" placeholder="Send To">
<span class="focus-input100"></span>
<datalist id="devename">
<?php
for($i=1;$i<=$rowcount;$i++)
{
$row=mysqli_fetch_array($q);
?>
<option value="<?php echo ' '.$row['cname'].' ('. $row['cid'].')' ?>">
<?php
}
?>
</datalist>
</div>
<div class="wrap-input100 validate-input m-b-26"
data-validate="Username is required">
<input class="input100" type="text" name="st" list="devename" placeholder="Debit From">
<span class="focus-input100"></span>
<datalist id="devename">
<?php
for($i=1;$i<=$rowcount;$i++)
{
$row=mysqli_fetch_array($q);
?>
<option value="<?php echo ' '.$row['cname'].' ('. $row['cid'].')' ?>">
<?php
}
?>
</datalist>
</div>
<div class="wrap-input100 validate-input m-b-18"
data-validate="Password is required">
<input class="input100" type="number" name="amt" placeholder="Enter amount">
<span class="focus-input100"></span>
</div>
<div class="wrap-input100 validate-input m-b-18"
data-validate="Password is required">
<input class="input100" type="password" name="email"
placeholder="Enter Employee Secure ID">
<span class="focus-input100"></span>
</div>
<br>
<br>
<div class="modal-footer">
<br><br>
<button style="margin-left: -10px; margin-top:50px;" type="button"
class="login100-form-btn" data-dismiss="modal1">Close</button>
<input style="margin-left: 20px; margin-top:50px;" type="submit"
value="Transact" name="sub1" class="login100-form-btn">
</div>
</form>
</div>
</div>
</div>
</div> -->
<!-- <div class="col-xl-4 col-md-4">
<div class="single_service text-center wow fadeInRight" data-wow-duration="1.2s"
data-wow-delay=".4s">
<a href="progress.php">
<div class="icon">
<img src="img/svg_icon/history.svg" alt="" height="74px" width="74px">
</div>
<h3>TRANSACTION HISTORY</h3>
<p>Check all the Transaction History till date</p>
<br>
</a>
</div>
</div> -->
<div class="col-xl-4 col-md-4" >
<div class="single_service text-center wow fadeInUp" data-wow-duration="1s"
data-wow-delay=".3s">
<button type="button" onclick="window.location.href='/Basic-Banking-System/view.php'">
<div class="icon">
<img src="img/svg_icon/view-details.svg" alt="" height="74px" width="74px">
</div>
<h3 style="color:red;"><b>VIEW CUSTOMERS</b></h3>
<p>View all the customers having accounts in our bank</p>
<br>
</button>
</div>
</div>
</div>
</div>
</div>
<!--/ service_area -->
</div>
<div class="border-top">
<h6 class="text-center mt-3">Copyright ©2020 All rights reserved<p style="color: green;">
With 💙 by Preethi G
</p>
</h6>
</div>
</body>
</html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function () {
// Add smooth scrolling to all links
$("a").on('click', function (event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 500, function () {
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
});
</script>
<script src="js/vendor/modernizr-3.5.0.min.js"></script>
<script src="js/vendor/jquery-1.12.4.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/isotope.pkgd.min.js"></script>
<script src="js/ajax-form.js"></script>
<script src="js/waypoints.min.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/imagesloaded.pkgd.min.js"></script>
<script src="js/scrollIt.js"></script>
<script src="js/jquery.scrollUp.min.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/nice-select.min.js"></script>
<script src="js/jquery.slicknav.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/gijgo.min.js"></script>
<!--contact js-->
<script src="js/contact.js"></script>
<script src="js/jquery.ajaxchimp.min.js"></script>
<script src="js/jquery.form.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/mail-script.js"></script>
<script src="js/main.js"></script>