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

<table class="outer">
  <!-- Basic Information -->
  <tr>
    <td class="head"><{$basic.doi.name}></td>
    <td class="<{cycle name="oddeven" values="odd,even"}>"><{$basic.doi.value}></td>
  </tr>
  <tr>
    <td width="30%" class="head"><{$basic.lang.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.lang.value}></td>
  </tr>
  <tr>
    <td width="30%" class="head"><{$basic.title.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.title.value|nl2br}></td>
  </tr>
  <tr>
    <td class="head"><{$basic.keywords.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.keywords.value}></td>
  </tr>
  <tr>
    <td class="head"><{$basic.description.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.description.value}></td>
  </tr>
  <tr>
    <td class="head"><{$basic.last_update_date.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.last_update_date.value}></td>
  </tr>
  <tr>
    <td class="head"><{$basic.creation_date.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.creation_date.value}></td>
  </tr>
  <tr>
    <td class="head"><{$basic.contributor.name}></td>
    <td class="<{cycle name="oddeven"}>"><a href="<{$xoops_url}>/modules/xoonips/showusers.php?uid=<{$basic.uid.value}>" target="_self"><{$basic.contributor.value}></a></td>
  </tr>
  <tr>
    <td class="head"><{$basic.item_type.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.item_type.value}></td>
  </tr>
  <tr>
    <td class="head"><{$basic.change_logs.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.change_logs.value}></td>
  </tr>

  <!-- Url Item Detail Information -->
  <tr>
    <td class="head"><{$smarty.const._MD_XNPURL_URL_LABEL}></td>
    <td class="<{cycle name="oddeven"}>">
      <a href="<{$xoonips_item.detail.url}>" target="_blank" onclick="return xnpurl_countup_link_<{$item_id}>();"><{$xoonips_item.detail.url}></a>
      <br />
     <{$smarty.const._MD_XNPURL_HITS}>:<{$xoonips_item.detail.url_count}>
    </td>
  </tr>
  <!-- file -->
  <tr>
    <td class="head"><{$smarty.const._MD_XNPURL_URL_BANNER_FILE_LABEL}></td>
    <td class="<{cycle name="oddeven"}>">
      <{if !empty($xoonips_item.detail.banner_image_url)}>
      <a href='<{$xoonips_item.detail.url}>'>
        <img src='<{$xoonips_item.detail.banner_image_url}>' alt='<{$xoonips_item.detail.url}>'/>
      </a>
      <{/if}>
    </td>
  </tr>
  <!-- index -->
  <tr>
    <td class="head"><{$index.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$index.value}></td>
  </tr>
  <!-- related_to -->
  <tr>
    <td class="head"><{$basic.related_to.name}></td>
    <td class="<{cycle name="oddeven"}>"><{$basic.related_to.value}></td>
  </tr>
</table>
<{if $editable }>
<form id="xoonips_edit_form" action="#">
<{$basic.hidden}>
<input type="hidden" name="url" value="<{$xoonips_item.detail.url}>"/>
<input type="hidden" name="url_banner_fileFileID" value="<{$xoonips_item.detail.url_banner_file.file_id}>"/>
<{$index.hidden}>
</form>
<{/if}>
