checkApiKey($_REQUEST['api_key']); // Output JSON format echo json_encode(array('getcurrentworkers' => $worker->getCountAllActiveWorkers())); // Supress master template $supress_master = 1; ?>