attachmentsView.inc 365 B

123456789
  1. <?php if (!empty($fileData) && !is_null($fileData)) { ?>
  2. <div class="postAttachments">
  3. <ul>
  4. <?php foreach($fileData as $file) { ?>
  5. <li><a href="/?a=files&id=<?=$file['file_id']?>&force=1"><img src="images/icons/<?=$file['icon']?>.png" /></a> <a href="/?a=files&id=<?=$file['file_id']?>" target="_blank"><?=$file['name']?></a></li>
  6. <?php } ?>
  7. </ul>
  8. </div>
  9. <? } ?>