$var)) { $form->$var = ''; } } $curcost = get_course_cost($course); $userfirstname = empty($form->firstname) ? $USER->firstname : $form->firstname; $userlastname = empty($form->lastname) ? $USER->lastname : $form->lastname; $useraddress = empty($form->ccaddress) ? $USER->address : $form->ccaddress; $usercity = empty($form->cccity) ? $USER->city : $form->cccity; $usercountry = empty($form->cccountry) ? $USER->country : $form->cccountry; ?>

authorizeerrors['header'])) { formerr($classreference->authorizeerrors['header']); } ?>

an_avs)) { /* Address Verification System */ ?>
: authorizeerrors['cc'])) { formerr($classreference->authorizeerrors['cc']); } ?>
: authorizeerrors['ccfirstlast'])) { formerr($classreference->authorizeerrors['ccfirstlast']); } ?>
: ccexpiremm); $nowdate = getdate(); $nowyear = $nowdate["year"]-1; for ($i=$nowyear; $i<=$nowyear+11; $i++) { $years[$i] = $i; } choose_from_menu($years, 'ccexpireyyyy', $form->ccexpireyyyy); if (!empty($classreference->authorizeerrors['ccexpire'])) { formerr($classreference->authorizeerrors['ccexpire']); } ?>
: cctype); if (!empty($classreference->authorizeerrors['cctype'])) { formerr($classreference->authorizeerrors['cctype']); } ?>
: authorizeerrors['cvv'])) { formerr($classreference->authorizeerrors['cvv']); } ?>
: authorizeerrors['ccaddress'])) { formerr($classreference->authorizeerrors['ccaddress']); } ?>
/ : / authorizeerrors['cccity'])) { formerr($classreference->authorizeerrors['cccity']); } ?>
: authorizeerrors['cccountry'])) { formerr($classreference->authorizeerrors['cccountry']); } ?>
: authorizeerrors['cczip'])) { formerr($classreference->authorizeerrors['cczip']); } ?>
">
$var)) { $form->$var = ''; } } $curcost = get_course_cost($course); $userfirstname = empty($form->firstname) ? $USER->firstname : $form->firstname; $userlastname = empty($form->lastname) ? $USER->lastname : $form->lastname; ?>

authorizeerrors['header'])) { formerr($classreference->authorizeerrors['header']); } ?>

: authorizeerrors['abacode'])) { formerr($classreference->authorizeerrors['abacode']); } ?>
: authorizeerrors['accnum'])) { formerr($classreference->authorizeerrors['accnum']); } ?>
: acctype); if (!empty($classreference->authorizeerrors['acctype'])) { formerr($classreference->authorizeerrors['acctype']); } ?>
: authorizeerrors['bankname'])) { formerr($classreference->authorizeerrors['bankname']); } ?>
: authorizeerrors['firstlast'])) { formerr($classreference->authorizeerrors['firstlast']); } ?>
">
id.'&paymentmethod='.AN_METHOD_ECHECK; $stringtofetch = 'usingecheckmethod'; } else { $otheravailable = in_array(AN_METHOD_CC, get_list_of_payment_methods()); $url = 'enrol.php?id='.$course->id.'&paymentmethod='.AN_METHOD_CC; $stringtofetch = 'usingccmethod'; } if ($otheravailable) { $a = new stdClass; $a->url = $url; print_string($stringtofetch, "enrol_authorize", $a); } } ?>