<{include file="db:`$mydirname`_header.html"}>


<{if $links|count > 0}>

  <h4><{if $is_adult}><{$smarty.const._MD_ADULTS}><{else}><{$smarty.const._MD_FUTURE}><{/if}></h4>

  <{if $navinfo && $nav}>
    <div style="float:left;"><{$navinfo}></div>
    <div class="links_navigation pagenavi"><{$nav}></div>
  <{/if}>

  <div><{$smarty.const._MD_STATUS_DESC}></div>
  <table class="outer">
  <tr>
    <th><{$smarty.const._MD_SITETITLE}></th>
    <th><{$smarty.const._MD_LASTUPDATEC}></th>
    <th>Status</th>
    <th><{$smarty.const._EDIT}></th>
  </tr>
  <{foreach item=link from=$links}>
    <tr class="<{cycle values='odd,even'}>">
      <td><a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=item p_key1=lid p_val1=$link.lid}>"><{$link.title}></a>&nbsp;<a href="<{my_make_uri option=$uri_options mydirname=$mydirname method=item p_key1=lid p_val1=$link.lid}>" target="_blank"><img src="<{$myurl}>/images/pop_win.gif" title="Another Window" /></a></td>
      <td><{$link.date|formatTimestamp:"m"}></td>
      <td><{$link.status}></td>
      <td><a href="<{my_make_uri option=$uri_options mydirname=$mydirname controller=edit p_key1=lid p_val1=$link.lid}>"><{$smarty.const._EDIT}></a></td>
    </tr>
  <{/foreach}>
  </table>

  <{if $nav}>
    <div class="links_navigation pagenavi"><{$nav}></div>
  <{/if}>

<{/if}>


<{include file="db:`$mydirname`_footer.html"}>
