/[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 1616 - (show annotations)
Wed Apr 3 16:48:50 2013 UTC (11 years, 10 months ago) by nhaye
File size: 218665 byte(s)
Ajout des champs concernant le terrain dans les formulaires de données techniques

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26