-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
133 lines (133 loc) · 4.08 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
<!DOCTYPE html>
<html>
<head>
<?php require_once('includes/head.php');?>
<title>James' ATM</title>
</head>
<body>
<div class="container-fluid">
<div class="row atm">
<div class="atm-box">
<div class="col-xs-2 controls">
<a id="balanceButton" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-right fa-stack-1x"></i>
</span>
</a>
<a id="withdrawButton" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-right fa-stack-1x"></i>
</span>
</a>
<a id="30Button" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-right fa-stack-1x"></i>
</span>
</a>
<a id="backButton" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-right fa-stack-1x"></i>
</span>
</a>
</div>
<div class="col-xs-8 screen">
<div id="loginScreen">
<h1 class="welcome"><i class="fa fa-university"></i> Welcome to James' Bank <i class="fa fa-university"></i></h1>
Enter Your PIN
<?php
require_once('includes/elements.php');
window_and_keypad("login");
?>
</div>
<div id="mainScreen" style="display:none;">
<div id="mainScreenMenu">
<div class="row optionrow">
<div class="col-md-6 left">
Balance
</div>
<div class="col-md-6 right">
New PIN
</div>
</div>
<div class="row optionrow">
<div class="col-md-6 left">
Withdraw
</div>
<div class="col-md-6 right">
Cancel
</div>
</div>
</div>
<div id="balanceScreen" class="subScreen" style="display: none;">
Your current balance is:<br>
<span id="balance" style="color: #283c92;"></span>
<div style="padding-top: 2em;text-align:left;">Back</div>
</div>
<div id="withdrawScreen" class="subScreen" style="display: none;">
Withdraw Money
<p style="font-size: 0.5em;"> </p>
<div class="row optionrow">
<div class="col-md-6 left">
£10
</div>
<div class="col-md-6 right">
£20
</div>
</div>
<div class="row optionrow">
<div class="col-md-6 left">
£30
</div>
<div class="col-md-6 right">
£40
</div>
</div>
<div class="row optionrow">
<div class="col-md-6 left">
Back
</div>
</div>
</div>
<div id="pinScreen" class="subScreen" style="display: none;">
Enter New PIN
<?php window_and_keypad("newpin");?>
</div>
</div>
</div>
<div class="col-xs-2 controls">
<a id="pinButton" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-left fa-stack-1x"></i>
</span>
</a>
<a id="cancelButton" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-left fa-stack-1x"></i>
</span>
</a>
<a id="40Button" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-left fa-stack-1x"></i>
</span>
</a>
<a id="" href="#" class="controlButton">
<span class="fa-stack fa-lg">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-chevron-left fa-stack-1x"></i>
</span>
</a>
</div>
</div>
</div>
</div>
<?php require_once('includes/foot.php');?>
<script src="/assets/js/atm.js" type="text/javascript"></script>
</body>
</html>