-
Notifications
You must be signed in to change notification settings - Fork 0
/
buy.php
517 lines (421 loc) · 19.8 KB
/
buy.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
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
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Buy QuickTags, the NFC bluetooth toggle stickers</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Email QuickTags using the contact form. Request custom NFC tags">
<!-- Le styles -->
<link href="/assets/css/bootstrap.css" rel="stylesheet">
<link href="/assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="/assets/css/styles.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".buy a").click(function(event){
event.preventDefault();
$('html,body').animate({scrollTop:$('[name="'+this.hash.substring(1)+'"]').offset().top}, 500);
setTimeout(function(){
window.location=window.location+'#enquiry';
}, 501);
});
$('html,body').animate({scrollTop:$('[name="'+this.hash.substring(1)+'"]').offset().top}, 500);
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1749798-30']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li><a href="/">Home</a></li>
<li><a href="/faq">FAQ</a></li>
<li class="active"><a href="/buy">Buy</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
<h3 class="muted"><a href="/"><img src="/assets/img/logo.png" alt="QuickTags"></a></h3>
</div>
<hr>
<div class="row-fluid marketing buy">
<div class="span12">
<h1>Buy QuickTags</h1>
<p>
Below are a list of the QuickTags currently on offer. All QuickTags
can be purchased by using the enquiry form found at the bottom of the
page. Payment can be made using PayPal to keep your card details safe
once we have arranged your order.
</p>
<p>
All orders exclude a £1.99 shipping charge. <strong>Large</strong> discounts
are available on bulk orders.
</p>
<p>
Designs may differ from those shown in pictures. You can have your own
image printed on the stickers starting from £3.99.
</p>
<hr>
<div class="item">
<h3>Mini Stickers</h3>
<p class="pull-left">
<img src="/assets/img/buy/mini_nfc_stickers_ntag203.png" alt="Mini Stickers">
</p>
<p>
These mini stickers are 29mm cirlces and come pre-programmed to toggle
Bluetooth on and off.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £9.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Micro Stickers</h3>
<p class="pull-right">
<img src="/assets/img/buy/micro_nfc_sticker.png" alt="Micro Stickers">
</p>
<p>
These micro stickers are 19x19mm square and come pre-programmed to toggle
Bluetooth on and off.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £9.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Tab Stickers</h3>
<p class="pull-left">
<img src="/assets/img/buy/tab_nfc_sticker_ntag203.png" alt="Tab Stickers">
</p>
<p>
These tab stickers are 42x27mm rectangles and come pre-programmed to toggle
Bluetooth on and off.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £9.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Standard Stickers</h3>
<p class="pull-right">
<img src="/assets/img/buy/standard_nfc_stickers_ntag203.png" alt="Standard Stickers">
</p>
<p>
These tab stickers are 45x55mm rectangles and come pre-programmed to toggle
Bluetooth on and off.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £11.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Maxi Stickers</h3>
<p class="pull-left">
<img src="/assets/img/buy/maxi_nfc_stickers_ntag203.png" alt="Maxi Stickers">
</p>
<p>
These maxi stickers are 55x85mm rectangles and come pre-programmed to toggle
Bluetooth on and off.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £12.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>On-Metal Stickers</h3>
<p class="pull-right">
<img src="/assets/img/buy/ntag203_tap_here.png" alt="On-Metal Stickers">
</p>
<p>
Stickers designed to be placed on metal surfaces. These stickers are 29mm round
and come pre-programmed to toggle Bluetooth on and off.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £13.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Ultralight Screw Fix Tag</h3>
<p class="pull-left">
<img src="/assets/img/buy/ultralight_screw_fix_nfc_tag.png" alt="Ultralight Screw Fix Tag">
</p>
<p>
This tag is ultra light, water-proof, dust-proof and durable. Designed to be screwed
to a solid surface.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £13.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Hang Tag</h3>
<p class="pull-right">
<img src="/assets/img/buy/hang_tag_ntag203.png" alt="Hang Tag">
</p>
<p>
29mm round disc with string, available in 6 different colours: Blue, Red, Green, Black,
Yellow and White. Please specify colour when ordering. Pre-programmed with Bluetooth toggle.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £9.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Ultralight Key Fob</h3>
<p class="pull-left">
<img src="/assets/img/buy/ultralight_round_keyfob.png" alt="Ultralight Key Fob">
</p>
<p>
Strong plastic keyfob with an Ultralight chip. Available in blue, red, black and green.
Please specify colour when ordering. Pre-programmed with Bluetooth toggle.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £9.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Key Card</h3>
<p class="pull-right">
<img src="/assets/img/buy/key_card_ntag203.png" alt="Key Card">
</p>
<p>
White matt key card 56 mm x 27 mm x 1 mm (length x width x depth).
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £12.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Ultralight Matt Card</h3>
<p class="pull-left">
<img src="/assets/img/buy/ultralight_matt_nfc_card.png" alt="Ultralight Matt Card">
</p>
<p>
Ultralight 85.6 x 54 mm PVC cards. Finished in matt white. 0.82 mm thick.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £16.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Ultralight Gloss Card</h3>
<p class="pull-right">
<img src="/assets/img/buy/ultralight_gloss_nfc_card.png" alt="Ultralight Gloss Card">
</p>
<p>
Ultralight 85.6 x 54 mm PVC cards. Finished in gloss white. 0.82 mm thick.
Pre-programmed to toggle Bluetooh.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £16.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Ultralight Small Ticket</h3>
<p class="pull-left">
<img src="/assets/img/buy/ultralight_small_nfc_ticket.png" alt="Ultralight Small Ticket">
</p>
<p>
Ultralight 42 x 27 mm paper tickets. Pre-programmed to toggle Bluetooh.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £11.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Ultralight Standard Ticket</h3>
<p class="pull-right">
<img src="/assets/img/buy/ultralight_standard_nfc_ticket.png" alt="Ultralight Standard Ticket">
</p>
<p>
Ultralight 86 x 54 mm paper tickets. Pre-programmed to toggle Bluetooh.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £13.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Premium Silicone Wristband</h3>
<p class="pull-left">
<img src="/assets/img/buy/premium_ultralight_silicone_wristband.png" alt="Premium Silicone Band">
</p>
<p>
Premium silicone wristband. Available in black, green, red, white or light blue.
Please specify colour when ordering. Pre-programmed to toggle Bluetooh.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £19.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Premium Junior Silicone Wristband</h3>
<p class="pull-right">
<img src="/assets/img/buy/premium_ultralight_junior_silicone_wristband.png" alt="Junior Silicone Band">
</p>
<p>
Premium junior silicone wristband. Junior sized band. Available in red or light blue.
Please specify colour when ordering. Pre-programmed to toggle Bluetooh.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £19.99
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Fabric Single Use Wristband</h3>
<p class="pull-left">
<img src="/assets/img/buy/fabric_single_use_wristband.png" width="144" alt="Fabric Single Use Wristband">
</p>
<p>
A high quality single use wristband with fabric strap. NTAG203 chip.
Available in three preprinted designs (VIP, Pass & NFC icon graphic)
Please specify design when ordering. Pre-programmed to toggle Bluetooh.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £19.99 (pack of 10)
</p>
</div> <!-- .item -->
<hr>
<div class="item">
<h3>Ultralight Premium Nylon Wristband</h3>
<p class="pull-right">
<img src="/assets/img/buy/ultralight_premium_nylon_wristband.png" alt="Ultralight Premium Nylon Wristband">
</p>
<p>
Looks and feels like a watch. High quality nylon strap.
Available in black/blue or black/red.
Please specify design when ordering. Pre-programmed to toggle Bluetooh.
</p>
<p>
<a href="#enquiry" class="btn btn-primary">Order</a> £19.99
</p>
</div> <!-- .item -->
<hr>
</div>
</div>
<a name="enquiry"></a>
<div class="row-fluid">
<div class="span12">
<h3>Order Form</h3>
<?php
$form = '
<form class="form-horizontal contact" method="post" action="#enquiry">
<div class="control-group">
<label class="control-label" for="inputName">Name</label>
<div class="controls">
<input type="text" id="inputName" placeholder="Name" name="name" value="'. (!empty($_POST['name']) ? $_POST['name'] : '') .'">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputEmail">Email</label>
<div class="controls">
<input type="email" id="inputEmail" placeholder="Email" name="email" value="'. (!empty($_POST['email']) ? $_POST['email'] : '') .'">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputPhone">Phone</label>
<div class="controls">
<input type="tel" id="inputPhone" placeholder="Phone" name="tel" value="'. (!empty($_POST['tel']) ? $_POST['tel'] : '') .'">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputProduct">Product</label>
<div class="controls">
<select id="inputProduct" name="product">
<option value="">Please select a product...</option>
<option value="Mini Stickers" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Mini Stickers') ? 'selected="selected"' : '') .'>Mini Stickers</option>
<option value="Micro Stickers" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Micro Stickers') ? 'selected="selected"' : '') .'>Micro Stickers</option>
<option value="Tab Stickers" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Tab Stickers') ? 'selected="selected"' : '') .'>Tab Stickers</option>
<option value="Standard Stickers" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Standard Stickers') ? 'selected="selected"' : '') .'>Standard Stickers</option>
<option value="On-Metal Stickers" '. ( (!empty($_POST['product']) && $_POST['product'] == 'On-Metal Stickers') ? 'selected="selected"' : '') .'>On-Metal Stickers</option>
<option value="Ultralight Screw Fix Tag" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Ultralight Screw Fix Tag') ? 'selected="selected"' : '') .'>Ultralight Screw Fix Tag</option>
<option value="Hang Tag" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Hang Tag') ? 'selected="selected"' : '') .'>Hang Tag</option>
<option value="Ultralight Key Fob" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Ultralight Key Fob') ? 'selected="selected"' : '') .'>Ultralight Key Fob</option>
<option value="Key Card" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Key Card') ? 'selected="selected"' : '') .'>Key Card</option>
<option value="Ultralight Matt Card" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Ultralight Matt Card') ? 'selected="selected"' : '') .'>Ultralight Matt Card</option>
<option value="Ultralight Gloss Card" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Ultralight Gloss Card') ? 'selected="selected"' : '') .'>Ultralight Gloss Card</option>
<option value="Ultralight Small Ticket" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Ultralight Small Ticket') ? 'selected="selected"' : '') .'>Ultralight Small Ticket</option>
<option value="Ultralight Standard Ticket" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Ultralight Standard Ticket') ? 'selected="selected"' : '') .'>Ultralight Standard Ticket</option>
<option value="Premium Silicone Wristband" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Premium Silicone Wristband') ? 'selected="selected"' : '') .'>Premium Silicone Wristband</option>
<option value="Premium Junior Silicone Wristband" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Premium Junior Silicone Wristband') ? 'selected="selected"' : '') .'>Premium Junior Silicone Wristband</option>
<option value="Fabric Single Use Wristband" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Fabric Single Use Wristband') ? 'selected="selected"' : '') .'>Fabric Single Use Wristband</option>
<option value="Ultralight Premium Nylon Wristband" '. ( (!empty($_POST['product']) && $_POST['product'] == 'Ultralight Premium Nylon Wristband') ? 'selected="selected"' : '') .'>Ultralight Premium Nylon Wristband</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputEnquiry">Comments</label>
<div class="controls">
<textarea id="inputEnquiry" name="enquiry">'. (!empty($_POST['enquiry']) ? $_POST['enquiry'] : '') .'</textarea>
</div>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" class="btn">Order</button>
</div>
</div>
</form>';
if(!empty($_POST)){
if(empty($_POST['name']) || empty($_POST['email']) || empty($_POST['tel']) || empty($_POST['enquiry']) || empty($_POST['product'])){
?>
<div class="alert alert-error">
Sorry, you need to fill out every field.
</div>
<?php
echo $form;
} else {
$message = "Order form used on QuickTags website\n\n";
$message.= "Name:\t".$_POST['name']."\n";
$message.= "Email:\t".$_POST['email']."\n";
$message.= "Tel:\t".$_POST['tel']."\n";
$message.= "Product:\t".$_POST['product']."\n";
$message.= "Comments:\t".$_POST['enquiry']."\n";
mail('[email protected]', '**ORDER** form used on QuickTags website', $message, "From: ".$_POST['name']." <".$_POST['email'].">");
?>
<div class="alert alert-success">
Thanks, we will be in touch as soon as possible - usually within 1 business day.
</div>
<?php
}
} else {
echo $form;
}
?>
</div>
</div>
<hr>
<div class="footer">
<p>© QuickTags 2012</p>
</div>
</div> <!-- /container -->
</body>
</html>