<{include file="db:`$mydirname`_header.html"}>

<{include file="db:`$mydirname`_category_tree.html"}>


<h2 class="head"><{$ranking_title}></h2>

<table class="outer" style="margin:20px 0;">
  <tr class="head">
    <td width='10%' align='center'><{$smarty.const._MD_RANK}></td>
    <td><{$smarty.const._MD_SITETITLE}></td>
    <td width='10%' align='center'><{$smarty.const._MD_ACCS}></td>
    <td width='10%' align='center'><{$smarty.const._MD_HITS}></td>
    <td width='10%' align='center'><{$smarty.const._MD_RATING}></td>
    <td width='10%' align='center'><{$smarty.const._MD_VOTE}></td>
  </tr>

  <!-- Start links loop -->
  <{foreach item=link from=$links key=count }>
    <tr class="<{cycle values='odd,even'}>">
      <td align='center'><{$count+1}></td>
      <td><a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=item p_key1=lid p_val1=$link.lid}>"><{$link.title}></a>&nbsp;<a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=visit p_key1=lid p_val1=$link.lid}>" target="_blank"><img src="<{$myurl}>/images/pop_win.gif" title="GO site!" /></a></td>
      <td align='center'><{$link.access}></td>
      <td align='center'><{$link.hits}></td>
      <td align='center'><{$link.rating}></td>
      <td align='center'><{$link.votes_num}></td>
    </tr>
  <{/foreach}>
  <!-- End links loop-->

</table>


<{include file="db:`$mydirname`_footer.html"}>
