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

<div class="subheaders">
<form method="post" action="index.php?do=manufacturer&sub=overview" name="">
  <table width="100%" border="0" cellpadding="2" cellspacing="0">
    <tr>
      <td width="100"><label for="gs">{#Global_searchW#}</label></td>
      <td><input style="width:160px" class="input"  type="text" name="q" id="gs" value="{$smarty.request.q}" /></td>
      </tr>
    
    <tr>
      <td><label for="dr">{#DataRecords#}</label></td>
      <td><input type="text" id="dr" class="input" name="pp" style="width:45px" value="{$limit}">
        <input class="button" type="submit" value="{#Global_search_b#}" />
        <input name="startsearch" type="hidden" id="startsearch" value="1" /></td>
      </tr>
  </table>
 </form>
</div>

{if $manufacturer}
<form method="post" action="" name="kform">
<table width="100%" border="0" cellspacing="0" cellpadding="3">

  <tr class="{cycle name=$cna values='first,second'}">
    <td width="150" class="headers"><a href="{$ordstr}{$name_s|default:'&sort=name_asc'}">{#Global_Name#}</a></td>
    <td width="80" align="center" class="headers"><a href="{$ordstr}{$username_s|default:'&sort=username_desc'}">{#Global_Author#}</a></td>
    <td width="50" align="center" class="headers"><a href="{$ordstr}{$date_s|default:'&sort=date_desc'}">{#Global_Created#}</a></td>
    <td width="50" align="center" class="headers"><a href="{$ordstr}{$hits_s|default:'&sort=hits_desc'}">{#Global_Hits#}</a></td>
    {if perm('products_openclose')}{/if}
    {if perm('products_del')}<td width="10" align="center" class="headers"><img class="absmiddle" src="{$imgpath}/delete.png" alt="" border="0" /></td>{/if}
    <td class="headers">{#Global_Actions#}</td>
    </tr>
  {foreach from=$manufacturer item=n}
  <tr class="{cycle name=$cna values='second,first'}">
    <td class="row_spacer">
    <a href="../index.php?p=manufacturer&amp;area={$area}&amp;action=showdetails&amp;id={$n->Id}&name={$n->Name|seotitle}" target="_blank"><strong>{$n->Name|koobispecialchars}</strong></a>   
   
    <input type="hidden" name="nid[{$n->Id}]" value="{$n->Id}" />    </td>
    <td align="center" nowrap class="row_spacer"><a href="javascript:void(0);" onclick="popup('index.php?do=user&sub=edituser&user={$n->Benutzer}&noframes=1','User',980,680,1)">{$n->User}</a></td>
    <td align="center" nowrap class="row_spacer">{$n->Datum|date_format:"%d.%m.%y"}</td>
    <td align="center" class="row_spacer"><input class="input" style="width:25px"  type="text" name="Hits[{$n->Id}]" value="{$n->Hits}" /></td>
    
    {if perm('manufacturer_del')}
    <td align="center" class="row_spacer"><input {popup sticky=$config_vars.POPSTICKY  text=$config_vars.DelInfChekbox} name="del[{$n->Id}]" type="checkbox" value="1" /></td>
    {/if}
    <td class="row_spacer" nowrap="nowrap">
    {if perm('manufacturer_newedit')}
    <a {popup sticky=$config_vars.POPSTICKY  text=$config_vars.Edit} href="javascript:void(0);" onclick="popup('index.php?do=manufacturer&sub=edit&id={$n->Id}&noframes=1&langcode=1','contentEdit',980,820,1);"><img class="absmiddle" src="{$imgpath}/edit.png" alt="" border="0" /></a>
    {/if}
   
     </td>
    </tr>
  
{/foreach}
</table>
<input type="hidden" name="quicksave" value="1" />
<input class="button big" type="submit" value="{#Save#}" />
</form>
{else}
{/if}

{if $Navi}
<div class="navi_div">
{$Navi}
</div>
{/if}




<script language="javascript" src="{$jspath}/calendar.js" type="text/javascript"></script>
<style type="text/css" media="screen,projection">
@import url({$csspath}/calendar.css);
</style>
<script type="text/javascript">
function checkcategmove()
{ldelim}
		if(document.getElementById('movecateg').selected==true)
		{ldelim}
			document.getElementById('movecateg_select').style.display='';
		{rdelim} else {ldelim}
			document.getElementById('movecateg_select').style.display='none';
		{rdelim}
{rdelim}
</script>
