##/ Process if (!is_array($fv_errors) || empty($fv_errors) || count($fv_errors) <= 0) { #/ Determine Direction to move $chk_pkg = @format_str($chk_pkg); $chk_pkg['cost'] = (double) $chk_pkg['cost']; $package_type = 'free'; if ($chk_pkg['cost'] > 0) { $package_type = 'paid'; } //var_dump($chk_pkg['cost'], $package_type); die(); #/ make a copy of submission $_SESSION['signup_filled']['1'] = $_POST; include_once '../includes/process_signup.php'; if ($package_type == 'paid') { #/ Paid Package Processing $attempted_on = @process_signup_1($_POST, $chk_pkg, true); //$POST_key = } else { #/ Free Package Processing exit; } //end if free... } else { $fv_msg = 'Please clear the following Error(s):<br /><br />- '; $fv_msg_ar = array(); foreach ($fv_errors as $fv_k => $fv_v) { $fv_msg_ar = array_merge($fv_msg_ar, $fv_v); } $fv_msg .= @implode('<br />- ', $fv_msg_ar); update_attempt_counts(); echo $fv_msg;
} ##/ Process if (!is_array($fv_errors) || empty($fv_errors) || count($fv_errors) <= 0) { #/ Determine Direction to move $chk_pkg['cost'] = (double) $chk_pkg['cost']; $package_type = 'free'; if ($chk_pkg['cost'] > 0) { $package_type = 'paid'; } //var_dump($chk_pkg['cost'], $package_type); die(); #/ make a copy of submission $_SESSION['signup_filled']['1'] = $_POST; include_once '../includes/process_signup.php'; if ($package_type == 'paid') { #/ Paid Package Processing $POST_key = @process_signup_1($_POST, $chk_pkg, true); } else { #/ Free Package Processing exit; } //end if free... } else { $fv_msg = 'Please clear the following Error(s):<br /><br />- '; $fv_msg_ar = array(); foreach ($fv_errors as $fv_k => $fv_v) { $fv_msg_ar = array_merge($fv_msg_ar, $fv_v); } $fv_msg .= @implode('<br />- ', $fv_msg_ar); update_attempt_counts(); echo $fv_msg; exit;