-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBCGpostnet.php
48 lines (40 loc) · 1.08 KB
/
BCGpostnet.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
<?php
define('IN_CB', true);
include('include/header.php');
registerImageKey('code', 'BCGpostnet');
$characters = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');
?>
<div id="validCharacters">
<h3>Valid Characters</h3>
<?php foreach ($characters as $character) { echo getButton($character); } ?>
</div>
<div id="explanation">
<h3>Explanation</h3>
<ul>
<li>Used to encode enveloppe in USA.</li>
<li>
You can provide
<br />5 digits (ZIP Code)
<br />9 digits (ZIP+4 code)
<br />11 digits (ZIP+4 code+2 digits)
<br />(Those 2 digits are taken from your address. If your address is 6453, the code will be 53.)
</li>
</ul>
</div>
<script>
(function($) {
"use strict";
$(function() {
var thickness = $("#thickness")
.val(9)
.removeAttr("min step")
.prop("disabled", true);
$("form").on("submit", function() {
thickness.prop("disabled", false);
});
});
})(jQuery);
</script>
<?php
include('include/footer.php');
?>