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
|
<TR>
<TD ALIGN="right">Card number</TD>
<TD COLSPAN=6>
<TABLE>
<TR>
<TD>
<INPUT TYPE="text" NAME="payinfo" SIZE=20 MAXLENGTH=19 VALUE="<? echo $payinfo ?>"> </TD>
<TD>Exp.</TD>
<TD>
<SELECT NAME="month">
<? $months = array( '01', '02', '03' ,'04', '05', '06', '07', '08', '09', '10', '11', '12' );
foreach ( $months AS $m ) {
?>
<OPTION <? if ($m == $month) { echo 'SELECTED'; } ?>><? echo $m; ?>
<? } ?>
</SELECT>
</TD>
<TD> / </TD>
<TD>
<SELECT NAME="year">
<? $years = array( '2018', '2019', '2020', '2021', '2022', '2023', '2024', '2025', '2026' );
foreach ( $years as $y ) {
?>
<OPTION <? if ($y == $year ) { echo 'SELECTED'; } ?>><? echo $y; ?>
<? } ?>
</SELECT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<? if ( $withcvv ) { ?>
<TR>
<TD ALIGN="right">CVV2 (<A HREF="javascript:myopen('cvv2.html','cvv2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=480,height=288')">help</A>)</TD>
<TD><INPUT TYPE="text" NAME="paycvv" VALUE="" SIZE=4 MAXLENGTH=4></TD>
</TR>
<? } ?>
<TR>
<TD ALIGN="right">Exact name on card</TD>
<TD COLSPAN=6><INPUT TYPE="text" SIZE=32 MAXLENGTH=80 NAME="payname" VALUE="<? echo $payname; ?>"></TD>
</TR>
<? $lf = $freeside->mason_comp(array(
'session_id' => $_COOKIE['session_id'],
'comp' => '/elements/location.html',
'args' => [
'no_asterisks' , 1,
#'address1_label' , 'Card billing address',
'address1_label' , 'Card billing address',
],
));
echo $lf['output'];
?>
|