client.list.php 1.74 KB
Newer Older
tbrehm's avatar
tbrehm committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php

/*
	Datatypes:
	- INTEGER
	- DOUBLE
	- CURRENCY
	- VARCHAR
	- TEXT
	- DATE
*/



// Name of the list
$liste["name"] 				= "clients";

// Database table
$liste["table"] 			= "client";

// Index index field of the database table
$liste["table_idx"]			= "client_id";

// Search Field Prefix
$liste["search_prefix"] 	= "search_";

// Records per page
$liste["records_per_page"] 	= 15;

// Script File of the list
$liste["file"]				= "client_list.php";

// Script file of the edit form
$liste["edit_file"]			= "client_edit.php";

// Script File of the delete script
$liste["delete_file"]		= "client_del.php";

// Paging Template
$liste["paging_tpl"]		= "templates/paging.tpl.htm";

// Enable authe
$liste["auth"]				= "yes";


/*****************************************************
* Suchfelder
*****************************************************/

tbrehm's avatar
tbrehm committed
50
$liste["item"][] = array(	'field'		=> "company_name",
tbrehm's avatar
tbrehm committed
51
52
53
54
55
56
57
58
							'datatype'	=> "VARCHAR",
							'formtype'	=> "TEXT",
							'op'		=> "like",
							'prefix'	=> "%",
							'suffix'	=> "%",
							'width'		=> "",
							'value'		=> "");

tbrehm's avatar
tbrehm committed
59
$liste["item"][] = array(	'field'		=> "contact_name",
tbrehm's avatar
tbrehm committed
60
61
62
63
64
65
							'datatype'	=> "VARCHAR",
							'formtype'	=> "TEXT",
							'op'		=> "like",
							'prefix'	=> "%",
							'suffix'	=> "%",
							'width'		=> "",
tbrehm's avatar
tbrehm committed
66
							'value'		=> "");  
tbrehm's avatar
tbrehm committed
67

tbrehm's avatar
tbrehm committed
68
$liste["item"][] = array(	'field'		=> "city",
tbrehm's avatar
tbrehm committed
69
70
71
72
73
74
							'datatype'	=> "VARCHAR",
							'formtype'	=> "TEXT",
							'op'		=> "like",
							'prefix'	=> "%",
							'suffix'	=> "%",
							'width'		=> "",
tbrehm's avatar
tbrehm committed
75
							'value'		=> "");
tbrehm's avatar
tbrehm committed
76

tbrehm's avatar
tbrehm committed
77
$liste["item"][] = array(	'field'		=> "country",
tbrehm's avatar
tbrehm committed
78
79
80
81
82
83
84
85
							'datatype'	=> "VARCHAR",
							'formtype'	=> "TEXT",
							'op'		=> "like",
							'prefix'	=> "%",
							'suffix'	=> "%",
							'width'		=> "",
							'value'		=> "");

tbrehm's avatar
tbrehm committed
86

tbrehm's avatar
tbrehm committed
87
?>