<{* $Id: weblinks_links_list.html,v 1.4 2006/09/30 03:15:23 ohwada Exp $ *}>

<{foreach item=link from=$links}>

<div class="weblinks_links_list_frame">
<div class="weblinks_links_list_frame_title">

<{if $link.flag_url == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/visit.php?lid=<{$link.lid}>" target="_blank">
<{elseif $link.flag_url == 2}>
  <a href="<{$link.url}>" onmousedown="return weblinks_hardlink(this,<{$link.lid}>)" target="_blank">
<{/if}>

<span class="weblinks_list_title"><{$link.title}></span>

<{if $link.flag_url != 0}>
  </a>
<{/if}>

&nbsp;&nbsp;

<{if $link.name_disp != ""}>
  <{if $link.mail_disp != ""}>
    <a href="mailto:<{$link.mail_disp}>"><{$link.name_disp}></a>
  <{else}>
    <{$link.name_disp}>
  <{/if}>
  &nbsp;&nbsp;
<{/if}>

<{if $link.rss_flag == 1}>
  <a href="<{$link.rss_url}>" target="_blank">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/rdf.png" border="0" alt="rdf" /></a>&nbsp;
<{elseif $link.rss_flag == 2}>
  <a href="<{$link.rss_url}>" target="_blank">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/rss.png" border="0" alt="rss" /></a>&nbsp;
<{elseif $link.rss_flag == 3}>
  <a href="<{$link.rss_url}>" target="_blank">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/atom.png" border="0" alt="atom" /></a>&nbsp;
<{/if}>

<{if $link.flag_new == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/index.php?keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/new.gif" border="0" alt="<{$lang_image_new}>" /></a>
<{/if}>

<{if $link.flag_update == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/index.php?keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/update.gif" border="0" alt="<{$lang_image_update}>" /></a>
<{/if}>

<{if $link.flag_pop == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/topten.php?hit=1&amp;keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/pop.gif" border="0" alt="<{$lang_image_popular}>" /></a>
<{/if}>

<{if $link.flag_recommend == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/viewmark.php?mark=recommend&amp;keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/cool.gif" border="0" alt="<{$lang_image_recommend}>" /></a>
<{/if}>

<{if $link.flag_mutual == 1}>
  <a href="<{$xoops_url}>/modules/<{$dirname}>/viewmark.php?mark=mutual&amp;keywords=<{$keywords}>">
  <img src="<{$xoops_url}>/modules/<{$dirname}>/images/hot.gif" border="0" alt="<{$lang_image_mutual}>" /></a>
<{/if}>

</div>
<div class="weblinks_links_list_frame_description">

<{if ($list_image_use == 1) && ($link.image_url != "")}>
  <{if $link.flag_url == 1}>
    <a href="<{$xoops_url}>/modules/<{$dirname}>/visit.php?lid=<{$link.lid}>" target="_blank">
  <{elseif $link.flag_url == 2}>
    <a href="<{$link.url}>" onmousedown="return weblinks_hardlink(this,<{$link.lid}>)" target="_blank">
  <{/if}>

  <{if ($link.image_list_width != "") && ($link.image_list_height != "")}>
    <img src="<{$link.image_url}>" width="<{$link.image_list_width}>" height="<{$link.image_list_height}>" alt="banner" class="weblinks_list_image" />
  <{else}>
    <img src="<{$link.image_url}>" alt="banner" class="weblinks_list_image" />
  <{/if}>

  <{if $link.flag_url != 0}>
    </a>
  <{/if}>
<{/if}>

<{if $link.show_catpaths}>
<{* -- Start path loop -- *}>
  <{section name=ii loop=$link.catpaths}>
    <{section name=j loop=$link.catpaths[ii]}>
      <a href="<{$xoops_url}>/modules/<{$dirname}>/viewcat.php?cid=<{$link.catpaths[ii][j].cid}>&amp;keywords=<{$keywords}>"><{$link.catpaths[ii][j].title}></a>
      <{if $smarty.section.j.last == false}>
        &nbsp;<img src="<{$xoops_url}>/modules/<{$dirname}>/images/arrow2.gif" border="0" alt="arrow" />&nbsp;
      <{/if}>
    <{/section}>
    <{if $smarty.section.ii.last == false}>
      &nbsp;:&nbsp;
    <{/if}>
  <{/section}>
<{* -- End path loop -- *}>
<{else}>
  <span class="weblinks_error">No Category</span>
<{/if}>
<br />

<span class="weblinks_list_description"><{$link.desc_short}></span><br />

<{$lang_lastupdate}>: <{$link.update_short}>&nbsp;&nbsp;

<{if $show_hits}>
  <{$lang_hits}>: <{$link.hits}>&nbsp;&nbsp;
<{/if}>

<{if $show_rating}>
  <{$lang_rating}>: <{$link.rating_disp}>&nbsp;&nbsp;
<{/if}>

<a href="<{$xoops_url}>/modules/<{$dirname}>/singlelink.php?lid=<{$link.lid}>&amp;keywords=<{$keywords}>"><{$lang_more}></a>
</div>

</div>

<{/foreach}>
