А что будет если заменаем
(' . functions::display_date($qc['time']) . ')на
(' . functions::display_date($res['time']) . ') А что будет если заменаем
(' . functions::display_date($qc['time']) . ')(' . functions::display_date($res['time']) . ')