1 |
<? |
2 |
$phormationdir = "../phormation"; |
3 |
$DB = "pgsql"; |
4 |
|
5 |
$fields[] = "num"; $names[] = "Ordinal numer"; |
6 |
$types[]="type=text&length=3&required=1&default=999"; |
7 |
|
8 |
$fields[] = "name"; $names[] = "Name"; |
9 |
$types[]="type=text&width=50&length=100&required=1"; |
10 |
|
11 |
$fields[] = "type"; $names[] = "Type"; |
12 |
$types[]="type=select&map[HQ]=HQ&map[Subsidiary]=Subsidiary&map[Representative Office]=Representative Office&selecttype=dropdown"; |
13 |
|
14 |
$fields[] = "note"; $names[] = "Note"; |
15 |
$types[]="type=text&length=50"; |
16 |
|
17 |
$fields[] = "street"; $names[] = "Street"; |
18 |
$types[]="type=text&length=50"; |
19 |
|
20 |
$fields[] = "town"; $names[] = "Town"; |
21 |
$types[]="type=text&length=50"; |
22 |
|
23 |
$fields[] = "country"; $names[] = "Country"; |
24 |
$types[]="type=text&length=50"; |
25 |
|
26 |
$fields[] = "phone"; $names[] = "phone"; |
27 |
$types[]="type=text&length=50"; |
28 |
|
29 |
$fields[] = "fax"; $names[] = "fax"; |
30 |
$types[]="type=text&length=50"; |
31 |
|
32 |
$fields[] = "email"; $names[] = "email"; |
33 |
$types[]="type=text&length=50"; |
34 |
|
35 |
$fields[] = "website"; $names[] = "website"; |
36 |
$types[]="type=text&length=50"; |
37 |
|
38 |
?> |