A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
591 B

13 years ago
  1. <?php
  2. if ($_CONTROL->File) {
  3. if ($strUrl = $_CONTROL->GetWebUrl()) print('<a href="' . $strUrl . '" target="_blank">');
  4. $_CONTROL->imgFileIcon->Render();
  5. if ($strUrl) print ('</a>');
  6. print('<br/>');
  7. if ($_CONTROL->Enabled)
  8. $_CONTROL->btnDelete->Render();
  9. } else {
  10. if ($strUrl = $_CONTROL->GetWebUrl()) print('<a href="' . $strUrl . '" target="_blank">');
  11. $_CONTROL->imgFileIcon->Render();
  12. if ($strUrl) print ('</a>');
  13. print('<br/>');
  14. if ($_CONTROL->Enabled)
  15. $_CONTROL->btnUpload->Render();
  16. }
  17. ?>
  18. <?php if ($_CONTROL->Enabled) $_CONTROL->dlgFileAsset->Render(); ?>