case 'complete': break; } } break; default: header('Location: /account/management'); break; } } else { header('Location: /account/management'); } break; case 'is-character-eligible': header('Content-Type: application/json; charset=utf-8'); $PlainResponse = Characters::VerifyEligibility($_REQUEST['character'], $_REQUEST['service']); echo json_encode($PlainResponse, JSON_UNESCAPED_UNICODE); break; case 'referrals': if (!Text::IsNull($_REQUEST['service'])) { $Service = array('name' => strtolower($_REQUEST['service']), 'title' => $Smarty->GetConfigVars('Account_Management_Service_' . $_REQUEST['service']), 'description' => $Smarty->GetConfigVars('Account_Management_Service_' . $_REQUEST['service'] . '_Description'), 'history' => $Smarty->GetConfigVars('Account_Management_Service_' . $_REQUEST['service'] . '_History'), 'service' => $_REQUEST['service'], 'price' => Account::GetServicePrice($_REQUEST['service'])); $Smarty->assign('Service', $Service); switch ($_REQUEST['service']) { case 'RAF': if (!isset($_REQUEST['servicecat'])) { echo "<pre>"; print_r($_REQUEST); } else { switch ($_REQUEST['servicecat']) { case 'history': break;