1 |
<?php |
2 |
//$Id: architecte.import.inc.php 4598 2015-04-19 20:48:30Z tbenita $ |
3 |
//gen openMairie le 19/04/2015 22:32 |
4 |
|
5 |
$import= "Insertion dans la table architecte voir rec/import_utilisateur.inc"; |
6 |
$table= DB_PREFIXE."architecte"; |
7 |
$id='architecte'; // numerotation automatique |
8 |
$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour |
9 |
$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement |
10 |
$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon |
11 |
/** |
12 |
* |
13 |
*/ |
14 |
$fields = array( |
15 |
"architecte" => array( |
16 |
"notnull" => "1", |
17 |
"type" => "int", |
18 |
"len" => "11", |
19 |
), |
20 |
"nom" => array( |
21 |
"notnull" => "1", |
22 |
"type" => "string", |
23 |
"len" => "50", |
24 |
), |
25 |
"prenom" => array( |
26 |
"notnull" => "1", |
27 |
"type" => "string", |
28 |
"len" => "50", |
29 |
), |
30 |
"adresse1" => array( |
31 |
"notnull" => "1", |
32 |
"type" => "string", |
33 |
"len" => "50", |
34 |
), |
35 |
"adresse2" => array( |
36 |
"notnull" => "1", |
37 |
"type" => "string", |
38 |
"len" => "50", |
39 |
), |
40 |
"cp" => array( |
41 |
"notnull" => "1", |
42 |
"type" => "string", |
43 |
"len" => "5", |
44 |
), |
45 |
"ville" => array( |
46 |
"notnull" => "1", |
47 |
"type" => "string", |
48 |
"len" => "50", |
49 |
), |
50 |
"pays" => array( |
51 |
"notnull" => "1", |
52 |
"type" => "string", |
53 |
"len" => "40", |
54 |
), |
55 |
"inscription" => array( |
56 |
"notnull" => "1", |
57 |
"type" => "string", |
58 |
"len" => "20", |
59 |
), |
60 |
"telephone" => array( |
61 |
"notnull" => "1", |
62 |
"type" => "string", |
63 |
"len" => "20", |
64 |
), |
65 |
"fax" => array( |
66 |
"notnull" => "1", |
67 |
"type" => "string", |
68 |
"len" => "14", |
69 |
), |
70 |
"email" => array( |
71 |
"notnull" => "1", |
72 |
"type" => "string", |
73 |
"len" => "60", |
74 |
), |
75 |
"note" => array( |
76 |
"notnull" => "", |
77 |
"type" => "blob", |
78 |
"len" => "-5", |
79 |
), |
80 |
"frequent" => array( |
81 |
"notnull" => "", |
82 |
"type" => "bool", |
83 |
"len" => "1", |
84 |
), |
85 |
"nom_cabinet" => array( |
86 |
"notnull" => "", |
87 |
"type" => "string", |
88 |
"len" => "100", |
89 |
), |
90 |
"conseil_regional" => array( |
91 |
"notnull" => "", |
92 |
"type" => "string", |
93 |
"len" => "100", |
94 |
), |
95 |
); |
96 |
?> |