1{include file="$gentemplates/_header.tpl" pagetitle="$contentheader"}
2{include file="$gentemplates/_navi.tpl" pagetitle="$contentheader"}
3
4<form name="f1" action="index.php" method="POST">
5<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">
6<input type="hidden" name="mod" value="contact">
7<input type="hidden" name="obj" value="company">
8<input type="hidden" name="id" value="{$id}">
9<input type="hidden" name="npage" value="{$npage}">
10<input type="hidden" name="list" value="{$list}">
11<input type="hidden" name="searchterm" value="{$searchterm}">
12{if $mode eq "new"}
13<input type="hidden" name="op" value="create">
14{else}
15<input type="hidden" name="op" value="edit">
16{/if}
17
18<table border="0" cellpadding="0" cellspacing="0" width="100%">
19  <tr><td class="lines2" height="2" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="2"></td></tr>
20  <tr align="left">
21    <td class="tab" height="20" width="14"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
22    <td class="tab">&nbsp;</td>
23    <td class="tab">&nbsp;</td>
24  </tr>
25
26  <tr><td class="lines2" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
27  <tr align="left">
28    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
29    <td class="formhead">{$name1}:</td>
30    <td class="formhead"><input type="text" name="name1" size="20" maxlength="100" value="{$td.name1|escape:"html"}"></td>
31  </tr>
32
33  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
34  <tr align="left">
35    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
36    <td class="formhead">{$name2}:</td>
37    <td class="formhead"><input type="text" name="name2" size="20" maxlength="100" value="{$td.name2|escape:"html"}"></td>
38  </tr>
39
40  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
41  <tr align="left">
42    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
43    <td class="formhead">{$group}:</td>
44    <td class="formhead">{$groupsb|smarty:nodefaults}</td>
45  </tr>
46
47  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
48  <tr align="left">
49    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
50    <td class="formhead">{$street}:</td>
51    <td class="formhead"><input type="text" name="street" size="20" maxlength="100" value="{$td.street|escape:"html"}"></td>
52  </tr>
53
54  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
55  <tr align="left">
56    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
57    <td class="formhead">{$additional}:</td>
58    <td class="formhead"><input type="text" name="add" size="20" maxlength="100" value="{$td.additional|escape:"html"}"></td>
59  </tr>
60
61  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
62  <tr align="left">
63    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
64    <td class="formhead">{$zip_city}:</td>
65    <td class="formhead"><input type="text" name="zip" size="10" maxlength="20" value="{$td.zip|escape:"html"}">
66      <input type="text" name="city" size="20" maxlength="100" value="{$td.city|escape:"html"}">
67    </td>
68  </tr>
69
70  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
71  <tr align="left">
72    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1" hspace="0" vspace="0" border="0"></td>
73    <td class="formhead">{$state}:</td>
74    <td class="formhead"><input type="text" name="state" size="30" maxlength="100" value="{$td.state|escape:"html"}"></td>
75  </tr>
76
77  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
78  <tr align="left">
79    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
80    <td class="formhead">{$country}:</td>
81    <td class="formhead">{$countrysb|smarty:nodefaults}</td>
82  </tr>
83
84  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
85  <tr align="left">
86    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
87    <td class="formhead">{$phone}:</td>
88    <td class="formhead"><input type="text" name="phone" size="20" maxlength="100" value="{$td.telephone|escape:"html"}"></td>
89  </tr>
90
91  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
92  <tr align="left">
93    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
94    <td class="formhead">{$fax}:</td>
95    <td class="formhead"><input type="text" name="fax" size="20" maxlength="100" value="{$td.fax|escape:"html"}"></td>
96  </tr>
97
98
99  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
100  <tr align="left">
101    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
102    <td class="formhead">{$url}:</td>
103    <td class="formhead"><input type="text" name="url" size="25" maxlength="100" value="{$myurl|escape:"html"}"></td>
104  </tr>
105
106  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
107  <tr align="left">
108    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
109    <td class="formhead">{$email}:</td>
110    <td class="formhead"><input type="text" name="email" size="20" maxlength="100" value="{$td.email|escape:"html"}"></td>
111  </tr>
112
113  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
114  <tr align="left">
115    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
116    <td class="formhead">{$bank1}:</td>
117    <td class="formhead"><input type="text" name="bank1" size="20" maxlength="50" value="{$td.bank1|escape:"html"}"></td>
118  </tr>
119
120  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
121  <tr align="left">
122    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
123    <td class="formhead">{$bank2}:</td>
124    <td class="formhead"><input type="text" name="bank2" size="20" maxlength="50" value="{$td.bank2|escape:"html"}"></td>
125  </tr>
126
127  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
128  <tr align="left">
129    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
130    <td class="formhead">{$taxnr}:</td>
131    <td class="formhead"><input type="text" name="taxnr" size="20" maxlength="50" value="{$td.taxnr|escape:"html"}"></td>
132  </tr>
133
134  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
135  <tr align="left">
136    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
137    <td class="formhead">{$taxpct}:</td>
138    <td class="formhead"><input type="text" name="taxpct" size="2" maxlength="2" value="{$td.taxpct|escape:"html"}"></td>
139  </tr>
140
141  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
142  <tr align="left">
143    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
144    <td class="formhead">{$note}:</td>
145    <td class="formhead"><textarea rows="4" cols="80" style="width:70ex; height:6em;" name="note">{$td.note}</textarea></td>
146  </tr>
147
148  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
149  <tr align="left">
150    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
151    <td class="formhead">{$public}</td>
152    <td class="formhead"><input type="radio" name="public" value="1" {$pubcheckyes}>{$yes}<br><input type="radio" name="public" value="0" {$pubcheckno}>{$no}</td>
153  </tr>
154
155  <tr><td class="lines2" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
156  <tr align="left">
157    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
158    <td class="formhead">&nbsp;</td>
159    <td class="formhead"><input type="submit" name="{$suname}" value="{$suvalue}" class="{$suclass}"></td>
160  </tr>
161  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
162</table>
163
164</form>
165
166{include file="$gentemplates/_footer.tpl" aktUser=$username}
167