
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr valign="top">
    <td width="50%"><table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
      <tr>
        <td class="box_innerhead">{$lang.manufacturer_newest}</td>
      </tr>
      <tr>
        <td height="150" >{if $image_newest}
            <div align="center"><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$row_newest->id}"><img src="{$image_newest}" alt="" vspace="5" border="0" /></a></div>
            {else}
            <div align="center"><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$row_newest->id}">{$name_newest}</a></div>
            <br />
      {/if}
      <table width="100%"  border="0" cellspacing="0" cellpadding="2">
        <tr>
          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="1%" nowrap="nowrap"><strong>{$lang.manufacturer_fullname} </strong></td>
                <td class="infostretch">&nbsp;</td>
                <td width="1%" nowrap="nowrap"><div align="right">&nbsp;{$fullname_newest}</div></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="1%" nowrap="nowrap"><strong>{$lang.manufacturer_website}</strong></td>
                <td class="infostretch">&nbsp;</td>
                <td width="1%" nowrap="nowrap"><div align="right">&nbsp;<a href="index.php?p=manufacturer&amp;action=redir&amp;id={$row_newest->id}" target="_blank">{$row_newest->url}</a></div></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td><div align="center"><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$row_newest->id}">{$lang.showdetails}</a></div></td>
        </tr>
    </table></td>
      </tr>
    </table>
      <br />
      <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
      <tr>
        <td colspan="4" class="box_innerhead">{$lang.newitems}</td>
        </tr>
	    <tr>
          <td colspan="4" nowrap="nowrap" class="row_first"><div align="center">{$lang.manufacturer_header_string} </div></td>
        </tr>
		{foreach from=$items item=mf}
      
        <tr class="{cycle name="mf" values="row_second,row_first"}">
        <td width="5%" nowrap="nowrap">{$mf->added|date_format:"%Y.%m.%d"}</td>
        <td><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$mf->id}">{$mf->name}</a></td>
        <td width="1%" nowrap="nowrap">{$mf->hits}</td>
        <td width="1%"><div align="center"><a href="index.php?p=manufacturer&amp;action=redir&amp;id={$mf->id}" target="_blank"><img src="templates/{$theme}/img/page/autoextern.gif" alt="" border="0" class="absmiddle" /></a></div></td>
      </tr>
	  {/foreach}
    </table></td>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;</td>
    <td>
	  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
        <tr>
          <td class="box_innerhead">{$lang.manufacturer_top}</td>
        </tr>
        <tr>
          <td height="150" >{if $image}
            <div align="center"><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$row->id}"><img src="{$image}" alt="" vspace="5" border="0" /></a></div>
            {else}
            <div align="center"><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$row->id}">{$name_top}</a></div>
            <br />
{/if} 
<table width="100%"  border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="1%" nowrap="nowrap"><strong>{$lang.manufacturer_fullname} </strong></td>
          <td class="infostretch">&nbsp;</td>
          <td width="1%" nowrap="nowrap"><div align="right">&nbsp;{$fullname}</div></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="1%" nowrap="nowrap"><strong>{$lang.manufacturer_website}</strong></td>
          <td class="infostretch">&nbsp;</td>
          <td width="1%" nowrap="nowrap"><div align="right">&nbsp;<a href="index.php?p=manufacturer&amp;action=redir&amp;id={$row->id}" target="_blank">{$row->url}</a></div></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><div align="center"><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$row->id}">{$lang.showdetails}</a></div></td>
  </tr>
</table></td>
        </tr>
      </table>
	  <br />
	  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
        <tr>
          <td class="box_innerhead">{$lang.manufacturer_search}</td>
        </tr>
        <tr>
          <td >
		  <form action="index.php?p=manufacturer&amp;area={$area}" method="post" enctype="application/x-www-form-urlencoded" name="sform" id="sform">
      <input name="mf" type="text" id="mf" size="25" value="{$smarty.request.mf}" />
      <input type="submit" class="button" value="{$lang.search}" />
      <input name="search" type="hidden" id="search" value="1" />
    </form>
		  </td>
        </tr>
      </table>
	  <br />
	<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
      <tr>
        <td colspan="4" class="box_innerhead">{$lang.manufacturer_byalphabet} ({$charakter})</td>
      </tr>
      <tr>
        <td colspan="4" nowrap="nowrap" class="row_first"><div align="center">
		
		<form method="get" action="index.php">
		<select name="charakter">
		<option value="1" {if $smarty.get.charakter=='1'}selected="selected"{/if}>[0-9]</option>
		<option value="a" {if $smarty.get.charakter=='a'}selected="selected"{/if}>A</option>
		<option value="b" {if $smarty.get.charakter=='b'}selected="selected"{/if}>B</option>
		<option value="c" {if $smarty.get.charakter=='c'}selected="selected"{/if}>C</option>
		<option value="d" {if $smarty.get.charakter=='d'}selected="selected"{/if}>D</option>
		<option value="e" {if $smarty.get.charakter=='e'}selected="selected"{/if}>E</option>
		<option value="f" {if $smarty.get.charakter=='f'}selected="selected"{/if}>F</option>
		<option value="g" {if $smarty.get.charakter=='g'}selected="selected"{/if}>G</option>
		<option value="h" {if $smarty.get.charakter=='h'}selected="selected"{/if}>H</option>
		<option value="i" {if $smarty.get.charakter=='i'}selected="selected"{/if}>I</option>
		<option value="j" {if $smarty.get.charakter=='j'}selected="selected"{/if}>J</option>
		<option value="k" {if $smarty.get.charakter=='k'}selected="selected"{/if}>K</option>
		<option value="l" {if $smarty.get.charakter=='l'}selected="selected"{/if}>L</option>
		<option value="m" {if $smarty.get.charakter=='m'}selected="selected"{/if}>M</option>
		<option value="n" {if $smarty.get.charakter=='n'}selected="selected"{/if}>N</option>
		<option value="o" {if $smarty.get.charakter=='o'}selected="selected"{/if}>O</option>
		<option value="p" {if $smarty.get.charakter=='p'}selected="selected"{/if}>P</option>
		<option value="q" {if $smarty.get.charakter=='q'}selected="selected"{/if}>Q</option>
		<option value="r" {if $smarty.get.charakter=='r'}selected="selected"{/if}>R</option>
		<option value="s" {if $smarty.get.charakter=='s'}selected="selected"{/if}>S</option>
		<option value="t" {if $smarty.get.charakter=='t'}selected="selected"{/if}>T</option>
		<option value="u" {if $smarty.get.charakter=='u'}selected="selected"{/if}>U</option>
		<option value="v" {if $smarty.get.charakter=='v'}selected="selected"{/if}>V</option>
		<option value="w" {if $smarty.get.charakter=='w'}selected="selected"{/if}>W</option>
		<option value="x" {if $smarty.get.charakter=='x'}selected="selected"{/if}>X</option>
		<option value="y" {if $smarty.get.charakter=='y'}selected="selected"{/if}>Y</option>
		<option value="z" {if $smarty.get.charakter=='z'}selected="selected"{/if}>Z</option>
		<option value="all" {if $smarty.get.charakter=='all'}selected="selected"{/if}>{$lang.all}</option>
		</select>
		
		<input type="hidden" name="area" value="{$area}" />
		<input type="hidden" name="p" value="manufacturer" />
		<input type="hidden" name="do" value="sort" />
		<input type="submit" value="{$lang.go}" class="button" />
		</form>
		</div></td>
      </tr>
  {foreach from=$items2 item=mf2}
  <tr class="{cycle name="mf2" values="row_second,row_first"}">
    <td width="5%" nowrap="nowrap">{$mf2->added|date_format:"%Y.%m.%d"}</td>
    <td><a href="index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$mf2->id}">{$mf2->name}</a></td>
    <td width="1%" nowrap="nowrap">{$mf2->hits}</td>
    <td width="1%"><div align="center"><a href="index.php?p=manufacturer&amp;action=redir&amp;id={$mf2->id}" target="_blank"><img src="templates/{$theme}/img/page/autoextern.gif" alt="" border="0" class="absmiddle" /></a></div></td>
  </tr>
  {/foreach}
    </table>
	</td>
  </tr>
</table>
