-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
132 lines (124 loc) · 7.28 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
<!DOCTYPE html>
<?php
include "config.php";
?>
<!-- test -->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Loyalatity</title>
<script src="<?php echo JS_PATH . 'jQuery-1.12.1.js'; ?>"></script>
<script src="<?php echo JS_PATH . 'form-data.js'; ?>"></script>
<!-- Bootstrap -->
<link href="<?php echo CSS_PATH . 'bootstrap.min.css'; ?>" rel="stylesheet">
<link href="<?php echo CSS_PATH . 'style.css'; ?>" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="header">
<h1>Welcome to Loyality Points Program</h1>
</div>
<div class="container">
<form class="form-horizontal" role="form">
<fieldset>
<legend>Easy Loyality Register</legend>
<div class="alert alert-danger">
<strong id="error-field"></strong><span id="error-message"></span>
</div>
<div class="form-group">
<label class="col-sm-5 control-label" for="card-holder-name">Name on Card<span class="red-star">*</span></label>
<div class="col-sm-5">
<input type="text" class="form-control" name="card-holder-name" id="card-holder-name" placeholder="Card Holder's Name">
</div>
</div>
<div class="form-group">
<label class="col-sm-5 control-label" for="card-number">Card Number<span class="red-star">*</span></label>
<div class="col-sm-5">
<input type="text" class="form-control" name="card-number" id="card-number" placeholder="Debit/Credit Card Number">
</div>
</div>
<div class="form-group">
<label class="col-sm-5 control-label" for="cvv">Card CVV<span class="red-star">*</span></label>
<div class="col-sm-5">
<input type="text" class="form-control" name="cvv" id="card-cvv" placeholder="Security Code">
</div>
</div>
<div class="form-group">
<label class="col-sm-5 control-label" for="expiry-month">Expiration Date<span class="red-star">*</span></label>
<div class="col-sm-5">
<div class="row">
<div id="card-expiry">
<div class="col-xs-4">
<select class="form-control col-sm-1" name="expiry-month" id="card-expiry-month">
<option>Month</option>
<option value="01">Jan (01)</option>
<option value="02">Feb (02)</option>
<option value="03">Mar (03)</option>
<option value="04">Apr (04)</option>
<option value="05">May (05)</option>
<option value="06">June (06)</option>
<option value="07">July (07)</option>
<option value="08">Aug (08)</option>
<option value="09">Sep (09)</option>
<option value="10">Oct (10)</option>
<option value="11">Nov (11)</option>
<option value="12">Dec (12)</option>
</select>
</div>
<div class="col-xs-4">
<select class="form-control" name="expiry-year" id="card-expiry-year">
<option>Year</option>
<option value="16">2016</option>
<option value="17">2017</option>
<option value="18">2018</option>
<option value="19">2019</option>
<option value="20">2020</option>
<option value="21">2021</option>
<option value="22">2022</option>
<option value="23">2023</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-5 control-label" for="amount">Card amount<span class="red-star">*</span></label>
<div class="col-sm-5">
<input type="text" class="form-control" name="amount" id="card-amount" placeholder="Card amount">
</div>
</div>
<div class="form-group">
<div class="col-sm-5 control-label" for="checkbox">
</div>
<div class="col-sm-5">
<label name="checkbox"><input type="checkbox" value="" id="register-loyality-check"> Register to Loyality programs?</label>
</div>
</div>
<div class="form-group">
<div class="col-sm-5 control-label" for="checkbox">
</div>
<div class="col-sm-5">
<button type="button" class="btn btn-success" id="button-send" name="send">Send</button>
</div>
</div>
</fieldset>
</form>
<div id="response-box">
<p></p>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>-->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="<?php echo JS_PATH . 'bootstrap.min.js'; ?>"></script>
</body>
</html>