'.$history_h2.' ('.$query_total.')

'.$history_p.'

'; $view .= ' '; $view .= '
'; if (empty($responses)){ $view .= ' '; } else { foreach ($responses as $response){ $description = json_decode($response->description) ?? $response->description; $description = json_encode($description, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); //Replace JSON ITEMS $search = ['{', '}', '"',':','[',']',',']; $replace = ['', '','','=','','','']; $description = str_replace($search, $replace, $description); $view .= ' '; } } $view .= '
'.$history_label1.' '.$history_label2.' '.$history_label3.' '.$history_label4.' '.$history_label5.'
'.$history_no_history.'
'.$response->historyID.' '.$response->type.' '.getRelativeTime($response->created).' '.$response->createdby.'
' . $description . '
'; $view.=''; //OUTPUT echo $view; template_footer(); ?>