
<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="60%"><table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
      <tr>
        <td class="box_innerhead">{$lang.details_manufacturer} {$row->name}</td>
      </tr>
      <tr>
        <td >{$text}</td>
      </tr>
    </table>
    <br />
    <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
      <tr>
        <td class="box_innerhead">{$lang.manufacturer_products} {$row->name}</td>
      </tr>
      <tr>
        <td >
		{if $products}
		<form method="get" name="pd" id="pd">
        <select title="{$lang.showonclick}" class="selectfield" onclick="eval(this.options[this.selectedIndex].value);selectedIndex=0;" style="width:100%" name="pd" size="8" id="pd">
        {foreach from=$products item=pd}
    	<option value="window.location.href = 'index.php?area={$area}&amp;p=product&amp;action=showdetails&amp;id={$pd->id}';">{$pd->title}</option>
       {/foreach}
  		</select>
      </form>
	  {else}
	  <div align="center">{$lang.noproducts}</div>
	  {/if}
		</td>
      </tr>
    </table>
    <br />
	{if $relatednews}
    <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
      <tr>
        <td class="box_innerhead">{$lang.manufacturer_news}  {$row->name}</td>
      </tr>
      <tr>
        <td > 
	 {foreach from=$relatednews item=rn}<img src="templates/{$theme}/img/page/rel.gif" alt="" class="absmiddle" />
	 <a href="index.php?area={$area}&amp;p=news&amp;newsid={$rn->newsid}">{$rn->title}</a><br />
       {/foreach}
  		
          </td>
      </tr>
    </table>
	{/if}
    </td>
    <td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;</td>
    <td width="40%">
      <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="box_inner">
      <tr>
        <td class="box_innerhead">{$lang.infobar}</td>
      </tr>
      <tr>
        <td >
		{if $image}
		<div align="center"><a href="index.php?p=manufacturer&amp;action=redir&amp;id={$row->id}" target="_blank"><img src="{$image}" alt="" vspace="5" border="0" /></a></div>
		{else}
		<div align="center">{$lang.isnopic}</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_startyear} </strong></td>
                  <td class="infostretch">&nbsp;</td>
                  <td width="1%" nowrap="nowrap"><div align="right">&nbsp;{$syear}</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_startcountry} </strong></td>
                  <td class="infostretch">&nbsp;</td>
                  <td width="1%" nowrap="nowrap"><div align="right">&nbsp;{if $row->s_country!=""}{$row->s_country}{else}{$lang.nothingset}{/if}</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><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="1%" nowrap="nowrap"><strong>{$lang.manufacturer_email} </strong></td>
                  <td class="infostretch">&nbsp;</td>
                  <td width="1%" nowrap="nowrap">
				  <div align="right">
				  {if $email != ''}
				  <a href="mailto:{$email}">{$email}</a>
				  {else}
				  {$lang.nothingset}
				  {/if}
				  </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_workers}</strong></td>
                  <td class="infostretch">&nbsp;</td>
                  <td width="1%" nowrap="nowrap"><div align="right">&nbsp;{if $row->people>0}{$row->people}{else}{$lang.nothingset}{/if}</div></td>
                </tr>
              </table></td>
            </tr>
          </table>
          <br />
          <table width="100%"  border="0" cellspacing="1" cellpadding="1">
            <tr>
              <td><strong>{$lang.manufacturer_adress}</strong><br />
                {$adress}</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_more}</td>
      </tr>
      <tr>
        <td >
		<form method="get" name="mf" id="mf">
        <select title="{$lang.showonclick}" onclick="eval(this.options[this.selectedIndex].value);" class="selectfield" style="width:100%" name="mf" size="10" id="mf">
        {foreach from=$items item=mf}
    	
          <option value="window.location.href = 'index.php?p=manufacturer&amp;action=showdetails&amp;area={$area}&amp;id={$mf->id}';" {if $smarty.request.id==$mf->id}selected="selected"{/if}>{$mf->name}</option>
        {/foreach}
  		</select>
        </form>
		</td>
      </tr>
    </table></td>
  </tr>
</table>
