1{include file="$gentemplates/_header.tpl" pagetitle=$companyoverview}
2{include file="$gentemplates/_navi.tpl" pagetitle=$companyoverview}
3
4{literal}
5<script language="javascript">
6function openSelector(id, sid){
7  selectorUrl = "contact_comp.php?action=details&id="+id+"&"+sid;
8  selector = open(selectorUrl,"selectorWindow","width=450,height=230,screenX=0,screenY=0");
9  selector.focus();
10}
11</script>
12{/literal}
13
14<form action="index.php" method="POST">
15<input type="hidden" name="mod" value="contact">
16<input type="hidden" name="obj" value="crm">
17<input type="hidden" name="op" value="qsearch">
18<table>
19  <tr>
20    <td valign="top">{$at|smarty:nodefaults}</td>
21    <td valign="top" class="stand">
22      &nbsp; {$quicksearch}: <input type="text" size="20" name="searchterm">
23      &nbsp;<input type="submit" value="{$search}" name="suchen" class="{$suclass}">
24    </td>
25  </tr>
26</table>
27</form>
28
29{if $hascreaterights}
30&nbsp;
31{if $iconmode}
32<a href="index.php?mod=contact&amp;obj=crm&amp;view=newform&amp;{$SESSION}" class="new"><img src="{$imgpathgeneral}/new_{$iconid}.gif" border="0"></a>
33{else}
34<a href="index.php?mod=contact&amp;obj=crm&amp;view=newform&amp;{$SESSION}" class="new">{$new}</a>
35{/if}
36{/if}
37
38<table width="100%" class="contentback" border="0" cellpadding="0" cellspacing="0">
39  <tr>
40    <td>
41      {* TABLE START *}
42      {include file="$gentemplates/_th5.tpl" r1=$company r2=$last_contact_date r3=$last_contact_person r4=$internalcontact r5=$action}
43      {section name=inhalt1 loop=$td}
44      {include file="$gentemplates/_tr5.tpl" r1=$td[inhalt1].name1 r2=$td[inhalt1].contact_date|mgw_date r3=$td[inhalt1].contact_person r4=$td[inhalt1].last_contact_internal r5=$urls[inhalt1]|smarty:nodefaults}
45      {/section}
46      {include file="$gentemplates/_tfx.tpl"}
47      {* TABLE END *}
48
49      <br />
50      {if $hascreaterights}
51      &nbsp;
52      {if $iconmode}
53      <a href="index.php?mod=contact&amp;obj=crm&amp;view=newform&amp;{$SESSION}" class="new"><img src="{$imgpathgeneral}/new_{$iconid}.gif" border="0"></a>
54      {else}
55      <a href="index.php?mod=contact&amp;obj=crm&amp;view=newform&amp;{$SESSION}" class="new">{$new}</a>
56      {/if}
57      {/if}
58    </td>
59  </tr>
60</table>
61
62{include file="$gentemplates/_footer.tpl" aktUser=$username}