<h3>
  <{$mod_name}> - <{$menu_name}> 
  <{if $datas|@count > 0}> (<span style="color:red;"><{$datas|@count}></span>)<{/if}>
</h3>

<h4><{$smarty.const._MD_A_LINKS_CAT_ONLY_CID_LINKS}></h4>
<h5><{$smarty.const._MD_A_LINKS_CAT_CHECK_RELOAD}></h5>

<{$smarty.const._MD_A_LINKS_CAT_DEL_CID}>:&nbsp;
<b>[<{$del_cid}>]<{$allcid[$del_cid]}></b>&nbsp;
<{if $del_children|@count > 0}>
  (<{$smarty.const._MD_A_LINKS_CAT_DEL_CHILDREN}>:&nbsp;<b>
  <{foreach item=del_c from=$del_children name=i}>
    [<{$del_c}>]<{$allcid[$del_c]}><{if !$smarty.foreach.i.last}>, <{/if}>
  <{/foreach}>
  </b>)
<{/if}>

<{if $datas|@count == 0}>
  <{$smarty.const._MD_NO_DATA}>
<{else}>
  <table class='outer'>
    <tr>
      <th>LID</th>
      <th><{$smarty.const._MD_SITETITLE}></th>
      <th><{$smarty.const._MD_CATEGORY}></th>
      <th><{$smarty.const._MD_SUBMITTER}></th>
      <th><{$smarty.const._MD_REGI_DATE}></th>
      <th><{$smarty.const._MD_LINK_CONFIRM}></th>
    </tr>

    <{foreach item=data from=$datas}>
      <tr class="<{cycle values='odd,even'}>">

        <td>
          <a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=item p_key1=lid p_val1=$data.lid}>">
            <{$data.lid}>
          </a>
        </td>

        <td><{*<!-- title etc. -->*}>
          <{$data.title}>
          <{if $data.url}>
          <a href="<{$data.url}>" target="_blank">
            <img src="<{$myurl}>/images/pop_win.gif" />
          </a>
          <{/if}>
          <{if $data.murl}>
          <a href="<{$data.murl}>" target="_blank">
            <img src="<{$myurl}>/images/mobile.gif" />
          </a>
          <{/if}>
        </td>

        <td><{*<!-- categories -->*}>
          <{foreach item=cid from=$data.cid name=i}>
            [<{$cid}>]<{$allcid[$cid]}>
            <{if !$smarty.foreach.i.last}>, <{/if}>
          <{/foreach}>
        </td>

        <td><{*<!-- register -->*}>
          <{if $data.uid > 0}>
            <a href="<{$xoops_url}>/userinfo.php?uid=<{$data.uid}>"><img src="<{$myurl}>/images/information.png" style="vertical-align:top;" /></a>
          <{/if}>
          <{$data.submitter}>:<{$data.submitterName}>
          <{if $data.email}>
            <a href="mailto:<{$data.email}>"><img src="<{$myurl}>/images/email.png" style="vertical-align:top;" /></a>
          <{/if}>
          <br />
          (<{$data.ip}>)
        </td>

        <td><{$data.date|formatTimestamp:"m"}></td>

        <td><{*<!-- edit link -->*}>
          <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=edit p_key1=lid p_val1=$data.lid}>">
            <{$smarty.const._EDIT}>
          </a>
          <a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=edit p_key1=lid p_val1=$data.lid}>" target="_blank" title="Anather Window">
            <img src="<{$myurl}>/images/pop_win.gif" />
          </a>
        </td>

      </tr>
    <{/foreach}>

  </table>

<{/if}>
