<table class="tableborder" cellpadding="3">
<tr>
<td colspan="2">
<center>
{if $entity.website}<a href="{$entity.website}" target="_blank">{/if}
{if $entity.logo}<img src="images/logos/{$entity.logo}" alt="{$entity.company}" border="0"><p>
{else}<h2>{$entity.company}</h2>
<a href="files/show_upload.php?folder=images/logos/">[Upload Logo]</a>
{/if}
{if $entity.website}</a>{/if}
</center>
{$entity.title}<br>
{$entity.firstname} {$entity.lastname}<br>
{if $entity.street}{$entity.street}<br>{/if}
{$entity.zip} {$entity.city}<br>
{if $entity.phone}{#phone#}: {$entity.phone}{/if}
{if $entity.phone} {/if}
{if $entity.fax}{#fax#}: {$entity.fax}{/if}
{if $entity.fax} {/if}
{if $entity.lang_i}<img src="images/icons/italian.gif" alt="italiano">{/if}
{if $entity.lang_d}<img src="images/icons/german.gif" alt="deutsch">{/if}
{if $entity.lang_f}<img src="images/icons/french.gif" alt="francais">{/if}
{if $entity.lang_e}<img src="images/icons/english.gif" alt="english">{/if}
{if $entity.email}<br><a href=mailto:{$entity.email}>{$entity.email}</a>{/if}
{if $entity.category}<br>{$entity.category}{/if}
</td>
<td valign="top" class="forma" rowspan="2">
{include file="result_forma_info.tpl" title="FORMA"}
</td>
</tr>
<tr>
<td bgcolor="#CCCCCC" colspan="2">
<a href="edit_company.php?id={$entity.id}"><img src="images/icons/edit2.gif"></a>
{$entity.generic_comment}
</td>
</tr>
<tr>
<td valign="top" class="notes">
<b>{#history#}</b> <a href="edit_note.php?company_id={$entity.id}"><img src="images/icons/new.gif"></a><p>
{include file="result_notes.tpl" title="Notes"}
</td>
<td valign="top" class="todos">
<b>{#todo#}</b> <a href="edit_todo.php?company_id={$entity.id}"><img src="images/icons/new.gif"></a><p>
{include file="result_todos.tpl" title="TO-DOs"}
</td>
<td valign="top" class="done_todos">
<b>{#history#} {#todo#} ({#done#})</b> <p>
{include file="result_todos_done.tpl" title="Done TO-DOs"}
</td>
</tr>
</table>