addSelectAjax( 'user_id', get_lang('User'), [], [ 'url' => api_get_path(WEB_AJAX_PATH).'user_manager.ajax.php?a=get_user_like', ] ); $form->addButtonSearch(); $userInfo = []; if ($form->validate()) { $userId = $form->exportValue('user_id'); $userInfo = api_get_user_info($userId); } Display::display_header($nameTools); echo '
'; echo MySpace::getTopMenu(); echo '
'; echo MySpace::getAdminActions(); $form->display(); if (!empty($userInfo)) { echo Display::page_subheader($userInfo['complete_name']); echo SurveyManager::surveyReport($userInfo); echo SurveyManager::surveyReport($userInfo, 1); } Display::display_footer();