{if $downloads}
<table width="100%"  border="0" cellpadding="3" cellspacing="1" class="box_inner">
  <tr>
    <td class="box_innerhead">{$typ}</td>
  </tr>
  {foreach from=$downloads item=download}
  <tr class="row_first">
    <td class="pointer" onclick="location.href='index.php?showfile=1&amp;fid={$download->id}&amp;p=downloads&amp;area={$area}&amp;categ={$download->catid}';"  valign="top"><img src="templates/{$theme}/img/page/quicklink.gif" alt="" border="0" class="absmiddle" /> <a  href="index.php?showfile=1&amp;fid={$download->id}&amp;p=downloads&amp;area={$area}&amp;categ={$download->catid}">
      <small>{$download->title}</small>
      </a> </td>
  </tr>
  <tr class="row_second">
    <td><div class="pointer" onclick="location.href='index.php?showfile=1&amp;fid={$download->id}&amp;p=downloads&amp;area={$area}&amp;categ={$download->catid}';" style="padding:5px"> <small>
        {$download->ctime}
        |
        {$download->hits}
        Hits <br />
        {$download->text|strip_tags|truncate:80}
        </small></div></td>
  </tr>
  {/foreach}
</table>
{/if}
