<{include file="db:weblinks_header.html"}>

<h4><{$lang_topten_title}></h4>

<{if $lang_topten_error }>
  <font color="red"><{$lang_topten_error}></font><br /><br />
<{/if}>

<ul>
<{foreach item=top from=$rankings}>
  <li><a href="#<{$top.cid}>"><{$top.title}></a></li>
<{/foreach}>
</ul>
<br />

<!-- Start ranking loop -->
<{foreach item=ranking from=$rankings}>
  <a name="<{$ranking.cid}>"></a>
  <table class="outer">
  <tr>
    <th><{$ranking.title}> (<{$lang_sortby}>)</th>
  </tr>
  </table>

<!-- Start links loop -->
  <{foreach item=link from=$ranking.links}>
    <{include file="db:weblinks_linklist.html" link=$link}>
  <{/foreach}>
<!-- End links loop-->

<br />
<{/foreach}>
<!-- End ranking loop -->

