<div class="project-details-row row">
<div class="col-md-4 detail-title">Documents</div>
<?php
foreach ($documents as $e) {
$doc_l = str_ireplace("public://propertydocuments/", $doc_url, $e['uri']);
$link = $e['uri'];
echo '
<li class="detail-docs">', '<a href="'.$doc_l.'">','<i class="material-icons">get_app</i>', $e['filename'], '</a>', '</li>';
}
?>
</div>