-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfront-page.php
More file actions
469 lines (428 loc) · 20.5 KB
/
front-page.php
File metadata and controls
469 lines (428 loc) · 20.5 KB
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
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
<?php get_header(); ?>
<div id="mainSlider" class="carousel slide top-sec" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#mainSlider" data-slide-to="0" class="active"></li>
<li data-target="#mainSlider" data-slide-to="1"></li>
</ol>
<div class="carousel-inner">
<div id="slider-image-0" class="item active">
<div class="top-sec-text">
<div class="top-sec-title">LONDON</div>
</div>
</div>
<div id="slider-image-1" class="item">
<div class="top-sec-text">
<div class="top-sec-title">GENEVA</div>
</div>
</div>
</div>
<style>
.item {
height: 760px;
width: 100%;
padding-top: 450px;
}
#slider-image-0 {
background: url("<?php echo get_template_directory_uri(); ?>/assets/street.jpg") bottom no-repeat;
background-size: cover;
}
#slider-image-1 {
background: url("<?php echo get_template_directory_uri(); ?>/assets/geneva.jpg") bottom no-repeat;
background-size: cover;
}
</style>
<a class="left carousel-control" href="#mainSlider" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#mainSlider" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="slogan-sec">
<div class="slogan-title">We provide State-of-the Art Technology in the Electronic Payment Industry</div>
<div class="slogan-text">Take card payment through every method by setting-up the complete banking system in UK and Switzerland</div>
</div>
<div class="payment-sec" id="PaymentSolutions">
<div class="payment-sec-title">PAYMENT METHODS</div>
<div class="payment-container">
<div class="payment-title">Virtual Payment</div>
<div class="payment-part-title">MOTO</div>
<div class="payment-part">
<div class="payment-part-sub">
<div class="payment-part-sub-title">Payment by Phone</div>
<div class="payment-part-sub-text">
<div>Take Payment by Telephone, On our Platform, 3D secure :</div>
<ul>
<li>The 16 digit card number</li>
<li>The Name</li>
<li>The 3 pin security cvv</li>
<li>The expiration date</li>
<li>Registered address</li>
</ul>
</div>
</div>
<img src="<?php echo get_template_directory_uri(); ?>/assets/pay-by-phone.gif" alt="virtual-payment" class="payment-part-gif" id="paymentPhoneGif">
<!-- <img src="<?php echo get_template_directory_uri(); ?>/assets/paybymail.gif" alt="virtual-payment" class="payment-part-photo" style="right: 300px; top: 1354px; width: 220px"> -->
</div>
<div class="payment-part-title">Pay-by-link</div>
<div class="payment-part">
<div class="payment-part-sub" style="margin-right: 36px">
<div class="payment-part-sub-title">Payment by Email</div>
<div class="payment-part-sub-text">
<div>Receive Payment by sending an Email</div>
<ul>
<li>The 16 digit card number</li>
<li>The Name</li>
<li>The 3 pin security cvv</li>
<li>The expiration date</li>
<li>Registered address</li>
</ul>
</div>
</div>
<div class="payment-part-sub">
<div class="payment-part-sub-title">Payment by SMS</div>
<div class="payment-part-sub-text">
<div>Receive Payment by sending an SMS</div>
<ul>
<li>The 16 digit card number</li>
<li>The Name</li>
<li>The 3 pin security cvv</li>
<li>The expiration date</li>
<li>Registered address</li>
</ul>
</div>
</div>
</div>
</div>
<div class="payment-container">
<div class="payment-part">
<div style="width: 60%"></div>
<div class="payment-part-sub">
<div class="payment-title">Electronic Machine Payment</div>
<div class="payment-part-sub-text">
<ul style="margin-right: 40px">
<li>Desktop</li>
<li>Mobile 4G</li>
<li>Portable WiFi/Bluetooth</li>
</ul>
<ul>
<li>Apple Pay</li>
<li>Samsung Pay</li>
<li>Google wallet</li>
<li>Contactles</li>
<li>Paper roll: 57x40x12.7</li>
</ul>
</div>
</div>
<img src="<?php echo get_template_directory_uri(); ?>/assets/facetoface-payment.png" alt="virtual-payment" class="payment-part-photo" id="paymentPosPhoto">
</div>
</div>
<div class="payment-container" style="margin-top: 125px; padding-bottom: 50px">
<div class="payment-title">Ecommerce architecture</div>
<div class="payment-part">
<div class="payment-part-sub">
<div class="payment-part-sub-text">
<div>
Create the complete infrastructure for an Online Shop<br><br>
</div>
<div style="display: flex; flex-wrap: wrap">
<div style="margin-right: 40px">
<div>Administration</div>
<ul>
<li>Catalog</li>
<li>Product</li>
<li>Quantity</li>
<li>Price</li>
<li>Sale</li>
<li>Order</li>
<li>Return</li>
<li>Customer</li>
<li>Orders completed</li>
<li>Report</li>
<li>Maintenance</li>
</ul>
</div>
<div style="margin-right: 40px">
<div>Shop front</div>
<ul>
<li>Shopping Cart</li>
<li>Checkout</li>
<li>Connect to bank</li>
<li>Terms and conditions</li>
<li>Privacy policy</li>
<li>Cookies</li>
</ul>
</div>
<!--
<div class="payment-part-title" style="margin-right: 40px" Style="padding-top:30px">Plug-in</div> -->
<div>
<div>Hosted Payment Page</div>
<ul>
<li>Credit/Debit Card</li>
<li>Security Number</li>
</ul>
</div>
</div>
</div>
</div>
<img src="<?php echo get_template_directory_uri(); ?>/assets/online-payment.png" alt="virtual-payment" class="payment-part-photo" id="paymentEcommercePhoto">
</div>
</div>
</div>
<div class="slogan-sec">
<div class="slogan-text" style="padding: 0;">
We convert a sophisticated technology into a simple technology for you to sell and take money
</div>
</div>
<div class="jobs-sec" id="PaymentTypes">
<div class="jobs-sec-title">Our Industries</div>
<div class="jobs-container">
<div class="jobs-photo-container">
<img src="<?php echo get_template_directory_uri(); ?>/assets/gym.png" alt="gym" class="jobs-img" id="JobPhoto-1">
<img src="<?php echo get_template_directory_uri(); ?>/assets/car.png" alt="casino" class="jobs-img" id="JobPhoto-2">
<img src="<?php echo get_template_directory_uri(); ?>/assets/airplane2.png" alt="hotel" class="jobs-img" id="JobPhoto-3">
<img src="<?php echo get_template_directory_uri(); ?>/assets/roulette.png" alt="car" class="jobs-img" id="JobPhoto-4">
<img src="<?php echo get_template_directory_uri(); ?>/assets/university.png" alt="car" class="jobs-img" id="JobPhoto-5">
</div>
<div class="jobs-accordion">
<ul>
<li>
<div class="job-title" id="JobTab-1" onclick="JobShow(1)">
<div id="JobIcon-1" class="job-title-icon fa fa-hand-o-down" aria-hidden="true"></div>
<div>Recurring and Subscription Payment from our Platform</div>
</div>
<div class="job-content" id="Job-1">
Take payment weekly or monthly for membership
<br>
<div>
<ul>
<br>
<li>Gym</li>
<li>Hostel</li>
<li>Insurance</li>
<li>Estate Agent</li>
<li>Football Club</li>
<li>Place of Worship</li>
<li>University Accommodation </li>
</ul>
</div>
</div>
</li>
<li>
<div class="job-title" id="JobTab-2" onclick="JobShow(2)">
<div id="JobIcon-2" class="job-title-icon fa fa-hand-o-down" aria-hidden="true"></div>
<div>Downpayment</div>
</div>
<div class="job-content" id="Job-2">
Where you need a down payment:
<br>
<ul>
<br>
<li>Car Sales</li>
<li>Furniture</li>
<li>Electronics</li>
<li>Weddings</li>
<li>Catering</li>
</ul>
</div>
</li>
<li>
<div class="job-title" id="JobTab-3" onclick="JobShow(3)">
<div id="JobIcon-3" class="job-title-icon fa fa-hand-o-down" aria-hidden="true"></div>
<div>Pre Authorisation Payment</div>
</div>
<div class="job-content" id="Job-3">
The Airline industry includes off-line payment in mid-air for food and beverages is our speciality.
<ul>
<br><br>
<li>Airline- Midair sales</li>
<li>Airline Tickets</li>
<li>Travel Industry</li>
<li>Car Hire</li>
</ul>
</div>
</li>
<li>
<div class="job-title" id="JobTab-4" onclick="JobShow(4)">
<div id="JobIcon-4" class="job-title-icon fa fa-hand-o-down" aria-hidden="true"></div>
<div>Advance Payment</div>
</div>
<div class="job-content" id="Job-4">The Entertainment Industry
<div>
<ul>
<br>
<li>Theatre</li>
<li>Cinema</li>
<li>Casino</li>
<li>Museum</li>
<li>Zoo</li>
<li>Theme Parks</li>
<li>Place of worship</li>
</ul>
</div>
</div>
</li>
<li>
<div class="job-title" id="JobTab-5" onclick="JobShow(5)">
<div id="JobIcon-5" class="job-title-icon fa fa-hand-o-down" aria-hidden="true"></div>
<div>Guarantor Facility Payment</div>
</div>
<div class="job-content" id="Job-5">For the Education Industry such as University and Private School
we offer you a parent guarantor to guarantee the pupil and the student fees for the academic year.
<br>
<ul>
<li>language school</li>
<li>Escrow account</li>
<li>Private school</li>
<li>University</li>
<li>Law firms</li>
</ul>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="operation-sec">
<div class="operation-content">
<div class="operation-title">Smile, the cost is on us</div>
<div class="operation-subtitle">Operation</div>
<div class="operation-text">
<ul>
<li>Settlement from your sales can be next day</li>
<li>Instant transaction reports.</li>
<li>PCI DSS we do it all for you upfront with no monthly fees</li>
<li>Excellent customer service</li>
<li>Swap-out 48 hours for a broken hardware terminal.</li>
</ul>
</div>
</div>
<div class="operation-image"></div>
</div>
<div class="why-sec" id="NewMerchants">
<div class="why-content">
<div class="why-title">See why you should</div>
<div class="why-title">Sign with us</div>
<ul>
<li>
<div class="why-text-sec">
<div class="fa fa-check why-icon" aria-hidden="true"></div>
<div>Banking Fees for American Express cards are at half-price in comparison to the market rate.</div>
</div>
</li>
<li>
<div class="why-text-sec">
<div class="fa fa-check why-icon" aria-hidden="true"></div>
<div>Banking fees for Visa card and MasterCard we will let you know the cost on the acquire and offer
you a strong negotiating position.</div>
</div>
</li>
<li>
<div class="why-text-sec">
<div class="fa fa-check why-icon" aria-hidden="true"></div>
<div>Visa MasterCard America Express China Union Pay Dinners, JCB, K-net (Kuwait) MADA (Saudi Arabia) are all available with our service.</div>
</div>
</li>
</ul>
<!-- <div class="customer-sec-btn why-btn" onclick="location.href='<?php //echo site_url(); ?>/new-merchants'">
<div>New Merchant</div>
<div class="fa fa-angle-right customer-btn-icon" aria-hidden="true"></div>
</div> -->
</div>
</div>
<!--<div class="cash-advance-sec">-->
<!-- <div class="cash-sec">-->
<!-- <div class="cash-title">You need a bit of cash flow, call us here to help you</div>-->
<!-- <div class="cash-subtitle">Cash Advance for the Merchant</div>-->
<!-- <div class="cash-text">Cash Advance starting from £5000 up to £500000 is available. Cash Advance operates through a-->
<!-- merchant account and is calculated on your:-->
<!-- Previous annual sales - you pay it back through your future annual sales.-->
<!-- No customer is too small or large for us; you are all equally important for us.</div>-->
<!-- </div>-->
<!--</div>-->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.min.js"></script>
<script src="https://www.google.com/recaptcha/api.js?render=6Lfq68gZAAAAAMK-FHz-1u97wFfXBEnhaHxGMfge"></script>
<script>
$(function () {
$('#existing-merchant-form').on('submit', function (e) {
e.preventDefault();
grecaptcha.ready(function() {
grecaptcha.execute('6Lfq68gZAAAAAMK-FHz-1u97wFfXBEnhaHxGMfge', {action: 'submit'}).then(function(token) {
document.getElementById('recaptchaResponse').value = token;
$.ajax({
type: 'post',
url: '',
data: $('#existing-merchant-form').serialize(),
success: function () {
console.log('success!');
alert("Your message has been sent. We will contact you soon");
document.getElementById("existing-merchant-form").reset();
},
error: function () {
console.log('Error!');
document.getElementById("existing-merchant-form").reset();
},
done: function () {
console.log('Done!');
document.getElementById("existing-merchant-form").reset();
}
});
});
});
});
});
</script>
<?php
if($_POST) {
//recognize form type
$type = $_POST['merchant'];
//get data from ajax
$name = $_POST['Name'];
$customer_id = $_POST['ID'];
$title = $_POST['Title'];
$message = $_POST['Description'];
$response = $_POST['response'];
//sending email
$to = 'banktech.contactus@gmail.com';
$subject = 'New Message - '.$name;
$body = '<html><body style="padding: 20px"><div style="background: #270657 !important; font-family: Impact !important; font-size: 36px !important; padding: 15px 50px !important; color: white !important; margin-bottom: 20px !important;">Message Information</div><div style="background: #313235 !important; color: #eeeeee !important; padding: 20px !important; font-size: 16px !important; border: thin solid #eee !important;">';
$body .= '<div style="display: flex !important; justify-content: center !important; margin-bottom: 10px !important;"><div style="width: 40% !important;">Customer ID:</div>';
$body .= '<div style="width: 55% !important;">'.$customer_id.'</div></div>';
$body .= '<div style="display: flex !important; justify-content: center !important; margin-bottom: 10px !important;"><div style="width: 40% !important;">Name:</div>';
$body .= '<div style="width: 55% !important;">'.$name.'</div></div>';
$body .= '<div style="display: flex !important; justify-content: center !important; margin-bottom: 10px !important;"><div style="width: 40% !important;">Title:</div>';
$body .= '<div style="width: 55% !important;">'.$title.'</div></div>';
$body .= '<div style="display: flex !important; justify-content: center !important; margin-bottom: 10px !important;"><div style="width: 40% !important;">Message:</div>';
$body .= '<div style="width: 55% !important;">'.$message.'</div></div>';
$body .= '</div></body></html>';
$headers = array('Content-Type: text/html; charset=UTF-8');
wp_mail( $to, $subject, $body, $headers );
//save message in database
$new_message = array(
'post_title' => $customer_id.'-'.$name,
'post_status' => 'publish',
'post_type' => 'Messages'
);
$message_id = wp_insert_post( $new_message );
//add category to message
if ($title == "Electronic Machine") {
wp_set_post_terms( $message_id, array(4), 'category', false );
}
elseif ($title == "Settlement") {
wp_set_post_terms( $message_id, array(5), 'category', false );
}
elseif ($title == "New Machines") {
wp_set_post_terms( $message_id, array(6), 'category', false );
}
else {
wp_set_post_terms( $message_id, array(1), 'category', false );
}
//add data to message
update_field('name', $name, $message_id);
update_field('message_text', $message, $message_id);
update_field('customer_id', $customer_id, $message_id);
}
get_footer();
?>