$eveRender->Assign('vcheck', $vcheck); } if ($action == 'updatealliance') { $results = $posmgmt->API_UpdateAlliances(); $eveRender->Assign('action', $action); $eveRender->Assign('results', $results); $eveRender->Display('admin.tpl'); exit; } elseif ($action == 'updatesovereignty') { $sovcount = $posmgmt->API_UpdateSovereignty(); $eveRender->Assign('action', $action); $eveRender->Assign('sovcount', $sovcount); $eveRender->Display('admin.tpl'); exit; } elseif ($action == 'updatejobs') { $results = $posmgmt->API_UpdateIndustryJobs(); $eveRender->Assign('action', $action); $eveRender->Assign('results', $results); $eveRender->Display('admin.tpl'); exit; } elseif ($action == 'updatepricesapi') { $args = $settings[1]['gsetting']; $results = $API->API_UpdatePrices($args); $eveRender->Assign('action', $action); $eveRender->Assign('results', $results); $eveRender->Display('admin.tpl'); exit; } elseif ($action == 'getcharacters') { $apikey = $eve->VarCleanFromInput('apikey'); $userid = $eve->VarCleanFromInput('userid'); if (empty($apikey) || empty($userid)) {