<div class="header">{#Links_categs#}</div>

<table width="100%" border="0" cellspacing="0" cellpadding="3">
 <tr class="headers">
      <td class="headers">{#Global_Name#}</td>
      <td class="headers">{#Navigation_doc#}</td>
      <td class="headers">{#Global_Actions#}</td>
    </tr>
    
   {foreach from=$Categs item=g}
  {assign var=count value=$count+1}
    <tr class="{cycle name=$cna values='second,first'}">
  <td>
    {if $g->Parent_Id==0}
    <strong>{$g->Name|koobispecialchars}</strong>
    {else}
    {$g->visible_title|koobispecialchars}
    {/if}    </td>
    <td><a target="_blank" href="../index.php?p=links&area={$area}&categ={$g->Id}&name={$g->Name|seotitle}">index.php?p=links&area={$area}&categ={$g->Id}&name={$g->Name|seotitle}</a></td>
    <td>
    <a {popup sticky=$config_vars.POPSTICKY  text=$config_vars.Global_CategEdit} href="javascript:void(0);" onclick="popup('index.php?do=links&amp;sub=editcateg&amp;id={$g->Id}&amp;noframes=1','ed',600,300,1)"><img class="absmiddle" src="{$imgpath}/edit.png" alt="" border="0" /></a>
    {if perm('news_category')}<a onclick="return confirm('{#Links_categs_delC#}')" href="index.php?do=links&amp;sub=delcateg&amp;id={$g->Id}"><img class="absmiddle" src="{$imgpath}/delete.png" alt="" border="0" /></a>{/if}    </td>
  </tr>
   {/foreach}
</table>
<p>&nbsp;</p>
<a href="javascript:void(0);" onclick="popup('index.php?do=links&amp;sub=addcateg&amp;noframes=1','ed',600,400,1)"><img class="absmiddle" src="{$imgpath}/folder_add.png" alt="" border="0" /></a>
<a href="javascript:void(0);" onclick="popup('index.php?do=links&amp;sub=addcateg&amp;noframes=1','ed',600,400,1)">{#Gallery_CategNew#}</a>
