tbrehm
2007-05-20 1f6ae2a03f1d94d55281bde6a51443e4382d1c73
commit | author | age
acbf53 1 <?php
T 2
3 /*
4     Datatypes:
5     - INTEGER
6     - DOUBLE
7     - CURRENCY
8     - VARCHAR
9     - TEXT
10     - DATE
11 */
12
13
14
15 // Name of the list
16 $liste["name"]                 = "clients";
17
18 // Database table
19 $liste["table"]             = "client";
20
21 // Index index field of the database table
22 $liste["table_idx"]            = "client_id";
23
24 // Search Field Prefix
25 $liste["search_prefix"]     = "search_";
26
27 // Records per page
28 $liste["records_per_page"]     = 15;
29
30 // Script File of the list
31 $liste["file"]                = "client_list.php";
32
33 // Script file of the edit form
34 $liste["edit_file"]            = "client_edit.php";
35
36 // Script File of the delete script
37 $liste["delete_file"]        = "client_del.php";
38
39 // Paging Template
40 $liste["paging_tpl"]        = "templates/paging.tpl.htm";
41
42 // Enable authe
43 $liste["auth"]                = "yes";
44
45
46 /*****************************************************
47 * Suchfelder
48 *****************************************************/
49
1f6ae2 50 $liste["item"][] = array(    'field'        => "company_name",
acbf53 51                             'datatype'    => "VARCHAR",
T 52                             'formtype'    => "TEXT",
53                             'op'        => "like",
54                             'prefix'    => "%",
55                             'suffix'    => "%",
56                             'width'        => "",
57                             'value'        => "");
58
1f6ae2 59 $liste["item"][] = array(    'field'        => "contact_name",
acbf53 60                             'datatype'    => "VARCHAR",
T 61                             'formtype'    => "TEXT",
62                             'op'        => "like",
63                             'prefix'    => "%",
64                             'suffix'    => "%",
65                             'width'        => "",
66                             'value'        => "");  
67
68 $liste["item"][] = array(    'field'        => "city",
69                             'datatype'    => "VARCHAR",
70                             'formtype'    => "TEXT",
71                             'op'        => "like",
72                             'prefix'    => "%",
73                             'suffix'    => "%",
74                             'width'        => "",
75                             'value'        => "");
76
1f6ae2 77 $liste["item"][] = array(    'field'        => "country",
T 78                             'datatype'    => "VARCHAR",
79                             'formtype'    => "TEXT",
80                             'op'        => "like",
81                             'prefix'    => "%",
82                             'suffix'    => "%",
83                             'width'        => "",
84                             'value'        => "");
85
86
b5a2f8 87 ?>