\n";
echo " | ";
$sent_date = explode('.', $row['sent_date']);
echo $sent_date[0];
echo " | \n";
echo " ".$text['label-type_'.$row['type']]." | \n";
echo " ".$text['label-status_'.$row['status']]." | \n";
echo " ".$text['label-message_view']." | \n";
echo " ".$text['label-attachment_download']." | \n";
echo " ";
echo " ".$text['label-reference_cdr']."";
echo " ".($caller_id_name != '') ? " ".$caller_id_name." (".format_phone($caller_id_number).")" : $caller_id_number;
echo " ⇢ ".$destination_number;
echo " | \n";
echo " ";
echo "$v_link_label_view";
if (permission_exists('email_delete')) {
echo "$v_link_label_delete";
}
echo " | \n";
echo "
\n";
if ($c==0) { $c=1; } else { $c=0; }
} //end foreach
unset($sql, $result, $row_count);
} //end if results
echo "