'true' && api_get_setting('allow_social_tool')<>'true'){ api_not_allowed(); } if ( isset($_REQUEST['user_friend']) ) { $info_user_friend=array(); $info_path_friend=array(); $userfriend_id=Security::remove_XSS($_REQUEST['user_friend']); // panel=1 send message // panel=2 send invitation $panel=Security::remove_XSS($_REQUEST['view_panel']); $info_user_friend=api_get_user_info($userfriend_id); $info_path_friend=UserManager::get_user_picture_path_by_id($userfriend_id,'web',false,true); } ?>