Needed for the log user-action $last_id = db_fetch_last_id(); // Log user-project action db_log_user_project($_SESSION[$_PAGE_INFO['id']]['search']['project']['id'], "menu:projecten:project_documentatie:add_user_comment", $last_id); } $replace_comment_info = array(); $replace_comment_info['document'] = $splitted[0]; // Get user comments $replace_comments_infos = db_fetch_data_user_comment($replace_comment_info , 1); // Check if there are comments if(is_array($replace_comments_infos)){ $p =0; $backgroundcolor_c = 'rgb(240,250,255);'; $border_c =''; $last_comment_c = sizeof($replace_comments_infos); // Div where all comments are placed so the can loaded by ajax post echo"
".strtoupper($com_c['tekst'])."
".strtoupper(checkSizeUsername(getUser($com_c['gebruiker'])))."
".strtoupper($com_c['datum']). "