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.
 
 
 
 
 

18 lines
591 B

<?php
if ($_CONTROL->File) {
if ($strUrl = $_CONTROL->GetWebUrl()) print('<a href="' . $strUrl . '" target="_blank">');
$_CONTROL->imgFileIcon->Render();
if ($strUrl) print ('</a>');
print('<br/>');
if ($_CONTROL->Enabled)
$_CONTROL->btnDelete->Render();
} else {
if ($strUrl = $_CONTROL->GetWebUrl()) print('<a href="' . $strUrl . '" target="_blank">');
$_CONTROL->imgFileIcon->Render();
if ($strUrl) print ('</a>');
print('<br/>');
if ($_CONTROL->Enabled)
$_CONTROL->btnUpload->Render();
}
?>
<?php if ($_CONTROL->Enabled) $_CONTROL->dlgFileAsset->Render(); ?>