<{include file='db:wfdownloads_header.html'}>

<!-- Start ranking loop --> 
<{foreach item=ranking from=$rankings}> 
<div style="margin-bottom: 5px;"><b><{$smarty.const._MD_WFD_CATEGORY}>: <{$ranking.title}></b></div>
<table cellpadding="0" cellspacing="1" width="100%" class="outer"> 
  <tr> 
    <th width="5%" align="center" ><{$smarty.const._MD_WFD_RANK}></th> 
    <th width="29%"><{$smarty.const._MD_WFD_TITLE}></th> 
    <th width="27%"><{$smarty.const._MD_WFD_CATEGORY}></th>
    <th width="10%" align="center"><{$smarty.const._MD_WFD_HITS}></th> 
    <th width="12%" align="center"><{$smarty.const._MD_WFD_RATING}></th> 
    <th width="11%" align="center"><{$smarty.const._MD_WFD_VOTE}></th> 
  </tr> 
  <!-- Start files loop --> 
<{foreach item=file from=$ranking.file}> 
  <tr> 
    <td align="center" class="head"><b><{$file.rank}></b></td> 
    <td class="even"><a href="singlefile.php?cid=<{$file.cid}>&amp;lid=<{$file.id}>"><{$file.title}></a></td> 
    <td class="even"><a href="viewcat.php?cid=<{$file.cid}>"><{$file.category}></a></td>
    <td class="even" align="center"><{$file.hits}></td> 
    <td class="even" align="center"><{$file.rating}></td> 
    <td align="center" class="even"><{$file.votes}></td> 
  </tr> 
<{/foreach}> 
  <!-- End links loop--> 
</table>
<br /> 
<{/foreach}> 
<!-- End ranking loop --> 
<{include file='db:wfdownloads_footer.html'}>