<{* $Id: weblinks0_block_top.html,v 1.4 2007/08/08 04:23:50 ohwada Exp $ *}>

<{* google map *}>
<{if $block.show_gmap}>
  <{$block.gmap}>
<{/if}>

<{* top hits links *}>
<ul>
<{foreach item=link from=$block.links}>
  <li>
  <{if $link.show_banner == 1}>
    <a href="<{$xoops_url}>/modules/<{$block.dirname}>/singlelink.php?lid=<{$link.id}>">
    <{if $link.width > 0 }>
      <img src="<{$link.banner}>" width="<{$link.width}>" border="0" alt="banner" />
    <{else}>
      <img src="<{$link.banner}>" border="0" alt="banner" />
    <{/if}>
    </a>
  <{/if}>
  <a href="<{$xoops_url}>/modules/<{$block.dirname}>/singlelink.php?lid=<{$link.id}>"><{$link.title}></a> (<{$link.hits}>) 
  <{if $link.show_new == 1}>
    <img src="<{$xoops_url}>/modules/<{$block.dirname}>/images/new.gif" border="0" alt="new" />
  <{/if}>
  <{if $link.show_update == 1}>
    <img src="<{$xoops_url}>/modules/<{$block.dirname}>/images/update.gif" border="0" alt="update" />
  <{/if}>
  <{if $link.show_pop == 1}>
    <img src="<{$xoops_url}>/modules/<{$block.dirname}>/images/pop.gif" border="0" alt="popular" />
  <{/if}>
  <{if $link.show_cat_title }>
    <br /> in
    <a href="<{$xoops_url}>/modules/<{$block.dirname}>/viewcat.php?cid=<{$link.cid}>"><{$link.cat_title}></a>
  <{/if}>
  <{if $link.show_desc }>
    <br />
    <span style="font-size: 90%;">
    <{$link.desc_short}>
    </span>
  <{/if}>
  </li>
<{/foreach}>
</ul>
