<?php 
defined('C5_EXECUTE') or die(_("Access Denied."));
$b = Block::getByID($_REQUEST['bID']);
$bc = $b->getInstance();

?>
<h2>Title</h2>
<div><?php echo $bc->getFileName()?></div>

<br/>
<h2>Size</h2>
<div><?php echo round($bc->getFileSize(), 2)?> KB</div>

<br/>
<h2>Added By</h2>
<div>
<?php 
$uID = $b->getBlockUserID();
$ui = UserInfo::getByID($uID);
print $ui->getUserName();
?>
</div>
<br/>

<?php  
$d = $bc->getDimensions();
if ($d) { ?>

<h2>Dimensions</h2>
<div><?php echo $d[0]?>x<?php echo $d[1]?></div>
<br/>
<?php  } ?>

<h2>Date Added:</h2> 
<div><?php echo date('F d, Y', strtotime($b->getBlockDateAdded()))?></div>
<br/>

<h2>Date Modified:</h2> 
<div><?php echo date('F d, Y', strtotime($b->getBlockDateLastModified()))?></div>