'false', 'data' => ''); $data = ""; // Only available to logged_in user if ($search_criteria && $input_id && is_logged_in()) { $users = $Dippler->backoffice->searchUsers($search_criteria); if ($users && is_array($users) && sizeof($users) > 0) { foreach ($users as $user) { $data .= '
  • '.$user["name"].', '.$user["email"].' '._("Select").'
  • '; } $result['success'] = 'true'; $result['data'] = $data; } } echo json_encode($result); exit; ?>