/[openfoncier]/trunk/gen/obj/donnees_techniques.class.php
ViewVC logotype

Contents of /trunk/gen/obj/donnees_techniques.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2116 - (show annotations)
Tue Jul 30 12:37:29 2013 UTC (11 years, 6 months ago) by nhaye
File size: 213728 byte(s)
Correction des champs affichés dans le formulaire de données techniques,
ajout des fonction javascript de calculs automatique,
suppression des champs non utiles,
modification de la mise en page des données techniques et cerfa (setLayout)
maj des traductions,

1 <?php
2 //$Id$
3 //gen openMairie le 29/07/2013 10:56
4
5 require_once ("../obj/om_dbform.class.php");
6
7 class donnees_techniques_gen extends om_dbform {
8 var $table="donnees_techniques";
9 var $clePrimaire="donnees_techniques";
10 var $typeCle="N";
11 var $required_field=array(
12 "donnees_techniques"
13 );
14 var $retourformulaire;
15
16 function setvalF($val) {
17 //affectation valeur formulaire
18 if (!is_numeric($val['donnees_techniques'])) {
19 $this->valF['donnees_techniques'] = ""; // -> requis
20 } else {
21 $this->valF['donnees_techniques'] = $val['donnees_techniques'];
22 }
23 if ($val['dossier_instruction'] == "") {
24 $this->valF['dossier_instruction'] = NULL;
25 } else {
26 $this->valF['dossier_instruction'] = $val['dossier_instruction'];
27 }
28 if (!is_numeric($val['lot'])) {
29 $this->valF['lot'] = NULL;
30 } else {
31 $this->valF['lot'] = $val['lot'];
32 }
33 if ($val['am_lotiss'] == 1 || $val['am_lotiss'] == "t" || $val['am_lotiss'] == "Oui") {
34 $this->valF['am_lotiss'] = true;
35 } else {
36 $this->valF['am_lotiss'] = false;
37 }
38 if ($val['am_autre_div'] == 1 || $val['am_autre_div'] == "t" || $val['am_autre_div'] == "Oui") {
39 $this->valF['am_autre_div'] = true;
40 } else {
41 $this->valF['am_autre_div'] = false;
42 }
43 if ($val['am_camping'] == 1 || $val['am_camping'] == "t" || $val['am_camping'] == "Oui") {
44 $this->valF['am_camping'] = true;
45 } else {
46 $this->valF['am_camping'] = false;
47 }
48 if ($val['am_caravane'] == 1 || $val['am_caravane'] == "t" || $val['am_caravane'] == "Oui") {
49 $this->valF['am_caravane'] = true;
50 } else {
51 $this->valF['am_caravane'] = false;
52 }
53 if (!is_numeric($val['am_carav_duree'])) {
54 $this->valF['am_carav_duree'] = NULL;
55 } else {
56 $this->valF['am_carav_duree'] = $val['am_carav_duree'];
57 }
58 if ($val['am_statio'] == 1 || $val['am_statio'] == "t" || $val['am_statio'] == "Oui") {
59 $this->valF['am_statio'] = true;
60 } else {
61 $this->valF['am_statio'] = false;
62 }
63 if (!is_numeric($val['am_statio_cont'])) {
64 $this->valF['am_statio_cont'] = NULL;
65 } else {
66 $this->valF['am_statio_cont'] = $val['am_statio_cont'];
67 }
68 if ($val['am_affou_exhau'] == 1 || $val['am_affou_exhau'] == "t" || $val['am_affou_exhau'] == "Oui") {
69 $this->valF['am_affou_exhau'] = true;
70 } else {
71 $this->valF['am_affou_exhau'] = false;
72 }
73 if (!is_numeric($val['am_affou_exhau_sup'])) {
74 $this->valF['am_affou_exhau_sup'] = NULL;
75 } else {
76 $this->valF['am_affou_exhau_sup'] = $val['am_affou_exhau_sup'];
77 }
78 if (!is_numeric($val['am_affou_prof'])) {
79 $this->valF['am_affou_prof'] = NULL;
80 } else {
81 $this->valF['am_affou_prof'] = $val['am_affou_prof'];
82 }
83 if (!is_numeric($val['am_exhau_haut'])) {
84 $this->valF['am_exhau_haut'] = NULL;
85 } else {
86 $this->valF['am_exhau_haut'] = $val['am_exhau_haut'];
87 }
88 if ($val['am_coupe_abat'] == 1 || $val['am_coupe_abat'] == "t" || $val['am_coupe_abat'] == "Oui") {
89 $this->valF['am_coupe_abat'] = true;
90 } else {
91 $this->valF['am_coupe_abat'] = false;
92 }
93 if ($val['am_prot_plu'] == 1 || $val['am_prot_plu'] == "t" || $val['am_prot_plu'] == "Oui") {
94 $this->valF['am_prot_plu'] = true;
95 } else {
96 $this->valF['am_prot_plu'] = false;
97 }
98 if ($val['am_prot_muni'] == 1 || $val['am_prot_muni'] == "t" || $val['am_prot_muni'] == "Oui") {
99 $this->valF['am_prot_muni'] = true;
100 } else {
101 $this->valF['am_prot_muni'] = false;
102 }
103 if ($val['am_mobil_voyage'] == 1 || $val['am_mobil_voyage'] == "t" || $val['am_mobil_voyage'] == "Oui") {
104 $this->valF['am_mobil_voyage'] = true;
105 } else {
106 $this->valF['am_mobil_voyage'] = false;
107 }
108 if ($val['am_aire_voyage'] == 1 || $val['am_aire_voyage'] == "t" || $val['am_aire_voyage'] == "Oui") {
109 $this->valF['am_aire_voyage'] = true;
110 } else {
111 $this->valF['am_aire_voyage'] = false;
112 }
113 if ($val['am_rememb_afu'] == 1 || $val['am_rememb_afu'] == "t" || $val['am_rememb_afu'] == "Oui") {
114 $this->valF['am_rememb_afu'] = true;
115 } else {
116 $this->valF['am_rememb_afu'] = false;
117 }
118 if ($val['am_parc_resid_loi'] == 1 || $val['am_parc_resid_loi'] == "t" || $val['am_parc_resid_loi'] == "Oui") {
119 $this->valF['am_parc_resid_loi'] = true;
120 } else {
121 $this->valF['am_parc_resid_loi'] = false;
122 }
123 if ($val['am_sport_moto'] == 1 || $val['am_sport_moto'] == "t" || $val['am_sport_moto'] == "Oui") {
124 $this->valF['am_sport_moto'] = true;
125 } else {
126 $this->valF['am_sport_moto'] = false;
127 }
128 if ($val['am_sport_attrac'] == 1 || $val['am_sport_attrac'] == "t" || $val['am_sport_attrac'] == "Oui") {
129 $this->valF['am_sport_attrac'] = true;
130 } else {
131 $this->valF['am_sport_attrac'] = false;
132 }
133 if ($val['am_sport_golf'] == 1 || $val['am_sport_golf'] == "t" || $val['am_sport_golf'] == "Oui") {
134 $this->valF['am_sport_golf'] = true;
135 } else {
136 $this->valF['am_sport_golf'] = false;
137 }
138 if ($val['am_mob_art'] == 1 || $val['am_mob_art'] == "t" || $val['am_mob_art'] == "Oui") {
139 $this->valF['am_mob_art'] = true;
140 } else {
141 $this->valF['am_mob_art'] = false;
142 }
143 if ($val['am_modif_voie_esp'] == 1 || $val['am_modif_voie_esp'] == "t" || $val['am_modif_voie_esp'] == "Oui") {
144 $this->valF['am_modif_voie_esp'] = true;
145 } else {
146 $this->valF['am_modif_voie_esp'] = false;
147 }
148 if ($val['am_plant_voie_esp'] == 1 || $val['am_plant_voie_esp'] == "t" || $val['am_plant_voie_esp'] == "Oui") {
149 $this->valF['am_plant_voie_esp'] = true;
150 } else {
151 $this->valF['am_plant_voie_esp'] = false;
152 }
153 if ($val['am_chem_ouv_esp'] == 1 || $val['am_chem_ouv_esp'] == "t" || $val['am_chem_ouv_esp'] == "Oui") {
154 $this->valF['am_chem_ouv_esp'] = true;
155 } else {
156 $this->valF['am_chem_ouv_esp'] = false;
157 }
158 if ($val['am_agri_peche'] == 1 || $val['am_agri_peche'] == "t" || $val['am_agri_peche'] == "Oui") {
159 $this->valF['am_agri_peche'] = true;
160 } else {
161 $this->valF['am_agri_peche'] = false;
162 }
163 if ($val['am_crea_voie'] == 1 || $val['am_crea_voie'] == "t" || $val['am_crea_voie'] == "Oui") {
164 $this->valF['am_crea_voie'] = true;
165 } else {
166 $this->valF['am_crea_voie'] = false;
167 }
168 if ($val['am_modif_voie_exist'] == 1 || $val['am_modif_voie_exist'] == "t" || $val['am_modif_voie_exist'] == "Oui") {
169 $this->valF['am_modif_voie_exist'] = true;
170 } else {
171 $this->valF['am_modif_voie_exist'] = false;
172 }
173 if ($val['am_crea_esp_sauv'] == 1 || $val['am_crea_esp_sauv'] == "t" || $val['am_crea_esp_sauv'] == "Oui") {
174 $this->valF['am_crea_esp_sauv'] = true;
175 } else {
176 $this->valF['am_crea_esp_sauv'] = false;
177 }
178 if ($val['am_crea_esp_class'] == 1 || $val['am_crea_esp_class'] == "t" || $val['am_crea_esp_class'] == "Oui") {
179 $this->valF['am_crea_esp_class'] = true;
180 } else {
181 $this->valF['am_crea_esp_class'] = false;
182 }
183 $this->valF['am_projet_desc'] = $val['am_projet_desc'];
184 if (!is_numeric($val['am_terr_surf'])) {
185 $this->valF['am_terr_surf'] = NULL;
186 } else {
187 $this->valF['am_terr_surf'] = $val['am_terr_surf'];
188 }
189 $this->valF['am_tranche_desc'] = $val['am_tranche_desc'];
190 if (!is_numeric($val['am_lot_max_nb'])) {
191 $this->valF['am_lot_max_nb'] = NULL;
192 } else {
193 $this->valF['am_lot_max_nb'] = $val['am_lot_max_nb'];
194 }
195 if (!is_numeric($val['am_lot_max_shon'])) {
196 $this->valF['am_lot_max_shon'] = NULL;
197 } else {
198 $this->valF['am_lot_max_shon'] = $val['am_lot_max_shon'];
199 }
200 if ($val['am_lot_cstr_cos'] == 1 || $val['am_lot_cstr_cos'] == "t" || $val['am_lot_cstr_cos'] == "Oui") {
201 $this->valF['am_lot_cstr_cos'] = true;
202 } else {
203 $this->valF['am_lot_cstr_cos'] = false;
204 }
205 if ($val['am_lot_cstr_plan'] == 1 || $val['am_lot_cstr_plan'] == "t" || $val['am_lot_cstr_plan'] == "Oui") {
206 $this->valF['am_lot_cstr_plan'] = true;
207 } else {
208 $this->valF['am_lot_cstr_plan'] = false;
209 }
210 if ($val['am_lot_cstr_vente'] == 1 || $val['am_lot_cstr_vente'] == "t" || $val['am_lot_cstr_vente'] == "Oui") {
211 $this->valF['am_lot_cstr_vente'] = true;
212 } else {
213 $this->valF['am_lot_cstr_vente'] = false;
214 }
215 if ($val['am_lot_fin_diff'] == 1 || $val['am_lot_fin_diff'] == "t" || $val['am_lot_fin_diff'] == "Oui") {
216 $this->valF['am_lot_fin_diff'] = true;
217 } else {
218 $this->valF['am_lot_fin_diff'] = false;
219 }
220 if ($val['am_lot_consign'] == 1 || $val['am_lot_consign'] == "t" || $val['am_lot_consign'] == "Oui") {
221 $this->valF['am_lot_consign'] = true;
222 } else {
223 $this->valF['am_lot_consign'] = false;
224 }
225 if ($val['am_lot_gar_achev'] == 1 || $val['am_lot_gar_achev'] == "t" || $val['am_lot_gar_achev'] == "Oui") {
226 $this->valF['am_lot_gar_achev'] = true;
227 } else {
228 $this->valF['am_lot_gar_achev'] = false;
229 }
230 if ($val['am_lot_vente_ant'] == 1 || $val['am_lot_vente_ant'] == "t" || $val['am_lot_vente_ant'] == "Oui") {
231 $this->valF['am_lot_vente_ant'] = true;
232 } else {
233 $this->valF['am_lot_vente_ant'] = false;
234 }
235 if (!is_numeric($val['am_empl_nb'])) {
236 $this->valF['am_empl_nb'] = NULL;
237 } else {
238 $this->valF['am_empl_nb'] = $val['am_empl_nb'];
239 }
240 if (!is_numeric($val['am_tente_nb'])) {
241 $this->valF['am_tente_nb'] = NULL;
242 } else {
243 $this->valF['am_tente_nb'] = $val['am_tente_nb'];
244 }
245 if (!is_numeric($val['am_carav_nb'])) {
246 $this->valF['am_carav_nb'] = NULL;
247 } else {
248 $this->valF['am_carav_nb'] = $val['am_carav_nb'];
249 }
250 if (!is_numeric($val['am_mobil_nb'])) {
251 $this->valF['am_mobil_nb'] = NULL;
252 } else {
253 $this->valF['am_mobil_nb'] = $val['am_mobil_nb'];
254 }
255 if (!is_numeric($val['am_pers_nb'])) {
256 $this->valF['am_pers_nb'] = NULL;
257 } else {
258 $this->valF['am_pers_nb'] = $val['am_pers_nb'];
259 }
260 if (!is_numeric($val['am_empl_hll_nb'])) {
261 $this->valF['am_empl_hll_nb'] = NULL;
262 } else {
263 $this->valF['am_empl_hll_nb'] = $val['am_empl_hll_nb'];
264 }
265 if (!is_numeric($val['am_hll_shon'])) {
266 $this->valF['am_hll_shon'] = NULL;
267 } else {
268 $this->valF['am_hll_shon'] = $val['am_hll_shon'];
269 }
270 $this->valF['am_periode_exploit'] = $val['am_periode_exploit'];
271 if ($val['am_exist_agrand'] == 1 || $val['am_exist_agrand'] == "t" || $val['am_exist_agrand'] == "Oui") {
272 $this->valF['am_exist_agrand'] = true;
273 } else {
274 $this->valF['am_exist_agrand'] = false;
275 }
276 if ($val['am_exist_date'] != "") {
277 $this->valF['am_exist_date'] = $this->dateDB($val['am_exist_date']);
278 } else {
279 $this->valF['am_exist_date'] = NULL;
280 }
281 if ($val['am_exist_num'] == "") {
282 $this->valF['am_exist_num'] = NULL;
283 } else {
284 $this->valF['am_exist_num'] = $val['am_exist_num'];
285 }
286 if (!is_numeric($val['am_exist_nb_avant'])) {
287 $this->valF['am_exist_nb_avant'] = NULL;
288 } else {
289 $this->valF['am_exist_nb_avant'] = $val['am_exist_nb_avant'];
290 }
291 if (!is_numeric($val['am_exist_nb_apres'])) {
292 $this->valF['am_exist_nb_apres'] = NULL;
293 } else {
294 $this->valF['am_exist_nb_apres'] = $val['am_exist_nb_apres'];
295 }
296 if ($val['am_coupe_bois'] == 1 || $val['am_coupe_bois'] == "t" || $val['am_coupe_bois'] == "Oui") {
297 $this->valF['am_coupe_bois'] = true;
298 } else {
299 $this->valF['am_coupe_bois'] = false;
300 }
301 if ($val['am_coupe_parc'] == 1 || $val['am_coupe_parc'] == "t" || $val['am_coupe_parc'] == "Oui") {
302 $this->valF['am_coupe_parc'] = true;
303 } else {
304 $this->valF['am_coupe_parc'] = false;
305 }
306 if ($val['am_coupe_align'] == 1 || $val['am_coupe_align'] == "t" || $val['am_coupe_align'] == "Oui") {
307 $this->valF['am_coupe_align'] = true;
308 } else {
309 $this->valF['am_coupe_align'] = false;
310 }
311 if ($val['am_coupe_ess'] == "") {
312 $this->valF['am_coupe_ess'] = NULL;
313 } else {
314 $this->valF['am_coupe_ess'] = $val['am_coupe_ess'];
315 }
316 if ($val['am_coupe_age'] == "") {
317 $this->valF['am_coupe_age'] = NULL;
318 } else {
319 $this->valF['am_coupe_age'] = $val['am_coupe_age'];
320 }
321 if ($val['am_coupe_dens'] == "") {
322 $this->valF['am_coupe_dens'] = NULL;
323 } else {
324 $this->valF['am_coupe_dens'] = $val['am_coupe_dens'];
325 }
326 if ($val['am_coupe_qual'] == "") {
327 $this->valF['am_coupe_qual'] = NULL;
328 } else {
329 $this->valF['am_coupe_qual'] = $val['am_coupe_qual'];
330 }
331 if ($val['am_coupe_trait'] == "") {
332 $this->valF['am_coupe_trait'] = NULL;
333 } else {
334 $this->valF['am_coupe_trait'] = $val['am_coupe_trait'];
335 }
336 if ($val['am_coupe_autr'] == "") {
337 $this->valF['am_coupe_autr'] = NULL;
338 } else {
339 $this->valF['am_coupe_autr'] = $val['am_coupe_autr'];
340 }
341 if ($val['co_archi_recours'] == 1 || $val['co_archi_recours'] == "t" || $val['co_archi_recours'] == "Oui") {
342 $this->valF['co_archi_recours'] = true;
343 } else {
344 $this->valF['co_archi_recours'] = false;
345 }
346 if ($val['co_cstr_nouv'] == 1 || $val['co_cstr_nouv'] == "t" || $val['co_cstr_nouv'] == "Oui") {
347 $this->valF['co_cstr_nouv'] = true;
348 } else {
349 $this->valF['co_cstr_nouv'] = false;
350 }
351 if ($val['co_cstr_exist'] == 1 || $val['co_cstr_exist'] == "t" || $val['co_cstr_exist'] == "Oui") {
352 $this->valF['co_cstr_exist'] = true;
353 } else {
354 $this->valF['co_cstr_exist'] = false;
355 }
356 if ($val['co_cloture'] == 1 || $val['co_cloture'] == "t" || $val['co_cloture'] == "Oui") {
357 $this->valF['co_cloture'] = true;
358 } else {
359 $this->valF['co_cloture'] = false;
360 }
361 if (!is_numeric($val['co_elec_tension'])) {
362 $this->valF['co_elec_tension'] = NULL;
363 } else {
364 $this->valF['co_elec_tension'] = $val['co_elec_tension'];
365 }
366 if ($val['co_div_terr'] == 1 || $val['co_div_terr'] == "t" || $val['co_div_terr'] == "Oui") {
367 $this->valF['co_div_terr'] = true;
368 } else {
369 $this->valF['co_div_terr'] = false;
370 }
371 $this->valF['co_projet_desc'] = $val['co_projet_desc'];
372 if ($val['co_anx_pisc'] == 1 || $val['co_anx_pisc'] == "t" || $val['co_anx_pisc'] == "Oui") {
373 $this->valF['co_anx_pisc'] = true;
374 } else {
375 $this->valF['co_anx_pisc'] = false;
376 }
377 if ($val['co_anx_gara'] == 1 || $val['co_anx_gara'] == "t" || $val['co_anx_gara'] == "Oui") {
378 $this->valF['co_anx_gara'] = true;
379 } else {
380 $this->valF['co_anx_gara'] = false;
381 }
382 if ($val['co_anx_veran'] == 1 || $val['co_anx_veran'] == "t" || $val['co_anx_veran'] == "Oui") {
383 $this->valF['co_anx_veran'] = true;
384 } else {
385 $this->valF['co_anx_veran'] = false;
386 }
387 if ($val['co_anx_abri'] == 1 || $val['co_anx_abri'] == "t" || $val['co_anx_abri'] == "Oui") {
388 $this->valF['co_anx_abri'] = true;
389 } else {
390 $this->valF['co_anx_abri'] = false;
391 }
392 if ($val['co_anx_autr'] == 1 || $val['co_anx_autr'] == "t" || $val['co_anx_autr'] == "Oui") {
393 $this->valF['co_anx_autr'] = true;
394 } else {
395 $this->valF['co_anx_autr'] = false;
396 }
397 $this->valF['co_anx_autr_desc'] = $val['co_anx_autr_desc'];
398 if (!is_numeric($val['co_tot_log_nb'])) {
399 $this->valF['co_tot_log_nb'] = NULL;
400 } else {
401 $this->valF['co_tot_log_nb'] = $val['co_tot_log_nb'];
402 }
403 if (!is_numeric($val['co_tot_ind_nb'])) {
404 $this->valF['co_tot_ind_nb'] = NULL;
405 } else {
406 $this->valF['co_tot_ind_nb'] = $val['co_tot_ind_nb'];
407 }
408 if (!is_numeric($val['co_tot_coll_nb'])) {
409 $this->valF['co_tot_coll_nb'] = NULL;
410 } else {
411 $this->valF['co_tot_coll_nb'] = $val['co_tot_coll_nb'];
412 }
413 if (!is_numeric($val['co_mais_piece_nb'])) {
414 $this->valF['co_mais_piece_nb'] = NULL;
415 } else {
416 $this->valF['co_mais_piece_nb'] = $val['co_mais_piece_nb'];
417 }
418 if (!is_numeric($val['co_mais_niv_nb'])) {
419 $this->valF['co_mais_niv_nb'] = NULL;
420 } else {
421 $this->valF['co_mais_niv_nb'] = $val['co_mais_niv_nb'];
422 }
423 if (!is_numeric($val['co_fin_lls_nb'])) {
424 $this->valF['co_fin_lls_nb'] = NULL;
425 } else {
426 $this->valF['co_fin_lls_nb'] = $val['co_fin_lls_nb'];
427 }
428 if (!is_numeric($val['co_fin_aa_nb'])) {
429 $this->valF['co_fin_aa_nb'] = NULL;
430 } else {
431 $this->valF['co_fin_aa_nb'] = $val['co_fin_aa_nb'];
432 }
433 if (!is_numeric($val['co_fin_ptz_nb'])) {
434 $this->valF['co_fin_ptz_nb'] = NULL;
435 } else {
436 $this->valF['co_fin_ptz_nb'] = $val['co_fin_ptz_nb'];
437 }
438 if (!is_numeric($val['co_fin_autr_nb'])) {
439 $this->valF['co_fin_autr_nb'] = NULL;
440 } else {
441 $this->valF['co_fin_autr_nb'] = $val['co_fin_autr_nb'];
442 }
443 $this->valF['co_fin_autr_desc'] = $val['co_fin_autr_desc'];
444 if ($val['co_mais_contrat_ind'] == 1 || $val['co_mais_contrat_ind'] == "t" || $val['co_mais_contrat_ind'] == "Oui") {
445 $this->valF['co_mais_contrat_ind'] = true;
446 } else {
447 $this->valF['co_mais_contrat_ind'] = false;
448 }
449 if ($val['co_uti_pers'] == 1 || $val['co_uti_pers'] == "t" || $val['co_uti_pers'] == "Oui") {
450 $this->valF['co_uti_pers'] = true;
451 } else {
452 $this->valF['co_uti_pers'] = false;
453 }
454 if ($val['co_uti_vente'] == 1 || $val['co_uti_vente'] == "t" || $val['co_uti_vente'] == "Oui") {
455 $this->valF['co_uti_vente'] = true;
456 } else {
457 $this->valF['co_uti_vente'] = false;
458 }
459 if ($val['co_uti_loc'] == 1 || $val['co_uti_loc'] == "t" || $val['co_uti_loc'] == "Oui") {
460 $this->valF['co_uti_loc'] = true;
461 } else {
462 $this->valF['co_uti_loc'] = false;
463 }
464 if ($val['co_uti_princ'] == 1 || $val['co_uti_princ'] == "t" || $val['co_uti_princ'] == "Oui") {
465 $this->valF['co_uti_princ'] = true;
466 } else {
467 $this->valF['co_uti_princ'] = false;
468 }
469 if ($val['co_uti_secon'] == 1 || $val['co_uti_secon'] == "t" || $val['co_uti_secon'] == "Oui") {
470 $this->valF['co_uti_secon'] = true;
471 } else {
472 $this->valF['co_uti_secon'] = false;
473 }
474 if ($val['co_resid_agees'] == 1 || $val['co_resid_agees'] == "t" || $val['co_resid_agees'] == "Oui") {
475 $this->valF['co_resid_agees'] = true;
476 } else {
477 $this->valF['co_resid_agees'] = false;
478 }
479 if ($val['co_resid_etud'] == 1 || $val['co_resid_etud'] == "t" || $val['co_resid_etud'] == "Oui") {
480 $this->valF['co_resid_etud'] = true;
481 } else {
482 $this->valF['co_resid_etud'] = false;
483 }
484 if ($val['co_resid_tourism'] == 1 || $val['co_resid_tourism'] == "t" || $val['co_resid_tourism'] == "Oui") {
485 $this->valF['co_resid_tourism'] = true;
486 } else {
487 $this->valF['co_resid_tourism'] = false;
488 }
489 if ($val['co_resid_hot_soc'] == 1 || $val['co_resid_hot_soc'] == "t" || $val['co_resid_hot_soc'] == "Oui") {
490 $this->valF['co_resid_hot_soc'] = true;
491 } else {
492 $this->valF['co_resid_hot_soc'] = false;
493 }
494 if ($val['co_resid_soc'] == 1 || $val['co_resid_soc'] == "t" || $val['co_resid_soc'] == "Oui") {
495 $this->valF['co_resid_soc'] = true;
496 } else {
497 $this->valF['co_resid_soc'] = false;
498 }
499 if ($val['co_resid_hand'] == 1 || $val['co_resid_hand'] == "t" || $val['co_resid_hand'] == "Oui") {
500 $this->valF['co_resid_hand'] = true;
501 } else {
502 $this->valF['co_resid_hand'] = false;
503 }
504 if ($val['co_resid_autr'] == 1 || $val['co_resid_autr'] == "t" || $val['co_resid_autr'] == "Oui") {
505 $this->valF['co_resid_autr'] = true;
506 } else {
507 $this->valF['co_resid_autr'] = false;
508 }
509 $this->valF['co_resid_autr_desc'] = $val['co_resid_autr_desc'];
510 if (!is_numeric($val['co_foyer_chamb_nb'])) {
511 $this->valF['co_foyer_chamb_nb'] = NULL;
512 } else {
513 $this->valF['co_foyer_chamb_nb'] = $val['co_foyer_chamb_nb'];
514 }
515 if (!is_numeric($val['co_log_1p_nb'])) {
516 $this->valF['co_log_1p_nb'] = NULL;
517 } else {
518 $this->valF['co_log_1p_nb'] = $val['co_log_1p_nb'];
519 }
520 if (!is_numeric($val['co_log_2p_nb'])) {
521 $this->valF['co_log_2p_nb'] = NULL;
522 } else {
523 $this->valF['co_log_2p_nb'] = $val['co_log_2p_nb'];
524 }
525 if (!is_numeric($val['co_log_3p_nb'])) {
526 $this->valF['co_log_3p_nb'] = NULL;
527 } else {
528 $this->valF['co_log_3p_nb'] = $val['co_log_3p_nb'];
529 }
530 if (!is_numeric($val['co_log_4p_nb'])) {
531 $this->valF['co_log_4p_nb'] = NULL;
532 } else {
533 $this->valF['co_log_4p_nb'] = $val['co_log_4p_nb'];
534 }
535 if (!is_numeric($val['co_log_5p_nb'])) {
536 $this->valF['co_log_5p_nb'] = NULL;
537 } else {
538 $this->valF['co_log_5p_nb'] = $val['co_log_5p_nb'];
539 }
540 if (!is_numeric($val['co_log_6p_nb'])) {
541 $this->valF['co_log_6p_nb'] = NULL;
542 } else {
543 $this->valF['co_log_6p_nb'] = $val['co_log_6p_nb'];
544 }
545 if (!is_numeric($val['co_bat_niv_nb'])) {
546 $this->valF['co_bat_niv_nb'] = NULL;
547 } else {
548 $this->valF['co_bat_niv_nb'] = $val['co_bat_niv_nb'];
549 }
550 if ($val['co_trx_exten'] == 1 || $val['co_trx_exten'] == "t" || $val['co_trx_exten'] == "Oui") {
551 $this->valF['co_trx_exten'] = true;
552 } else {
553 $this->valF['co_trx_exten'] = false;
554 }
555 if ($val['co_trx_surelev'] == 1 || $val['co_trx_surelev'] == "t" || $val['co_trx_surelev'] == "Oui") {
556 $this->valF['co_trx_surelev'] = true;
557 } else {
558 $this->valF['co_trx_surelev'] = false;
559 }
560 if ($val['co_trx_nivsup'] == 1 || $val['co_trx_nivsup'] == "t" || $val['co_trx_nivsup'] == "Oui") {
561 $this->valF['co_trx_nivsup'] = true;
562 } else {
563 $this->valF['co_trx_nivsup'] = false;
564 }
565 $this->valF['co_demont_periode'] = $val['co_demont_periode'];
566 if ($val['co_sp_transport'] == 1 || $val['co_sp_transport'] == "t" || $val['co_sp_transport'] == "Oui") {
567 $this->valF['co_sp_transport'] = true;
568 } else {
569 $this->valF['co_sp_transport'] = false;
570 }
571 if ($val['co_sp_enseign'] == 1 || $val['co_sp_enseign'] == "t" || $val['co_sp_enseign'] == "Oui") {
572 $this->valF['co_sp_enseign'] = true;
573 } else {
574 $this->valF['co_sp_enseign'] = false;
575 }
576 if ($val['co_sp_act_soc'] == 1 || $val['co_sp_act_soc'] == "t" || $val['co_sp_act_soc'] == "Oui") {
577 $this->valF['co_sp_act_soc'] = true;
578 } else {
579 $this->valF['co_sp_act_soc'] = false;
580 }
581 if ($val['co_sp_ouvr_spe'] == 1 || $val['co_sp_ouvr_spe'] == "t" || $val['co_sp_ouvr_spe'] == "Oui") {
582 $this->valF['co_sp_ouvr_spe'] = true;
583 } else {
584 $this->valF['co_sp_ouvr_spe'] = false;
585 }
586 if ($val['co_sp_sante'] == 1 || $val['co_sp_sante'] == "t" || $val['co_sp_sante'] == "Oui") {
587 $this->valF['co_sp_sante'] = true;
588 } else {
589 $this->valF['co_sp_sante'] = false;
590 }
591 if ($val['co_sp_culture'] == 1 || $val['co_sp_culture'] == "t" || $val['co_sp_culture'] == "Oui") {
592 $this->valF['co_sp_culture'] = true;
593 } else {
594 $this->valF['co_sp_culture'] = false;
595 }
596 if (!is_numeric($val['co_statio_avt_nb'])) {
597 $this->valF['co_statio_avt_nb'] = NULL;
598 } else {
599 $this->valF['co_statio_avt_nb'] = $val['co_statio_avt_nb'];
600 }
601 if (!is_numeric($val['co_statio_apr_nb'])) {
602 $this->valF['co_statio_apr_nb'] = NULL;
603 } else {
604 $this->valF['co_statio_apr_nb'] = $val['co_statio_apr_nb'];
605 }
606 $this->valF['co_statio_adr'] = $val['co_statio_adr'];
607 if (!is_numeric($val['co_statio_place_nb'])) {
608 $this->valF['co_statio_place_nb'] = NULL;
609 } else {
610 $this->valF['co_statio_place_nb'] = $val['co_statio_place_nb'];
611 }
612 if (!is_numeric($val['co_statio_tot_surf'])) {
613 $this->valF['co_statio_tot_surf'] = NULL;
614 } else {
615 $this->valF['co_statio_tot_surf'] = $val['co_statio_tot_surf'];
616 }
617 if (!is_numeric($val['co_statio_tot_shob'])) {
618 $this->valF['co_statio_tot_shob'] = NULL;
619 } else {
620 $this->valF['co_statio_tot_shob'] = $val['co_statio_tot_shob'];
621 }
622 if (!is_numeric($val['co_statio_comm_cin_surf'])) {
623 $this->valF['co_statio_comm_cin_surf'] = NULL;
624 } else {
625 $this->valF['co_statio_comm_cin_surf'] = $val['co_statio_comm_cin_surf'];
626 }
627 if (!is_numeric($val['su_avt_shon1'])) {
628 $this->valF['su_avt_shon1'] = NULL;
629 } else {
630 $this->valF['su_avt_shon1'] = $val['su_avt_shon1'];
631 }
632 if (!is_numeric($val['su_avt_shon2'])) {
633 $this->valF['su_avt_shon2'] = NULL;
634 } else {
635 $this->valF['su_avt_shon2'] = $val['su_avt_shon2'];
636 }
637 if (!is_numeric($val['su_avt_shon3'])) {
638 $this->valF['su_avt_shon3'] = NULL;
639 } else {
640 $this->valF['su_avt_shon3'] = $val['su_avt_shon3'];
641 }
642 if (!is_numeric($val['su_avt_shon4'])) {
643 $this->valF['su_avt_shon4'] = NULL;
644 } else {
645 $this->valF['su_avt_shon4'] = $val['su_avt_shon4'];
646 }
647 if (!is_numeric($val['su_avt_shon5'])) {
648 $this->valF['su_avt_shon5'] = NULL;
649 } else {
650 $this->valF['su_avt_shon5'] = $val['su_avt_shon5'];
651 }
652 if (!is_numeric($val['su_avt_shon6'])) {
653 $this->valF['su_avt_shon6'] = NULL;
654 } else {
655 $this->valF['su_avt_shon6'] = $val['su_avt_shon6'];
656 }
657 if (!is_numeric($val['su_avt_shon7'])) {
658 $this->valF['su_avt_shon7'] = NULL;
659 } else {
660 $this->valF['su_avt_shon7'] = $val['su_avt_shon7'];
661 }
662 if (!is_numeric($val['su_avt_shon8'])) {
663 $this->valF['su_avt_shon8'] = NULL;
664 } else {
665 $this->valF['su_avt_shon8'] = $val['su_avt_shon8'];
666 }
667 if (!is_numeric($val['su_avt_shon9'])) {
668 $this->valF['su_avt_shon9'] = NULL;
669 } else {
670 $this->valF['su_avt_shon9'] = $val['su_avt_shon9'];
671 }
672 if (!is_numeric($val['su_cstr_shon1'])) {
673 $this->valF['su_cstr_shon1'] = NULL;
674 } else {
675 $this->valF['su_cstr_shon1'] = $val['su_cstr_shon1'];
676 }
677 if (!is_numeric($val['su_cstr_shon2'])) {
678 $this->valF['su_cstr_shon2'] = NULL;
679 } else {
680 $this->valF['su_cstr_shon2'] = $val['su_cstr_shon2'];
681 }
682 if (!is_numeric($val['su_cstr_shon3'])) {
683 $this->valF['su_cstr_shon3'] = NULL;
684 } else {
685 $this->valF['su_cstr_shon3'] = $val['su_cstr_shon3'];
686 }
687 if (!is_numeric($val['su_cstr_shon4'])) {
688 $this->valF['su_cstr_shon4'] = NULL;
689 } else {
690 $this->valF['su_cstr_shon4'] = $val['su_cstr_shon4'];
691 }
692 if (!is_numeric($val['su_cstr_shon5'])) {
693 $this->valF['su_cstr_shon5'] = NULL;
694 } else {
695 $this->valF['su_cstr_shon5'] = $val['su_cstr_shon5'];
696 }
697 if (!is_numeric($val['su_cstr_shon6'])) {
698 $this->valF['su_cstr_shon6'] = NULL;
699 } else {
700 $this->valF['su_cstr_shon6'] = $val['su_cstr_shon6'];
701 }
702 if (!is_numeric($val['su_cstr_shon7'])) {
703 $this->valF['su_cstr_shon7'] = NULL;
704 } else {
705 $this->valF['su_cstr_shon7'] = $val['su_cstr_shon7'];
706 }
707 if (!is_numeric($val['su_cstr_shon8'])) {
708 $this->valF['su_cstr_shon8'] = NULL;
709 } else {
710 $this->valF['su_cstr_shon8'] = $val['su_cstr_shon8'];
711 }
712 if (!is_numeric($val['su_cstr_shon9'])) {
713 $this->valF['su_cstr_shon9'] = NULL;
714 } else {
715 $this->valF['su_cstr_shon9'] = $val['su_cstr_shon9'];
716 }
717 if (!is_numeric($val['su_trsf_shon1'])) {
718 $this->valF['su_trsf_shon1'] = NULL;
719 } else {
720 $this->valF['su_trsf_shon1'] = $val['su_trsf_shon1'];
721 }
722 if (!is_numeric($val['su_trsf_shon2'])) {
723 $this->valF['su_trsf_shon2'] = NULL;
724 } else {
725 $this->valF['su_trsf_shon2'] = $val['su_trsf_shon2'];
726 }
727 if (!is_numeric($val['su_trsf_shon3'])) {
728 $this->valF['su_trsf_shon3'] = NULL;
729 } else {
730 $this->valF['su_trsf_shon3'] = $val['su_trsf_shon3'];
731 }
732 if (!is_numeric($val['su_trsf_shon4'])) {
733 $this->valF['su_trsf_shon4'] = NULL;
734 } else {
735 $this->valF['su_trsf_shon4'] = $val['su_trsf_shon4'];
736 }
737 if (!is_numeric($val['su_trsf_shon5'])) {
738 $this->valF['su_trsf_shon5'] = NULL;
739 } else {
740 $this->valF['su_trsf_shon5'] = $val['su_trsf_shon5'];
741 }
742 if (!is_numeric($val['su_trsf_shon6'])) {
743 $this->valF['su_trsf_shon6'] = NULL;
744 } else {
745 $this->valF['su_trsf_shon6'] = $val['su_trsf_shon6'];
746 }
747 if (!is_numeric($val['su_trsf_shon7'])) {
748 $this->valF['su_trsf_shon7'] = NULL;
749 } else {
750 $this->valF['su_trsf_shon7'] = $val['su_trsf_shon7'];
751 }
752 if (!is_numeric($val['su_trsf_shon8'])) {
753 $this->valF['su_trsf_shon8'] = NULL;
754 } else {
755 $this->valF['su_trsf_shon8'] = $val['su_trsf_shon8'];
756 }
757 if (!is_numeric($val['su_trsf_shon9'])) {
758 $this->valF['su_trsf_shon9'] = NULL;
759 } else {
760 $this->valF['su_trsf_shon9'] = $val['su_trsf_shon9'];
761 }
762 if (!is_numeric($val['su_chge_shon1'])) {
763 $this->valF['su_chge_shon1'] = NULL;
764 } else {
765 $this->valF['su_chge_shon1'] = $val['su_chge_shon1'];
766 }
767 if (!is_numeric($val['su_chge_shon2'])) {
768 $this->valF['su_chge_shon2'] = NULL;
769 } else {
770 $this->valF['su_chge_shon2'] = $val['su_chge_shon2'];
771 }
772 if (!is_numeric($val['su_chge_shon3'])) {
773 $this->valF['su_chge_shon3'] = NULL;
774 } else {
775 $this->valF['su_chge_shon3'] = $val['su_chge_shon3'];
776 }
777 if (!is_numeric($val['su_chge_shon4'])) {
778 $this->valF['su_chge_shon4'] = NULL;
779 } else {
780 $this->valF['su_chge_shon4'] = $val['su_chge_shon4'];
781 }
782 if (!is_numeric($val['su_chge_shon5'])) {
783 $this->valF['su_chge_shon5'] = NULL;
784 } else {
785 $this->valF['su_chge_shon5'] = $val['su_chge_shon5'];
786 }
787 if (!is_numeric($val['su_chge_shon6'])) {
788 $this->valF['su_chge_shon6'] = NULL;
789 } else {
790 $this->valF['su_chge_shon6'] = $val['su_chge_shon6'];
791 }
792 if (!is_numeric($val['su_chge_shon7'])) {
793 $this->valF['su_chge_shon7'] = NULL;
794 } else {
795 $this->valF['su_chge_shon7'] = $val['su_chge_shon7'];
796 }
797 if (!is_numeric($val['su_chge_shon8'])) {
798 $this->valF['su_chge_shon8'] = NULL;
799 } else {
800 $this->valF['su_chge_shon8'] = $val['su_chge_shon8'];
801 }
802 if (!is_numeric($val['su_chge_shon9'])) {
803 $this->valF['su_chge_shon9'] = NULL;
804 } else {
805 $this->valF['su_chge_shon9'] = $val['su_chge_shon9'];
806 }
807 if (!is_numeric($val['su_demo_shon1'])) {
808 $this->valF['su_demo_shon1'] = NULL;
809 } else {
810 $this->valF['su_demo_shon1'] = $val['su_demo_shon1'];
811 }
812 if (!is_numeric($val['su_demo_shon2'])) {
813 $this->valF['su_demo_shon2'] = NULL;
814 } else {
815 $this->valF['su_demo_shon2'] = $val['su_demo_shon2'];
816 }
817 if (!is_numeric($val['su_demo_shon3'])) {
818 $this->valF['su_demo_shon3'] = NULL;
819 } else {
820 $this->valF['su_demo_shon3'] = $val['su_demo_shon3'];
821 }
822 if (!is_numeric($val['su_demo_shon4'])) {
823 $this->valF['su_demo_shon4'] = NULL;
824 } else {
825 $this->valF['su_demo_shon4'] = $val['su_demo_shon4'];
826 }
827 if (!is_numeric($val['su_demo_shon5'])) {
828 $this->valF['su_demo_shon5'] = NULL;
829 } else {
830 $this->valF['su_demo_shon5'] = $val['su_demo_shon5'];
831 }
832 if (!is_numeric($val['su_demo_shon6'])) {
833 $this->valF['su_demo_shon6'] = NULL;
834 } else {
835 $this->valF['su_demo_shon6'] = $val['su_demo_shon6'];
836 }
837 if (!is_numeric($val['su_demo_shon7'])) {
838 $this->valF['su_demo_shon7'] = NULL;
839 } else {
840 $this->valF['su_demo_shon7'] = $val['su_demo_shon7'];
841 }
842 if (!is_numeric($val['su_demo_shon8'])) {
843 $this->valF['su_demo_shon8'] = NULL;
844 } else {
845 $this->valF['su_demo_shon8'] = $val['su_demo_shon8'];
846 }
847 if (!is_numeric($val['su_demo_shon9'])) {
848 $this->valF['su_demo_shon9'] = NULL;
849 } else {
850 $this->valF['su_demo_shon9'] = $val['su_demo_shon9'];
851 }
852 if (!is_numeric($val['su_sup_shon1'])) {
853 $this->valF['su_sup_shon1'] = NULL;
854 } else {
855 $this->valF['su_sup_shon1'] = $val['su_sup_shon1'];
856 }
857 if (!is_numeric($val['su_sup_shon2'])) {
858 $this->valF['su_sup_shon2'] = NULL;
859 } else {
860 $this->valF['su_sup_shon2'] = $val['su_sup_shon2'];
861 }
862 if (!is_numeric($val['su_sup_shon3'])) {
863 $this->valF['su_sup_shon3'] = NULL;
864 } else {
865 $this->valF['su_sup_shon3'] = $val['su_sup_shon3'];
866 }
867 if (!is_numeric($val['su_sup_shon4'])) {
868 $this->valF['su_sup_shon4'] = NULL;
869 } else {
870 $this->valF['su_sup_shon4'] = $val['su_sup_shon4'];
871 }
872 if (!is_numeric($val['su_sup_shon5'])) {
873 $this->valF['su_sup_shon5'] = NULL;
874 } else {
875 $this->valF['su_sup_shon5'] = $val['su_sup_shon5'];
876 }
877 if (!is_numeric($val['su_sup_shon6'])) {
878 $this->valF['su_sup_shon6'] = NULL;
879 } else {
880 $this->valF['su_sup_shon6'] = $val['su_sup_shon6'];
881 }
882 if (!is_numeric($val['su_sup_shon7'])) {
883 $this->valF['su_sup_shon7'] = NULL;
884 } else {
885 $this->valF['su_sup_shon7'] = $val['su_sup_shon7'];
886 }
887 if (!is_numeric($val['su_sup_shon8'])) {
888 $this->valF['su_sup_shon8'] = NULL;
889 } else {
890 $this->valF['su_sup_shon8'] = $val['su_sup_shon8'];
891 }
892 if (!is_numeric($val['su_sup_shon9'])) {
893 $this->valF['su_sup_shon9'] = NULL;
894 } else {
895 $this->valF['su_sup_shon9'] = $val['su_sup_shon9'];
896 }
897 if (!is_numeric($val['su_tot_shon1'])) {
898 $this->valF['su_tot_shon1'] = NULL;
899 } else {
900 $this->valF['su_tot_shon1'] = $val['su_tot_shon1'];
901 }
902 if (!is_numeric($val['su_tot_shon2'])) {
903 $this->valF['su_tot_shon2'] = NULL;
904 } else {
905 $this->valF['su_tot_shon2'] = $val['su_tot_shon2'];
906 }
907 if (!is_numeric($val['su_tot_shon3'])) {
908 $this->valF['su_tot_shon3'] = NULL;
909 } else {
910 $this->valF['su_tot_shon3'] = $val['su_tot_shon3'];
911 }
912 if (!is_numeric($val['su_tot_shon4'])) {
913 $this->valF['su_tot_shon4'] = NULL;
914 } else {
915 $this->valF['su_tot_shon4'] = $val['su_tot_shon4'];
916 }
917 if (!is_numeric($val['su_tot_shon5'])) {
918 $this->valF['su_tot_shon5'] = NULL;
919 } else {
920 $this->valF['su_tot_shon5'] = $val['su_tot_shon5'];
921 }
922 if (!is_numeric($val['su_tot_shon6'])) {
923 $this->valF['su_tot_shon6'] = NULL;
924 } else {
925 $this->valF['su_tot_shon6'] = $val['su_tot_shon6'];
926 }
927 if (!is_numeric($val['su_tot_shon7'])) {
928 $this->valF['su_tot_shon7'] = NULL;
929 } else {
930 $this->valF['su_tot_shon7'] = $val['su_tot_shon7'];
931 }
932 if (!is_numeric($val['su_tot_shon8'])) {
933 $this->valF['su_tot_shon8'] = NULL;
934 } else {
935 $this->valF['su_tot_shon8'] = $val['su_tot_shon8'];
936 }
937 if (!is_numeric($val['su_tot_shon9'])) {
938 $this->valF['su_tot_shon9'] = NULL;
939 } else {
940 $this->valF['su_tot_shon9'] = $val['su_tot_shon9'];
941 }
942 if (!is_numeric($val['su_avt_shon_tot'])) {
943 $this->valF['su_avt_shon_tot'] = NULL;
944 } else {
945 $this->valF['su_avt_shon_tot'] = $val['su_avt_shon_tot'];
946 }
947 if (!is_numeric($val['su_cstr_shon_tot'])) {
948 $this->valF['su_cstr_shon_tot'] = NULL;
949 } else {
950 $this->valF['su_cstr_shon_tot'] = $val['su_cstr_shon_tot'];
951 }
952 if (!is_numeric($val['su_trsf_shon_tot'])) {
953 $this->valF['su_trsf_shon_tot'] = NULL;
954 } else {
955 $this->valF['su_trsf_shon_tot'] = $val['su_trsf_shon_tot'];
956 }
957 if (!is_numeric($val['su_chge_shon_tot'])) {
958 $this->valF['su_chge_shon_tot'] = NULL;
959 } else {
960 $this->valF['su_chge_shon_tot'] = $val['su_chge_shon_tot'];
961 }
962 if (!is_numeric($val['su_demo_shon_tot'])) {
963 $this->valF['su_demo_shon_tot'] = NULL;
964 } else {
965 $this->valF['su_demo_shon_tot'] = $val['su_demo_shon_tot'];
966 }
967 if (!is_numeric($val['su_sup_shon_tot'])) {
968 $this->valF['su_sup_shon_tot'] = NULL;
969 } else {
970 $this->valF['su_sup_shon_tot'] = $val['su_sup_shon_tot'];
971 }
972 if (!is_numeric($val['su_tot_shon_tot'])) {
973 $this->valF['su_tot_shon_tot'] = NULL;
974 } else {
975 $this->valF['su_tot_shon_tot'] = $val['su_tot_shon_tot'];
976 }
977 $this->valF['dm_constr_dates'] = $val['dm_constr_dates'];
978 if ($val['dm_total'] == 1 || $val['dm_total'] == "t" || $val['dm_total'] == "Oui") {
979 $this->valF['dm_total'] = true;
980 } else {
981 $this->valF['dm_total'] = false;
982 }
983 if ($val['dm_partiel'] == 1 || $val['dm_partiel'] == "t" || $val['dm_partiel'] == "Oui") {
984 $this->valF['dm_partiel'] = true;
985 } else {
986 $this->valF['dm_partiel'] = false;
987 }
988 $this->valF['dm_projet_desc'] = $val['dm_projet_desc'];
989 if (!is_numeric($val['dm_tot_log_nb'])) {
990 $this->valF['dm_tot_log_nb'] = NULL;
991 } else {
992 $this->valF['dm_tot_log_nb'] = $val['dm_tot_log_nb'];
993 }
994 if (!is_numeric($val['tax_surf_tot'])) {
995 $this->valF['tax_surf_tot'] = NULL;
996 } else {
997 $this->valF['tax_surf_tot'] = $val['tax_surf_tot'];
998 }
999 if (!is_numeric($val['tax_surf'])) {
1000 $this->valF['tax_surf'] = NULL;
1001 } else {
1002 $this->valF['tax_surf'] = $val['tax_surf'];
1003 }
1004 if (!is_numeric($val['tax_surf_suppr_mod'])) {
1005 $this->valF['tax_surf_suppr_mod'] = NULL;
1006 } else {
1007 $this->valF['tax_surf_suppr_mod'] = $val['tax_surf_suppr_mod'];
1008 }
1009 if (!is_numeric($val['tax_su_princ_log_nb1'])) {
1010 $this->valF['tax_su_princ_log_nb1'] = NULL;
1011 } else {
1012 $this->valF['tax_su_princ_log_nb1'] = $val['tax_su_princ_log_nb1'];
1013 }
1014 if (!is_numeric($val['tax_su_princ_log_nb2'])) {
1015 $this->valF['tax_su_princ_log_nb2'] = NULL;
1016 } else {
1017 $this->valF['tax_su_princ_log_nb2'] = $val['tax_su_princ_log_nb2'];
1018 }
1019 if (!is_numeric($val['tax_su_princ_log_nb3'])) {
1020 $this->valF['tax_su_princ_log_nb3'] = NULL;
1021 } else {
1022 $this->valF['tax_su_princ_log_nb3'] = $val['tax_su_princ_log_nb3'];
1023 }
1024 if (!is_numeric($val['tax_su_princ_log_nb4'])) {
1025 $this->valF['tax_su_princ_log_nb4'] = NULL;
1026 } else {
1027 $this->valF['tax_su_princ_log_nb4'] = $val['tax_su_princ_log_nb4'];
1028 }
1029 if (!is_numeric($val['tax_su_princ_log_nb_tot1'])) {
1030 $this->valF['tax_su_princ_log_nb_tot1'] = NULL;
1031 } else {
1032 $this->valF['tax_su_princ_log_nb_tot1'] = $val['tax_su_princ_log_nb_tot1'];
1033 }
1034 if (!is_numeric($val['tax_su_princ_log_nb_tot2'])) {
1035 $this->valF['tax_su_princ_log_nb_tot2'] = NULL;
1036 } else {
1037 $this->valF['tax_su_princ_log_nb_tot2'] = $val['tax_su_princ_log_nb_tot2'];
1038 }
1039 if (!is_numeric($val['tax_su_princ_log_nb_tot3'])) {
1040 $this->valF['tax_su_princ_log_nb_tot3'] = NULL;
1041 } else {
1042 $this->valF['tax_su_princ_log_nb_tot3'] = $val['tax_su_princ_log_nb_tot3'];
1043 }
1044 if (!is_numeric($val['tax_su_princ_log_nb_tot4'])) {
1045 $this->valF['tax_su_princ_log_nb_tot4'] = NULL;
1046 } else {
1047 $this->valF['tax_su_princ_log_nb_tot4'] = $val['tax_su_princ_log_nb_tot4'];
1048 }
1049 if (!is_numeric($val['tax_su_princ_surf1'])) {
1050 $this->valF['tax_su_princ_surf1'] = NULL;
1051 } else {
1052 $this->valF['tax_su_princ_surf1'] = $val['tax_su_princ_surf1'];
1053 }
1054 if (!is_numeric($val['tax_su_princ_surf2'])) {
1055 $this->valF['tax_su_princ_surf2'] = NULL;
1056 } else {
1057 $this->valF['tax_su_princ_surf2'] = $val['tax_su_princ_surf2'];
1058 }
1059 if (!is_numeric($val['tax_su_princ_surf3'])) {
1060 $this->valF['tax_su_princ_surf3'] = NULL;
1061 } else {
1062 $this->valF['tax_su_princ_surf3'] = $val['tax_su_princ_surf3'];
1063 }
1064 if (!is_numeric($val['tax_su_princ_surf4'])) {
1065 $this->valF['tax_su_princ_surf4'] = NULL;
1066 } else {
1067 $this->valF['tax_su_princ_surf4'] = $val['tax_su_princ_surf4'];
1068 }
1069 if (!is_numeric($val['tax_su_princ_surf_sup1'])) {
1070 $this->valF['tax_su_princ_surf_sup1'] = NULL;
1071 } else {
1072 $this->valF['tax_su_princ_surf_sup1'] = $val['tax_su_princ_surf_sup1'];
1073 }
1074 if (!is_numeric($val['tax_su_princ_surf_sup2'])) {
1075 $this->valF['tax_su_princ_surf_sup2'] = NULL;
1076 } else {
1077 $this->valF['tax_su_princ_surf_sup2'] = $val['tax_su_princ_surf_sup2'];
1078 }
1079 if (!is_numeric($val['tax_su_princ_surf_sup3'])) {
1080 $this->valF['tax_su_princ_surf_sup3'] = NULL;
1081 } else {
1082 $this->valF['tax_su_princ_surf_sup3'] = $val['tax_su_princ_surf_sup3'];
1083 }
1084 if (!is_numeric($val['tax_su_princ_surf_sup4'])) {
1085 $this->valF['tax_su_princ_surf_sup4'] = NULL;
1086 } else {
1087 $this->valF['tax_su_princ_surf_sup4'] = $val['tax_su_princ_surf_sup4'];
1088 }
1089 if (!is_numeric($val['tax_su_heber_log_nb1'])) {
1090 $this->valF['tax_su_heber_log_nb1'] = NULL;
1091 } else {
1092 $this->valF['tax_su_heber_log_nb1'] = $val['tax_su_heber_log_nb1'];
1093 }
1094 if (!is_numeric($val['tax_su_heber_log_nb2'])) {
1095 $this->valF['tax_su_heber_log_nb2'] = NULL;
1096 } else {
1097 $this->valF['tax_su_heber_log_nb2'] = $val['tax_su_heber_log_nb2'];
1098 }
1099 if (!is_numeric($val['tax_su_heber_log_nb3'])) {
1100 $this->valF['tax_su_heber_log_nb3'] = NULL;
1101 } else {
1102 $this->valF['tax_su_heber_log_nb3'] = $val['tax_su_heber_log_nb3'];
1103 }
1104 if (!is_numeric($val['tax_su_heber_log_nb_tot1'])) {
1105 $this->valF['tax_su_heber_log_nb_tot1'] = NULL;
1106 } else {
1107 $this->valF['tax_su_heber_log_nb_tot1'] = $val['tax_su_heber_log_nb_tot1'];
1108 }
1109 if (!is_numeric($val['tax_su_heber_log_nb_tot2'])) {
1110 $this->valF['tax_su_heber_log_nb_tot2'] = NULL;
1111 } else {
1112 $this->valF['tax_su_heber_log_nb_tot2'] = $val['tax_su_heber_log_nb_tot2'];
1113 }
1114 if (!is_numeric($val['tax_su_heber_log_nb_tot3'])) {
1115 $this->valF['tax_su_heber_log_nb_tot3'] = NULL;
1116 } else {
1117 $this->valF['tax_su_heber_log_nb_tot3'] = $val['tax_su_heber_log_nb_tot3'];
1118 }
1119 if (!is_numeric($val['tax_su_heber_surf1'])) {
1120 $this->valF['tax_su_heber_surf1'] = NULL;
1121 } else {
1122 $this->valF['tax_su_heber_surf1'] = $val['tax_su_heber_surf1'];
1123 }
1124 if (!is_numeric($val['tax_su_heber_surf2'])) {
1125 $this->valF['tax_su_heber_surf2'] = NULL;
1126 } else {
1127 $this->valF['tax_su_heber_surf2'] = $val['tax_su_heber_surf2'];
1128 }
1129 if (!is_numeric($val['tax_su_heber_surf3'])) {
1130 $this->valF['tax_su_heber_surf3'] = NULL;
1131 } else {
1132 $this->valF['tax_su_heber_surf3'] = $val['tax_su_heber_surf3'];
1133 }
1134 if (!is_numeric($val['tax_su_heber_surf_sup1'])) {
1135 $this->valF['tax_su_heber_surf_sup1'] = NULL;
1136 } else {
1137 $this->valF['tax_su_heber_surf_sup1'] = $val['tax_su_heber_surf_sup1'];
1138 }
1139 if (!is_numeric($val['tax_su_heber_surf_sup2'])) {
1140 $this->valF['tax_su_heber_surf_sup2'] = NULL;
1141 } else {
1142 $this->valF['tax_su_heber_surf_sup2'] = $val['tax_su_heber_surf_sup2'];
1143 }
1144 if (!is_numeric($val['tax_su_heber_surf_sup3'])) {
1145 $this->valF['tax_su_heber_surf_sup3'] = NULL;
1146 } else {
1147 $this->valF['tax_su_heber_surf_sup3'] = $val['tax_su_heber_surf_sup3'];
1148 }
1149 if (!is_numeric($val['tax_su_secon_log_nb'])) {
1150 $this->valF['tax_su_secon_log_nb'] = NULL;
1151 } else {
1152 $this->valF['tax_su_secon_log_nb'] = $val['tax_su_secon_log_nb'];
1153 }
1154 if (!is_numeric($val['tax_su_tot_log_nb'])) {
1155 $this->valF['tax_su_tot_log_nb'] = NULL;
1156 } else {
1157 $this->valF['tax_su_tot_log_nb'] = $val['tax_su_tot_log_nb'];
1158 }
1159 if (!is_numeric($val['tax_su_secon_log_nb_tot'])) {
1160 $this->valF['tax_su_secon_log_nb_tot'] = NULL;
1161 } else {
1162 $this->valF['tax_su_secon_log_nb_tot'] = $val['tax_su_secon_log_nb_tot'];
1163 }
1164 if (!is_numeric($val['tax_su_tot_log_nb_tot'])) {
1165 $this->valF['tax_su_tot_log_nb_tot'] = NULL;
1166 } else {
1167 $this->valF['tax_su_tot_log_nb_tot'] = $val['tax_su_tot_log_nb_tot'];
1168 }
1169 if (!is_numeric($val['tax_su_secon_surf'])) {
1170 $this->valF['tax_su_secon_surf'] = NULL;
1171 } else {
1172 $this->valF['tax_su_secon_surf'] = $val['tax_su_secon_surf'];
1173 }
1174 if (!is_numeric($val['tax_su_tot_surf'])) {
1175 $this->valF['tax_su_tot_surf'] = NULL;
1176 } else {
1177 $this->valF['tax_su_tot_surf'] = $val['tax_su_tot_surf'];
1178 }
1179 if (!is_numeric($val['tax_su_secon_surf_sup'])) {
1180 $this->valF['tax_su_secon_surf_sup'] = NULL;
1181 } else {
1182 $this->valF['tax_su_secon_surf_sup'] = $val['tax_su_secon_surf_sup'];
1183 }
1184 if (!is_numeric($val['tax_su_tot_surf_sup'])) {
1185 $this->valF['tax_su_tot_surf_sup'] = NULL;
1186 } else {
1187 $this->valF['tax_su_tot_surf_sup'] = $val['tax_su_tot_surf_sup'];
1188 }
1189 if ($val['tax_ext_pret'] == 1 || $val['tax_ext_pret'] == "t" || $val['tax_ext_pret'] == "Oui") {
1190 $this->valF['tax_ext_pret'] = true;
1191 } else {
1192 $this->valF['tax_ext_pret'] = false;
1193 }
1194 $this->valF['tax_ext_desc'] = $val['tax_ext_desc'];
1195 if (!is_numeric($val['tax_surf_tax_exist_cons'])) {
1196 $this->valF['tax_surf_tax_exist_cons'] = NULL;
1197 } else {
1198 $this->valF['tax_surf_tax_exist_cons'] = $val['tax_surf_tax_exist_cons'];
1199 }
1200 if (!is_numeric($val['tax_log_exist_nb'])) {
1201 $this->valF['tax_log_exist_nb'] = NULL;
1202 } else {
1203 $this->valF['tax_log_exist_nb'] = $val['tax_log_exist_nb'];
1204 }
1205 if (!is_numeric($val['tax_am_statio_ext'])) {
1206 $this->valF['tax_am_statio_ext'] = NULL;
1207 } else {
1208 $this->valF['tax_am_statio_ext'] = $val['tax_am_statio_ext'];
1209 }
1210 if (!is_numeric($val['tax_sup_bass_pisc'])) {
1211 $this->valF['tax_sup_bass_pisc'] = NULL;
1212 } else {
1213 $this->valF['tax_sup_bass_pisc'] = $val['tax_sup_bass_pisc'];
1214 }
1215 if (!is_numeric($val['tax_empl_ten_carav_mobil_nb'])) {
1216 $this->valF['tax_empl_ten_carav_mobil_nb'] = NULL;
1217 } else {
1218 $this->valF['tax_empl_ten_carav_mobil_nb'] = $val['tax_empl_ten_carav_mobil_nb'];
1219 }
1220 if (!is_numeric($val['tax_empl_hll_nb'])) {
1221 $this->valF['tax_empl_hll_nb'] = NULL;
1222 } else {
1223 $this->valF['tax_empl_hll_nb'] = $val['tax_empl_hll_nb'];
1224 }
1225 if (!is_numeric($val['tax_eol_haut_nb'])) {
1226 $this->valF['tax_eol_haut_nb'] = NULL;
1227 } else {
1228 $this->valF['tax_eol_haut_nb'] = $val['tax_eol_haut_nb'];
1229 }
1230 if (!is_numeric($val['tax_pann_volt_sup'])) {
1231 $this->valF['tax_pann_volt_sup'] = NULL;
1232 } else {
1233 $this->valF['tax_pann_volt_sup'] = $val['tax_pann_volt_sup'];
1234 }
1235 if (!is_numeric($val['tax_am_statio_ext_sup'])) {
1236 $this->valF['tax_am_statio_ext_sup'] = NULL;
1237 } else {
1238 $this->valF['tax_am_statio_ext_sup'] = $val['tax_am_statio_ext_sup'];
1239 }
1240 if (!is_numeric($val['tax_sup_bass_pisc_sup'])) {
1241 $this->valF['tax_sup_bass_pisc_sup'] = NULL;
1242 } else {
1243 $this->valF['tax_sup_bass_pisc_sup'] = $val['tax_sup_bass_pisc_sup'];
1244 }
1245 if (!is_numeric($val['tax_empl_ten_carav_mobil_nb_sup'])) {
1246 $this->valF['tax_empl_ten_carav_mobil_nb_sup'] = NULL;
1247 } else {
1248 $this->valF['tax_empl_ten_carav_mobil_nb_sup'] = $val['tax_empl_ten_carav_mobil_nb_sup'];
1249 }
1250 if (!is_numeric($val['tax_empl_hll_nb_sup'])) {
1251 $this->valF['tax_empl_hll_nb_sup'] = NULL;
1252 } else {
1253 $this->valF['tax_empl_hll_nb_sup'] = $val['tax_empl_hll_nb_sup'];
1254 }
1255 if (!is_numeric($val['tax_eol_haut_nb_sup'])) {
1256 $this->valF['tax_eol_haut_nb_sup'] = NULL;
1257 } else {
1258 $this->valF['tax_eol_haut_nb_sup'] = $val['tax_eol_haut_nb_sup'];
1259 }
1260 if (!is_numeric($val['tax_pann_volt_sup_sup'])) {
1261 $this->valF['tax_pann_volt_sup_sup'] = NULL;
1262 } else {
1263 $this->valF['tax_pann_volt_sup_sup'] = $val['tax_pann_volt_sup_sup'];
1264 }
1265 if ($val['tax_trx_presc_ppr'] == 1 || $val['tax_trx_presc_ppr'] == "t" || $val['tax_trx_presc_ppr'] == "Oui") {
1266 $this->valF['tax_trx_presc_ppr'] = true;
1267 } else {
1268 $this->valF['tax_trx_presc_ppr'] = false;
1269 }
1270 if ($val['tax_monu_hist'] == 1 || $val['tax_monu_hist'] == "t" || $val['tax_monu_hist'] == "Oui") {
1271 $this->valF['tax_monu_hist'] = true;
1272 } else {
1273 $this->valF['tax_monu_hist'] = false;
1274 }
1275 if (!is_numeric($val['tax_comm_nb'])) {
1276 $this->valF['tax_comm_nb'] = NULL;
1277 } else {
1278 $this->valF['tax_comm_nb'] = $val['tax_comm_nb'];
1279 }
1280 if (!is_numeric($val['tax_su_non_habit_surf1'])) {
1281 $this->valF['tax_su_non_habit_surf1'] = NULL;
1282 } else {
1283 $this->valF['tax_su_non_habit_surf1'] = $val['tax_su_non_habit_surf1'];
1284 }
1285 if (!is_numeric($val['tax_su_non_habit_surf2'])) {
1286 $this->valF['tax_su_non_habit_surf2'] = NULL;
1287 } else {
1288 $this->valF['tax_su_non_habit_surf2'] = $val['tax_su_non_habit_surf2'];
1289 }
1290 if (!is_numeric($val['tax_su_non_habit_surf3'])) {
1291 $this->valF['tax_su_non_habit_surf3'] = NULL;
1292 } else {
1293 $this->valF['tax_su_non_habit_surf3'] = $val['tax_su_non_habit_surf3'];
1294 }
1295 if (!is_numeric($val['tax_su_non_habit_surf4'])) {
1296 $this->valF['tax_su_non_habit_surf4'] = NULL;
1297 } else {
1298 $this->valF['tax_su_non_habit_surf4'] = $val['tax_su_non_habit_surf4'];
1299 }
1300 if (!is_numeric($val['tax_su_non_habit_surf5'])) {
1301 $this->valF['tax_su_non_habit_surf5'] = NULL;
1302 } else {
1303 $this->valF['tax_su_non_habit_surf5'] = $val['tax_su_non_habit_surf5'];
1304 }
1305 if (!is_numeric($val['tax_su_non_habit_surf6'])) {
1306 $this->valF['tax_su_non_habit_surf6'] = NULL;
1307 } else {
1308 $this->valF['tax_su_non_habit_surf6'] = $val['tax_su_non_habit_surf6'];
1309 }
1310 if (!is_numeric($val['tax_su_non_habit_surf7'])) {
1311 $this->valF['tax_su_non_habit_surf7'] = NULL;
1312 } else {
1313 $this->valF['tax_su_non_habit_surf7'] = $val['tax_su_non_habit_surf7'];
1314 }
1315 if (!is_numeric($val['tax_su_non_habit_surf_sup1'])) {
1316 $this->valF['tax_su_non_habit_surf_sup1'] = NULL;
1317 } else {
1318 $this->valF['tax_su_non_habit_surf_sup1'] = $val['tax_su_non_habit_surf_sup1'];
1319 }
1320 if (!is_numeric($val['tax_su_non_habit_surf_sup2'])) {
1321 $this->valF['tax_su_non_habit_surf_sup2'] = NULL;
1322 } else {
1323 $this->valF['tax_su_non_habit_surf_sup2'] = $val['tax_su_non_habit_surf_sup2'];
1324 }
1325 if (!is_numeric($val['tax_su_non_habit_surf_sup3'])) {
1326 $this->valF['tax_su_non_habit_surf_sup3'] = NULL;
1327 } else {
1328 $this->valF['tax_su_non_habit_surf_sup3'] = $val['tax_su_non_habit_surf_sup3'];
1329 }
1330 if (!is_numeric($val['tax_su_non_habit_surf_sup4'])) {
1331 $this->valF['tax_su_non_habit_surf_sup4'] = NULL;
1332 } else {
1333 $this->valF['tax_su_non_habit_surf_sup4'] = $val['tax_su_non_habit_surf_sup4'];
1334 }
1335 if (!is_numeric($val['tax_su_non_habit_surf_sup5'])) {
1336 $this->valF['tax_su_non_habit_surf_sup5'] = NULL;
1337 } else {
1338 $this->valF['tax_su_non_habit_surf_sup5'] = $val['tax_su_non_habit_surf_sup5'];
1339 }
1340 if (!is_numeric($val['tax_su_non_habit_surf_sup6'])) {
1341 $this->valF['tax_su_non_habit_surf_sup6'] = NULL;
1342 } else {
1343 $this->valF['tax_su_non_habit_surf_sup6'] = $val['tax_su_non_habit_surf_sup6'];
1344 }
1345 if (!is_numeric($val['tax_su_non_habit_surf_sup7'])) {
1346 $this->valF['tax_su_non_habit_surf_sup7'] = NULL;
1347 } else {
1348 $this->valF['tax_su_non_habit_surf_sup7'] = $val['tax_su_non_habit_surf_sup7'];
1349 }
1350 if ($val['vsd_surf_planch_smd'] == 1 || $val['vsd_surf_planch_smd'] == "t" || $val['vsd_surf_planch_smd'] == "Oui") {
1351 $this->valF['vsd_surf_planch_smd'] = true;
1352 } else {
1353 $this->valF['vsd_surf_planch_smd'] = false;
1354 }
1355 if (!is_numeric($val['vsd_unit_fonc_sup'])) {
1356 $this->valF['vsd_unit_fonc_sup'] = NULL;
1357 } else {
1358 $this->valF['vsd_unit_fonc_sup'] = $val['vsd_unit_fonc_sup'];
1359 }
1360 if (!is_numeric($val['vsd_unit_fonc_constr_sup'])) {
1361 $this->valF['vsd_unit_fonc_constr_sup'] = NULL;
1362 } else {
1363 $this->valF['vsd_unit_fonc_constr_sup'] = $val['vsd_unit_fonc_constr_sup'];
1364 }
1365 if (!is_numeric($val['vsd_val_terr'])) {
1366 $this->valF['vsd_val_terr'] = NULL;
1367 } else {
1368 $this->valF['vsd_val_terr'] = $val['vsd_val_terr'];
1369 }
1370 if (!is_numeric($val['vsd_const_sxist_non_dem_surf'])) {
1371 $this->valF['vsd_const_sxist_non_dem_surf'] = NULL;
1372 } else {
1373 $this->valF['vsd_const_sxist_non_dem_surf'] = $val['vsd_const_sxist_non_dem_surf'];
1374 }
1375 if ($val['vsd_rescr_fisc'] != "") {
1376 $this->valF['vsd_rescr_fisc'] = $this->dateDB($val['vsd_rescr_fisc']);
1377 } else {
1378 $this->valF['vsd_rescr_fisc'] = NULL;
1379 }
1380 if (!is_numeric($val['pld_val_terr'])) {
1381 $this->valF['pld_val_terr'] = NULL;
1382 } else {
1383 $this->valF['pld_val_terr'] = $val['pld_val_terr'];
1384 }
1385 if ($val['pld_const_exist_dem'] == 1 || $val['pld_const_exist_dem'] == "t" || $val['pld_const_exist_dem'] == "Oui") {
1386 $this->valF['pld_const_exist_dem'] = true;
1387 } else {
1388 $this->valF['pld_const_exist_dem'] = false;
1389 }
1390 if (!is_numeric($val['pld_const_exist_dem_surf'])) {
1391 $this->valF['pld_const_exist_dem_surf'] = NULL;
1392 } else {
1393 $this->valF['pld_const_exist_dem_surf'] = $val['pld_const_exist_dem_surf'];
1394 }
1395 if ($val['code_cnil'] == 1 || $val['code_cnil'] == "t" || $val['code_cnil'] == "Oui") {
1396 $this->valF['code_cnil'] = true;
1397 } else {
1398 $this->valF['code_cnil'] = false;
1399 }
1400 if ($val['terr_juri_titul'] == "") {
1401 $this->valF['terr_juri_titul'] = NULL;
1402 } else {
1403 $this->valF['terr_juri_titul'] = $val['terr_juri_titul'];
1404 }
1405 if ($val['terr_juri_lot'] == "") {
1406 $this->valF['terr_juri_lot'] = NULL;
1407 } else {
1408 $this->valF['terr_juri_lot'] = $val['terr_juri_lot'];
1409 }
1410 if ($val['terr_juri_zac'] == "") {
1411 $this->valF['terr_juri_zac'] = NULL;
1412 } else {
1413 $this->valF['terr_juri_zac'] = $val['terr_juri_zac'];
1414 }
1415 if ($val['terr_juri_afu'] == "") {
1416 $this->valF['terr_juri_afu'] = NULL;
1417 } else {
1418 $this->valF['terr_juri_afu'] = $val['terr_juri_afu'];
1419 }
1420 if ($val['terr_juri_pup'] == "") {
1421 $this->valF['terr_juri_pup'] = NULL;
1422 } else {
1423 $this->valF['terr_juri_pup'] = $val['terr_juri_pup'];
1424 }
1425 if ($val['terr_juri_oin'] == "") {
1426 $this->valF['terr_juri_oin'] = NULL;
1427 } else {
1428 $this->valF['terr_juri_oin'] = $val['terr_juri_oin'];
1429 }
1430 $this->valF['terr_juri_desc'] = $val['terr_juri_desc'];
1431 if (!is_numeric($val['terr_div_surf_etab'])) {
1432 $this->valF['terr_div_surf_etab'] = NULL;
1433 } else {
1434 $this->valF['terr_div_surf_etab'] = $val['terr_div_surf_etab'];
1435 }
1436 if (!is_numeric($val['terr_div_surf_av_div'])) {
1437 $this->valF['terr_div_surf_av_div'] = NULL;
1438 } else {
1439 $this->valF['terr_div_surf_av_div'] = $val['terr_div_surf_av_div'];
1440 }
1441 if ($val['doc_date'] != "") {
1442 $this->valF['doc_date'] = $this->dateDB($val['doc_date']);
1443 } else {
1444 $this->valF['doc_date'] = NULL;
1445 }
1446 if ($val['doc_tot_trav'] == 1 || $val['doc_tot_trav'] == "t" || $val['doc_tot_trav'] == "Oui") {
1447 $this->valF['doc_tot_trav'] = true;
1448 } else {
1449 $this->valF['doc_tot_trav'] = false;
1450 }
1451 if ($val['doc_tranche_trav'] == 1 || $val['doc_tranche_trav'] == "t" || $val['doc_tranche_trav'] == "Oui") {
1452 $this->valF['doc_tranche_trav'] = true;
1453 } else {
1454 $this->valF['doc_tranche_trav'] = false;
1455 }
1456 $this->valF['doc_tranche_trav_desc'] = $val['doc_tranche_trav_desc'];
1457 if (!is_numeric($val['doc_surf'])) {
1458 $this->valF['doc_surf'] = NULL;
1459 } else {
1460 $this->valF['doc_surf'] = $val['doc_surf'];
1461 }
1462 if (!is_numeric($val['doc_nb_log'])) {
1463 $this->valF['doc_nb_log'] = NULL;
1464 } else {
1465 $this->valF['doc_nb_log'] = $val['doc_nb_log'];
1466 }
1467 if (!is_numeric($val['doc_nb_log_indiv'])) {
1468 $this->valF['doc_nb_log_indiv'] = NULL;
1469 } else {
1470 $this->valF['doc_nb_log_indiv'] = $val['doc_nb_log_indiv'];
1471 }
1472 if (!is_numeric($val['doc_nb_log_coll'])) {
1473 $this->valF['doc_nb_log_coll'] = NULL;
1474 } else {
1475 $this->valF['doc_nb_log_coll'] = $val['doc_nb_log_coll'];
1476 }
1477 if (!is_numeric($val['doc_nb_log_lls'])) {
1478 $this->valF['doc_nb_log_lls'] = NULL;
1479 } else {
1480 $this->valF['doc_nb_log_lls'] = $val['doc_nb_log_lls'];
1481 }
1482 if (!is_numeric($val['doc_nb_log_aa'])) {
1483 $this->valF['doc_nb_log_aa'] = NULL;
1484 } else {
1485 $this->valF['doc_nb_log_aa'] = $val['doc_nb_log_aa'];
1486 }
1487 if (!is_numeric($val['doc_nb_log_ptz'])) {
1488 $this->valF['doc_nb_log_ptz'] = NULL;
1489 } else {
1490 $this->valF['doc_nb_log_ptz'] = $val['doc_nb_log_ptz'];
1491 }
1492 if (!is_numeric($val['doc_nb_log_autre'])) {
1493 $this->valF['doc_nb_log_autre'] = NULL;
1494 } else {
1495 $this->valF['doc_nb_log_autre'] = $val['doc_nb_log_autre'];
1496 }
1497 if ($val['daact_date'] != "") {
1498 $this->valF['daact_date'] = $this->dateDB($val['daact_date']);
1499 } else {
1500 $this->valF['daact_date'] = NULL;
1501 }
1502 if ($val['daact_date_chgmt_dest'] != "") {
1503 $this->valF['daact_date_chgmt_dest'] = $this->dateDB($val['daact_date_chgmt_dest']);
1504 } else {
1505 $this->valF['daact_date_chgmt_dest'] = NULL;
1506 }
1507 if ($val['daact_tot_trav'] == 1 || $val['daact_tot_trav'] == "t" || $val['daact_tot_trav'] == "Oui") {
1508 $this->valF['daact_tot_trav'] = true;
1509 } else {
1510 $this->valF['daact_tot_trav'] = false;
1511 }
1512 if ($val['daact_tranche_trav'] == 1 || $val['daact_tranche_trav'] == "t" || $val['daact_tranche_trav'] == "Oui") {
1513 $this->valF['daact_tranche_trav'] = true;
1514 } else {
1515 $this->valF['daact_tranche_trav'] = false;
1516 }
1517 $this->valF['daact_tranche_trav_desc'] = $val['daact_tranche_trav_desc'];
1518 if (!is_numeric($val['daact_surf'])) {
1519 $this->valF['daact_surf'] = NULL;
1520 } else {
1521 $this->valF['daact_surf'] = $val['daact_surf'];
1522 }
1523 if (!is_numeric($val['daact_nb_log'])) {
1524 $this->valF['daact_nb_log'] = NULL;
1525 } else {
1526 $this->valF['daact_nb_log'] = $val['daact_nb_log'];
1527 }
1528 if (!is_numeric($val['daact_nb_log_indiv'])) {
1529 $this->valF['daact_nb_log_indiv'] = NULL;
1530 } else {
1531 $this->valF['daact_nb_log_indiv'] = $val['daact_nb_log_indiv'];
1532 }
1533 if (!is_numeric($val['daact_nb_log_coll'])) {
1534 $this->valF['daact_nb_log_coll'] = NULL;
1535 } else {
1536 $this->valF['daact_nb_log_coll'] = $val['daact_nb_log_coll'];
1537 }
1538 if (!is_numeric($val['daact_nb_log_lls'])) {
1539 $this->valF['daact_nb_log_lls'] = NULL;
1540 } else {
1541 $this->valF['daact_nb_log_lls'] = $val['daact_nb_log_lls'];
1542 }
1543 if (!is_numeric($val['daact_nb_log_aa'])) {
1544 $this->valF['daact_nb_log_aa'] = NULL;
1545 } else {
1546 $this->valF['daact_nb_log_aa'] = $val['daact_nb_log_aa'];
1547 }
1548 if (!is_numeric($val['daact_nb_log_ptz'])) {
1549 $this->valF['daact_nb_log_ptz'] = NULL;
1550 } else {
1551 $this->valF['daact_nb_log_ptz'] = $val['daact_nb_log_ptz'];
1552 }
1553 if (!is_numeric($val['daact_nb_log_autre'])) {
1554 $this->valF['daact_nb_log_autre'] = NULL;
1555 } else {
1556 $this->valF['daact_nb_log_autre'] = $val['daact_nb_log_autre'];
1557 }
1558 if ($val['dossier_autorisation'] == "") {
1559 $this->valF['dossier_autorisation'] = NULL;
1560 } else {
1561 $this->valF['dossier_autorisation'] = $val['dossier_autorisation'];
1562 }
1563 if ($val['am_div_mun'] == 1 || $val['am_div_mun'] == "t" || $val['am_div_mun'] == "Oui") {
1564 $this->valF['am_div_mun'] = true;
1565 } else {
1566 $this->valF['am_div_mun'] = false;
1567 }
1568 if ($val['co_perf_energ'] == "") {
1569 $this->valF['co_perf_energ'] = NULL;
1570 } else {
1571 $this->valF['co_perf_energ'] = $val['co_perf_energ'];
1572 }
1573 if (!is_numeric($val['architecte'])) {
1574 $this->valF['architecte'] = NULL;
1575 } else {
1576 $this->valF['architecte'] = $val['architecte'];
1577 }
1578 }
1579
1580 //=================================================
1581 //cle primaire automatique [automatic primary key]
1582 //==================================================
1583
1584 function setId(&$db) {
1585 //numero automatique
1586 $this->valF[$this->clePrimaire] = $db->nextId(DB_PREFIXE.$this->table);
1587 }
1588
1589 function setValFAjout($val) {
1590 //numero automatique -> pas de controle ajout cle primaire
1591 }
1592
1593 function verifierAjout() {
1594 //numero automatique -> pas de verfication de cle primaire
1595 }
1596
1597 //==========================
1598 // Formulaire [form]
1599 //==========================
1600
1601 function setType(&$form,$maj) {
1602 //type
1603 if ($maj==0){ //ajout
1604 $form->setType('donnees_techniques','hidden');// cle automatique
1605
1606 if($this->retourformulaire=='dossier'
1607 and $form->val['dossier_instruction'] == $this->getParameter('idxformulaire')) {
1608 $form->setType('dossier_instruction','selecthiddenstatic');
1609 } else {
1610 $form->setType('dossier_instruction','select');
1611 }
1612
1613 if($this->retourformulaire=='lot'
1614 and $form->val['lot'] == $this->getParameter('idxformulaire')) {
1615 $form->setType('lot','selecthiddenstatic');
1616 } else {
1617 $form->setType('lot','select');
1618 }
1619 $form->setType('am_lotiss','checkbox');
1620 $form->setType('am_autre_div','checkbox');
1621 $form->setType('am_camping','checkbox');
1622 $form->setType('am_caravane','checkbox');
1623 $form->setType('am_carav_duree','text');
1624 $form->setType('am_statio','checkbox');
1625 $form->setType('am_statio_cont','text');
1626 $form->setType('am_affou_exhau','checkbox');
1627 $form->setType('am_affou_exhau_sup','text');
1628 $form->setType('am_affou_prof','text');
1629 $form->setType('am_exhau_haut','text');
1630 $form->setType('am_coupe_abat','checkbox');
1631 $form->setType('am_prot_plu','checkbox');
1632 $form->setType('am_prot_muni','checkbox');
1633 $form->setType('am_mobil_voyage','checkbox');
1634 $form->setType('am_aire_voyage','checkbox');
1635 $form->setType('am_rememb_afu','checkbox');
1636 $form->setType('am_parc_resid_loi','checkbox');
1637 $form->setType('am_sport_moto','checkbox');
1638 $form->setType('am_sport_attrac','checkbox');
1639 $form->setType('am_sport_golf','checkbox');
1640 $form->setType('am_mob_art','checkbox');
1641 $form->setType('am_modif_voie_esp','checkbox');
1642 $form->setType('am_plant_voie_esp','checkbox');
1643 $form->setType('am_chem_ouv_esp','checkbox');
1644 $form->setType('am_agri_peche','checkbox');
1645 $form->setType('am_crea_voie','checkbox');
1646 $form->setType('am_modif_voie_exist','checkbox');
1647 $form->setType('am_crea_esp_sauv','checkbox');
1648 $form->setType('am_crea_esp_class','checkbox');
1649 $form->setType('am_projet_desc','textarea');
1650 $form->setType('am_terr_surf','text');
1651 $form->setType('am_tranche_desc','textarea');
1652 $form->setType('am_lot_max_nb','text');
1653 $form->setType('am_lot_max_shon','text');
1654 $form->setType('am_lot_cstr_cos','checkbox');
1655 $form->setType('am_lot_cstr_plan','checkbox');
1656 $form->setType('am_lot_cstr_vente','checkbox');
1657 $form->setType('am_lot_fin_diff','checkbox');
1658 $form->setType('am_lot_consign','checkbox');
1659 $form->setType('am_lot_gar_achev','checkbox');
1660 $form->setType('am_lot_vente_ant','checkbox');
1661 $form->setType('am_empl_nb','text');
1662 $form->setType('am_tente_nb','text');
1663 $form->setType('am_carav_nb','text');
1664 $form->setType('am_mobil_nb','text');
1665 $form->setType('am_pers_nb','text');
1666 $form->setType('am_empl_hll_nb','text');
1667 $form->setType('am_hll_shon','text');
1668 $form->setType('am_periode_exploit','textarea');
1669 $form->setType('am_exist_agrand','checkbox');
1670 if($this->retourformulaire=='')
1671 $form->setType('am_exist_date','date');
1672 else
1673 $form->setType('am_exist_date','date2');
1674 $form->setType('am_exist_num','text');
1675 $form->setType('am_exist_nb_avant','text');
1676 $form->setType('am_exist_nb_apres','text');
1677 $form->setType('am_coupe_bois','checkbox');
1678 $form->setType('am_coupe_parc','checkbox');
1679 $form->setType('am_coupe_align','checkbox');
1680 $form->setType('am_coupe_ess','text');
1681 $form->setType('am_coupe_age','text');
1682 $form->setType('am_coupe_dens','text');
1683 $form->setType('am_coupe_qual','text');
1684 $form->setType('am_coupe_trait','text');
1685 $form->setType('am_coupe_autr','text');
1686 $form->setType('co_archi_recours','checkbox');
1687 $form->setType('co_cstr_nouv','checkbox');
1688 $form->setType('co_cstr_exist','checkbox');
1689 $form->setType('co_cloture','checkbox');
1690 $form->setType('co_elec_tension','text');
1691 $form->setType('co_div_terr','checkbox');
1692 $form->setType('co_projet_desc','textarea');
1693 $form->setType('co_anx_pisc','checkbox');
1694 $form->setType('co_anx_gara','checkbox');
1695 $form->setType('co_anx_veran','checkbox');
1696 $form->setType('co_anx_abri','checkbox');
1697 $form->setType('co_anx_autr','checkbox');
1698 $form->setType('co_anx_autr_desc','textarea');
1699 $form->setType('co_tot_log_nb','text');
1700 $form->setType('co_tot_ind_nb','text');
1701 $form->setType('co_tot_coll_nb','text');
1702 $form->setType('co_mais_piece_nb','text');
1703 $form->setType('co_mais_niv_nb','text');
1704 $form->setType('co_fin_lls_nb','text');
1705 $form->setType('co_fin_aa_nb','text');
1706 $form->setType('co_fin_ptz_nb','text');
1707 $form->setType('co_fin_autr_nb','text');
1708 $form->setType('co_fin_autr_desc','textarea');
1709 $form->setType('co_mais_contrat_ind','checkbox');
1710 $form->setType('co_uti_pers','checkbox');
1711 $form->setType('co_uti_vente','checkbox');
1712 $form->setType('co_uti_loc','checkbox');
1713 $form->setType('co_uti_princ','checkbox');
1714 $form->setType('co_uti_secon','checkbox');
1715 $form->setType('co_resid_agees','checkbox');
1716 $form->setType('co_resid_etud','checkbox');
1717 $form->setType('co_resid_tourism','checkbox');
1718 $form->setType('co_resid_hot_soc','checkbox');
1719 $form->setType('co_resid_soc','checkbox');
1720 $form->setType('co_resid_hand','checkbox');
1721 $form->setType('co_resid_autr','checkbox');
1722 $form->setType('co_resid_autr_desc','textarea');
1723 $form->setType('co_foyer_chamb_nb','text');
1724 $form->setType('co_log_1p_nb','text');
1725 $form->setType('co_log_2p_nb','text');
1726 $form->setType('co_log_3p_nb','text');
1727 $form->setType('co_log_4p_nb','text');
1728 $form->setType('co_log_5p_nb','text');
1729 $form->setType('co_log_6p_nb','text');
1730 $form->setType('co_bat_niv_nb','text');
1731 $form->setType('co_trx_exten','checkbox');
1732 $form->setType('co_trx_surelev','checkbox');
1733 $form->setType('co_trx_nivsup','checkbox');
1734 $form->setType('co_demont_periode','textarea');
1735 $form->setType('co_sp_transport','checkbox');
1736 $form->setType('co_sp_enseign','checkbox');
1737 $form->setType('co_sp_act_soc','checkbox');
1738 $form->setType('co_sp_ouvr_spe','checkbox');
1739 $form->setType('co_sp_sante','checkbox');
1740 $form->setType('co_sp_culture','checkbox');
1741 $form->setType('co_statio_avt_nb','text');
1742 $form->setType('co_statio_apr_nb','text');
1743 $form->setType('co_statio_adr','textarea');
1744 $form->setType('co_statio_place_nb','text');
1745 $form->setType('co_statio_tot_surf','text');
1746 $form->setType('co_statio_tot_shob','text');
1747 $form->setType('co_statio_comm_cin_surf','text');
1748 $form->setType('su_avt_shon1','text');
1749 $form->setType('su_avt_shon2','text');
1750 $form->setType('su_avt_shon3','text');
1751 $form->setType('su_avt_shon4','text');
1752 $form->setType('su_avt_shon5','text');
1753 $form->setType('su_avt_shon6','text');
1754 $form->setType('su_avt_shon7','text');
1755 $form->setType('su_avt_shon8','text');
1756 $form->setType('su_avt_shon9','text');
1757 $form->setType('su_cstr_shon1','text');
1758 $form->setType('su_cstr_shon2','text');
1759 $form->setType('su_cstr_shon3','text');
1760 $form->setType('su_cstr_shon4','text');
1761 $form->setType('su_cstr_shon5','text');
1762 $form->setType('su_cstr_shon6','text');
1763 $form->setType('su_cstr_shon7','text');
1764 $form->setType('su_cstr_shon8','text');
1765 $form->setType('su_cstr_shon9','text');
1766 $form->setType('su_trsf_shon1','text');
1767 $form->setType('su_trsf_shon2','text');
1768 $form->setType('su_trsf_shon3','text');
1769 $form->setType('su_trsf_shon4','text');
1770 $form->setType('su_trsf_shon5','text');
1771 $form->setType('su_trsf_shon6','text');
1772 $form->setType('su_trsf_shon7','text');
1773 $form->setType('su_trsf_shon8','text');
1774 $form->setType('su_trsf_shon9','text');
1775 $form->setType('su_chge_shon1','text');
1776 $form->setType('su_chge_shon2','text');
1777 $form->setType('su_chge_shon3','text');
1778 $form->setType('su_chge_shon4','text');
1779 $form->setType('su_chge_shon5','text');
1780 $form->setType('su_chge_shon6','text');
1781 $form->setType('su_chge_shon7','text');
1782 $form->setType('su_chge_shon8','text');
1783 $form->setType('su_chge_shon9','text');
1784 $form->setType('su_demo_shon1','text');
1785 $form->setType('su_demo_shon2','text');
1786 $form->setType('su_demo_shon3','text');
1787 $form->setType('su_demo_shon4','text');
1788 $form->setType('su_demo_shon5','text');
1789 $form->setType('su_demo_shon6','text');
1790 $form->setType('su_demo_shon7','text');
1791 $form->setType('su_demo_shon8','text');
1792 $form->setType('su_demo_shon9','text');
1793 $form->setType('su_sup_shon1','text');
1794 $form->setType('su_sup_shon2','text');
1795 $form->setType('su_sup_shon3','text');
1796 $form->setType('su_sup_shon4','text');
1797 $form->setType('su_sup_shon5','text');
1798 $form->setType('su_sup_shon6','text');
1799 $form->setType('su_sup_shon7','text');
1800 $form->setType('su_sup_shon8','text');
1801 $form->setType('su_sup_shon9','text');
1802 $form->setType('su_tot_shon1','text');
1803 $form->setType('su_tot_shon2','text');
1804 $form->setType('su_tot_shon3','text');
1805 $form->setType('su_tot_shon4','text');
1806 $form->setType('su_tot_shon5','text');
1807 $form->setType('su_tot_shon6','text');
1808 $form->setType('su_tot_shon7','text');
1809 $form->setType('su_tot_shon8','text');
1810 $form->setType('su_tot_shon9','text');
1811 $form->setType('su_avt_shon_tot','text');
1812 $form->setType('su_cstr_shon_tot','text');
1813 $form->setType('su_trsf_shon_tot','text');
1814 $form->setType('su_chge_shon_tot','text');
1815 $form->setType('su_demo_shon_tot','text');
1816 $form->setType('su_sup_shon_tot','text');
1817 $form->setType('su_tot_shon_tot','text');
1818 $form->setType('dm_constr_dates','textarea');
1819 $form->setType('dm_total','checkbox');
1820 $form->setType('dm_partiel','checkbox');
1821 $form->setType('dm_projet_desc','textarea');
1822 $form->setType('dm_tot_log_nb','text');
1823 $form->setType('tax_surf_tot','text');
1824 $form->setType('tax_surf','text');
1825 $form->setType('tax_surf_suppr_mod','text');
1826 $form->setType('tax_su_princ_log_nb1','text');
1827 $form->setType('tax_su_princ_log_nb2','text');
1828 $form->setType('tax_su_princ_log_nb3','text');
1829 $form->setType('tax_su_princ_log_nb4','text');
1830 $form->setType('tax_su_princ_log_nb_tot1','text');
1831 $form->setType('tax_su_princ_log_nb_tot2','text');
1832 $form->setType('tax_su_princ_log_nb_tot3','text');
1833 $form->setType('tax_su_princ_log_nb_tot4','text');
1834 $form->setType('tax_su_princ_surf1','text');
1835 $form->setType('tax_su_princ_surf2','text');
1836 $form->setType('tax_su_princ_surf3','text');
1837 $form->setType('tax_su_princ_surf4','text');
1838 $form->setType('tax_su_princ_surf_sup1','text');
1839 $form->setType('tax_su_princ_surf_sup2','text');
1840 $form->setType('tax_su_princ_surf_sup3','text');
1841 $form->setType('tax_su_princ_surf_sup4','text');
1842 $form->setType('tax_su_heber_log_nb1','text');
1843 $form->setType('tax_su_heber_log_nb2','text');
1844 $form->setType('tax_su_heber_log_nb3','text');
1845 $form->setType('tax_su_heber_log_nb_tot1','text');
1846 $form->setType('tax_su_heber_log_nb_tot2','text');
1847 $form->setType('tax_su_heber_log_nb_tot3','text');
1848 $form->setType('tax_su_heber_surf1','text');
1849 $form->setType('tax_su_heber_surf2','text');
1850 $form->setType('tax_su_heber_surf3','text');
1851 $form->setType('tax_su_heber_surf_sup1','text');
1852 $form->setType('tax_su_heber_surf_sup2','text');
1853 $form->setType('tax_su_heber_surf_sup3','text');
1854 $form->setType('tax_su_secon_log_nb','text');
1855 $form->setType('tax_su_tot_log_nb','text');
1856 $form->setType('tax_su_secon_log_nb_tot','text');
1857 $form->setType('tax_su_tot_log_nb_tot','text');
1858 $form->setType('tax_su_secon_surf','text');
1859 $form->setType('tax_su_tot_surf','text');
1860 $form->setType('tax_su_secon_surf_sup','text');
1861 $form->setType('tax_su_tot_surf_sup','text');
1862 $form->setType('tax_ext_pret','checkbox');
1863 $form->setType('tax_ext_desc','textarea');
1864 $form->setType('tax_surf_tax_exist_cons','text');
1865 $form->setType('tax_log_exist_nb','text');
1866 $form->setType('tax_am_statio_ext','text');
1867 $form->setType('tax_sup_bass_pisc','text');
1868 $form->setType('tax_empl_ten_carav_mobil_nb','text');
1869 $form->setType('tax_empl_hll_nb','text');
1870 $form->setType('tax_eol_haut_nb','text');
1871 $form->setType('tax_pann_volt_sup','text');
1872 $form->setType('tax_am_statio_ext_sup','text');
1873 $form->setType('tax_sup_bass_pisc_sup','text');
1874 $form->setType('tax_empl_ten_carav_mobil_nb_sup','text');
1875 $form->setType('tax_empl_hll_nb_sup','text');
1876 $form->setType('tax_eol_haut_nb_sup','text');
1877 $form->setType('tax_pann_volt_sup_sup','text');
1878 $form->setType('tax_trx_presc_ppr','checkbox');
1879 $form->setType('tax_monu_hist','checkbox');
1880 $form->setType('tax_comm_nb','text');
1881 $form->setType('tax_su_non_habit_surf1','text');
1882 $form->setType('tax_su_non_habit_surf2','text');
1883 $form->setType('tax_su_non_habit_surf3','text');
1884 $form->setType('tax_su_non_habit_surf4','text');
1885 $form->setType('tax_su_non_habit_surf5','text');
1886 $form->setType('tax_su_non_habit_surf6','text');
1887 $form->setType('tax_su_non_habit_surf7','text');
1888 $form->setType('tax_su_non_habit_surf_sup1','text');
1889 $form->setType('tax_su_non_habit_surf_sup2','text');
1890 $form->setType('tax_su_non_habit_surf_sup3','text');
1891 $form->setType('tax_su_non_habit_surf_sup4','text');
1892 $form->setType('tax_su_non_habit_surf_sup5','text');
1893 $form->setType('tax_su_non_habit_surf_sup6','text');
1894 $form->setType('tax_su_non_habit_surf_sup7','text');
1895 $form->setType('vsd_surf_planch_smd','checkbox');
1896 $form->setType('vsd_unit_fonc_sup','text');
1897 $form->setType('vsd_unit_fonc_constr_sup','text');
1898 $form->setType('vsd_val_terr','text');
1899 $form->setType('vsd_const_sxist_non_dem_surf','text');
1900 if($this->retourformulaire=='')
1901 $form->setType('vsd_rescr_fisc','date');
1902 else
1903 $form->setType('vsd_rescr_fisc','date2');
1904 $form->setType('pld_val_terr','text');
1905 $form->setType('pld_const_exist_dem','checkbox');
1906 $form->setType('pld_const_exist_dem_surf','text');
1907 $form->setType('code_cnil','checkbox');
1908 $form->setType('terr_juri_titul','text');
1909 $form->setType('terr_juri_lot','text');
1910 $form->setType('terr_juri_zac','text');
1911 $form->setType('terr_juri_afu','text');
1912 $form->setType('terr_juri_pup','text');
1913 $form->setType('terr_juri_oin','text');
1914 $form->setType('terr_juri_desc','textarea');
1915 $form->setType('terr_div_surf_etab','text');
1916 $form->setType('terr_div_surf_av_div','text');
1917 if($this->retourformulaire=='')
1918 $form->setType('doc_date','date');
1919 else
1920 $form->setType('doc_date','date2');
1921 $form->setType('doc_tot_trav','checkbox');
1922 $form->setType('doc_tranche_trav','checkbox');
1923 $form->setType('doc_tranche_trav_desc','textarea');
1924 $form->setType('doc_surf','text');
1925 $form->setType('doc_nb_log','text');
1926 $form->setType('doc_nb_log_indiv','text');
1927 $form->setType('doc_nb_log_coll','text');
1928 $form->setType('doc_nb_log_lls','text');
1929 $form->setType('doc_nb_log_aa','text');
1930 $form->setType('doc_nb_log_ptz','text');
1931 $form->setType('doc_nb_log_autre','text');
1932 if($this->retourformulaire=='')
1933 $form->setType('daact_date','date');
1934 else
1935 $form->setType('daact_date','date2');
1936 if($this->retourformulaire=='')
1937 $form->setType('daact_date_chgmt_dest','date');
1938 else
1939 $form->setType('daact_date_chgmt_dest','date2');
1940 $form->setType('daact_tot_trav','checkbox');
1941 $form->setType('daact_tranche_trav','checkbox');
1942 $form->setType('daact_tranche_trav_desc','textarea');
1943 $form->setType('daact_surf','text');
1944 $form->setType('daact_nb_log','text');
1945 $form->setType('daact_nb_log_indiv','text');
1946 $form->setType('daact_nb_log_coll','text');
1947 $form->setType('daact_nb_log_lls','text');
1948 $form->setType('daact_nb_log_aa','text');
1949 $form->setType('daact_nb_log_ptz','text');
1950 $form->setType('daact_nb_log_autre','text');
1951
1952 if($this->retourformulaire=='dossier_autorisation'
1953 and $form->val['dossier_autorisation'] == $this->getParameter('idxformulaire')) {
1954 $form->setType('dossier_autorisation','selecthiddenstatic');
1955 } else {
1956 $form->setType('dossier_autorisation','select');
1957 }
1958 $form->setType('am_div_mun','checkbox');
1959 $form->setType('co_perf_energ','text');
1960
1961 if($this->retourformulaire=='architecte'
1962 and $form->val['architecte'] == $this->getParameter('idxformulaire')) {
1963 $form->setType('architecte','selecthiddenstatic');
1964 } else {
1965 $form->setType('architecte','select');
1966 }
1967 }// fin ajout
1968 if ($maj==1){ //modifier
1969 $form->setType('donnees_techniques','hiddenstatic');
1970
1971 if($this->retourformulaire=='dossier'
1972 and $form->val['dossier_instruction'] == $this->getParameter('idxformulaire')) {
1973 $form->setType('dossier_instruction','selecthiddenstatic');
1974 } else {
1975 $form->setType('dossier_instruction','select');
1976 }
1977
1978 if($this->retourformulaire=='lot'
1979 and $form->val['lot'] == $this->getParameter('idxformulaire')) {
1980 $form->setType('lot','selecthiddenstatic');
1981 } else {
1982 $form->setType('lot','select');
1983 }
1984 $form->setType('am_lotiss','checkbox');
1985 $form->setType('am_autre_div','checkbox');
1986 $form->setType('am_camping','checkbox');
1987 $form->setType('am_caravane','checkbox');
1988 $form->setType('am_carav_duree','text');
1989 $form->setType('am_statio','checkbox');
1990 $form->setType('am_statio_cont','text');
1991 $form->setType('am_affou_exhau','checkbox');
1992 $form->setType('am_affou_exhau_sup','text');
1993 $form->setType('am_affou_prof','text');
1994 $form->setType('am_exhau_haut','text');
1995 $form->setType('am_coupe_abat','checkbox');
1996 $form->setType('am_prot_plu','checkbox');
1997 $form->setType('am_prot_muni','checkbox');
1998 $form->setType('am_mobil_voyage','checkbox');
1999 $form->setType('am_aire_voyage','checkbox');
2000 $form->setType('am_rememb_afu','checkbox');
2001 $form->setType('am_parc_resid_loi','checkbox');
2002 $form->setType('am_sport_moto','checkbox');
2003 $form->setType('am_sport_attrac','checkbox');
2004 $form->setType('am_sport_golf','checkbox');
2005 $form->setType('am_mob_art','checkbox');
2006 $form->setType('am_modif_voie_esp','checkbox');
2007 $form->setType('am_plant_voie_esp','checkbox');
2008 $form->setType('am_chem_ouv_esp','checkbox');
2009 $form->setType('am_agri_peche','checkbox');
2010 $form->setType('am_crea_voie','checkbox');
2011 $form->setType('am_modif_voie_exist','checkbox');
2012 $form->setType('am_crea_esp_sauv','checkbox');
2013 $form->setType('am_crea_esp_class','checkbox');
2014 $form->setType('am_projet_desc','textarea');
2015 $form->setType('am_terr_surf','text');
2016 $form->setType('am_tranche_desc','textarea');
2017 $form->setType('am_lot_max_nb','text');
2018 $form->setType('am_lot_max_shon','text');
2019 $form->setType('am_lot_cstr_cos','checkbox');
2020 $form->setType('am_lot_cstr_plan','checkbox');
2021 $form->setType('am_lot_cstr_vente','checkbox');
2022 $form->setType('am_lot_fin_diff','checkbox');
2023 $form->setType('am_lot_consign','checkbox');
2024 $form->setType('am_lot_gar_achev','checkbox');
2025 $form->setType('am_lot_vente_ant','checkbox');
2026 $form->setType('am_empl_nb','text');
2027 $form->setType('am_tente_nb','text');
2028 $form->setType('am_carav_nb','text');
2029 $form->setType('am_mobil_nb','text');
2030 $form->setType('am_pers_nb','text');
2031 $form->setType('am_empl_hll_nb','text');
2032 $form->setType('am_hll_shon','text');
2033 $form->setType('am_periode_exploit','textarea');
2034 $form->setType('am_exist_agrand','checkbox');
2035 if($this->retourformulaire=='')
2036 $form->setType('am_exist_date','date');
2037 else
2038 $form->setType('am_exist_date','date2');
2039 $form->setType('am_exist_num','text');
2040 $form->setType('am_exist_nb_avant','text');
2041 $form->setType('am_exist_nb_apres','text');
2042 $form->setType('am_coupe_bois','checkbox');
2043 $form->setType('am_coupe_parc','checkbox');
2044 $form->setType('am_coupe_align','checkbox');
2045 $form->setType('am_coupe_ess','text');
2046 $form->setType('am_coupe_age','text');
2047 $form->setType('am_coupe_dens','text');
2048 $form->setType('am_coupe_qual','text');
2049 $form->setType('am_coupe_trait','text');
2050 $form->setType('am_coupe_autr','text');
2051 $form->setType('co_archi_recours','checkbox');
2052 $form->setType('co_cstr_nouv','checkbox');
2053 $form->setType('co_cstr_exist','checkbox');
2054 $form->setType('co_cloture','checkbox');
2055 $form->setType('co_elec_tension','text');
2056 $form->setType('co_div_terr','checkbox');
2057 $form->setType('co_projet_desc','textarea');
2058 $form->setType('co_anx_pisc','checkbox');
2059 $form->setType('co_anx_gara','checkbox');
2060 $form->setType('co_anx_veran','checkbox');
2061 $form->setType('co_anx_abri','checkbox');
2062 $form->setType('co_anx_autr','checkbox');
2063 $form->setType('co_anx_autr_desc','textarea');
2064 $form->setType('co_tot_log_nb','text');
2065 $form->setType('co_tot_ind_nb','text');
2066 $form->setType('co_tot_coll_nb','text');
2067 $form->setType('co_mais_piece_nb','text');
2068 $form->setType('co_mais_niv_nb','text');
2069 $form->setType('co_fin_lls_nb','text');
2070 $form->setType('co_fin_aa_nb','text');
2071 $form->setType('co_fin_ptz_nb','text');
2072 $form->setType('co_fin_autr_nb','text');
2073 $form->setType('co_fin_autr_desc','textarea');
2074 $form->setType('co_mais_contrat_ind','checkbox');
2075 $form->setType('co_uti_pers','checkbox');
2076 $form->setType('co_uti_vente','checkbox');
2077 $form->setType('co_uti_loc','checkbox');
2078 $form->setType('co_uti_princ','checkbox');
2079 $form->setType('co_uti_secon','checkbox');
2080 $form->setType('co_resid_agees','checkbox');
2081 $form->setType('co_resid_etud','checkbox');
2082 $form->setType('co_resid_tourism','checkbox');
2083 $form->setType('co_resid_hot_soc','checkbox');
2084 $form->setType('co_resid_soc','checkbox');
2085 $form->setType('co_resid_hand','checkbox');
2086 $form->setType('co_resid_autr','checkbox');
2087 $form->setType('co_resid_autr_desc','textarea');
2088 $form->setType('co_foyer_chamb_nb','text');
2089 $form->setType('co_log_1p_nb','text');
2090 $form->setType('co_log_2p_nb','text');
2091 $form->setType('co_log_3p_nb','text');
2092 $form->setType('co_log_4p_nb','text');
2093 $form->setType('co_log_5p_nb','text');
2094 $form->setType('co_log_6p_nb','text');
2095 $form->setType('co_bat_niv_nb','text');
2096 $form->setType('co_trx_exten','checkbox');
2097 $form->setType('co_trx_surelev','checkbox');
2098 $form->setType('co_trx_nivsup','checkbox');
2099 $form->setType('co_demont_periode','textarea');
2100 $form->setType('co_sp_transport','checkbox');
2101 $form->setType('co_sp_enseign','checkbox');
2102 $form->setType('co_sp_act_soc','checkbox');
2103 $form->setType('co_sp_ouvr_spe','checkbox');
2104 $form->setType('co_sp_sante','checkbox');
2105 $form->setType('co_sp_culture','checkbox');
2106 $form->setType('co_statio_avt_nb','text');
2107 $form->setType('co_statio_apr_nb','text');
2108 $form->setType('co_statio_adr','textarea');
2109 $form->setType('co_statio_place_nb','text');
2110 $form->setType('co_statio_tot_surf','text');
2111 $form->setType('co_statio_tot_shob','text');
2112 $form->setType('co_statio_comm_cin_surf','text');
2113 $form->setType('su_avt_shon1','text');
2114 $form->setType('su_avt_shon2','text');
2115 $form->setType('su_avt_shon3','text');
2116 $form->setType('su_avt_shon4','text');
2117 $form->setType('su_avt_shon5','text');
2118 $form->setType('su_avt_shon6','text');
2119 $form->setType('su_avt_shon7','text');
2120 $form->setType('su_avt_shon8','text');
2121 $form->setType('su_avt_shon9','text');
2122 $form->setType('su_cstr_shon1','text');
2123 $form->setType('su_cstr_shon2','text');
2124 $form->setType('su_cstr_shon3','text');
2125 $form->setType('su_cstr_shon4','text');
2126 $form->setType('su_cstr_shon5','text');
2127 $form->setType('su_cstr_shon6','text');
2128 $form->setType('su_cstr_shon7','text');
2129 $form->setType('su_cstr_shon8','text');
2130 $form->setType('su_cstr_shon9','text');
2131 $form->setType('su_trsf_shon1','text');
2132 $form->setType('su_trsf_shon2','text');
2133 $form->setType('su_trsf_shon3','text');
2134 $form->setType('su_trsf_shon4','text');
2135 $form->setType('su_trsf_shon5','text');
2136 $form->setType('su_trsf_shon6','text');
2137 $form->setType('su_trsf_shon7','text');
2138 $form->setType('su_trsf_shon8','text');
2139 $form->setType('su_trsf_shon9','text');
2140 $form->setType('su_chge_shon1','text');
2141 $form->setType('su_chge_shon2','text');
2142 $form->setType('su_chge_shon3','text');
2143 $form->setType('su_chge_shon4','text');
2144 $form->setType('su_chge_shon5','text');
2145 $form->setType('su_chge_shon6','text');
2146 $form->setType('su_chge_shon7','text');
2147 $form->setType('su_chge_shon8','text');
2148 $form->setType('su_chge_shon9','text');
2149 $form->setType('su_demo_shon1','text');
2150 $form->setType('su_demo_shon2','text');
2151 $form->setType('su_demo_shon3','text');
2152 $form->setType('su_demo_shon4','text');
2153 $form->setType('su_demo_shon5','text');
2154 $form->setType('su_demo_shon6','text');
2155 $form->setType('su_demo_shon7','text');
2156 $form->setType('su_demo_shon8','text');
2157 $form->setType('su_demo_shon9','text');
2158 $form->setType('su_sup_shon1','text');
2159 $form->setType('su_sup_shon2','text');
2160 $form->setType('su_sup_shon3','text');
2161 $form->setType('su_sup_shon4','text');
2162 $form->setType('su_sup_shon5','text');
2163 $form->setType('su_sup_shon6','text');
2164 $form->setType('su_sup_shon7','text');
2165 $form->setType('su_sup_shon8','text');
2166 $form->setType('su_sup_shon9','text');
2167 $form->setType('su_tot_shon1','text');
2168 $form->setType('su_tot_shon2','text');
2169 $form->setType('su_tot_shon3','text');
2170 $form->setType('su_tot_shon4','text');
2171 $form->setType('su_tot_shon5','text');
2172 $form->setType('su_tot_shon6','text');
2173 $form->setType('su_tot_shon7','text');
2174 $form->setType('su_tot_shon8','text');
2175 $form->setType('su_tot_shon9','text');
2176 $form->setType('su_avt_shon_tot','text');
2177 $form->setType('su_cstr_shon_tot','text');
2178 $form->setType('su_trsf_shon_tot','text');
2179 $form->setType('su_chge_shon_tot','text');
2180 $form->setType('su_demo_shon_tot','text');
2181 $form->setType('su_sup_shon_tot','text');
2182 $form->setType('su_tot_shon_tot','text');
2183 $form->setType('dm_constr_dates','textarea');
2184 $form->setType('dm_total','checkbox');
2185 $form->setType('dm_partiel','checkbox');
2186 $form->setType('dm_projet_desc','textarea');
2187 $form->setType('dm_tot_log_nb','text');
2188 $form->setType('tax_surf_tot','text');
2189 $form->setType('tax_surf','text');
2190 $form->setType('tax_surf_suppr_mod','text');
2191 $form->setType('tax_su_princ_log_nb1','text');
2192 $form->setType('tax_su_princ_log_nb2','text');
2193 $form->setType('tax_su_princ_log_nb3','text');
2194 $form->setType('tax_su_princ_log_nb4','text');
2195 $form->setType('tax_su_princ_log_nb_tot1','text');
2196 $form->setType('tax_su_princ_log_nb_tot2','text');
2197 $form->setType('tax_su_princ_log_nb_tot3','text');
2198 $form->setType('tax_su_princ_log_nb_tot4','text');
2199 $form->setType('tax_su_princ_surf1','text');
2200 $form->setType('tax_su_princ_surf2','text');
2201 $form->setType('tax_su_princ_surf3','text');
2202 $form->setType('tax_su_princ_surf4','text');
2203 $form->setType('tax_su_princ_surf_sup1','text');
2204 $form->setType('tax_su_princ_surf_sup2','text');
2205 $form->setType('tax_su_princ_surf_sup3','text');
2206 $form->setType('tax_su_princ_surf_sup4','text');
2207 $form->setType('tax_su_heber_log_nb1','text');
2208 $form->setType('tax_su_heber_log_nb2','text');
2209 $form->setType('tax_su_heber_log_nb3','text');
2210 $form->setType('tax_su_heber_log_nb_tot1','text');
2211 $form->setType('tax_su_heber_log_nb_tot2','text');
2212 $form->setType('tax_su_heber_log_nb_tot3','text');
2213 $form->setType('tax_su_heber_surf1','text');
2214 $form->setType('tax_su_heber_surf2','text');
2215 $form->setType('tax_su_heber_surf3','text');
2216 $form->setType('tax_su_heber_surf_sup1','text');
2217 $form->setType('tax_su_heber_surf_sup2','text');
2218 $form->setType('tax_su_heber_surf_sup3','text');
2219 $form->setType('tax_su_secon_log_nb','text');
2220 $form->setType('tax_su_tot_log_nb','text');
2221 $form->setType('tax_su_secon_log_nb_tot','text');
2222 $form->setType('tax_su_tot_log_nb_tot','text');
2223 $form->setType('tax_su_secon_surf','text');
2224 $form->setType('tax_su_tot_surf','text');
2225 $form->setType('tax_su_secon_surf_sup','text');
2226 $form->setType('tax_su_tot_surf_sup','text');
2227 $form->setType('tax_ext_pret','checkbox');
2228 $form->setType('tax_ext_desc','textarea');
2229 $form->setType('tax_surf_tax_exist_cons','text');
2230 $form->setType('tax_log_exist_nb','text');
2231 $form->setType('tax_am_statio_ext','text');
2232 $form->setType('tax_sup_bass_pisc','text');
2233 $form->setType('tax_empl_ten_carav_mobil_nb','text');
2234 $form->setType('tax_empl_hll_nb','text');
2235 $form->setType('tax_eol_haut_nb','text');
2236 $form->setType('tax_pann_volt_sup','text');
2237 $form->setType('tax_am_statio_ext_sup','text');
2238 $form->setType('tax_sup_bass_pisc_sup','text');
2239 $form->setType('tax_empl_ten_carav_mobil_nb_sup','text');
2240 $form->setType('tax_empl_hll_nb_sup','text');
2241 $form->setType('tax_eol_haut_nb_sup','text');
2242 $form->setType('tax_pann_volt_sup_sup','text');
2243 $form->setType('tax_trx_presc_ppr','checkbox');
2244 $form->setType('tax_monu_hist','checkbox');
2245 $form->setType('tax_comm_nb','text');
2246 $form->setType('tax_su_non_habit_surf1','text');
2247 $form->setType('tax_su_non_habit_surf2','text');
2248 $form->setType('tax_su_non_habit_surf3','text');
2249 $form->setType('tax_su_non_habit_surf4','text');
2250 $form->setType('tax_su_non_habit_surf5','text');
2251 $form->setType('tax_su_non_habit_surf6','text');
2252 $form->setType('tax_su_non_habit_surf7','text');
2253 $form->setType('tax_su_non_habit_surf_sup1','text');
2254 $form->setType('tax_su_non_habit_surf_sup2','text');
2255 $form->setType('tax_su_non_habit_surf_sup3','text');
2256 $form->setType('tax_su_non_habit_surf_sup4','text');
2257 $form->setType('tax_su_non_habit_surf_sup5','text');
2258 $form->setType('tax_su_non_habit_surf_sup6','text');
2259 $form->setType('tax_su_non_habit_surf_sup7','text');
2260 $form->setType('vsd_surf_planch_smd','checkbox');
2261 $form->setType('vsd_unit_fonc_sup','text');
2262 $form->setType('vsd_unit_fonc_constr_sup','text');
2263 $form->setType('vsd_val_terr','text');
2264 $form->setType('vsd_const_sxist_non_dem_surf','text');
2265 if($this->retourformulaire=='')
2266 $form->setType('vsd_rescr_fisc','date');
2267 else
2268 $form->setType('vsd_rescr_fisc','date2');
2269 $form->setType('pld_val_terr','text');
2270 $form->setType('pld_const_exist_dem','checkbox');
2271 $form->setType('pld_const_exist_dem_surf','text');
2272 $form->setType('code_cnil','checkbox');
2273 $form->setType('terr_juri_titul','text');
2274 $form->setType('terr_juri_lot','text');
2275 $form->setType('terr_juri_zac','text');
2276 $form->setType('terr_juri_afu','text');
2277 $form->setType('terr_juri_pup','text');
2278 $form->setType('terr_juri_oin','text');
2279 $form->setType('terr_juri_desc','textarea');
2280 $form->setType('terr_div_surf_etab','text');
2281 $form->setType('terr_div_surf_av_div','text');
2282 if($this->retourformulaire=='')
2283 $form->setType('doc_date','date');
2284 else
2285 $form->setType('doc_date','date2');
2286 $form->setType('doc_tot_trav','checkbox');
2287 $form->setType('doc_tranche_trav','checkbox');
2288 $form->setType('doc_tranche_trav_desc','textarea');
2289 $form->setType('doc_surf','text');
2290 $form->setType('doc_nb_log','text');
2291 $form->setType('doc_nb_log_indiv','text');
2292 $form->setType('doc_nb_log_coll','text');
2293 $form->setType('doc_nb_log_lls','text');
2294 $form->setType('doc_nb_log_aa','text');
2295 $form->setType('doc_nb_log_ptz','text');
2296 $form->setType('doc_nb_log_autre','text');
2297 if($this->retourformulaire=='')
2298 $form->setType('daact_date','date');
2299 else
2300 $form->setType('daact_date','date2');
2301 if($this->retourformulaire=='')
2302 $form->setType('daact_date_chgmt_dest','date');
2303 else
2304 $form->setType('daact_date_chgmt_dest','date2');
2305 $form->setType('daact_tot_trav','checkbox');
2306 $form->setType('daact_tranche_trav','checkbox');
2307 $form->setType('daact_tranche_trav_desc','textarea');
2308 $form->setType('daact_surf','text');
2309 $form->setType('daact_nb_log','text');
2310 $form->setType('daact_nb_log_indiv','text');
2311 $form->setType('daact_nb_log_coll','text');
2312 $form->setType('daact_nb_log_lls','text');
2313 $form->setType('daact_nb_log_aa','text');
2314 $form->setType('daact_nb_log_ptz','text');
2315 $form->setType('daact_nb_log_autre','text');
2316
2317 if($this->retourformulaire=='dossier_autorisation'
2318 and $form->val['dossier_autorisation'] == $this->getParameter('idxformulaire')) {
2319 $form->setType('dossier_autorisation','selecthiddenstatic');
2320 } else {
2321 $form->setType('dossier_autorisation','select');
2322 }
2323 $form->setType('am_div_mun','checkbox');
2324 $form->setType('co_perf_energ','text');
2325
2326 if($this->retourformulaire=='architecte'
2327 and $form->val['architecte'] == $this->getParameter('idxformulaire')) {
2328 $form->setType('architecte','selecthiddenstatic');
2329 } else {
2330 $form->setType('architecte','select');
2331 }
2332 }// fin modifier
2333 if ($maj==2){ //supprimer
2334 $form->setType('donnees_techniques','hiddenstatic');
2335 $form->setType('dossier_instruction','selectstatic');
2336 $form->setType('lot','selectstatic');
2337 $form->setType('am_lotiss','hiddenstatic');
2338 $form->setType('am_autre_div','hiddenstatic');
2339 $form->setType('am_camping','hiddenstatic');
2340 $form->setType('am_caravane','hiddenstatic');
2341 $form->setType('am_carav_duree','hiddenstatic');
2342 $form->setType('am_statio','hiddenstatic');
2343 $form->setType('am_statio_cont','hiddenstatic');
2344 $form->setType('am_affou_exhau','hiddenstatic');
2345 $form->setType('am_affou_exhau_sup','hiddenstatic');
2346 $form->setType('am_affou_prof','hiddenstatic');
2347 $form->setType('am_exhau_haut','hiddenstatic');
2348 $form->setType('am_coupe_abat','hiddenstatic');
2349 $form->setType('am_prot_plu','hiddenstatic');
2350 $form->setType('am_prot_muni','hiddenstatic');
2351 $form->setType('am_mobil_voyage','hiddenstatic');
2352 $form->setType('am_aire_voyage','hiddenstatic');
2353 $form->setType('am_rememb_afu','hiddenstatic');
2354 $form->setType('am_parc_resid_loi','hiddenstatic');
2355 $form->setType('am_sport_moto','hiddenstatic');
2356 $form->setType('am_sport_attrac','hiddenstatic');
2357 $form->setType('am_sport_golf','hiddenstatic');
2358 $form->setType('am_mob_art','hiddenstatic');
2359 $form->setType('am_modif_voie_esp','hiddenstatic');
2360 $form->setType('am_plant_voie_esp','hiddenstatic');
2361 $form->setType('am_chem_ouv_esp','hiddenstatic');
2362 $form->setType('am_agri_peche','hiddenstatic');
2363 $form->setType('am_crea_voie','hiddenstatic');
2364 $form->setType('am_modif_voie_exist','hiddenstatic');
2365 $form->setType('am_crea_esp_sauv','hiddenstatic');
2366 $form->setType('am_crea_esp_class','hiddenstatic');
2367 $form->setType('am_projet_desc','hiddenstatic');
2368 $form->setType('am_terr_surf','hiddenstatic');
2369 $form->setType('am_tranche_desc','hiddenstatic');
2370 $form->setType('am_lot_max_nb','hiddenstatic');
2371 $form->setType('am_lot_max_shon','hiddenstatic');
2372 $form->setType('am_lot_cstr_cos','hiddenstatic');
2373 $form->setType('am_lot_cstr_plan','hiddenstatic');
2374 $form->setType('am_lot_cstr_vente','hiddenstatic');
2375 $form->setType('am_lot_fin_diff','hiddenstatic');
2376 $form->setType('am_lot_consign','hiddenstatic');
2377 $form->setType('am_lot_gar_achev','hiddenstatic');
2378 $form->setType('am_lot_vente_ant','hiddenstatic');
2379 $form->setType('am_empl_nb','hiddenstatic');
2380 $form->setType('am_tente_nb','hiddenstatic');
2381 $form->setType('am_carav_nb','hiddenstatic');
2382 $form->setType('am_mobil_nb','hiddenstatic');
2383 $form->setType('am_pers_nb','hiddenstatic');
2384 $form->setType('am_empl_hll_nb','hiddenstatic');
2385 $form->setType('am_hll_shon','hiddenstatic');
2386 $form->setType('am_periode_exploit','hiddenstatic');
2387 $form->setType('am_exist_agrand','hiddenstatic');
2388 $form->setType('am_exist_date','hiddenstatic');
2389 $form->setType('am_exist_num','hiddenstatic');
2390 $form->setType('am_exist_nb_avant','hiddenstatic');
2391 $form->setType('am_exist_nb_apres','hiddenstatic');
2392 $form->setType('am_coupe_bois','hiddenstatic');
2393 $form->setType('am_coupe_parc','hiddenstatic');
2394 $form->setType('am_coupe_align','hiddenstatic');
2395 $form->setType('am_coupe_ess','hiddenstatic');
2396 $form->setType('am_coupe_age','hiddenstatic');
2397 $form->setType('am_coupe_dens','hiddenstatic');
2398 $form->setType('am_coupe_qual','hiddenstatic');
2399 $form->setType('am_coupe_trait','hiddenstatic');
2400 $form->setType('am_coupe_autr','hiddenstatic');
2401 $form->setType('co_archi_recours','hiddenstatic');
2402 $form->setType('co_cstr_nouv','hiddenstatic');
2403 $form->setType('co_cstr_exist','hiddenstatic');
2404 $form->setType('co_cloture','hiddenstatic');
2405 $form->setType('co_elec_tension','hiddenstatic');
2406 $form->setType('co_div_terr','hiddenstatic');
2407 $form->setType('co_projet_desc','hiddenstatic');
2408 $form->setType('co_anx_pisc','hiddenstatic');
2409 $form->setType('co_anx_gara','hiddenstatic');
2410 $form->setType('co_anx_veran','hiddenstatic');
2411 $form->setType('co_anx_abri','hiddenstatic');
2412 $form->setType('co_anx_autr','hiddenstatic');
2413 $form->setType('co_anx_autr_desc','hiddenstatic');
2414 $form->setType('co_tot_log_nb','hiddenstatic');
2415 $form->setType('co_tot_ind_nb','hiddenstatic');
2416 $form->setType('co_tot_coll_nb','hiddenstatic');
2417 $form->setType('co_mais_piece_nb','hiddenstatic');
2418 $form->setType('co_mais_niv_nb','hiddenstatic');
2419 $form->setType('co_fin_lls_nb','hiddenstatic');
2420 $form->setType('co_fin_aa_nb','hiddenstatic');
2421 $form->setType('co_fin_ptz_nb','hiddenstatic');
2422 $form->setType('co_fin_autr_nb','hiddenstatic');
2423 $form->setType('co_fin_autr_desc','hiddenstatic');
2424 $form->setType('co_mais_contrat_ind','hiddenstatic');
2425 $form->setType('co_uti_pers','hiddenstatic');
2426 $form->setType('co_uti_vente','hiddenstatic');
2427 $form->setType('co_uti_loc','hiddenstatic');
2428 $form->setType('co_uti_princ','hiddenstatic');
2429 $form->setType('co_uti_secon','hiddenstatic');
2430 $form->setType('co_resid_agees','hiddenstatic');
2431 $form->setType('co_resid_etud','hiddenstatic');
2432 $form->setType('co_resid_tourism','hiddenstatic');
2433 $form->setType('co_resid_hot_soc','hiddenstatic');
2434 $form->setType('co_resid_soc','hiddenstatic');
2435 $form->setType('co_resid_hand','hiddenstatic');
2436 $form->setType('co_resid_autr','hiddenstatic');
2437 $form->setType('co_resid_autr_desc','hiddenstatic');
2438 $form->setType('co_foyer_chamb_nb','hiddenstatic');
2439 $form->setType('co_log_1p_nb','hiddenstatic');
2440 $form->setType('co_log_2p_nb','hiddenstatic');
2441 $form->setType('co_log_3p_nb','hiddenstatic');
2442 $form->setType('co_log_4p_nb','hiddenstatic');
2443 $form->setType('co_log_5p_nb','hiddenstatic');
2444 $form->setType('co_log_6p_nb','hiddenstatic');
2445 $form->setType('co_bat_niv_nb','hiddenstatic');
2446 $form->setType('co_trx_exten','hiddenstatic');
2447 $form->setType('co_trx_surelev','hiddenstatic');
2448 $form->setType('co_trx_nivsup','hiddenstatic');
2449 $form->setType('co_demont_periode','hiddenstatic');
2450 $form->setType('co_sp_transport','hiddenstatic');
2451 $form->setType('co_sp_enseign','hiddenstatic');
2452 $form->setType('co_sp_act_soc','hiddenstatic');
2453 $form->setType('co_sp_ouvr_spe','hiddenstatic');
2454 $form->setType('co_sp_sante','hiddenstatic');
2455 $form->setType('co_sp_culture','hiddenstatic');
2456 $form->setType('co_statio_avt_nb','hiddenstatic');
2457 $form->setType('co_statio_apr_nb','hiddenstatic');
2458 $form->setType('co_statio_adr','hiddenstatic');
2459 $form->setType('co_statio_place_nb','hiddenstatic');
2460 $form->setType('co_statio_tot_surf','hiddenstatic');
2461 $form->setType('co_statio_tot_shob','hiddenstatic');
2462 $form->setType('co_statio_comm_cin_surf','hiddenstatic');
2463 $form->setType('su_avt_shon1','hiddenstatic');
2464 $form->setType('su_avt_shon2','hiddenstatic');
2465 $form->setType('su_avt_shon3','hiddenstatic');
2466 $form->setType('su_avt_shon4','hiddenstatic');
2467 $form->setType('su_avt_shon5','hiddenstatic');
2468 $form->setType('su_avt_shon6','hiddenstatic');
2469 $form->setType('su_avt_shon7','hiddenstatic');
2470 $form->setType('su_avt_shon8','hiddenstatic');
2471 $form->setType('su_avt_shon9','hiddenstatic');
2472 $form->setType('su_cstr_shon1','hiddenstatic');
2473 $form->setType('su_cstr_shon2','hiddenstatic');
2474 $form->setType('su_cstr_shon3','hiddenstatic');
2475 $form->setType('su_cstr_shon4','hiddenstatic');
2476 $form->setType('su_cstr_shon5','hiddenstatic');
2477 $form->setType('su_cstr_shon6','hiddenstatic');
2478 $form->setType('su_cstr_shon7','hiddenstatic');
2479 $form->setType('su_cstr_shon8','hiddenstatic');
2480 $form->setType('su_cstr_shon9','hiddenstatic');
2481 $form->setType('su_trsf_shon1','hiddenstatic');
2482 $form->setType('su_trsf_shon2','hiddenstatic');
2483 $form->setType('su_trsf_shon3','hiddenstatic');
2484 $form->setType('su_trsf_shon4','hiddenstatic');
2485 $form->setType('su_trsf_shon5','hiddenstatic');
2486 $form->setType('su_trsf_shon6','hiddenstatic');
2487 $form->setType('su_trsf_shon7','hiddenstatic');
2488 $form->setType('su_trsf_shon8','hiddenstatic');
2489 $form->setType('su_trsf_shon9','hiddenstatic');
2490 $form->setType('su_chge_shon1','hiddenstatic');
2491 $form->setType('su_chge_shon2','hiddenstatic');
2492 $form->setType('su_chge_shon3','hiddenstatic');
2493 $form->setType('su_chge_shon4','hiddenstatic');
2494 $form->setType('su_chge_shon5','hiddenstatic');
2495 $form->setType('su_chge_shon6','hiddenstatic');
2496 $form->setType('su_chge_shon7','hiddenstatic');
2497 $form->setType('su_chge_shon8','hiddenstatic');
2498 $form->setType('su_chge_shon9','hiddenstatic');
2499 $form->setType('su_demo_shon1','hiddenstatic');
2500 $form->setType('su_demo_shon2','hiddenstatic');
2501 $form->setType('su_demo_shon3','hiddenstatic');
2502 $form->setType('su_demo_shon4','hiddenstatic');
2503 $form->setType('su_demo_shon5','hiddenstatic');
2504 $form->setType('su_demo_shon6','hiddenstatic');
2505 $form->setType('su_demo_shon7','hiddenstatic');
2506 $form->setType('su_demo_shon8','hiddenstatic');
2507 $form->setType('su_demo_shon9','hiddenstatic');
2508 $form->setType('su_sup_shon1','hiddenstatic');
2509 $form->setType('su_sup_shon2','hiddenstatic');
2510 $form->setType('su_sup_shon3','hiddenstatic');
2511 $form->setType('su_sup_shon4','hiddenstatic');
2512 $form->setType('su_sup_shon5','hiddenstatic');
2513 $form->setType('su_sup_shon6','hiddenstatic');
2514 $form->setType('su_sup_shon7','hiddenstatic');
2515 $form->setType('su_sup_shon8','hiddenstatic');
2516 $form->setType('su_sup_shon9','hiddenstatic');
2517 $form->setType('su_tot_shon1','hiddenstatic');
2518 $form->setType('su_tot_shon2','hiddenstatic');
2519 $form->setType('su_tot_shon3','hiddenstatic');
2520 $form->setType('su_tot_shon4','hiddenstatic');
2521 $form->setType('su_tot_shon5','hiddenstatic');
2522 $form->setType('su_tot_shon6','hiddenstatic');
2523 $form->setType('su_tot_shon7','hiddenstatic');
2524 $form->setType('su_tot_shon8','hiddenstatic');
2525 $form->setType('su_tot_shon9','hiddenstatic');
2526 $form->setType('su_avt_shon_tot','hiddenstatic');
2527 $form->setType('su_cstr_shon_tot','hiddenstatic');
2528 $form->setType('su_trsf_shon_tot','hiddenstatic');
2529 $form->setType('su_chge_shon_tot','hiddenstatic');
2530 $form->setType('su_demo_shon_tot','hiddenstatic');
2531 $form->setType('su_sup_shon_tot','hiddenstatic');
2532 $form->setType('su_tot_shon_tot','hiddenstatic');
2533 $form->setType('dm_constr_dates','hiddenstatic');
2534 $form->setType('dm_total','hiddenstatic');
2535 $form->setType('dm_partiel','hiddenstatic');
2536 $form->setType('dm_projet_desc','hiddenstatic');
2537 $form->setType('dm_tot_log_nb','hiddenstatic');
2538 $form->setType('tax_surf_tot','hiddenstatic');
2539 $form->setType('tax_surf','hiddenstatic');
2540 $form->setType('tax_surf_suppr_mod','hiddenstatic');
2541 $form->setType('tax_su_princ_log_nb1','hiddenstatic');
2542 $form->setType('tax_su_princ_log_nb2','hiddenstatic');
2543 $form->setType('tax_su_princ_log_nb3','hiddenstatic');
2544 $form->setType('tax_su_princ_log_nb4','hiddenstatic');
2545 $form->setType('tax_su_princ_log_nb_tot1','hiddenstatic');
2546 $form->setType('tax_su_princ_log_nb_tot2','hiddenstatic');
2547 $form->setType('tax_su_princ_log_nb_tot3','hiddenstatic');
2548 $form->setType('tax_su_princ_log_nb_tot4','hiddenstatic');
2549 $form->setType('tax_su_princ_surf1','hiddenstatic');
2550 $form->setType('tax_su_princ_surf2','hiddenstatic');
2551 $form->setType('tax_su_princ_surf3','hiddenstatic');
2552 $form->setType('tax_su_princ_surf4','hiddenstatic');
2553 $form->setType('tax_su_princ_surf_sup1','hiddenstatic');
2554 $form->setType('tax_su_princ_surf_sup2','hiddenstatic');
2555 $form->setType('tax_su_princ_surf_sup3','hiddenstatic');
2556 $form->setType('tax_su_princ_surf_sup4','hiddenstatic');
2557 $form->setType('tax_su_heber_log_nb1','hiddenstatic');
2558 $form->setType('tax_su_heber_log_nb2','hiddenstatic');
2559 $form->setType('tax_su_heber_log_nb3','hiddenstatic');
2560 $form->setType('tax_su_heber_log_nb_tot1','hiddenstatic');
2561 $form->setType('tax_su_heber_log_nb_tot2','hiddenstatic');
2562 $form->setType('tax_su_heber_log_nb_tot3','hiddenstatic');
2563 $form->setType('tax_su_heber_surf1','hiddenstatic');
2564 $form->setType('tax_su_heber_surf2','hiddenstatic');
2565 $form->setType('tax_su_heber_surf3','hiddenstatic');
2566 $form->setType('tax_su_heber_surf_sup1','hiddenstatic');
2567 $form->setType('tax_su_heber_surf_sup2','hiddenstatic');
2568 $form->setType('tax_su_heber_surf_sup3','hiddenstatic');
2569 $form->setType('tax_su_secon_log_nb','hiddenstatic');
2570 $form->setType('tax_su_tot_log_nb','hiddenstatic');
2571 $form->setType('tax_su_secon_log_nb_tot','hiddenstatic');
2572 $form->setType('tax_su_tot_log_nb_tot','hiddenstatic');
2573 $form->setType('tax_su_secon_surf','hiddenstatic');
2574 $form->setType('tax_su_tot_surf','hiddenstatic');
2575 $form->setType('tax_su_secon_surf_sup','hiddenstatic');
2576 $form->setType('tax_su_tot_surf_sup','hiddenstatic');
2577 $form->setType('tax_ext_pret','hiddenstatic');
2578 $form->setType('tax_ext_desc','hiddenstatic');
2579 $form->setType('tax_surf_tax_exist_cons','hiddenstatic');
2580 $form->setType('tax_log_exist_nb','hiddenstatic');
2581 $form->setType('tax_am_statio_ext','hiddenstatic');
2582 $form->setType('tax_sup_bass_pisc','hiddenstatic');
2583 $form->setType('tax_empl_ten_carav_mobil_nb','hiddenstatic');
2584 $form->setType('tax_empl_hll_nb','hiddenstatic');
2585 $form->setType('tax_eol_haut_nb','hiddenstatic');
2586 $form->setType('tax_pann_volt_sup','hiddenstatic');
2587 $form->setType('tax_am_statio_ext_sup','hiddenstatic');
2588 $form->setType('tax_sup_bass_pisc_sup','hiddenstatic');
2589 $form->setType('tax_empl_ten_carav_mobil_nb_sup','hiddenstatic');
2590 $form->setType('tax_empl_hll_nb_sup','hiddenstatic');
2591 $form->setType('tax_eol_haut_nb_sup','hiddenstatic');
2592 $form->setType('tax_pann_volt_sup_sup','hiddenstatic');
2593 $form->setType('tax_trx_presc_ppr','hiddenstatic');
2594 $form->setType('tax_monu_hist','hiddenstatic');
2595 $form->setType('tax_comm_nb','hiddenstatic');
2596 $form->setType('tax_su_non_habit_surf1','hiddenstatic');
2597 $form->setType('tax_su_non_habit_surf2','hiddenstatic');
2598 $form->setType('tax_su_non_habit_surf3','hiddenstatic');
2599 $form->setType('tax_su_non_habit_surf4','hiddenstatic');
2600 $form->setType('tax_su_non_habit_surf5','hiddenstatic');
2601 $form->setType('tax_su_non_habit_surf6','hiddenstatic');
2602 $form->setType('tax_su_non_habit_surf7','hiddenstatic');
2603 $form->setType('tax_su_non_habit_surf_sup1','hiddenstatic');
2604 $form->setType('tax_su_non_habit_surf_sup2','hiddenstatic');
2605 $form->setType('tax_su_non_habit_surf_sup3','hiddenstatic');
2606 $form->setType('tax_su_non_habit_surf_sup4','hiddenstatic');
2607 $form->setType('tax_su_non_habit_surf_sup5','hiddenstatic');
2608 $form->setType('tax_su_non_habit_surf_sup6','hiddenstatic');
2609 $form->setType('tax_su_non_habit_surf_sup7','hiddenstatic');
2610 $form->setType('vsd_surf_planch_smd','hiddenstatic');
2611 $form->setType('vsd_unit_fonc_sup','hiddenstatic');
2612 $form->setType('vsd_unit_fonc_constr_sup','hiddenstatic');
2613 $form->setType('vsd_val_terr','hiddenstatic');
2614 $form->setType('vsd_const_sxist_non_dem_surf','hiddenstatic');
2615 $form->setType('vsd_rescr_fisc','hiddenstatic');
2616 $form->setType('pld_val_terr','hiddenstatic');
2617 $form->setType('pld_const_exist_dem','hiddenstatic');
2618 $form->setType('pld_const_exist_dem_surf','hiddenstatic');
2619 $form->setType('code_cnil','hiddenstatic');
2620 $form->setType('terr_juri_titul','hiddenstatic');
2621 $form->setType('terr_juri_lot','hiddenstatic');
2622 $form->setType('terr_juri_zac','hiddenstatic');
2623 $form->setType('terr_juri_afu','hiddenstatic');
2624 $form->setType('terr_juri_pup','hiddenstatic');
2625 $form->setType('terr_juri_oin','hiddenstatic');
2626 $form->setType('terr_juri_desc','hiddenstatic');
2627 $form->setType('terr_div_surf_etab','hiddenstatic');
2628 $form->setType('terr_div_surf_av_div','hiddenstatic');
2629 $form->setType('doc_date','hiddenstatic');
2630 $form->setType('doc_tot_trav','hiddenstatic');
2631 $form->setType('doc_tranche_trav','hiddenstatic');
2632 $form->setType('doc_tranche_trav_desc','hiddenstatic');
2633 $form->setType('doc_surf','hiddenstatic');
2634 $form->setType('doc_nb_log','hiddenstatic');
2635 $form->setType('doc_nb_log_indiv','hiddenstatic');
2636 $form->setType('doc_nb_log_coll','hiddenstatic');
2637 $form->setType('doc_nb_log_lls','hiddenstatic');
2638 $form->setType('doc_nb_log_aa','hiddenstatic');
2639 $form->setType('doc_nb_log_ptz','hiddenstatic');
2640 $form->setType('doc_nb_log_autre','hiddenstatic');
2641 $form->setType('daact_date','hiddenstatic');
2642 $form->setType('daact_date_chgmt_dest','hiddenstatic');
2643 $form->setType('daact_tot_trav','hiddenstatic');
2644 $form->setType('daact_tranche_trav','hiddenstatic');
2645 $form->setType('daact_tranche_trav_desc','hiddenstatic');
2646 $form->setType('daact_surf','hiddenstatic');
2647 $form->setType('daact_nb_log','hiddenstatic');
2648 $form->setType('daact_nb_log_indiv','hiddenstatic');
2649 $form->setType('daact_nb_log_coll','hiddenstatic');
2650 $form->setType('daact_nb_log_lls','hiddenstatic');
2651 $form->setType('daact_nb_log_aa','hiddenstatic');
2652 $form->setType('daact_nb_log_ptz','hiddenstatic');
2653 $form->setType('daact_nb_log_autre','hiddenstatic');
2654 $form->setType('dossier_autorisation','selectstatic');
2655 $form->setType('am_div_mun','hiddenstatic');
2656 $form->setType('co_perf_energ','hiddenstatic');
2657 $form->setType('architecte','selectstatic');
2658 }//fin supprimer
2659 if ($maj==3){ //consulter
2660 $form->setType('donnees_techniques','static');
2661 $form->setType('dossier_instruction','selectstatic');
2662 $form->setType('lot','selectstatic');
2663 $form->setType('am_lotiss','checkboxstatic');
2664 $form->setType('am_autre_div','checkboxstatic');
2665 $form->setType('am_camping','checkboxstatic');
2666 $form->setType('am_caravane','checkboxstatic');
2667 $form->setType('am_carav_duree','static');
2668 $form->setType('am_statio','checkboxstatic');
2669 $form->setType('am_statio_cont','static');
2670 $form->setType('am_affou_exhau','checkboxstatic');
2671 $form->setType('am_affou_exhau_sup','static');
2672 $form->setType('am_affou_prof','static');
2673 $form->setType('am_exhau_haut','static');
2674 $form->setType('am_coupe_abat','checkboxstatic');
2675 $form->setType('am_prot_plu','checkboxstatic');
2676 $form->setType('am_prot_muni','checkboxstatic');
2677 $form->setType('am_mobil_voyage','checkboxstatic');
2678 $form->setType('am_aire_voyage','checkboxstatic');
2679 $form->setType('am_rememb_afu','checkboxstatic');
2680 $form->setType('am_parc_resid_loi','checkboxstatic');
2681 $form->setType('am_sport_moto','checkboxstatic');
2682 $form->setType('am_sport_attrac','checkboxstatic');
2683 $form->setType('am_sport_golf','checkboxstatic');
2684 $form->setType('am_mob_art','checkboxstatic');
2685 $form->setType('am_modif_voie_esp','checkboxstatic');
2686 $form->setType('am_plant_voie_esp','checkboxstatic');
2687 $form->setType('am_chem_ouv_esp','checkboxstatic');
2688 $form->setType('am_agri_peche','checkboxstatic');
2689 $form->setType('am_crea_voie','checkboxstatic');
2690 $form->setType('am_modif_voie_exist','checkboxstatic');
2691 $form->setType('am_crea_esp_sauv','checkboxstatic');
2692 $form->setType('am_crea_esp_class','checkboxstatic');
2693 $form->setType('am_projet_desc','textareastatic');
2694 $form->setType('am_terr_surf','static');
2695 $form->setType('am_tranche_desc','textareastatic');
2696 $form->setType('am_lot_max_nb','static');
2697 $form->setType('am_lot_max_shon','static');
2698 $form->setType('am_lot_cstr_cos','checkboxstatic');
2699 $form->setType('am_lot_cstr_plan','checkboxstatic');
2700 $form->setType('am_lot_cstr_vente','checkboxstatic');
2701 $form->setType('am_lot_fin_diff','checkboxstatic');
2702 $form->setType('am_lot_consign','checkboxstatic');
2703 $form->setType('am_lot_gar_achev','checkboxstatic');
2704 $form->setType('am_lot_vente_ant','checkboxstatic');
2705 $form->setType('am_empl_nb','static');
2706 $form->setType('am_tente_nb','static');
2707 $form->setType('am_carav_nb','static');
2708 $form->setType('am_mobil_nb','static');
2709 $form->setType('am_pers_nb','static');
2710 $form->setType('am_empl_hll_nb','static');
2711 $form->setType('am_hll_shon','static');
2712 $form->setType('am_periode_exploit','textareastatic');
2713 $form->setType('am_exist_agrand','checkboxstatic');
2714 $form->setType('am_exist_date','datestatic');
2715 $form->setType('am_exist_num','static');
2716 $form->setType('am_exist_nb_avant','static');
2717 $form->setType('am_exist_nb_apres','static');
2718 $form->setType('am_coupe_bois','checkboxstatic');
2719 $form->setType('am_coupe_parc','checkboxstatic');
2720 $form->setType('am_coupe_align','checkboxstatic');
2721 $form->setType('am_coupe_ess','static');
2722 $form->setType('am_coupe_age','static');
2723 $form->setType('am_coupe_dens','static');
2724 $form->setType('am_coupe_qual','static');
2725 $form->setType('am_coupe_trait','static');
2726 $form->setType('am_coupe_autr','static');
2727 $form->setType('co_archi_recours','checkboxstatic');
2728 $form->setType('co_cstr_nouv','checkboxstatic');
2729 $form->setType('co_cstr_exist','checkboxstatic');
2730 $form->setType('co_cloture','checkboxstatic');
2731 $form->setType('co_elec_tension','static');
2732 $form->setType('co_div_terr','checkboxstatic');
2733 $form->setType('co_projet_desc','textareastatic');
2734 $form->setType('co_anx_pisc','checkboxstatic');
2735 $form->setType('co_anx_gara','checkboxstatic');
2736 $form->setType('co_anx_veran','checkboxstatic');
2737 $form->setType('co_anx_abri','checkboxstatic');
2738 $form->setType('co_anx_autr','checkboxstatic');
2739 $form->setType('co_anx_autr_desc','textareastatic');
2740 $form->setType('co_tot_log_nb','static');
2741 $form->setType('co_tot_ind_nb','static');
2742 $form->setType('co_tot_coll_nb','static');
2743 $form->setType('co_mais_piece_nb','static');
2744 $form->setType('co_mais_niv_nb','static');
2745 $form->setType('co_fin_lls_nb','static');
2746 $form->setType('co_fin_aa_nb','static');
2747 $form->setType('co_fin_ptz_nb','static');
2748 $form->setType('co_fin_autr_nb','static');
2749 $form->setType('co_fin_autr_desc','textareastatic');
2750 $form->setType('co_mais_contrat_ind','checkboxstatic');
2751 $form->setType('co_uti_pers','checkboxstatic');
2752 $form->setType('co_uti_vente','checkboxstatic');
2753 $form->setType('co_uti_loc','checkboxstatic');
2754 $form->setType('co_uti_princ','checkboxstatic');
2755 $form->setType('co_uti_secon','checkboxstatic');
2756 $form->setType('co_resid_agees','checkboxstatic');
2757 $form->setType('co_resid_etud','checkboxstatic');
2758 $form->setType('co_resid_tourism','checkboxstatic');
2759 $form->setType('co_resid_hot_soc','checkboxstatic');
2760 $form->setType('co_resid_soc','checkboxstatic');
2761 $form->setType('co_resid_hand','checkboxstatic');
2762 $form->setType('co_resid_autr','checkboxstatic');
2763 $form->setType('co_resid_autr_desc','textareastatic');
2764 $form->setType('co_foyer_chamb_nb','static');
2765 $form->setType('co_log_1p_nb','static');
2766 $form->setType('co_log_2p_nb','static');
2767 $form->setType('co_log_3p_nb','static');
2768 $form->setType('co_log_4p_nb','static');
2769 $form->setType('co_log_5p_nb','static');
2770 $form->setType('co_log_6p_nb','static');
2771 $form->setType('co_bat_niv_nb','static');
2772 $form->setType('co_trx_exten','checkboxstatic');
2773 $form->setType('co_trx_surelev','checkboxstatic');
2774 $form->setType('co_trx_nivsup','checkboxstatic');
2775 $form->setType('co_demont_periode','textareastatic');
2776 $form->setType('co_sp_transport','checkboxstatic');
2777 $form->setType('co_sp_enseign','checkboxstatic');
2778 $form->setType('co_sp_act_soc','checkboxstatic');
2779 $form->setType('co_sp_ouvr_spe','checkboxstatic');
2780 $form->setType('co_sp_sante','checkboxstatic');
2781 $form->setType('co_sp_culture','checkboxstatic');
2782 $form->setType('co_statio_avt_nb','static');
2783 $form->setType('co_statio_apr_nb','static');
2784 $form->setType('co_statio_adr','textareastatic');
2785 $form->setType('co_statio_place_nb','static');
2786 $form->setType('co_statio_tot_surf','static');
2787 $form->setType('co_statio_tot_shob','static');
2788 $form->setType('co_statio_comm_cin_surf','static');
2789 $form->setType('su_avt_shon1','static');
2790 $form->setType('su_avt_shon2','static');
2791 $form->setType('su_avt_shon3','static');
2792 $form->setType('su_avt_shon4','static');
2793 $form->setType('su_avt_shon5','static');
2794 $form->setType('su_avt_shon6','static');
2795 $form->setType('su_avt_shon7','static');
2796 $form->setType('su_avt_shon8','static');
2797 $form->setType('su_avt_shon9','static');
2798 $form->setType('su_cstr_shon1','static');
2799 $form->setType('su_cstr_shon2','static');
2800 $form->setType('su_cstr_shon3','static');
2801 $form->setType('su_cstr_shon4','static');
2802 $form->setType('su_cstr_shon5','static');
2803 $form->setType('su_cstr_shon6','static');
2804 $form->setType('su_cstr_shon7','static');
2805 $form->setType('su_cstr_shon8','static');
2806 $form->setType('su_cstr_shon9','static');
2807 $form->setType('su_trsf_shon1','static');
2808 $form->setType('su_trsf_shon2','static');
2809 $form->setType('su_trsf_shon3','static');
2810 $form->setType('su_trsf_shon4','static');
2811 $form->setType('su_trsf_shon5','static');
2812 $form->setType('su_trsf_shon6','static');
2813 $form->setType('su_trsf_shon7','static');
2814 $form->setType('su_trsf_shon8','static');
2815 $form->setType('su_trsf_shon9','static');
2816 $form->setType('su_chge_shon1','static');
2817 $form->setType('su_chge_shon2','static');
2818 $form->setType('su_chge_shon3','static');
2819 $form->setType('su_chge_shon4','static');
2820 $form->setType('su_chge_shon5','static');
2821 $form->setType('su_chge_shon6','static');
2822 $form->setType('su_chge_shon7','static');
2823 $form->setType('su_chge_shon8','static');
2824 $form->setType('su_chge_shon9','static');
2825 $form->setType('su_demo_shon1','static');
2826 $form->setType('su_demo_shon2','static');
2827 $form->setType('su_demo_shon3','static');
2828 $form->setType('su_demo_shon4','static');
2829 $form->setType('su_demo_shon5','static');
2830 $form->setType('su_demo_shon6','static');
2831 $form->setType('su_demo_shon7','static');
2832 $form->setType('su_demo_shon8','static');
2833 $form->setType('su_demo_shon9','static');
2834 $form->setType('su_sup_shon1','static');
2835 $form->setType('su_sup_shon2','static');
2836 $form->setType('su_sup_shon3','static');
2837 $form->setType('su_sup_shon4','static');
2838 $form->setType('su_sup_shon5','static');
2839 $form->setType('su_sup_shon6','static');
2840 $form->setType('su_sup_shon7','static');
2841 $form->setType('su_sup_shon8','static');
2842 $form->setType('su_sup_shon9','static');
2843 $form->setType('su_tot_shon1','static');
2844 $form->setType('su_tot_shon2','static');
2845 $form->setType('su_tot_shon3','static');
2846 $form->setType('su_tot_shon4','static');
2847 $form->setType('su_tot_shon5','static');
2848 $form->setType('su_tot_shon6','static');
2849 $form->setType('su_tot_shon7','static');
2850 $form->setType('su_tot_shon8','static');
2851 $form->setType('su_tot_shon9','static');
2852 $form->setType('su_avt_shon_tot','static');
2853 $form->setType('su_cstr_shon_tot','static');
2854 $form->setType('su_trsf_shon_tot','static');
2855 $form->setType('su_chge_shon_tot','static');
2856 $form->setType('su_demo_shon_tot','static');
2857 $form->setType('su_sup_shon_tot','static');
2858 $form->setType('su_tot_shon_tot','static');
2859 $form->setType('dm_constr_dates','textareastatic');
2860 $form->setType('dm_total','checkboxstatic');
2861 $form->setType('dm_partiel','checkboxstatic');
2862 $form->setType('dm_projet_desc','textareastatic');
2863 $form->setType('dm_tot_log_nb','static');
2864 $form->setType('tax_surf_tot','static');
2865 $form->setType('tax_surf','static');
2866 $form->setType('tax_surf_suppr_mod','static');
2867 $form->setType('tax_su_princ_log_nb1','static');
2868 $form->setType('tax_su_princ_log_nb2','static');
2869 $form->setType('tax_su_princ_log_nb3','static');
2870 $form->setType('tax_su_princ_log_nb4','static');
2871 $form->setType('tax_su_princ_log_nb_tot1','static');
2872 $form->setType('tax_su_princ_log_nb_tot2','static');
2873 $form->setType('tax_su_princ_log_nb_tot3','static');
2874 $form->setType('tax_su_princ_log_nb_tot4','static');
2875 $form->setType('tax_su_princ_surf1','static');
2876 $form->setType('tax_su_princ_surf2','static');
2877 $form->setType('tax_su_princ_surf3','static');
2878 $form->setType('tax_su_princ_surf4','static');
2879 $form->setType('tax_su_princ_surf_sup1','static');
2880 $form->setType('tax_su_princ_surf_sup2','static');
2881 $form->setType('tax_su_princ_surf_sup3','static');
2882 $form->setType('tax_su_princ_surf_sup4','static');
2883 $form->setType('tax_su_heber_log_nb1','static');
2884 $form->setType('tax_su_heber_log_nb2','static');
2885 $form->setType('tax_su_heber_log_nb3','static');
2886 $form->setType('tax_su_heber_log_nb_tot1','static');
2887 $form->setType('tax_su_heber_log_nb_tot2','static');
2888 $form->setType('tax_su_heber_log_nb_tot3','static');
2889 $form->setType('tax_su_heber_surf1','static');
2890 $form->setType('tax_su_heber_surf2','static');
2891 $form->setType('tax_su_heber_surf3','static');
2892 $form->setType('tax_su_heber_surf_sup1','static');
2893 $form->setType('tax_su_heber_surf_sup2','static');
2894 $form->setType('tax_su_heber_surf_sup3','static');
2895 $form->setType('tax_su_secon_log_nb','static');
2896 $form->setType('tax_su_tot_log_nb','static');
2897 $form->setType('tax_su_secon_log_nb_tot','static');
2898 $form->setType('tax_su_tot_log_nb_tot','static');
2899 $form->setType('tax_su_secon_surf','static');
2900 $form->setType('tax_su_tot_surf','static');
2901 $form->setType('tax_su_secon_surf_sup','static');
2902 $form->setType('tax_su_tot_surf_sup','static');
2903 $form->setType('tax_ext_pret','checkboxstatic');
2904 $form->setType('tax_ext_desc','textareastatic');
2905 $form->setType('tax_surf_tax_exist_cons','static');
2906 $form->setType('tax_log_exist_nb','static');
2907 $form->setType('tax_am_statio_ext','static');
2908 $form->setType('tax_sup_bass_pisc','static');
2909 $form->setType('tax_empl_ten_carav_mobil_nb','static');
2910 $form->setType('tax_empl_hll_nb','static');
2911 $form->setType('tax_eol_haut_nb','static');
2912 $form->setType('tax_pann_volt_sup','static');
2913 $form->setType('tax_am_statio_ext_sup','static');
2914 $form->setType('tax_sup_bass_pisc_sup','static');
2915 $form->setType('tax_empl_ten_carav_mobil_nb_sup','static');
2916 $form->setType('tax_empl_hll_nb_sup','static');
2917 $form->setType('tax_eol_haut_nb_sup','static');
2918 $form->setType('tax_pann_volt_sup_sup','static');
2919 $form->setType('tax_trx_presc_ppr','checkboxstatic');
2920 $form->setType('tax_monu_hist','checkboxstatic');
2921 $form->setType('tax_comm_nb','static');
2922 $form->setType('tax_su_non_habit_surf1','static');
2923 $form->setType('tax_su_non_habit_surf2','static');
2924 $form->setType('tax_su_non_habit_surf3','static');
2925 $form->setType('tax_su_non_habit_surf4','static');
2926 $form->setType('tax_su_non_habit_surf5','static');
2927 $form->setType('tax_su_non_habit_surf6','static');
2928 $form->setType('tax_su_non_habit_surf7','static');
2929 $form->setType('tax_su_non_habit_surf_sup1','static');
2930 $form->setType('tax_su_non_habit_surf_sup2','static');
2931 $form->setType('tax_su_non_habit_surf_sup3','static');
2932 $form->setType('tax_su_non_habit_surf_sup4','static');
2933 $form->setType('tax_su_non_habit_surf_sup5','static');
2934 $form->setType('tax_su_non_habit_surf_sup6','static');
2935 $form->setType('tax_su_non_habit_surf_sup7','static');
2936 $form->setType('vsd_surf_planch_smd','checkboxstatic');
2937 $form->setType('vsd_unit_fonc_sup','static');
2938 $form->setType('vsd_unit_fonc_constr_sup','static');
2939 $form->setType('vsd_val_terr','static');
2940 $form->setType('vsd_const_sxist_non_dem_surf','static');
2941 $form->setType('vsd_rescr_fisc','datestatic');
2942 $form->setType('pld_val_terr','static');
2943 $form->setType('pld_const_exist_dem','checkboxstatic');
2944 $form->setType('pld_const_exist_dem_surf','static');
2945 $form->setType('code_cnil','checkboxstatic');
2946 $form->setType('terr_juri_titul','static');
2947 $form->setType('terr_juri_lot','static');
2948 $form->setType('terr_juri_zac','static');
2949 $form->setType('terr_juri_afu','static');
2950 $form->setType('terr_juri_pup','static');
2951 $form->setType('terr_juri_oin','static');
2952 $form->setType('terr_juri_desc','textareastatic');
2953 $form->setType('terr_div_surf_etab','static');
2954 $form->setType('terr_div_surf_av_div','static');
2955 $form->setType('doc_date','datestatic');
2956 $form->setType('doc_tot_trav','checkboxstatic');
2957 $form->setType('doc_tranche_trav','checkboxstatic');
2958 $form->setType('doc_tranche_trav_desc','textareastatic');
2959 $form->setType('doc_surf','static');
2960 $form->setType('doc_nb_log','static');
2961 $form->setType('doc_nb_log_indiv','static');
2962 $form->setType('doc_nb_log_coll','static');
2963 $form->setType('doc_nb_log_lls','static');
2964 $form->setType('doc_nb_log_aa','static');
2965 $form->setType('doc_nb_log_ptz','static');
2966 $form->setType('doc_nb_log_autre','static');
2967 $form->setType('daact_date','datestatic');
2968 $form->setType('daact_date_chgmt_dest','datestatic');
2969 $form->setType('daact_tot_trav','checkboxstatic');
2970 $form->setType('daact_tranche_trav','checkboxstatic');
2971 $form->setType('daact_tranche_trav_desc','textareastatic');
2972 $form->setType('daact_surf','static');
2973 $form->setType('daact_nb_log','static');
2974 $form->setType('daact_nb_log_indiv','static');
2975 $form->setType('daact_nb_log_coll','static');
2976 $form->setType('daact_nb_log_lls','static');
2977 $form->setType('daact_nb_log_aa','static');
2978 $form->setType('daact_nb_log_ptz','static');
2979 $form->setType('daact_nb_log_autre','static');
2980 $form->setType('dossier_autorisation','selectstatic');
2981 $form->setType('am_div_mun','checkboxstatic');
2982 $form->setType('co_perf_energ','static');
2983 $form->setType('architecte','selectstatic');
2984 }//fin consulter
2985 }
2986
2987 function setOnchange(&$form,$maj) {
2988 //javascript controle client
2989 $form->setOnchange('donnees_techniques','VerifNum(this)');
2990 $form->setOnchange('lot','VerifNum(this)');
2991 $form->setOnchange('am_carav_duree','VerifNum(this)');
2992 $form->setOnchange('am_statio_cont','VerifNum(this)');
2993 $form->setOnchange('am_affou_exhau_sup','VerifFloat(this)');
2994 $form->setOnchange('am_affou_prof','VerifFloat(this)');
2995 $form->setOnchange('am_exhau_haut','VerifFloat(this)');
2996 $form->setOnchange('am_terr_surf','VerifFloat(this)');
2997 $form->setOnchange('am_lot_max_nb','VerifNum(this)');
2998 $form->setOnchange('am_lot_max_shon','VerifFloat(this)');
2999 $form->setOnchange('am_empl_nb','VerifNum(this)');
3000 $form->setOnchange('am_tente_nb','VerifNum(this)');
3001 $form->setOnchange('am_carav_nb','VerifNum(this)');
3002 $form->setOnchange('am_mobil_nb','VerifNum(this)');
3003 $form->setOnchange('am_pers_nb','VerifNum(this)');
3004 $form->setOnchange('am_empl_hll_nb','VerifNum(this)');
3005 $form->setOnchange('am_hll_shon','VerifFloat(this)');
3006 $form->setOnchange('am_exist_date','fdate(this)');
3007 $form->setOnchange('am_exist_nb_avant','VerifNum(this)');
3008 $form->setOnchange('am_exist_nb_apres','VerifNum(this)');
3009 $form->setOnchange('co_elec_tension','VerifFloat(this)');
3010 $form->setOnchange('co_tot_log_nb','VerifNum(this)');
3011 $form->setOnchange('co_tot_ind_nb','VerifNum(this)');
3012 $form->setOnchange('co_tot_coll_nb','VerifNum(this)');
3013 $form->setOnchange('co_mais_piece_nb','VerifNum(this)');
3014 $form->setOnchange('co_mais_niv_nb','VerifNum(this)');
3015 $form->setOnchange('co_fin_lls_nb','VerifNum(this)');
3016 $form->setOnchange('co_fin_aa_nb','VerifNum(this)');
3017 $form->setOnchange('co_fin_ptz_nb','VerifNum(this)');
3018 $form->setOnchange('co_fin_autr_nb','VerifNum(this)');
3019 $form->setOnchange('co_foyer_chamb_nb','VerifNum(this)');
3020 $form->setOnchange('co_log_1p_nb','VerifNum(this)');
3021 $form->setOnchange('co_log_2p_nb','VerifNum(this)');
3022 $form->setOnchange('co_log_3p_nb','VerifNum(this)');
3023 $form->setOnchange('co_log_4p_nb','VerifNum(this)');
3024 $form->setOnchange('co_log_5p_nb','VerifNum(this)');
3025 $form->setOnchange('co_log_6p_nb','VerifNum(this)');
3026 $form->setOnchange('co_bat_niv_nb','VerifNum(this)');
3027 $form->setOnchange('co_statio_avt_nb','VerifNum(this)');
3028 $form->setOnchange('co_statio_apr_nb','VerifNum(this)');
3029 $form->setOnchange('co_statio_place_nb','VerifNum(this)');
3030 $form->setOnchange('co_statio_tot_surf','VerifFloat(this)');
3031 $form->setOnchange('co_statio_tot_shob','VerifFloat(this)');
3032 $form->setOnchange('co_statio_comm_cin_surf','VerifFloat(this)');
3033 $form->setOnchange('su_avt_shon1','VerifFloat(this)');
3034 $form->setOnchange('su_avt_shon2','VerifFloat(this)');
3035 $form->setOnchange('su_avt_shon3','VerifFloat(this)');
3036 $form->setOnchange('su_avt_shon4','VerifFloat(this)');
3037 $form->setOnchange('su_avt_shon5','VerifFloat(this)');
3038 $form->setOnchange('su_avt_shon6','VerifFloat(this)');
3039 $form->setOnchange('su_avt_shon7','VerifFloat(this)');
3040 $form->setOnchange('su_avt_shon8','VerifFloat(this)');
3041 $form->setOnchange('su_avt_shon9','VerifFloat(this)');
3042 $form->setOnchange('su_cstr_shon1','VerifFloat(this)');
3043 $form->setOnchange('su_cstr_shon2','VerifFloat(this)');
3044 $form->setOnchange('su_cstr_shon3','VerifFloat(this)');
3045 $form->setOnchange('su_cstr_shon4','VerifFloat(this)');
3046 $form->setOnchange('su_cstr_shon5','VerifFloat(this)');
3047 $form->setOnchange('su_cstr_shon6','VerifFloat(this)');
3048 $form->setOnchange('su_cstr_shon7','VerifFloat(this)');
3049 $form->setOnchange('su_cstr_shon8','VerifFloat(this)');
3050 $form->setOnchange('su_cstr_shon9','VerifFloat(this)');
3051 $form->setOnchange('su_trsf_shon1','VerifFloat(this)');
3052 $form->setOnchange('su_trsf_shon2','VerifFloat(this)');
3053 $form->setOnchange('su_trsf_shon3','VerifFloat(this)');
3054 $form->setOnchange('su_trsf_shon4','VerifFloat(this)');
3055 $form->setOnchange('su_trsf_shon5','VerifFloat(this)');
3056 $form->setOnchange('su_trsf_shon6','VerifFloat(this)');
3057 $form->setOnchange('su_trsf_shon7','VerifFloat(this)');
3058 $form->setOnchange('su_trsf_shon8','VerifFloat(this)');
3059 $form->setOnchange('su_trsf_shon9','VerifFloat(this)');
3060 $form->setOnchange('su_chge_shon1','VerifFloat(this)');
3061 $form->setOnchange('su_chge_shon2','VerifFloat(this)');
3062 $form->setOnchange('su_chge_shon3','VerifFloat(this)');
3063 $form->setOnchange('su_chge_shon4','VerifFloat(this)');
3064 $form->setOnchange('su_chge_shon5','VerifFloat(this)');
3065 $form->setOnchange('su_chge_shon6','VerifFloat(this)');
3066 $form->setOnchange('su_chge_shon7','VerifFloat(this)');
3067 $form->setOnchange('su_chge_shon8','VerifFloat(this)');
3068 $form->setOnchange('su_chge_shon9','VerifFloat(this)');
3069 $form->setOnchange('su_demo_shon1','VerifFloat(this)');
3070 $form->setOnchange('su_demo_shon2','VerifFloat(this)');
3071 $form->setOnchange('su_demo_shon3','VerifFloat(this)');
3072 $form->setOnchange('su_demo_shon4','VerifFloat(this)');
3073 $form->setOnchange('su_demo_shon5','VerifFloat(this)');
3074 $form->setOnchange('su_demo_shon6','VerifFloat(this)');
3075 $form->setOnchange('su_demo_shon7','VerifFloat(this)');
3076 $form->setOnchange('su_demo_shon8','VerifFloat(this)');
3077 $form->setOnchange('su_demo_shon9','VerifFloat(this)');
3078 $form->setOnchange('su_sup_shon1','VerifFloat(this)');
3079 $form->setOnchange('su_sup_shon2','VerifFloat(this)');
3080 $form->setOnchange('su_sup_shon3','VerifFloat(this)');
3081 $form->setOnchange('su_sup_shon4','VerifFloat(this)');
3082 $form->setOnchange('su_sup_shon5','VerifFloat(this)');
3083 $form->setOnchange('su_sup_shon6','VerifFloat(this)');
3084 $form->setOnchange('su_sup_shon7','VerifFloat(this)');
3085 $form->setOnchange('su_sup_shon8','VerifFloat(this)');
3086 $form->setOnchange('su_sup_shon9','VerifFloat(this)');
3087 $form->setOnchange('su_tot_shon1','VerifFloat(this)');
3088 $form->setOnchange('su_tot_shon2','VerifFloat(this)');
3089 $form->setOnchange('su_tot_shon3','VerifFloat(this)');
3090 $form->setOnchange('su_tot_shon4','VerifFloat(this)');
3091 $form->setOnchange('su_tot_shon5','VerifFloat(this)');
3092 $form->setOnchange('su_tot_shon6','VerifFloat(this)');
3093 $form->setOnchange('su_tot_shon7','VerifFloat(this)');
3094 $form->setOnchange('su_tot_shon8','VerifFloat(this)');
3095 $form->setOnchange('su_tot_shon9','VerifFloat(this)');
3096 $form->setOnchange('su_avt_shon_tot','VerifFloat(this)');
3097 $form->setOnchange('su_cstr_shon_tot','VerifFloat(this)');
3098 $form->setOnchange('su_trsf_shon_tot','VerifFloat(this)');
3099 $form->setOnchange('su_chge_shon_tot','VerifFloat(this)');
3100 $form->setOnchange('su_demo_shon_tot','VerifFloat(this)');
3101 $form->setOnchange('su_sup_shon_tot','VerifFloat(this)');
3102 $form->setOnchange('su_tot_shon_tot','VerifFloat(this)');
3103 $form->setOnchange('dm_tot_log_nb','VerifNum(this)');
3104 $form->setOnchange('tax_surf_tot','VerifFloat(this)');
3105 $form->setOnchange('tax_surf','VerifFloat(this)');
3106 $form->setOnchange('tax_surf_suppr_mod','VerifFloat(this)');
3107 $form->setOnchange('tax_su_princ_log_nb1','VerifFloat(this)');
3108 $form->setOnchange('tax_su_princ_log_nb2','VerifFloat(this)');
3109 $form->setOnchange('tax_su_princ_log_nb3','VerifFloat(this)');
3110 $form->setOnchange('tax_su_princ_log_nb4','VerifFloat(this)');
3111 $form->setOnchange('tax_su_princ_log_nb_tot1','VerifFloat(this)');
3112 $form->setOnchange('tax_su_princ_log_nb_tot2','VerifFloat(this)');
3113 $form->setOnchange('tax_su_princ_log_nb_tot3','VerifFloat(this)');
3114 $form->setOnchange('tax_su_princ_log_nb_tot4','VerifFloat(this)');
3115 $form->setOnchange('tax_su_princ_surf1','VerifFloat(this)');
3116 $form->setOnchange('tax_su_princ_surf2','VerifFloat(this)');
3117 $form->setOnchange('tax_su_princ_surf3','VerifFloat(this)');
3118 $form->setOnchange('tax_su_princ_surf4','VerifFloat(this)');
3119 $form->setOnchange('tax_su_princ_surf_sup1','VerifFloat(this)');
3120 $form->setOnchange('tax_su_princ_surf_sup2','VerifFloat(this)');
3121 $form->setOnchange('tax_su_princ_surf_sup3','VerifFloat(this)');
3122 $form->setOnchange('tax_su_princ_surf_sup4','VerifFloat(this)');
3123 $form->setOnchange('tax_su_heber_log_nb1','VerifNum(this)');
3124 $form->setOnchange('tax_su_heber_log_nb2','VerifNum(this)');
3125 $form->setOnchange('tax_su_heber_log_nb3','VerifNum(this)');
3126 $form->setOnchange('tax_su_heber_log_nb_tot1','VerifNum(this)');
3127 $form->setOnchange('tax_su_heber_log_nb_tot2','VerifNum(this)');
3128 $form->setOnchange('tax_su_heber_log_nb_tot3','VerifNum(this)');
3129 $form->setOnchange('tax_su_heber_surf1','VerifFloat(this)');
3130 $form->setOnchange('tax_su_heber_surf2','VerifFloat(this)');
3131 $form->setOnchange('tax_su_heber_surf3','VerifFloat(this)');
3132 $form->setOnchange('tax_su_heber_surf_sup1','VerifFloat(this)');
3133 $form->setOnchange('tax_su_heber_surf_sup2','VerifFloat(this)');
3134 $form->setOnchange('tax_su_heber_surf_sup3','VerifFloat(this)');
3135 $form->setOnchange('tax_su_secon_log_nb','VerifNum(this)');
3136 $form->setOnchange('tax_su_tot_log_nb','VerifNum(this)');
3137 $form->setOnchange('tax_su_secon_log_nb_tot','VerifNum(this)');
3138 $form->setOnchange('tax_su_tot_log_nb_tot','VerifNum(this)');
3139 $form->setOnchange('tax_su_secon_surf','VerifFloat(this)');
3140 $form->setOnchange('tax_su_tot_surf','VerifFloat(this)');
3141 $form->setOnchange('tax_su_secon_surf_sup','VerifFloat(this)');
3142 $form->setOnchange('tax_su_tot_surf_sup','VerifFloat(this)');
3143 $form->setOnchange('tax_surf_tax_exist_cons','VerifFloat(this)');
3144 $form->setOnchange('tax_log_exist_nb','VerifNum(this)');
3145 $form->setOnchange('tax_am_statio_ext','VerifNum(this)');
3146 $form->setOnchange('tax_sup_bass_pisc','VerifFloat(this)');
3147 $form->setOnchange('tax_empl_ten_carav_mobil_nb','VerifNum(this)');
3148 $form->setOnchange('tax_empl_hll_nb','VerifNum(this)');
3149 $form->setOnchange('tax_eol_haut_nb','VerifNum(this)');
3150 $form->setOnchange('tax_pann_volt_sup','VerifFloat(this)');
3151 $form->setOnchange('tax_am_statio_ext_sup','VerifNum(this)');
3152 $form->setOnchange('tax_sup_bass_pisc_sup','VerifFloat(this)');
3153 $form->setOnchange('tax_empl_ten_carav_mobil_nb_sup','VerifNum(this)');
3154 $form->setOnchange('tax_empl_hll_nb_sup','VerifNum(this)');
3155 $form->setOnchange('tax_eol_haut_nb_sup','VerifNum(this)');
3156 $form->setOnchange('tax_pann_volt_sup_sup','VerifFloat(this)');
3157 $form->setOnchange('tax_comm_nb','VerifNum(this)');
3158 $form->setOnchange('tax_su_non_habit_surf1','VerifFloat(this)');
3159 $form->setOnchange('tax_su_non_habit_surf2','VerifFloat(this)');
3160 $form->setOnchange('tax_su_non_habit_surf3','VerifFloat(this)');
3161 $form->setOnchange('tax_su_non_habit_surf4','VerifFloat(this)');
3162 $form->setOnchange('tax_su_non_habit_surf5','VerifFloat(this)');
3163 $form->setOnchange('tax_su_non_habit_surf6','VerifFloat(this)');
3164 $form->setOnchange('tax_su_non_habit_surf7','VerifFloat(this)');
3165 $form->setOnchange('tax_su_non_habit_surf_sup1','VerifFloat(this)');
3166 $form->setOnchange('tax_su_non_habit_surf_sup2','VerifFloat(this)');
3167 $form->setOnchange('tax_su_non_habit_surf_sup3','VerifFloat(this)');
3168 $form->setOnchange('tax_su_non_habit_surf_sup4','VerifFloat(this)');
3169 $form->setOnchange('tax_su_non_habit_surf_sup5','VerifFloat(this)');
3170 $form->setOnchange('tax_su_non_habit_surf_sup6','VerifFloat(this)');
3171 $form->setOnchange('tax_su_non_habit_surf_sup7','VerifFloat(this)');
3172 $form->setOnchange('vsd_unit_fonc_sup','VerifFloat(this)');
3173 $form->setOnchange('vsd_unit_fonc_constr_sup','VerifFloat(this)');
3174 $form->setOnchange('vsd_val_terr','VerifFloat(this)');
3175 $form->setOnchange('vsd_const_sxist_non_dem_surf','VerifFloat(this)');
3176 $form->setOnchange('vsd_rescr_fisc','fdate(this)');
3177 $form->setOnchange('pld_val_terr','VerifFloat(this)');
3178 $form->setOnchange('pld_const_exist_dem_surf','VerifFloat(this)');
3179 $form->setOnchange('terr_div_surf_etab','VerifFloat(this)');
3180 $form->setOnchange('terr_div_surf_av_div','VerifFloat(this)');
3181 $form->setOnchange('doc_date','fdate(this)');
3182 $form->setOnchange('doc_surf','VerifFloat(this)');
3183 $form->setOnchange('doc_nb_log','VerifNum(this)');
3184 $form->setOnchange('doc_nb_log_indiv','VerifNum(this)');
3185 $form->setOnchange('doc_nb_log_coll','VerifNum(this)');
3186 $form->setOnchange('doc_nb_log_lls','VerifNum(this)');
3187 $form->setOnchange('doc_nb_log_aa','VerifNum(this)');
3188 $form->setOnchange('doc_nb_log_ptz','VerifNum(this)');
3189 $form->setOnchange('doc_nb_log_autre','VerifNum(this)');
3190 $form->setOnchange('daact_date','fdate(this)');
3191 $form->setOnchange('daact_date_chgmt_dest','fdate(this)');
3192 $form->setOnchange('daact_surf','VerifFloat(this)');
3193 $form->setOnchange('daact_nb_log','VerifNum(this)');
3194 $form->setOnchange('daact_nb_log_indiv','VerifNum(this)');
3195 $form->setOnchange('daact_nb_log_coll','VerifNum(this)');
3196 $form->setOnchange('daact_nb_log_lls','VerifNum(this)');
3197 $form->setOnchange('daact_nb_log_aa','VerifNum(this)');
3198 $form->setOnchange('daact_nb_log_ptz','VerifNum(this)');
3199 $form->setOnchange('daact_nb_log_autre','VerifNum(this)');
3200 $form->setOnchange('architecte','VerifNum(this)');
3201 }
3202 /**
3203 * Methode setTaille
3204 */
3205 function setTaille(&$form, $maj) {
3206 $form->setTaille("donnees_techniques", 11);
3207 $form->setTaille("dossier_instruction", 20);
3208 $form->setTaille("lot", 11);
3209 $form->setTaille("am_lotiss", 1);
3210 $form->setTaille("am_autre_div", 1);
3211 $form->setTaille("am_camping", 1);
3212 $form->setTaille("am_caravane", 1);
3213 $form->setTaille("am_carav_duree", 11);
3214 $form->setTaille("am_statio", 1);
3215 $form->setTaille("am_statio_cont", 11);
3216 $form->setTaille("am_affou_exhau", 1);
3217 $form->setTaille("am_affou_exhau_sup", 10);
3218 $form->setTaille("am_affou_prof", 10);
3219 $form->setTaille("am_exhau_haut", 10);
3220 $form->setTaille("am_coupe_abat", 1);
3221 $form->setTaille("am_prot_plu", 1);
3222 $form->setTaille("am_prot_muni", 1);
3223 $form->setTaille("am_mobil_voyage", 1);
3224 $form->setTaille("am_aire_voyage", 1);
3225 $form->setTaille("am_rememb_afu", 1);
3226 $form->setTaille("am_parc_resid_loi", 1);
3227 $form->setTaille("am_sport_moto", 1);
3228 $form->setTaille("am_sport_attrac", 1);
3229 $form->setTaille("am_sport_golf", 1);
3230 $form->setTaille("am_mob_art", 1);
3231 $form->setTaille("am_modif_voie_esp", 1);
3232 $form->setTaille("am_plant_voie_esp", 1);
3233 $form->setTaille("am_chem_ouv_esp", 1);
3234 $form->setTaille("am_agri_peche", 1);
3235 $form->setTaille("am_crea_voie", 1);
3236 $form->setTaille("am_modif_voie_exist", 1);
3237 $form->setTaille("am_crea_esp_sauv", 1);
3238 $form->setTaille("am_crea_esp_class", 1);
3239 $form->setTaille("am_projet_desc", 80);
3240 $form->setTaille("am_terr_surf", 10);
3241 $form->setTaille("am_tranche_desc", 80);
3242 $form->setTaille("am_lot_max_nb", 11);
3243 $form->setTaille("am_lot_max_shon", 10);
3244 $form->setTaille("am_lot_cstr_cos", 1);
3245 $form->setTaille("am_lot_cstr_plan", 1);
3246 $form->setTaille("am_lot_cstr_vente", 1);
3247 $form->setTaille("am_lot_fin_diff", 1);
3248 $form->setTaille("am_lot_consign", 1);
3249 $form->setTaille("am_lot_gar_achev", 1);
3250 $form->setTaille("am_lot_vente_ant", 1);
3251 $form->setTaille("am_empl_nb", 11);
3252 $form->setTaille("am_tente_nb", 11);
3253 $form->setTaille("am_carav_nb", 11);
3254 $form->setTaille("am_mobil_nb", 11);
3255 $form->setTaille("am_pers_nb", 11);
3256 $form->setTaille("am_empl_hll_nb", 11);
3257 $form->setTaille("am_hll_shon", 10);
3258 $form->setTaille("am_periode_exploit", 80);
3259 $form->setTaille("am_exist_agrand", 1);
3260 $form->setTaille("am_exist_date", 12);
3261 $form->setTaille("am_exist_num", 30);
3262 $form->setTaille("am_exist_nb_avant", 11);
3263 $form->setTaille("am_exist_nb_apres", 11);
3264 $form->setTaille("am_coupe_bois", 1);
3265 $form->setTaille("am_coupe_parc", 1);
3266 $form->setTaille("am_coupe_align", 1);
3267 $form->setTaille("am_coupe_ess", 30);
3268 $form->setTaille("am_coupe_age", 15);
3269 $form->setTaille("am_coupe_dens", 30);
3270 $form->setTaille("am_coupe_qual", 30);
3271 $form->setTaille("am_coupe_trait", 30);
3272 $form->setTaille("am_coupe_autr", 30);
3273 $form->setTaille("co_archi_recours", 1);
3274 $form->setTaille("co_cstr_nouv", 1);
3275 $form->setTaille("co_cstr_exist", 1);
3276 $form->setTaille("co_cloture", 1);
3277 $form->setTaille("co_elec_tension", 10);
3278 $form->setTaille("co_div_terr", 1);
3279 $form->setTaille("co_projet_desc", 80);
3280 $form->setTaille("co_anx_pisc", 1);
3281 $form->setTaille("co_anx_gara", 1);
3282 $form->setTaille("co_anx_veran", 1);
3283 $form->setTaille("co_anx_abri", 1);
3284 $form->setTaille("co_anx_autr", 1);
3285 $form->setTaille("co_anx_autr_desc", 80);
3286 $form->setTaille("co_tot_log_nb", 11);
3287 $form->setTaille("co_tot_ind_nb", 11);
3288 $form->setTaille("co_tot_coll_nb", 11);
3289 $form->setTaille("co_mais_piece_nb", 11);
3290 $form->setTaille("co_mais_niv_nb", 11);
3291 $form->setTaille("co_fin_lls_nb", 11);
3292 $form->setTaille("co_fin_aa_nb", 11);
3293 $form->setTaille("co_fin_ptz_nb", 11);
3294 $form->setTaille("co_fin_autr_nb", 11);
3295 $form->setTaille("co_fin_autr_desc", 80);
3296 $form->setTaille("co_mais_contrat_ind", 1);
3297 $form->setTaille("co_uti_pers", 1);
3298 $form->setTaille("co_uti_vente", 1);
3299 $form->setTaille("co_uti_loc", 1);
3300 $form->setTaille("co_uti_princ", 1);
3301 $form->setTaille("co_uti_secon", 1);
3302 $form->setTaille("co_resid_agees", 1);
3303 $form->setTaille("co_resid_etud", 1);
3304 $form->setTaille("co_resid_tourism", 1);
3305 $form->setTaille("co_resid_hot_soc", 1);
3306 $form->setTaille("co_resid_soc", 1);
3307 $form->setTaille("co_resid_hand", 1);
3308 $form->setTaille("co_resid_autr", 1);
3309 $form->setTaille("co_resid_autr_desc", 80);
3310 $form->setTaille("co_foyer_chamb_nb", 11);
3311 $form->setTaille("co_log_1p_nb", 11);
3312 $form->setTaille("co_log_2p_nb", 11);
3313 $form->setTaille("co_log_3p_nb", 11);
3314 $form->setTaille("co_log_4p_nb", 11);
3315 $form->setTaille("co_log_5p_nb", 11);
3316 $form->setTaille("co_log_6p_nb", 11);
3317 $form->setTaille("co_bat_niv_nb", 11);
3318 $form->setTaille("co_trx_exten", 1);
3319 $form->setTaille("co_trx_surelev", 1);
3320 $form->setTaille("co_trx_nivsup", 1);
3321 $form->setTaille("co_demont_periode", 80);
3322 $form->setTaille("co_sp_transport", 1);
3323 $form->setTaille("co_sp_enseign", 1);
3324 $form->setTaille("co_sp_act_soc", 1);
3325 $form->setTaille("co_sp_ouvr_spe", 1);
3326 $form->setTaille("co_sp_sante", 1);
3327 $form->setTaille("co_sp_culture", 1);
3328 $form->setTaille("co_statio_avt_nb", 11);
3329 $form->setTaille("co_statio_apr_nb", 11);
3330 $form->setTaille("co_statio_adr", 80);
3331 $form->setTaille("co_statio_place_nb", 11);
3332 $form->setTaille("co_statio_tot_surf", 10);
3333 $form->setTaille("co_statio_tot_shob", 10);
3334 $form->setTaille("co_statio_comm_cin_surf", 10);
3335 $form->setTaille("su_avt_shon1", 10);
3336 $form->setTaille("su_avt_shon2", 10);
3337 $form->setTaille("su_avt_shon3", 10);
3338 $form->setTaille("su_avt_shon4", 10);
3339 $form->setTaille("su_avt_shon5", 10);
3340 $form->setTaille("su_avt_shon6", 10);
3341 $form->setTaille("su_avt_shon7", 10);
3342 $form->setTaille("su_avt_shon8", 10);
3343 $form->setTaille("su_avt_shon9", 10);
3344 $form->setTaille("su_cstr_shon1", 10);
3345 $form->setTaille("su_cstr_shon2", 10);
3346 $form->setTaille("su_cstr_shon3", 10);
3347 $form->setTaille("su_cstr_shon4", 10);
3348 $form->setTaille("su_cstr_shon5", 10);
3349 $form->setTaille("su_cstr_shon6", 10);
3350 $form->setTaille("su_cstr_shon7", 10);
3351 $form->setTaille("su_cstr_shon8", 10);
3352 $form->setTaille("su_cstr_shon9", 10);
3353 $form->setTaille("su_trsf_shon1", 10);
3354 $form->setTaille("su_trsf_shon2", 10);
3355 $form->setTaille("su_trsf_shon3", 10);
3356 $form->setTaille("su_trsf_shon4", 10);
3357 $form->setTaille("su_trsf_shon5", 10);
3358 $form->setTaille("su_trsf_shon6", 10);
3359 $form->setTaille("su_trsf_shon7", 10);
3360 $form->setTaille("su_trsf_shon8", 10);
3361 $form->setTaille("su_trsf_shon9", 10);
3362 $form->setTaille("su_chge_shon1", 10);
3363 $form->setTaille("su_chge_shon2", 10);
3364 $form->setTaille("su_chge_shon3", 10);
3365 $form->setTaille("su_chge_shon4", 10);
3366 $form->setTaille("su_chge_shon5", 10);
3367 $form->setTaille("su_chge_shon6", 10);
3368 $form->setTaille("su_chge_shon7", 10);
3369 $form->setTaille("su_chge_shon8", 10);
3370 $form->setTaille("su_chge_shon9", 10);
3371 $form->setTaille("su_demo_shon1", 10);
3372 $form->setTaille("su_demo_shon2", 10);
3373 $form->setTaille("su_demo_shon3", 10);
3374 $form->setTaille("su_demo_shon4", 10);
3375 $form->setTaille("su_demo_shon5", 10);
3376 $form->setTaille("su_demo_shon6", 10);
3377 $form->setTaille("su_demo_shon7", 10);
3378 $form->setTaille("su_demo_shon8", 10);
3379 $form->setTaille("su_demo_shon9", 10);
3380 $form->setTaille("su_sup_shon1", 10);
3381 $form->setTaille("su_sup_shon2", 10);
3382 $form->setTaille("su_sup_shon3", 10);
3383 $form->setTaille("su_sup_shon4", 10);
3384 $form->setTaille("su_sup_shon5", 10);
3385 $form->setTaille("su_sup_shon6", 10);
3386 $form->setTaille("su_sup_shon7", 10);
3387 $form->setTaille("su_sup_shon8", 10);
3388 $form->setTaille("su_sup_shon9", 10);
3389 $form->setTaille("su_tot_shon1", 10);
3390 $form->setTaille("su_tot_shon2", 10);
3391 $form->setTaille("su_tot_shon3", 10);
3392 $form->setTaille("su_tot_shon4", 10);
3393 $form->setTaille("su_tot_shon5", 10);
3394 $form->setTaille("su_tot_shon6", 10);
3395 $form->setTaille("su_tot_shon7", 10);
3396 $form->setTaille("su_tot_shon8", 10);
3397 $form->setTaille("su_tot_shon9", 10);
3398 $form->setTaille("su_avt_shon_tot", 10);
3399 $form->setTaille("su_cstr_shon_tot", 10);
3400 $form->setTaille("su_trsf_shon_tot", 10);
3401 $form->setTaille("su_chge_shon_tot", 10);
3402 $form->setTaille("su_demo_shon_tot", 10);
3403 $form->setTaille("su_sup_shon_tot", 10);
3404 $form->setTaille("su_tot_shon_tot", 10);
3405 $form->setTaille("dm_constr_dates", 80);
3406 $form->setTaille("dm_total", 1);
3407 $form->setTaille("dm_partiel", 1);
3408 $form->setTaille("dm_projet_desc", 80);
3409 $form->setTaille("dm_tot_log_nb", 11);
3410 $form->setTaille("tax_surf_tot", 10);
3411 $form->setTaille("tax_surf", 10);
3412 $form->setTaille("tax_surf_suppr_mod", 10);
3413 $form->setTaille("tax_su_princ_log_nb1", 10);
3414 $form->setTaille("tax_su_princ_log_nb2", 10);
3415 $form->setTaille("tax_su_princ_log_nb3", 10);
3416 $form->setTaille("tax_su_princ_log_nb4", 10);
3417 $form->setTaille("tax_su_princ_log_nb_tot1", 10);
3418 $form->setTaille("tax_su_princ_log_nb_tot2", 10);
3419 $form->setTaille("tax_su_princ_log_nb_tot3", 10);
3420 $form->setTaille("tax_su_princ_log_nb_tot4", 10);
3421 $form->setTaille("tax_su_princ_surf1", 10);
3422 $form->setTaille("tax_su_princ_surf2", 10);
3423 $form->setTaille("tax_su_princ_surf3", 10);
3424 $form->setTaille("tax_su_princ_surf4", 10);
3425 $form->setTaille("tax_su_princ_surf_sup1", 10);
3426 $form->setTaille("tax_su_princ_surf_sup2", 10);
3427 $form->setTaille("tax_su_princ_surf_sup3", 10);
3428 $form->setTaille("tax_su_princ_surf_sup4", 10);
3429 $form->setTaille("tax_su_heber_log_nb1", 11);
3430 $form->setTaille("tax_su_heber_log_nb2", 11);
3431 $form->setTaille("tax_su_heber_log_nb3", 11);
3432 $form->setTaille("tax_su_heber_log_nb_tot1", 11);
3433 $form->setTaille("tax_su_heber_log_nb_tot2", 11);
3434 $form->setTaille("tax_su_heber_log_nb_tot3", 11);
3435 $form->setTaille("tax_su_heber_surf1", 10);
3436 $form->setTaille("tax_su_heber_surf2", 10);
3437 $form->setTaille("tax_su_heber_surf3", 10);
3438 $form->setTaille("tax_su_heber_surf_sup1", 10);
3439 $form->setTaille("tax_su_heber_surf_sup2", 10);
3440 $form->setTaille("tax_su_heber_surf_sup3", 10);
3441 $form->setTaille("tax_su_secon_log_nb", 11);
3442 $form->setTaille("tax_su_tot_log_nb", 11);
3443 $form->setTaille("tax_su_secon_log_nb_tot", 11);
3444 $form->setTaille("tax_su_tot_log_nb_tot", 11);
3445 $form->setTaille("tax_su_secon_surf", 10);
3446 $form->setTaille("tax_su_tot_surf", 10);
3447 $form->setTaille("tax_su_secon_surf_sup", 10);
3448 $form->setTaille("tax_su_tot_surf_sup", 10);
3449 $form->setTaille("tax_ext_pret", 1);
3450 $form->setTaille("tax_ext_desc", 80);
3451 $form->setTaille("tax_surf_tax_exist_cons", 10);
3452 $form->setTaille("tax_log_exist_nb", 11);
3453 $form->setTaille("tax_am_statio_ext", 11);
3454 $form->setTaille("tax_sup_bass_pisc", 10);
3455 $form->setTaille("tax_empl_ten_carav_mobil_nb", 11);
3456 $form->setTaille("tax_empl_hll_nb", 11);
3457 $form->setTaille("tax_eol_haut_nb", 11);
3458 $form->setTaille("tax_pann_volt_sup", 10);
3459 $form->setTaille("tax_am_statio_ext_sup", 11);
3460 $form->setTaille("tax_sup_bass_pisc_sup", 10);
3461 $form->setTaille("tax_empl_ten_carav_mobil_nb_sup", 11);
3462 $form->setTaille("tax_empl_hll_nb_sup", 11);
3463 $form->setTaille("tax_eol_haut_nb_sup", 11);
3464 $form->setTaille("tax_pann_volt_sup_sup", 10);
3465 $form->setTaille("tax_trx_presc_ppr", 1);
3466 $form->setTaille("tax_monu_hist", 1);
3467 $form->setTaille("tax_comm_nb", 11);
3468 $form->setTaille("tax_su_non_habit_surf1", 10);
3469 $form->setTaille("tax_su_non_habit_surf2", 10);
3470 $form->setTaille("tax_su_non_habit_surf3", 10);
3471 $form->setTaille("tax_su_non_habit_surf4", 10);
3472 $form->setTaille("tax_su_non_habit_surf5", 10);
3473 $form->setTaille("tax_su_non_habit_surf6", 10);
3474 $form->setTaille("tax_su_non_habit_surf7", 10);
3475 $form->setTaille("tax_su_non_habit_surf_sup1", 10);
3476 $form->setTaille("tax_su_non_habit_surf_sup2", 10);
3477 $form->setTaille("tax_su_non_habit_surf_sup3", 10);
3478 $form->setTaille("tax_su_non_habit_surf_sup4", 10);
3479 $form->setTaille("tax_su_non_habit_surf_sup5", 10);
3480 $form->setTaille("tax_su_non_habit_surf_sup6", 10);
3481 $form->setTaille("tax_su_non_habit_surf_sup7", 10);
3482 $form->setTaille("vsd_surf_planch_smd", 1);
3483 $form->setTaille("vsd_unit_fonc_sup", 10);
3484 $form->setTaille("vsd_unit_fonc_constr_sup", 10);
3485 $form->setTaille("vsd_val_terr", 10);
3486 $form->setTaille("vsd_const_sxist_non_dem_surf", 10);
3487 $form->setTaille("vsd_rescr_fisc", 12);
3488 $form->setTaille("pld_val_terr", 10);
3489 $form->setTaille("pld_const_exist_dem", 1);
3490 $form->setTaille("pld_const_exist_dem_surf", 10);
3491 $form->setTaille("code_cnil", 1);
3492 $form->setTaille("terr_juri_titul", 20);
3493 $form->setTaille("terr_juri_lot", 20);
3494 $form->setTaille("terr_juri_zac", 20);
3495 $form->setTaille("terr_juri_afu", 20);
3496 $form->setTaille("terr_juri_pup", 20);
3497 $form->setTaille("terr_juri_oin", 20);
3498 $form->setTaille("terr_juri_desc", 80);
3499 $form->setTaille("terr_div_surf_etab", 10);
3500 $form->setTaille("terr_div_surf_av_div", 10);
3501 $form->setTaille("doc_date", 12);
3502 $form->setTaille("doc_tot_trav", 1);
3503 $form->setTaille("doc_tranche_trav", 1);
3504 $form->setTaille("doc_tranche_trav_desc", 80);
3505 $form->setTaille("doc_surf", 10);
3506 $form->setTaille("doc_nb_log", 11);
3507 $form->setTaille("doc_nb_log_indiv", 11);
3508 $form->setTaille("doc_nb_log_coll", 11);
3509 $form->setTaille("doc_nb_log_lls", 11);
3510 $form->setTaille("doc_nb_log_aa", 11);
3511 $form->setTaille("doc_nb_log_ptz", 11);
3512 $form->setTaille("doc_nb_log_autre", 11);
3513 $form->setTaille("daact_date", 12);
3514 $form->setTaille("daact_date_chgmt_dest", 12);
3515 $form->setTaille("daact_tot_trav", 1);
3516 $form->setTaille("daact_tranche_trav", 1);
3517 $form->setTaille("daact_tranche_trav_desc", 80);
3518 $form->setTaille("daact_surf", 10);
3519 $form->setTaille("daact_nb_log", 11);
3520 $form->setTaille("daact_nb_log_indiv", 11);
3521 $form->setTaille("daact_nb_log_coll", 11);
3522 $form->setTaille("daact_nb_log_lls", 11);
3523 $form->setTaille("daact_nb_log_aa", 11);
3524 $form->setTaille("daact_nb_log_ptz", 11);
3525 $form->setTaille("daact_nb_log_autre", 11);
3526 $form->setTaille("dossier_autorisation", 20);
3527 $form->setTaille("am_div_mun", 1);
3528 $form->setTaille("co_perf_energ", 30);
3529 $form->setTaille("architecte", 11);
3530 }
3531
3532 /**
3533 * Methode setMax
3534 */
3535 function setMax(&$form, $maj) {
3536 $form->setMax("donnees_techniques", 11);
3537 $form->setMax("dossier_instruction", 20);
3538 $form->setMax("lot", 11);
3539 $form->setMax("am_lotiss", 1);
3540 $form->setMax("am_autre_div", 1);
3541 $form->setMax("am_camping", 1);
3542 $form->setMax("am_caravane", 1);
3543 $form->setMax("am_carav_duree", 11);
3544 $form->setMax("am_statio", 1);
3545 $form->setMax("am_statio_cont", 11);
3546 $form->setMax("am_affou_exhau", 1);
3547 $form->setMax("am_affou_exhau_sup", -5);
3548 $form->setMax("am_affou_prof", -5);
3549 $form->setMax("am_exhau_haut", -5);
3550 $form->setMax("am_coupe_abat", 1);
3551 $form->setMax("am_prot_plu", 1);
3552 $form->setMax("am_prot_muni", 1);
3553 $form->setMax("am_mobil_voyage", 1);
3554 $form->setMax("am_aire_voyage", 1);
3555 $form->setMax("am_rememb_afu", 1);
3556 $form->setMax("am_parc_resid_loi", 1);
3557 $form->setMax("am_sport_moto", 1);
3558 $form->setMax("am_sport_attrac", 1);
3559 $form->setMax("am_sport_golf", 1);
3560 $form->setMax("am_mob_art", 1);
3561 $form->setMax("am_modif_voie_esp", 1);
3562 $form->setMax("am_plant_voie_esp", 1);
3563 $form->setMax("am_chem_ouv_esp", 1);
3564 $form->setMax("am_agri_peche", 1);
3565 $form->setMax("am_crea_voie", 1);
3566 $form->setMax("am_modif_voie_exist", 1);
3567 $form->setMax("am_crea_esp_sauv", 1);
3568 $form->setMax("am_crea_esp_class", 1);
3569 $form->setMax("am_projet_desc", 6);
3570 $form->setMax("am_terr_surf", -5);
3571 $form->setMax("am_tranche_desc", 6);
3572 $form->setMax("am_lot_max_nb", 11);
3573 $form->setMax("am_lot_max_shon", -5);
3574 $form->setMax("am_lot_cstr_cos", 1);
3575 $form->setMax("am_lot_cstr_plan", 1);
3576 $form->setMax("am_lot_cstr_vente", 1);
3577 $form->setMax("am_lot_fin_diff", 1);
3578 $form->setMax("am_lot_consign", 1);
3579 $form->setMax("am_lot_gar_achev", 1);
3580 $form->setMax("am_lot_vente_ant", 1);
3581 $form->setMax("am_empl_nb", 11);
3582 $form->setMax("am_tente_nb", 11);
3583 $form->setMax("am_carav_nb", 11);
3584 $form->setMax("am_mobil_nb", 11);
3585 $form->setMax("am_pers_nb", 11);
3586 $form->setMax("am_empl_hll_nb", 11);
3587 $form->setMax("am_hll_shon", -5);
3588 $form->setMax("am_periode_exploit", 6);
3589 $form->setMax("am_exist_agrand", 1);
3590 $form->setMax("am_exist_date", 12);
3591 $form->setMax("am_exist_num", 100);
3592 $form->setMax("am_exist_nb_avant", 11);
3593 $form->setMax("am_exist_nb_apres", 11);
3594 $form->setMax("am_coupe_bois", 1);
3595 $form->setMax("am_coupe_parc", 1);
3596 $form->setMax("am_coupe_align", 1);
3597 $form->setMax("am_coupe_ess", 100);
3598 $form->setMax("am_coupe_age", 15);
3599 $form->setMax("am_coupe_dens", 100);
3600 $form->setMax("am_coupe_qual", 100);
3601 $form->setMax("am_coupe_trait", 100);
3602 $form->setMax("am_coupe_autr", 100);
3603 $form->setMax("co_archi_recours", 1);
3604 $form->setMax("co_cstr_nouv", 1);
3605 $form->setMax("co_cstr_exist", 1);
3606 $form->setMax("co_cloture", 1);
3607 $form->setMax("co_elec_tension", -5);
3608 $form->setMax("co_div_terr", 1);
3609 $form->setMax("co_projet_desc", 6);
3610 $form->setMax("co_anx_pisc", 1);
3611 $form->setMax("co_anx_gara", 1);
3612 $form->setMax("co_anx_veran", 1);
3613 $form->setMax("co_anx_abri", 1);
3614 $form->setMax("co_anx_autr", 1);
3615 $form->setMax("co_anx_autr_desc", 6);
3616 $form->setMax("co_tot_log_nb", 11);
3617 $form->setMax("co_tot_ind_nb", 11);
3618 $form->setMax("co_tot_coll_nb", 11);
3619 $form->setMax("co_mais_piece_nb", 11);
3620 $form->setMax("co_mais_niv_nb", 11);
3621 $form->setMax("co_fin_lls_nb", 11);
3622 $form->setMax("co_fin_aa_nb", 11);
3623 $form->setMax("co_fin_ptz_nb", 11);
3624 $form->setMax("co_fin_autr_nb", 11);
3625 $form->setMax("co_fin_autr_desc", 6);
3626 $form->setMax("co_mais_contrat_ind", 1);
3627 $form->setMax("co_uti_pers", 1);
3628 $form->setMax("co_uti_vente", 1);
3629 $form->setMax("co_uti_loc", 1);
3630 $form->setMax("co_uti_princ", 1);
3631 $form->setMax("co_uti_secon", 1);
3632 $form->setMax("co_resid_agees", 1);
3633 $form->setMax("co_resid_etud", 1);
3634 $form->setMax("co_resid_tourism", 1);
3635 $form->setMax("co_resid_hot_soc", 1);
3636 $form->setMax("co_resid_soc", 1);
3637 $form->setMax("co_resid_hand", 1);
3638 $form->setMax("co_resid_autr", 1);
3639 $form->setMax("co_resid_autr_desc", 6);
3640 $form->setMax("co_foyer_chamb_nb", 11);
3641 $form->setMax("co_log_1p_nb", 11);
3642 $form->setMax("co_log_2p_nb", 11);
3643 $form->setMax("co_log_3p_nb", 11);
3644 $form->setMax("co_log_4p_nb", 11);
3645 $form->setMax("co_log_5p_nb", 11);
3646 $form->setMax("co_log_6p_nb", 11);
3647 $form->setMax("co_bat_niv_nb", 11);
3648 $form->setMax("co_trx_exten", 1);
3649 $form->setMax("co_trx_surelev", 1);
3650 $form->setMax("co_trx_nivsup", 1);
3651 $form->setMax("co_demont_periode", 6);
3652 $form->setMax("co_sp_transport", 1);
3653 $form->setMax("co_sp_enseign", 1);
3654 $form->setMax("co_sp_act_soc", 1);
3655 $form->setMax("co_sp_ouvr_spe", 1);
3656 $form->setMax("co_sp_sante", 1);
3657 $form->setMax("co_sp_culture", 1);
3658 $form->setMax("co_statio_avt_nb", 11);
3659 $form->setMax("co_statio_apr_nb", 11);
3660 $form->setMax("co_statio_adr", 6);
3661 $form->setMax("co_statio_place_nb", 11);
3662 $form->setMax("co_statio_tot_surf", -5);
3663 $form->setMax("co_statio_tot_shob", -5);
3664 $form->setMax("co_statio_comm_cin_surf", -5);
3665 $form->setMax("su_avt_shon1", -5);
3666 $form->setMax("su_avt_shon2", -5);
3667 $form->setMax("su_avt_shon3", -5);
3668 $form->setMax("su_avt_shon4", -5);
3669 $form->setMax("su_avt_shon5", -5);
3670 $form->setMax("su_avt_shon6", -5);
3671 $form->setMax("su_avt_shon7", -5);
3672 $form->setMax("su_avt_shon8", -5);
3673 $form->setMax("su_avt_shon9", -5);
3674 $form->setMax("su_cstr_shon1", -5);
3675 $form->setMax("su_cstr_shon2", -5);
3676 $form->setMax("su_cstr_shon3", -5);
3677 $form->setMax("su_cstr_shon4", -5);
3678 $form->setMax("su_cstr_shon5", -5);
3679 $form->setMax("su_cstr_shon6", -5);
3680 $form->setMax("su_cstr_shon7", -5);
3681 $form->setMax("su_cstr_shon8", -5);
3682 $form->setMax("su_cstr_shon9", -5);
3683 $form->setMax("su_trsf_shon1", -5);
3684 $form->setMax("su_trsf_shon2", -5);
3685 $form->setMax("su_trsf_shon3", -5);
3686 $form->setMax("su_trsf_shon4", -5);
3687 $form->setMax("su_trsf_shon5", -5);
3688 $form->setMax("su_trsf_shon6", -5);
3689 $form->setMax("su_trsf_shon7", -5);
3690 $form->setMax("su_trsf_shon8", -5);
3691 $form->setMax("su_trsf_shon9", -5);
3692 $form->setMax("su_chge_shon1", -5);
3693 $form->setMax("su_chge_shon2", -5);
3694 $form->setMax("su_chge_shon3", -5);
3695 $form->setMax("su_chge_shon4", -5);
3696 $form->setMax("su_chge_shon5", -5);
3697 $form->setMax("su_chge_shon6", -5);
3698 $form->setMax("su_chge_shon7", -5);
3699 $form->setMax("su_chge_shon8", -5);
3700 $form->setMax("su_chge_shon9", -5);
3701 $form->setMax("su_demo_shon1", -5);
3702 $form->setMax("su_demo_shon2", -5);
3703 $form->setMax("su_demo_shon3", -5);
3704 $form->setMax("su_demo_shon4", -5);
3705 $form->setMax("su_demo_shon5", -5);
3706 $form->setMax("su_demo_shon6", -5);
3707 $form->setMax("su_demo_shon7", -5);
3708 $form->setMax("su_demo_shon8", -5);
3709 $form->setMax("su_demo_shon9", -5);
3710 $form->setMax("su_sup_shon1", -5);
3711 $form->setMax("su_sup_shon2", -5);
3712 $form->setMax("su_sup_shon3", -5);
3713 $form->setMax("su_sup_shon4", -5);
3714 $form->setMax("su_sup_shon5", -5);
3715 $form->setMax("su_sup_shon6", -5);
3716 $form->setMax("su_sup_shon7", -5);
3717 $form->setMax("su_sup_shon8", -5);
3718 $form->setMax("su_sup_shon9", -5);
3719 $form->setMax("su_tot_shon1", -5);
3720 $form->setMax("su_tot_shon2", -5);
3721 $form->setMax("su_tot_shon3", -5);
3722 $form->setMax("su_tot_shon4", -5);
3723 $form->setMax("su_tot_shon5", -5);
3724 $form->setMax("su_tot_shon6", -5);
3725 $form->setMax("su_tot_shon7", -5);
3726 $form->setMax("su_tot_shon8", -5);
3727 $form->setMax("su_tot_shon9", -5);
3728 $form->setMax("su_avt_shon_tot", -5);
3729 $form->setMax("su_cstr_shon_tot", -5);
3730 $form->setMax("su_trsf_shon_tot", -5);
3731 $form->setMax("su_chge_shon_tot", -5);
3732 $form->setMax("su_demo_shon_tot", -5);
3733 $form->setMax("su_sup_shon_tot", -5);
3734 $form->setMax("su_tot_shon_tot", -5);
3735 $form->setMax("dm_constr_dates", 6);
3736 $form->setMax("dm_total", 1);
3737 $form->setMax("dm_partiel", 1);
3738 $form->setMax("dm_projet_desc", 6);
3739 $form->setMax("dm_tot_log_nb", 11);
3740 $form->setMax("tax_surf_tot", -5);
3741 $form->setMax("tax_surf", -5);
3742 $form->setMax("tax_surf_suppr_mod", -5);
3743 $form->setMax("tax_su_princ_log_nb1", -5);
3744 $form->setMax("tax_su_princ_log_nb2", -5);
3745 $form->setMax("tax_su_princ_log_nb3", -5);
3746 $form->setMax("tax_su_princ_log_nb4", -5);
3747 $form->setMax("tax_su_princ_log_nb_tot1", -5);
3748 $form->setMax("tax_su_princ_log_nb_tot2", -5);
3749 $form->setMax("tax_su_princ_log_nb_tot3", -5);
3750 $form->setMax("tax_su_princ_log_nb_tot4", -5);
3751 $form->setMax("tax_su_princ_surf1", -5);
3752 $form->setMax("tax_su_princ_surf2", -5);
3753 $form->setMax("tax_su_princ_surf3", -5);
3754 $form->setMax("tax_su_princ_surf4", -5);
3755 $form->setMax("tax_su_princ_surf_sup1", -5);
3756 $form->setMax("tax_su_princ_surf_sup2", -5);
3757 $form->setMax("tax_su_princ_surf_sup3", -5);
3758 $form->setMax("tax_su_princ_surf_sup4", -5);
3759 $form->setMax("tax_su_heber_log_nb1", 11);
3760 $form->setMax("tax_su_heber_log_nb2", 11);
3761 $form->setMax("tax_su_heber_log_nb3", 11);
3762 $form->setMax("tax_su_heber_log_nb_tot1", 11);
3763 $form->setMax("tax_su_heber_log_nb_tot2", 11);
3764 $form->setMax("tax_su_heber_log_nb_tot3", 11);
3765 $form->setMax("tax_su_heber_surf1", -5);
3766 $form->setMax("tax_su_heber_surf2", -5);
3767 $form->setMax("tax_su_heber_surf3", -5);
3768 $form->setMax("tax_su_heber_surf_sup1", -5);
3769 $form->setMax("tax_su_heber_surf_sup2", -5);
3770 $form->setMax("tax_su_heber_surf_sup3", -5);
3771 $form->setMax("tax_su_secon_log_nb", 11);
3772 $form->setMax("tax_su_tot_log_nb", 11);
3773 $form->setMax("tax_su_secon_log_nb_tot", 11);
3774 $form->setMax("tax_su_tot_log_nb_tot", 11);
3775 $form->setMax("tax_su_secon_surf", -5);
3776 $form->setMax("tax_su_tot_surf", -5);
3777 $form->setMax("tax_su_secon_surf_sup", -5);
3778 $form->setMax("tax_su_tot_surf_sup", -5);
3779 $form->setMax("tax_ext_pret", 1);
3780 $form->setMax("tax_ext_desc", 6);
3781 $form->setMax("tax_surf_tax_exist_cons", -5);
3782 $form->setMax("tax_log_exist_nb", 11);
3783 $form->setMax("tax_am_statio_ext", 11);
3784 $form->setMax("tax_sup_bass_pisc", -5);
3785 $form->setMax("tax_empl_ten_carav_mobil_nb", 11);
3786 $form->setMax("tax_empl_hll_nb", 11);
3787 $form->setMax("tax_eol_haut_nb", 11);
3788 $form->setMax("tax_pann_volt_sup", -5);
3789 $form->setMax("tax_am_statio_ext_sup", 11);
3790 $form->setMax("tax_sup_bass_pisc_sup", -5);
3791 $form->setMax("tax_empl_ten_carav_mobil_nb_sup", 11);
3792 $form->setMax("tax_empl_hll_nb_sup", 11);
3793 $form->setMax("tax_eol_haut_nb_sup", 11);
3794 $form->setMax("tax_pann_volt_sup_sup", -5);
3795 $form->setMax("tax_trx_presc_ppr", 1);
3796 $form->setMax("tax_monu_hist", 1);
3797 $form->setMax("tax_comm_nb", 11);
3798 $form->setMax("tax_su_non_habit_surf1", -5);
3799 $form->setMax("tax_su_non_habit_surf2", -5);
3800 $form->setMax("tax_su_non_habit_surf3", -5);
3801 $form->setMax("tax_su_non_habit_surf4", -5);
3802 $form->setMax("tax_su_non_habit_surf5", -5);
3803 $form->setMax("tax_su_non_habit_surf6", -5);
3804 $form->setMax("tax_su_non_habit_surf7", -5);
3805 $form->setMax("tax_su_non_habit_surf_sup1", -5);
3806 $form->setMax("tax_su_non_habit_surf_sup2", -5);
3807 $form->setMax("tax_su_non_habit_surf_sup3", -5);
3808 $form->setMax("tax_su_non_habit_surf_sup4", -5);
3809 $form->setMax("tax_su_non_habit_surf_sup5", -5);
3810 $form->setMax("tax_su_non_habit_surf_sup6", -5);
3811 $form->setMax("tax_su_non_habit_surf_sup7", -5);
3812 $form->setMax("vsd_surf_planch_smd", 1);
3813 $form->setMax("vsd_unit_fonc_sup", -5);
3814 $form->setMax("vsd_unit_fonc_constr_sup", -5);
3815 $form->setMax("vsd_val_terr", -5);
3816 $form->setMax("vsd_const_sxist_non_dem_surf", -5);
3817 $form->setMax("vsd_rescr_fisc", 12);
3818 $form->setMax("pld_val_terr", -5);
3819 $form->setMax("pld_const_exist_dem", 1);
3820 $form->setMax("pld_const_exist_dem_surf", -5);
3821 $form->setMax("code_cnil", 1);
3822 $form->setMax("terr_juri_titul", 20);
3823 $form->setMax("terr_juri_lot", 20);
3824 $form->setMax("terr_juri_zac", 20);
3825 $form->setMax("terr_juri_afu", 20);
3826 $form->setMax("terr_juri_pup", 20);
3827 $form->setMax("terr_juri_oin", 20);
3828 $form->setMax("terr_juri_desc", 6);
3829 $form->setMax("terr_div_surf_etab", -5);
3830 $form->setMax("terr_div_surf_av_div", -5);
3831 $form->setMax("doc_date", 12);
3832 $form->setMax("doc_tot_trav", 1);
3833 $form->setMax("doc_tranche_trav", 1);
3834 $form->setMax("doc_tranche_trav_desc", 6);
3835 $form->setMax("doc_surf", -5);
3836 $form->setMax("doc_nb_log", 11);
3837 $form->setMax("doc_nb_log_indiv", 11);
3838 $form->setMax("doc_nb_log_coll", 11);
3839 $form->setMax("doc_nb_log_lls", 11);
3840 $form->setMax("doc_nb_log_aa", 11);
3841 $form->setMax("doc_nb_log_ptz", 11);
3842 $form->setMax("doc_nb_log_autre", 11);
3843 $form->setMax("daact_date", 12);
3844 $form->setMax("daact_date_chgmt_dest", 12);
3845 $form->setMax("daact_tot_trav", 1);
3846 $form->setMax("daact_tranche_trav", 1);
3847 $form->setMax("daact_tranche_trav_desc", 6);
3848 $form->setMax("daact_surf", -5);
3849 $form->setMax("daact_nb_log", 11);
3850 $form->setMax("daact_nb_log_indiv", 11);
3851 $form->setMax("daact_nb_log_coll", 11);
3852 $form->setMax("daact_nb_log_lls", 11);
3853 $form->setMax("daact_nb_log_aa", 11);
3854 $form->setMax("daact_nb_log_ptz", 11);
3855 $form->setMax("daact_nb_log_autre", 11);
3856 $form->setMax("dossier_autorisation", 20);
3857 $form->setMax("am_div_mun", 1);
3858 $form->setMax("co_perf_energ", 40);
3859 $form->setMax("architecte", 11);
3860 }
3861
3862
3863 function setLib(&$form,$maj) {
3864 //libelle des champs
3865 $form->setLib('donnees_techniques',_('donnees_techniques'));
3866 $form->setLib('dossier_instruction',_('dossier_instruction'));
3867 $form->setLib('lot',_('lot'));
3868 $form->setLib('am_lotiss',_('am_lotiss'));
3869 $form->setLib('am_autre_div',_('am_autre_div'));
3870 $form->setLib('am_camping',_('am_camping'));
3871 $form->setLib('am_caravane',_('am_caravane'));
3872 $form->setLib('am_carav_duree',_('am_carav_duree'));
3873 $form->setLib('am_statio',_('am_statio'));
3874 $form->setLib('am_statio_cont',_('am_statio_cont'));
3875 $form->setLib('am_affou_exhau',_('am_affou_exhau'));
3876 $form->setLib('am_affou_exhau_sup',_('am_affou_exhau_sup'));
3877 $form->setLib('am_affou_prof',_('am_affou_prof'));
3878 $form->setLib('am_exhau_haut',_('am_exhau_haut'));
3879 $form->setLib('am_coupe_abat',_('am_coupe_abat'));
3880 $form->setLib('am_prot_plu',_('am_prot_plu'));
3881 $form->setLib('am_prot_muni',_('am_prot_muni'));
3882 $form->setLib('am_mobil_voyage',_('am_mobil_voyage'));
3883 $form->setLib('am_aire_voyage',_('am_aire_voyage'));
3884 $form->setLib('am_rememb_afu',_('am_rememb_afu'));
3885 $form->setLib('am_parc_resid_loi',_('am_parc_resid_loi'));
3886 $form->setLib('am_sport_moto',_('am_sport_moto'));
3887 $form->setLib('am_sport_attrac',_('am_sport_attrac'));
3888 $form->setLib('am_sport_golf',_('am_sport_golf'));
3889 $form->setLib('am_mob_art',_('am_mob_art'));
3890 $form->setLib('am_modif_voie_esp',_('am_modif_voie_esp'));
3891 $form->setLib('am_plant_voie_esp',_('am_plant_voie_esp'));
3892 $form->setLib('am_chem_ouv_esp',_('am_chem_ouv_esp'));
3893 $form->setLib('am_agri_peche',_('am_agri_peche'));
3894 $form->setLib('am_crea_voie',_('am_crea_voie'));
3895 $form->setLib('am_modif_voie_exist',_('am_modif_voie_exist'));
3896 $form->setLib('am_crea_esp_sauv',_('am_crea_esp_sauv'));
3897 $form->setLib('am_crea_esp_class',_('am_crea_esp_class'));
3898 $form->setLib('am_projet_desc',_('am_projet_desc'));
3899 $form->setLib('am_terr_surf',_('am_terr_surf'));
3900 $form->setLib('am_tranche_desc',_('am_tranche_desc'));
3901 $form->setLib('am_lot_max_nb',_('am_lot_max_nb'));
3902 $form->setLib('am_lot_max_shon',_('am_lot_max_shon'));
3903 $form->setLib('am_lot_cstr_cos',_('am_lot_cstr_cos'));
3904 $form->setLib('am_lot_cstr_plan',_('am_lot_cstr_plan'));
3905 $form->setLib('am_lot_cstr_vente',_('am_lot_cstr_vente'));
3906 $form->setLib('am_lot_fin_diff',_('am_lot_fin_diff'));
3907 $form->setLib('am_lot_consign',_('am_lot_consign'));
3908 $form->setLib('am_lot_gar_achev',_('am_lot_gar_achev'));
3909 $form->setLib('am_lot_vente_ant',_('am_lot_vente_ant'));
3910 $form->setLib('am_empl_nb',_('am_empl_nb'));
3911 $form->setLib('am_tente_nb',_('am_tente_nb'));
3912 $form->setLib('am_carav_nb',_('am_carav_nb'));
3913 $form->setLib('am_mobil_nb',_('am_mobil_nb'));
3914 $form->setLib('am_pers_nb',_('am_pers_nb'));
3915 $form->setLib('am_empl_hll_nb',_('am_empl_hll_nb'));
3916 $form->setLib('am_hll_shon',_('am_hll_shon'));
3917 $form->setLib('am_periode_exploit',_('am_periode_exploit'));
3918 $form->setLib('am_exist_agrand',_('am_exist_agrand'));
3919 $form->setLib('am_exist_date',_('am_exist_date'));
3920 $form->setLib('am_exist_num',_('am_exist_num'));
3921 $form->setLib('am_exist_nb_avant',_('am_exist_nb_avant'));
3922 $form->setLib('am_exist_nb_apres',_('am_exist_nb_apres'));
3923 $form->setLib('am_coupe_bois',_('am_coupe_bois'));
3924 $form->setLib('am_coupe_parc',_('am_coupe_parc'));
3925 $form->setLib('am_coupe_align',_('am_coupe_align'));
3926 $form->setLib('am_coupe_ess',_('am_coupe_ess'));
3927 $form->setLib('am_coupe_age',_('am_coupe_age'));
3928 $form->setLib('am_coupe_dens',_('am_coupe_dens'));
3929 $form->setLib('am_coupe_qual',_('am_coupe_qual'));
3930 $form->setLib('am_coupe_trait',_('am_coupe_trait'));
3931 $form->setLib('am_coupe_autr',_('am_coupe_autr'));
3932 $form->setLib('co_archi_recours',_('co_archi_recours'));
3933 $form->setLib('co_cstr_nouv',_('co_cstr_nouv'));
3934 $form->setLib('co_cstr_exist',_('co_cstr_exist'));
3935 $form->setLib('co_cloture',_('co_cloture'));
3936 $form->setLib('co_elec_tension',_('co_elec_tension'));
3937 $form->setLib('co_div_terr',_('co_div_terr'));
3938 $form->setLib('co_projet_desc',_('co_projet_desc'));
3939 $form->setLib('co_anx_pisc',_('co_anx_pisc'));
3940 $form->setLib('co_anx_gara',_('co_anx_gara'));
3941 $form->setLib('co_anx_veran',_('co_anx_veran'));
3942 $form->setLib('co_anx_abri',_('co_anx_abri'));
3943 $form->setLib('co_anx_autr',_('co_anx_autr'));
3944 $form->setLib('co_anx_autr_desc',_('co_anx_autr_desc'));
3945 $form->setLib('co_tot_log_nb',_('co_tot_log_nb'));
3946 $form->setLib('co_tot_ind_nb',_('co_tot_ind_nb'));
3947 $form->setLib('co_tot_coll_nb',_('co_tot_coll_nb'));
3948 $form->setLib('co_mais_piece_nb',_('co_mais_piece_nb'));
3949 $form->setLib('co_mais_niv_nb',_('co_mais_niv_nb'));
3950 $form->setLib('co_fin_lls_nb',_('co_fin_lls_nb'));
3951 $form->setLib('co_fin_aa_nb',_('co_fin_aa_nb'));
3952 $form->setLib('co_fin_ptz_nb',_('co_fin_ptz_nb'));
3953 $form->setLib('co_fin_autr_nb',_('co_fin_autr_nb'));
3954 $form->setLib('co_fin_autr_desc',_('co_fin_autr_desc'));
3955 $form->setLib('co_mais_contrat_ind',_('co_mais_contrat_ind'));
3956 $form->setLib('co_uti_pers',_('co_uti_pers'));
3957 $form->setLib('co_uti_vente',_('co_uti_vente'));
3958 $form->setLib('co_uti_loc',_('co_uti_loc'));
3959 $form->setLib('co_uti_princ',_('co_uti_princ'));
3960 $form->setLib('co_uti_secon',_('co_uti_secon'));
3961 $form->setLib('co_resid_agees',_('co_resid_agees'));
3962 $form->setLib('co_resid_etud',_('co_resid_etud'));
3963 $form->setLib('co_resid_tourism',_('co_resid_tourism'));
3964 $form->setLib('co_resid_hot_soc',_('co_resid_hot_soc'));
3965 $form->setLib('co_resid_soc',_('co_resid_soc'));
3966 $form->setLib('co_resid_hand',_('co_resid_hand'));
3967 $form->setLib('co_resid_autr',_('co_resid_autr'));
3968 $form->setLib('co_resid_autr_desc',_('co_resid_autr_desc'));
3969 $form->setLib('co_foyer_chamb_nb',_('co_foyer_chamb_nb'));
3970 $form->setLib('co_log_1p_nb',_('co_log_1p_nb'));
3971 $form->setLib('co_log_2p_nb',_('co_log_2p_nb'));
3972 $form->setLib('co_log_3p_nb',_('co_log_3p_nb'));
3973 $form->setLib('co_log_4p_nb',_('co_log_4p_nb'));
3974 $form->setLib('co_log_5p_nb',_('co_log_5p_nb'));
3975 $form->setLib('co_log_6p_nb',_('co_log_6p_nb'));
3976 $form->setLib('co_bat_niv_nb',_('co_bat_niv_nb'));
3977 $form->setLib('co_trx_exten',_('co_trx_exten'));
3978 $form->setLib('co_trx_surelev',_('co_trx_surelev'));
3979 $form->setLib('co_trx_nivsup',_('co_trx_nivsup'));
3980 $form->setLib('co_demont_periode',_('co_demont_periode'));
3981 $form->setLib('co_sp_transport',_('co_sp_transport'));
3982 $form->setLib('co_sp_enseign',_('co_sp_enseign'));
3983 $form->setLib('co_sp_act_soc',_('co_sp_act_soc'));
3984 $form->setLib('co_sp_ouvr_spe',_('co_sp_ouvr_spe'));
3985 $form->setLib('co_sp_sante',_('co_sp_sante'));
3986 $form->setLib('co_sp_culture',_('co_sp_culture'));
3987 $form->setLib('co_statio_avt_nb',_('co_statio_avt_nb'));
3988 $form->setLib('co_statio_apr_nb',_('co_statio_apr_nb'));
3989 $form->setLib('co_statio_adr',_('co_statio_adr'));
3990 $form->setLib('co_statio_place_nb',_('co_statio_place_nb'));
3991 $form->setLib('co_statio_tot_surf',_('co_statio_tot_surf'));
3992 $form->setLib('co_statio_tot_shob',_('co_statio_tot_shob'));
3993 $form->setLib('co_statio_comm_cin_surf',_('co_statio_comm_cin_surf'));
3994 $form->setLib('su_avt_shon1',_('su_avt_shon1'));
3995 $form->setLib('su_avt_shon2',_('su_avt_shon2'));
3996 $form->setLib('su_avt_shon3',_('su_avt_shon3'));
3997 $form->setLib('su_avt_shon4',_('su_avt_shon4'));
3998 $form->setLib('su_avt_shon5',_('su_avt_shon5'));
3999 $form->setLib('su_avt_shon6',_('su_avt_shon6'));
4000 $form->setLib('su_avt_shon7',_('su_avt_shon7'));
4001 $form->setLib('su_avt_shon8',_('su_avt_shon8'));
4002 $form->setLib('su_avt_shon9',_('su_avt_shon9'));
4003 $form->setLib('su_cstr_shon1',_('su_cstr_shon1'));
4004 $form->setLib('su_cstr_shon2',_('su_cstr_shon2'));
4005 $form->setLib('su_cstr_shon3',_('su_cstr_shon3'));
4006 $form->setLib('su_cstr_shon4',_('su_cstr_shon4'));
4007 $form->setLib('su_cstr_shon5',_('su_cstr_shon5'));
4008 $form->setLib('su_cstr_shon6',_('su_cstr_shon6'));
4009 $form->setLib('su_cstr_shon7',_('su_cstr_shon7'));
4010 $form->setLib('su_cstr_shon8',_('su_cstr_shon8'));
4011 $form->setLib('su_cstr_shon9',_('su_cstr_shon9'));
4012 $form->setLib('su_trsf_shon1',_('su_trsf_shon1'));
4013 $form->setLib('su_trsf_shon2',_('su_trsf_shon2'));
4014 $form->setLib('su_trsf_shon3',_('su_trsf_shon3'));
4015 $form->setLib('su_trsf_shon4',_('su_trsf_shon4'));
4016 $form->setLib('su_trsf_shon5',_('su_trsf_shon5'));
4017 $form->setLib('su_trsf_shon6',_('su_trsf_shon6'));
4018 $form->setLib('su_trsf_shon7',_('su_trsf_shon7'));
4019 $form->setLib('su_trsf_shon8',_('su_trsf_shon8'));
4020 $form->setLib('su_trsf_shon9',_('su_trsf_shon9'));
4021 $form->setLib('su_chge_shon1',_('su_chge_shon1'));
4022 $form->setLib('su_chge_shon2',_('su_chge_shon2'));
4023 $form->setLib('su_chge_shon3',_('su_chge_shon3'));
4024 $form->setLib('su_chge_shon4',_('su_chge_shon4'));
4025 $form->setLib('su_chge_shon5',_('su_chge_shon5'));
4026 $form->setLib('su_chge_shon6',_('su_chge_shon6'));
4027 $form->setLib('su_chge_shon7',_('su_chge_shon7'));
4028 $form->setLib('su_chge_shon8',_('su_chge_shon8'));
4029 $form->setLib('su_chge_shon9',_('su_chge_shon9'));
4030 $form->setLib('su_demo_shon1',_('su_demo_shon1'));
4031 $form->setLib('su_demo_shon2',_('su_demo_shon2'));
4032 $form->setLib('su_demo_shon3',_('su_demo_shon3'));
4033 $form->setLib('su_demo_shon4',_('su_demo_shon4'));
4034 $form->setLib('su_demo_shon5',_('su_demo_shon5'));
4035 $form->setLib('su_demo_shon6',_('su_demo_shon6'));
4036 $form->setLib('su_demo_shon7',_('su_demo_shon7'));
4037 $form->setLib('su_demo_shon8',_('su_demo_shon8'));
4038 $form->setLib('su_demo_shon9',_('su_demo_shon9'));
4039 $form->setLib('su_sup_shon1',_('su_sup_shon1'));
4040 $form->setLib('su_sup_shon2',_('su_sup_shon2'));
4041 $form->setLib('su_sup_shon3',_('su_sup_shon3'));
4042 $form->setLib('su_sup_shon4',_('su_sup_shon4'));
4043 $form->setLib('su_sup_shon5',_('su_sup_shon5'));
4044 $form->setLib('su_sup_shon6',_('su_sup_shon6'));
4045 $form->setLib('su_sup_shon7',_('su_sup_shon7'));
4046 $form->setLib('su_sup_shon8',_('su_sup_shon8'));
4047 $form->setLib('su_sup_shon9',_('su_sup_shon9'));
4048 $form->setLib('su_tot_shon1',_('su_tot_shon1'));
4049 $form->setLib('su_tot_shon2',_('su_tot_shon2'));
4050 $form->setLib('su_tot_shon3',_('su_tot_shon3'));
4051 $form->setLib('su_tot_shon4',_('su_tot_shon4'));
4052 $form->setLib('su_tot_shon5',_('su_tot_shon5'));
4053 $form->setLib('su_tot_shon6',_('su_tot_shon6'));
4054 $form->setLib('su_tot_shon7',_('su_tot_shon7'));
4055 $form->setLib('su_tot_shon8',_('su_tot_shon8'));
4056 $form->setLib('su_tot_shon9',_('su_tot_shon9'));
4057 $form->setLib('su_avt_shon_tot',_('su_avt_shon_tot'));
4058 $form->setLib('su_cstr_shon_tot',_('su_cstr_shon_tot'));
4059 $form->setLib('su_trsf_shon_tot',_('su_trsf_shon_tot'));
4060 $form->setLib('su_chge_shon_tot',_('su_chge_shon_tot'));
4061 $form->setLib('su_demo_shon_tot',_('su_demo_shon_tot'));
4062 $form->setLib('su_sup_shon_tot',_('su_sup_shon_tot'));
4063 $form->setLib('su_tot_shon_tot',_('su_tot_shon_tot'));
4064 $form->setLib('dm_constr_dates',_('dm_constr_dates'));
4065 $form->setLib('dm_total',_('dm_total'));
4066 $form->setLib('dm_partiel',_('dm_partiel'));
4067 $form->setLib('dm_projet_desc',_('dm_projet_desc'));
4068 $form->setLib('dm_tot_log_nb',_('dm_tot_log_nb'));
4069 $form->setLib('tax_surf_tot',_('tax_surf_tot'));
4070 $form->setLib('tax_surf',_('tax_surf'));
4071 $form->setLib('tax_surf_suppr_mod',_('tax_surf_suppr_mod'));
4072 $form->setLib('tax_su_princ_log_nb1',_('tax_su_princ_log_nb1'));
4073 $form->setLib('tax_su_princ_log_nb2',_('tax_su_princ_log_nb2'));
4074 $form->setLib('tax_su_princ_log_nb3',_('tax_su_princ_log_nb3'));
4075 $form->setLib('tax_su_princ_log_nb4',_('tax_su_princ_log_nb4'));
4076 $form->setLib('tax_su_princ_log_nb_tot1',_('tax_su_princ_log_nb_tot1'));
4077 $form->setLib('tax_su_princ_log_nb_tot2',_('tax_su_princ_log_nb_tot2'));
4078 $form->setLib('tax_su_princ_log_nb_tot3',_('tax_su_princ_log_nb_tot3'));
4079 $form->setLib('tax_su_princ_log_nb_tot4',_('tax_su_princ_log_nb_tot4'));
4080 $form->setLib('tax_su_princ_surf1',_('tax_su_princ_surf1'));
4081 $form->setLib('tax_su_princ_surf2',_('tax_su_princ_surf2'));
4082 $form->setLib('tax_su_princ_surf3',_('tax_su_princ_surf3'));
4083 $form->setLib('tax_su_princ_surf4',_('tax_su_princ_surf4'));
4084 $form->setLib('tax_su_princ_surf_sup1',_('tax_su_princ_surf_sup1'));
4085 $form->setLib('tax_su_princ_surf_sup2',_('tax_su_princ_surf_sup2'));
4086 $form->setLib('tax_su_princ_surf_sup3',_('tax_su_princ_surf_sup3'));
4087 $form->setLib('tax_su_princ_surf_sup4',_('tax_su_princ_surf_sup4'));
4088 $form->setLib('tax_su_heber_log_nb1',_('tax_su_heber_log_nb1'));
4089 $form->setLib('tax_su_heber_log_nb2',_('tax_su_heber_log_nb2'));
4090 $form->setLib('tax_su_heber_log_nb3',_('tax_su_heber_log_nb3'));
4091 $form->setLib('tax_su_heber_log_nb_tot1',_('tax_su_heber_log_nb_tot1'));
4092 $form->setLib('tax_su_heber_log_nb_tot2',_('tax_su_heber_log_nb_tot2'));
4093 $form->setLib('tax_su_heber_log_nb_tot3',_('tax_su_heber_log_nb_tot3'));
4094 $form->setLib('tax_su_heber_surf1',_('tax_su_heber_surf1'));
4095 $form->setLib('tax_su_heber_surf2',_('tax_su_heber_surf2'));
4096 $form->setLib('tax_su_heber_surf3',_('tax_su_heber_surf3'));
4097 $form->setLib('tax_su_heber_surf_sup1',_('tax_su_heber_surf_sup1'));
4098 $form->setLib('tax_su_heber_surf_sup2',_('tax_su_heber_surf_sup2'));
4099 $form->setLib('tax_su_heber_surf_sup3',_('tax_su_heber_surf_sup3'));
4100 $form->setLib('tax_su_secon_log_nb',_('tax_su_secon_log_nb'));
4101 $form->setLib('tax_su_tot_log_nb',_('tax_su_tot_log_nb'));
4102 $form->setLib('tax_su_secon_log_nb_tot',_('tax_su_secon_log_nb_tot'));
4103 $form->setLib('tax_su_tot_log_nb_tot',_('tax_su_tot_log_nb_tot'));
4104 $form->setLib('tax_su_secon_surf',_('tax_su_secon_surf'));
4105 $form->setLib('tax_su_tot_surf',_('tax_su_tot_surf'));
4106 $form->setLib('tax_su_secon_surf_sup',_('tax_su_secon_surf_sup'));
4107 $form->setLib('tax_su_tot_surf_sup',_('tax_su_tot_surf_sup'));
4108 $form->setLib('tax_ext_pret',_('tax_ext_pret'));
4109 $form->setLib('tax_ext_desc',_('tax_ext_desc'));
4110 $form->setLib('tax_surf_tax_exist_cons',_('tax_surf_tax_exist_cons'));
4111 $form->setLib('tax_log_exist_nb',_('tax_log_exist_nb'));
4112 $form->setLib('tax_am_statio_ext',_('tax_am_statio_ext'));
4113 $form->setLib('tax_sup_bass_pisc',_('tax_sup_bass_pisc'));
4114 $form->setLib('tax_empl_ten_carav_mobil_nb',_('tax_empl_ten_carav_mobil_nb'));
4115 $form->setLib('tax_empl_hll_nb',_('tax_empl_hll_nb'));
4116 $form->setLib('tax_eol_haut_nb',_('tax_eol_haut_nb'));
4117 $form->setLib('tax_pann_volt_sup',_('tax_pann_volt_sup'));
4118 $form->setLib('tax_am_statio_ext_sup',_('tax_am_statio_ext_sup'));
4119 $form->setLib('tax_sup_bass_pisc_sup',_('tax_sup_bass_pisc_sup'));
4120 $form->setLib('tax_empl_ten_carav_mobil_nb_sup',_('tax_empl_ten_carav_mobil_nb_sup'));
4121 $form->setLib('tax_empl_hll_nb_sup',_('tax_empl_hll_nb_sup'));
4122 $form->setLib('tax_eol_haut_nb_sup',_('tax_eol_haut_nb_sup'));
4123 $form->setLib('tax_pann_volt_sup_sup',_('tax_pann_volt_sup_sup'));
4124 $form->setLib('tax_trx_presc_ppr',_('tax_trx_presc_ppr'));
4125 $form->setLib('tax_monu_hist',_('tax_monu_hist'));
4126 $form->setLib('tax_comm_nb',_('tax_comm_nb'));
4127 $form->setLib('tax_su_non_habit_surf1',_('tax_su_non_habit_surf1'));
4128 $form->setLib('tax_su_non_habit_surf2',_('tax_su_non_habit_surf2'));
4129 $form->setLib('tax_su_non_habit_surf3',_('tax_su_non_habit_surf3'));
4130 $form->setLib('tax_su_non_habit_surf4',_('tax_su_non_habit_surf4'));
4131 $form->setLib('tax_su_non_habit_surf5',_('tax_su_non_habit_surf5'));
4132 $form->setLib('tax_su_non_habit_surf6',_('tax_su_non_habit_surf6'));
4133 $form->setLib('tax_su_non_habit_surf7',_('tax_su_non_habit_surf7'));
4134 $form->setLib('tax_su_non_habit_surf_sup1',_('tax_su_non_habit_surf_sup1'));
4135 $form->setLib('tax_su_non_habit_surf_sup2',_('tax_su_non_habit_surf_sup2'));
4136 $form->setLib('tax_su_non_habit_surf_sup3',_('tax_su_non_habit_surf_sup3'));
4137 $form->setLib('tax_su_non_habit_surf_sup4',_('tax_su_non_habit_surf_sup4'));
4138 $form->setLib('tax_su_non_habit_surf_sup5',_('tax_su_non_habit_surf_sup5'));
4139 $form->setLib('tax_su_non_habit_surf_sup6',_('tax_su_non_habit_surf_sup6'));
4140 $form->setLib('tax_su_non_habit_surf_sup7',_('tax_su_non_habit_surf_sup7'));
4141 $form->setLib('vsd_surf_planch_smd',_('vsd_surf_planch_smd'));
4142 $form->setLib('vsd_unit_fonc_sup',_('vsd_unit_fonc_sup'));
4143 $form->setLib('vsd_unit_fonc_constr_sup',_('vsd_unit_fonc_constr_sup'));
4144 $form->setLib('vsd_val_terr',_('vsd_val_terr'));
4145 $form->setLib('vsd_const_sxist_non_dem_surf',_('vsd_const_sxist_non_dem_surf'));
4146 $form->setLib('vsd_rescr_fisc',_('vsd_rescr_fisc'));
4147 $form->setLib('pld_val_terr',_('pld_val_terr'));
4148 $form->setLib('pld_const_exist_dem',_('pld_const_exist_dem'));
4149 $form->setLib('pld_const_exist_dem_surf',_('pld_const_exist_dem_surf'));
4150 $form->setLib('code_cnil',_('code_cnil'));
4151 $form->setLib('terr_juri_titul',_('terr_juri_titul'));
4152 $form->setLib('terr_juri_lot',_('terr_juri_lot'));
4153 $form->setLib('terr_juri_zac',_('terr_juri_zac'));
4154 $form->setLib('terr_juri_afu',_('terr_juri_afu'));
4155 $form->setLib('terr_juri_pup',_('terr_juri_pup'));
4156 $form->setLib('terr_juri_oin',_('terr_juri_oin'));
4157 $form->setLib('terr_juri_desc',_('terr_juri_desc'));
4158 $form->setLib('terr_div_surf_etab',_('terr_div_surf_etab'));
4159 $form->setLib('terr_div_surf_av_div',_('terr_div_surf_av_div'));
4160 $form->setLib('doc_date',_('doc_date'));
4161 $form->setLib('doc_tot_trav',_('doc_tot_trav'));
4162 $form->setLib('doc_tranche_trav',_('doc_tranche_trav'));
4163 $form->setLib('doc_tranche_trav_desc',_('doc_tranche_trav_desc'));
4164 $form->setLib('doc_surf',_('doc_surf'));
4165 $form->setLib('doc_nb_log',_('doc_nb_log'));
4166 $form->setLib('doc_nb_log_indiv',_('doc_nb_log_indiv'));
4167 $form->setLib('doc_nb_log_coll',_('doc_nb_log_coll'));
4168 $form->setLib('doc_nb_log_lls',_('doc_nb_log_lls'));
4169 $form->setLib('doc_nb_log_aa',_('doc_nb_log_aa'));
4170 $form->setLib('doc_nb_log_ptz',_('doc_nb_log_ptz'));
4171 $form->setLib('doc_nb_log_autre',_('doc_nb_log_autre'));
4172 $form->setLib('daact_date',_('daact_date'));
4173 $form->setLib('daact_date_chgmt_dest',_('daact_date_chgmt_dest'));
4174 $form->setLib('daact_tot_trav',_('daact_tot_trav'));
4175 $form->setLib('daact_tranche_trav',_('daact_tranche_trav'));
4176 $form->setLib('daact_tranche_trav_desc',_('daact_tranche_trav_desc'));
4177 $form->setLib('daact_surf',_('daact_surf'));
4178 $form->setLib('daact_nb_log',_('daact_nb_log'));
4179 $form->setLib('daact_nb_log_indiv',_('daact_nb_log_indiv'));
4180 $form->setLib('daact_nb_log_coll',_('daact_nb_log_coll'));
4181 $form->setLib('daact_nb_log_lls',_('daact_nb_log_lls'));
4182 $form->setLib('daact_nb_log_aa',_('daact_nb_log_aa'));
4183 $form->setLib('daact_nb_log_ptz',_('daact_nb_log_ptz'));
4184 $form->setLib('daact_nb_log_autre',_('daact_nb_log_autre'));
4185 $form->setLib('dossier_autorisation',_('dossier_autorisation'));
4186 $form->setLib('am_div_mun',_('am_div_mun'));
4187 $form->setLib('co_perf_energ',_('co_perf_energ'));
4188 $form->setLib('architecte',_('architecte'));
4189 }
4190
4191 function setSelect(&$form, $maj,&$db,$debug) {
4192 if(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc.php"))
4193 include ("../sql/".$db->phptype."/".$this->table.".form.inc.php");
4194 elseif(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc"))
4195 include ("../sql/".$db->phptype."/".$this->table.".form.inc");
4196
4197 // architecte
4198 $this->init_select($form, $db, $maj, $debug, "architecte",
4199 $sql_architecte, $sql_architecte_by_id, false);
4200
4201 // dossier_autorisation
4202 $this->init_select($form, $db, $maj, $debug, "dossier_autorisation",
4203 $sql_dossier_autorisation, $sql_dossier_autorisation_by_id, false);
4204
4205 // dossier_instruction
4206 $this->init_select($form, $db, $maj, $debug, "dossier_instruction",
4207 $sql_dossier_instruction, $sql_dossier_instruction_by_id, false);
4208
4209 // lot
4210 $this->init_select($form, $db, $maj, $debug, "lot",
4211 $sql_lot, $sql_lot_by_id, false);
4212 }// fin select
4213
4214 //==================================
4215 // sous Formulaire [subform]
4216 //==================================
4217
4218 function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire,&$db,$DEBUG=null){
4219 $this->retourformulaire = $retourformulaire;
4220 if($validation == 0) {
4221 if($retourformulaire =='architecte')
4222 $form->setVal('architecte', $idxformulaire);
4223 if($retourformulaire =='dossier_autorisation')
4224 $form->setVal('dossier_autorisation', $idxformulaire);
4225 if($retourformulaire =='dossier')
4226 $form->setVal('dossier_instruction', $idxformulaire);
4227 if($retourformulaire =='lot')
4228 $form->setVal('lot', $idxformulaire);
4229 }// fin validation
4230 }// fin setValsousformulaire
4231
4232 //==================================
4233 // cle secondaire [secondary key]
4234 //==================================
4235
4236 }// fin classe
4237 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26