Location: PHPKode > projects > mediaIndex > includes/fileDetails.php
<table class="details">
<tr>
  <td width="25%">Filename: </td>
  <td><b><?=basename($GLOBALS['file']->path)?></b> <?=(!empty($GLOBALS['file']->hits) ? "(".$GLOBALS['file']->hits." hits)" : "")?></td>
</tr>
<tr>
  <td>Filesize: </td>
  <td><?=$GLOBALS['file']->filesize?></td>
</tr>
<tr>
  <td>Last Accessed: </td>
  <td><?=$GLOBALS['file']->fileatime?></td>
</tr>
<tr>
  <td>Created On: </td>
  <td><?=$GLOBALS['file']->filectime?></td>
</tr>
<tr>
  <td>Last Modified: </td>
  <td><?=$GLOBALS['file']->filemtime?></td>
</tr>
<tr>
  <td>File Owner UID: </td>
  <td><?=$GLOBALS['file']->fileowner?></td>
</tr>
<tr>
  <td>File Permissions: </td>
  <td><?=$GLOBALS['file']->fileperms?></td>
</tr>
<tr>
  <td>Direct Link: </td>
  <td><a href="<?=_MEDIAURL.$GLOBALS['file']->path?>"><?=_truncate(_MEDIAURL.$GLOBALS['file']->path,80)?></a></td>
</tr>

<?php
$mirrors = $GLOBALS['file']->getMirrors();
?>
<?php $cnt = 0; foreach ($mirrors as $mirror) { $cnt++; ?>
<tr>
  <td>Mirror: #<?=$cnt?></td>
  <td><a href="<?=$mirror['url']?>" target="new"><?=$mirror['url']?></a></td>
</tr>
<?php } ?>
</table>
Return current item: mediaIndex