<div class="header">{#Glossar#}</div>
<div class="subheaders">{#Glossar_inf#}</div>
<div class="subheaders">
<form method="post" action="index.php?do=glossar">
    <table width="100%" border="0" cellspacing="0" cellpadding="1">
      <tr>
        <td width="100"><label for="qs">{#Global_searchW#}</label></td>
        <td><input style="width:200px" type="text" class="input" name="q" id="qs" value="{$smarty.request.q|koobispecialchars|replace:'empty':''}" /></td>
      </tr>
      <tr>
        <td><label for="dr">{#DataRecords#}</label></td>
        <td><input class="input" style="width:50px" type="text" name="pp" id="dr" value="{$limit}" />
        <label></label>
        <input type="submit" class="button" value="{#Search#}" /></td>
      </tr>
    </table>
</form>
</div>

<form method="post" action="" name="kform">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
 
  
    <tr class="headers">
      <td width="100" class="headers"><a href="index.php?do=glossar&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$namesort|default:'name_desc'}&amp;pp={$limit}">{#Global_Name#}</a></td>
      <td width="80" align="center" class="headers"><a href="index.php?do=glossar&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$hitssort|default:'hits_desc'}&amp;pp={$limit}">{#Global_Hits#}</a></td>
      <td width="100" align="center" class="headers"><a href="index.php?do=glossar&amp;q={$smarty.request.q}&amp;page={$smarty.request.page|default:1}&amp;sort={$activesort|default:'active_desc'}&amp;pp={$limit}">{#Global_Active#}</a></td>
      <td width="10" class="headers"><img class="absmiddle" src="{$imgpath}/delete.png" alt="" border="0" /></td>
     <td class="headers">{#Global_Actions#}</td>
    </tr>
    
   {foreach from=$items item=g}
  {assign var=count value=$count+1}
    <tr class="{cycle name=$cna values='second,first'}">
  <td><input type="text" name="Wort[{$g->Id}]" class="input" style="width:200px" value="{$g->Wort|koobispecialchars}" /></td>
    <td align="center">{$g->Hits}</td>
    <td align="center">
    <label><input type="radio" name="Aktiv[{$g->Id}]" value="1" {if $g->Aktiv == 1} checked="checked"{/if}/>{#Yes#}</label>
    <label><input type="radio" name="Aktiv[{$g->Id}]" value="0" {if $g->Aktiv == 0} checked="checked"{/if}/>{#No#}</label>
    </td>
    <td align="center"><input {popup sticky=$config_vars.POPSTICKY  text=$config_vars.DelInfChekbox} name="del[{$g->Id}]" type="checkbox" value="1" /></td>
    <td>
    <a {popup sticky=$config_vars.POPSTICKY  text=$config_vars.Edit} href="javascript:void(0);" onclick="popup('index.php?do=glossar&sub=edit&id={$g->Id}&noframes=1&langcode=1','Edit',980,760,1);"><img class="absmiddle" src="{$imgpath}/edit.png" alt="" border="0" /></a>
    </td>
    </tr>
   {/foreach}
</table>
{if $Navi}
<br />
<div class="navi_div">
{$Navi}
</div>
{/if}
<input type="hidden" name="save" value="1" />
<input type="submit" class="button big" value="{#Save#}" />
</form>
<br />
<br />
<a {popup sticky=$config_vars.POPSTICKY  text=$config_vars.Glossar_new} href="javascript:void(0);" onclick="popup('index.php?do=glossar&sub=add&noframes=1','Edit',980,760,1);"><img class="absmiddle" src="{$imgpath}/add.png" alt="" border="0" /></a>
<a {popup sticky=$config_vars.POPSTICKY  text=$config_vars.Glossar_new} href="javascript:void(0);" onclick="popup('index.php?do=glossar&sub=add&noframes=1','Edit',980,760,1);">{#Glossar_new#}</a>