<{* xnpurl list block *}>
<script type="text/javascript" src="js/prototype.js">
</script>
<script type="text/javascript">
<!--//
function xnpurl_countup_link_<{$xoonips_item.basic.item_id}>() {
  var backend = '<{$smarty.const.XOONIPS_URL}>/backend.php?itemtype=xnpurl&action=linkcount';
  var params = 'item_id=<{$xoonips_item.basic.item_id}>';
  var myAjax = new Ajax.Request( backend, {
    method: 'post',
    parameters: params,
    asynchronous: false
  } );
  return true;
}
//-->
</script>

<table>
 <tr>
  <td width="65" style="vertical-align:middle; text-align:center;">
   <img src="<{$smarty.const.XOOPS_URL}>/modules/xnpurl/images/icon_url.gif" alt="icon_url"/>
  </td>
  <td>
   <a href="<{$xoops_url}>/modules/xoonips/detail.php?<{if $xoonips_item.basic.doi == '' || $smarty.const.XNP_CONFIG_DOI_FIELD_PARAM_NAME == ''}>item_id=<{$xoonips_item.basic.item_id}><{else}><{$smarty.const.XNP_CONFIG_DOI_FIELD_PARAM_NAME}>=<{$xoonips_item.basic.doi}><{/if}>"><{foreach item=title from=$xoonips_item.titles}><{$title.title}>&nbsp;<{/foreach}></a><br />
   Link to <a href="<{$xoonips_item.detail.url}>" target="_blank" onclick="return xnpurl_countup_link_<{$xoonips_item.basic.item_id}>();"><{$xoonips_item.detail.url}></a>
  </td>
  <td width="65">
    <{if $xoonips_item.pending}>(Pending)<{/if}>
  </td>
 </tr>
</table>
