{include file="$gentemplates/_header.tpl" js="onLoad=setfocus()"}
{include file="$gentemplates/_navi.tpl" submenu="3"}
{literal}

<script language="javascript">
function setfocus() { document.f1.searchterm.focus(); }
</script>
{/literal}

<table width="100%" class="contentback" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>

      <form name="f1" action="channels.php" method="post">
      <input type="hidden" name="action" value="qsearch">
      <input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">

      <table border="0">
	<tr>
	  <td>
	    <table border="0">
	      <tr><td>{$at|smarty:nodefaults}</td></tr>
	    </table>
	  </td>


	  <td class="stand" valign="top">
	    &nbsp; {$quicksearch}: <input type="text" size="20" name="searchterm">
	    &nbsp;<input type="submit" value="{$suvalue}" name="suchen" class="{$suclass}">
	  </td>
	</tr>
      </table>
      </form>

      {if $hascreaterights}
      {if $iconmode}
      <a href="channels.php?action=newform&amp;{$SESSION}" class="new"><img src="{$imgpathgeneral}/new_{$iconid}.gif" border="0" alt="{$new}"></a>
      {else}
      &nbsp;&nbsp;<a href="channels.php?action=newform&amp;{$SESSION}" class="new">{$new}</a>
      {/if}
      {else}
      &nbsp;
      {/if}

      {include file="$gentemplates/_contentheader.tpl" title=$table_header}
      {* TABLE START *}
      {include file="$gentemplates/_th4.tpl" r1="" r2=$channeltext r3=$desc r4=$action}
      {section name=inhalt1 loop=$td}
      {include file="$gentemplates/_tr4.tpl" r1=$images[inhalt1] r2=$td[inhalt1].channelname r3=$td[inhalt1].description r4=$urls[inhalt1]|smarty:nodefaults}
      {/section}
      {include file="$gentemplates/_tfx.tpl" colspan="16"}
      {* TABLE END *}	
	
      <table width="50%">
	<tr>
	  <td align="left" class="stand">
	    {if $hascreaterights}
	    {if $iconmode}
	    <a href="channels.php?action=newform&amp;{$SESSION}" class="new"><img src="{$imgpathgeneral}/new_{$iconid}.gif" border="0" alt="{$new}"></a>
	    {else}
	    &nbsp;&nbsp;<a href="channels.php?action=newform&amp;{$SESSION}" class="new">{$new}</a>
	    {/if}
	    {else}
	    &nbsp;
	    {/if}
	  </td>
	  <td align="right" class="stand">
	    {if $prev} <a href="channels.php?action={$act}&amp;searchterm={$searchterm}&amp;list={$list}&amp;npage={$ppage}&amp;{$SESSION}">{$prevsym}</a>{/if}
	    {if $next}&nbsp;&nbsp;&nbsp;<a href="channels.php?action={$act}&amp;searchterm={$searchterm}&amp;list={$list}&amp;npage={$npage}&amp;{$SESSION}">{$nextsym}</a>{/if}</td>
	</tr>
      </table>
    </td>
  </tr>
</table>

{include file="$gentemplates/_footer.tpl" aktUser=$username}
