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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1615 - (hide annotations)
Wed Apr 3 15:04:09 2013 UTC (11 years, 10 months ago) by nhaye
File size: 213460 byte(s)
Merge de la branche 3.3.0-ax vers le trunk

1 vpihour 1249 <?php
2     //$Id$
3 nhaye 1615 //gen openMairie le 03/04/2013 15:24
4 vpihour 1249
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 vpihour 1251 if ($val['dossier_instruction'] == "") {
24 vpihour 1249 $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 nhaye 1268 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 vpihour 1249 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 vpihour 1255 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 vpihour 1249 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 vpihour 1255 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 vpihour 1249 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 nhaye 1268 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 vpihour 1249 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 nhaye 1615 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 vpihour 1249 }
1598    
1599     //=================================================
1600     //cle primaire automatique [automatic primary key]
1601     //==================================================
1602    
1603     function setId(&$db) {
1604     //numero automatique
1605     $this->valF[$this->clePrimaire] = $db->nextId(DB_PREFIXE.$this->table);
1606     }
1607    
1608     function setValFAjout($val) {
1609     //numero automatique -> pas de controle ajout cle primaire
1610     }
1611    
1612     function verifierAjout() {
1613     //numero automatique -> pas de verfication de cle primaire
1614     }
1615    
1616     //==========================
1617     // Formulaire [form]
1618     //==========================
1619    
1620     function setType(&$form,$maj) {
1621     //type
1622     if ($maj==0){ //ajout
1623     $form->setType('donnees_techniques','hidden');// cle automatique
1624    
1625 vpihour 1251 if($this->retourformulaire=='dossier'
1626     and $form->val['dossier_instruction'] == $this->getParameter('idxformulaire')) {
1627     $form->setType('dossier_instruction','selecthiddenstatic');
1628     } else {
1629     $form->setType('dossier_instruction','select');
1630     }
1631    
1632 vpihour 1249 if($this->retourformulaire=='lot'
1633     and $form->val['lot'] == $this->getParameter('idxformulaire')) {
1634     $form->setType('lot','selecthiddenstatic');
1635     } else {
1636     $form->setType('lot','select');
1637     }
1638 nhaye 1268 $form->setType('avap_co_elt_pro','checkbox');
1639     $form->setType('avap_nouv_haut_surf','checkbox');
1640     $form->setType('avap_co_clot','checkbox');
1641     $form->setType('avap_aut_coup_aba_arb','checkbox');
1642     $form->setType('avap_ouv_infra','checkbox');
1643     $form->setType('avap_aut_inst_mob','checkbox');
1644     $form->setType('avap_aut_plant','checkbox');
1645     $form->setType('avap_aut_auv_elec','checkbox');
1646     $form->setType('tr_total','checkbox');
1647     $form->setType('tr_partiel','checkbox');
1648     $form->setType('tr_desc','textarea');
1649 vpihour 1249 $form->setType('am_lotiss','checkbox');
1650     $form->setType('am_autre_div','checkbox');
1651     $form->setType('am_camping','checkbox');
1652     $form->setType('am_caravane','checkbox');
1653     $form->setType('am_carav_duree','text');
1654     $form->setType('am_statio','checkbox');
1655     $form->setType('am_statio_cont','text');
1656     $form->setType('am_affou_exhau','checkbox');
1657 vpihour 1255 $form->setType('am_affou_exhau_sup','text');
1658 vpihour 1249 $form->setType('am_affou_prof','text');
1659     $form->setType('am_exhau_haut','text');
1660     $form->setType('am_coupe_abat','checkbox');
1661     $form->setType('am_prot_plu','checkbox');
1662     $form->setType('am_prot_muni','checkbox');
1663     $form->setType('am_mobil_voyage','checkbox');
1664     if($this->retourformulaire=='')
1665     $form->setType('am_voyage_deb','date');
1666     else
1667     $form->setType('am_voyage_deb','date2');
1668     if($this->retourformulaire=='')
1669     $form->setType('am_voyage_fin','date');
1670     else
1671     $form->setType('am_voyage_fin','date2');
1672     $form->setType('am_aire_voyage','checkbox');
1673     $form->setType('am_rememb_afu','checkbox');
1674     $form->setType('am_parc_resid_loi','checkbox');
1675     $form->setType('am_sport_moto','checkbox');
1676     $form->setType('am_sport_attrac','checkbox');
1677     $form->setType('am_sport_golf','checkbox');
1678     $form->setType('am_mob_art','checkbox');
1679     $form->setType('am_modif_voie_esp','checkbox');
1680     $form->setType('am_plant_voie_esp','checkbox');
1681     $form->setType('am_chem_ouv_esp','checkbox');
1682     $form->setType('am_agri_peche','checkbox');
1683     $form->setType('am_crea_voie','checkbox');
1684     $form->setType('am_modif_voie_exist','checkbox');
1685     $form->setType('am_crea_esp_sauv','checkbox');
1686     $form->setType('am_modif_amgt','checkbox');
1687     $form->setType('am_crea_esp_class','checkbox');
1688 nhaye 1257 $form->setType('am_projet_desc','textarea');
1689 vpihour 1249 $form->setType('am_terr_surf','text');
1690 nhaye 1257 $form->setType('am_tranche_desc','textarea');
1691 vpihour 1249 $form->setType('am_lot_max_nb','text');
1692     $form->setType('am_lot_max_shon','text');
1693     $form->setType('am_lot_max_shob','text');
1694     $form->setType('am_lot_cstr_cos','checkbox');
1695     $form->setType('am_lot_cstr_plan','checkbox');
1696     $form->setType('am_lot_cstr_vente','checkbox');
1697     $form->setType('am_lot_fin_diff','checkbox');
1698     $form->setType('am_lot_consign','checkbox');
1699     $form->setType('am_lot_gar_achev','checkbox');
1700     $form->setType('am_lot_vente_ant','checkbox');
1701     $form->setType('am_empl_nb','text');
1702     $form->setType('am_tente_nb','text');
1703     $form->setType('am_carav_nb','text');
1704     $form->setType('am_mobil_nb','text');
1705     $form->setType('am_pers_nb','text');
1706     $form->setType('am_empl_hll_nb','text');
1707     $form->setType('am_hll_shon','text');
1708 nhaye 1257 $form->setType('am_periode_exploit','textarea');
1709 vpihour 1249 $form->setType('am_exist_agrand','checkbox');
1710     if($this->retourformulaire=='')
1711     $form->setType('am_exist_date','date');
1712     else
1713     $form->setType('am_exist_date','date2');
1714     $form->setType('am_exist_num','text');
1715     $form->setType('am_exist_nb_avant','text');
1716     $form->setType('am_exist_nb_apres','text');
1717     $form->setType('am_coupe_bois','checkbox');
1718     $form->setType('am_coupe_parc','checkbox');
1719     $form->setType('am_coupe_align','checkbox');
1720     $form->setType('am_coupe_ess','text');
1721     $form->setType('am_coupe_age','text');
1722     $form->setType('am_coupe_dens','text');
1723     $form->setType('am_coupe_qual','text');
1724     $form->setType('am_coupe_trait','text');
1725     $form->setType('am_coupe_autr','text');
1726     $form->setType('co_archi_recours','checkbox');
1727     $form->setType('co_cstr_nouv','checkbox');
1728     $form->setType('co_cstr_exist','checkbox');
1729     $form->setType('co_modif_aspect','checkbox');
1730     $form->setType('co_modif_struct','checkbox');
1731     $form->setType('co_cloture','checkbox');
1732     $form->setType('co_ouvr_elec','checkbox');
1733     $form->setType('co_elec_tension','text');
1734     $form->setType('co_ouvr_infra','checkbox');
1735     $form->setType('co_trx_imm','checkbox');
1736     $form->setType('co_div_terr','checkbox');
1737 nhaye 1257 $form->setType('co_projet_desc','textarea');
1738 vpihour 1249 $form->setType('co_cstr_shob','text');
1739     $form->setType('co_anx_pisc','checkbox');
1740     $form->setType('co_anx_gara','checkbox');
1741     $form->setType('co_anx_veran','checkbox');
1742     $form->setType('co_anx_abri','checkbox');
1743     $form->setType('co_anx_autr','checkbox');
1744 nhaye 1257 $form->setType('co_anx_autr_desc','textarea');
1745 vpihour 1249 $form->setType('co_tot_log_nb','text');
1746     $form->setType('co_tot_ind_nb','text');
1747     $form->setType('co_tot_coll_nb','text');
1748     $form->setType('co_mais_piece_nb','text');
1749     $form->setType('co_mais_niv_nb','text');
1750     $form->setType('co_fin_lls_nb','text');
1751     $form->setType('co_fin_aa_nb','text');
1752     $form->setType('co_fin_ptz_nb','text');
1753     $form->setType('co_fin_autr_nb','text');
1754 nhaye 1257 $form->setType('co_fin_autr_desc','textarea');
1755 vpihour 1249 $form->setType('co_mais_contrat_ind','checkbox');
1756     $form->setType('co_uti_pers','checkbox');
1757     $form->setType('co_uti_vente','checkbox');
1758     $form->setType('co_uti_loc','checkbox');
1759     $form->setType('co_uti_princ','checkbox');
1760     $form->setType('co_uti_secon','checkbox');
1761     $form->setType('co_resid_agees','checkbox');
1762     $form->setType('co_resid_etud','checkbox');
1763     $form->setType('co_resid_tourism','checkbox');
1764     $form->setType('co_resid_hot_soc','checkbox');
1765     $form->setType('co_resid_soc','checkbox');
1766     $form->setType('co_resid_hand','checkbox');
1767     $form->setType('co_resid_autr','checkbox');
1768 nhaye 1257 $form->setType('co_resid_autr_desc','textarea');
1769 vpihour 1249 $form->setType('co_foyer_chamb_nb','text');
1770     $form->setType('co_log_1p_nb','text');
1771     $form->setType('co_log_2p_nb','text');
1772     $form->setType('co_log_3p_nb','text');
1773     $form->setType('co_log_4p_nb','text');
1774     $form->setType('co_log_5p_nb','text');
1775     $form->setType('co_log_6p_nb','text');
1776     $form->setType('co_bat_niv_nb','text');
1777     $form->setType('co_trx_exten','checkbox');
1778     $form->setType('co_trx_surelev','checkbox');
1779     $form->setType('co_trx_nivsup','checkbox');
1780     $form->setType('co_trx_amgt','checkbox');
1781 nhaye 1257 $form->setType('co_demont_periode','textarea');
1782 vpihour 1249 $form->setType('co_sp_transport','checkbox');
1783     $form->setType('co_sp_enseign','checkbox');
1784     $form->setType('co_sp_act_soc','checkbox');
1785     $form->setType('co_sp_ouvr_spe','checkbox');
1786     $form->setType('co_sp_sante','checkbox');
1787     $form->setType('co_sp_culture','checkbox');
1788     $form->setType('co_statio_avt_nb','text');
1789     $form->setType('co_statio_apr_nb','text');
1790     $form->setType('co_statio_avt_shob','text');
1791     $form->setType('co_statio_apr_shob','text');
1792     $form->setType('co_statio_avt_surf','text');
1793     $form->setType('co_statio_apr_surf','text');
1794 nhaye 1257 $form->setType('co_statio_adr','textarea');
1795 vpihour 1249 $form->setType('co_statio_place_nb','text');
1796     $form->setType('co_statio_tot_surf','text');
1797     $form->setType('co_statio_tot_shob','text');
1798 vpihour 1255 $form->setType('co_statio_comm_cin_surf','text');
1799 vpihour 1249 $form->setType('su_avt_shon1','text');
1800     $form->setType('su_avt_shon2','text');
1801     $form->setType('su_avt_shon3','text');
1802     $form->setType('su_avt_shon4','text');
1803     $form->setType('su_avt_shon5','text');
1804     $form->setType('su_avt_shon6','text');
1805     $form->setType('su_avt_shon7','text');
1806     $form->setType('su_avt_shon8','text');
1807     $form->setType('su_avt_shon9','text');
1808     $form->setType('su_cstr_shon1','text');
1809     $form->setType('su_cstr_shon2','text');
1810     $form->setType('su_cstr_shon3','text');
1811     $form->setType('su_cstr_shon4','text');
1812     $form->setType('su_cstr_shon5','text');
1813     $form->setType('su_cstr_shon6','text');
1814     $form->setType('su_cstr_shon7','text');
1815     $form->setType('su_cstr_shon8','text');
1816     $form->setType('su_cstr_shon9','text');
1817     $form->setType('su_trsf_shon1','text');
1818     $form->setType('su_trsf_shon2','text');
1819     $form->setType('su_trsf_shon3','text');
1820     $form->setType('su_trsf_shon4','text');
1821     $form->setType('su_trsf_shon5','text');
1822     $form->setType('su_trsf_shon6','text');
1823     $form->setType('su_trsf_shon7','text');
1824     $form->setType('su_trsf_shon8','text');
1825     $form->setType('su_trsf_shon9','text');
1826     $form->setType('su_chge_shon1','text');
1827     $form->setType('su_chge_shon2','text');
1828     $form->setType('su_chge_shon3','text');
1829     $form->setType('su_chge_shon4','text');
1830     $form->setType('su_chge_shon5','text');
1831     $form->setType('su_chge_shon6','text');
1832     $form->setType('su_chge_shon7','text');
1833     $form->setType('su_chge_shon8','text');
1834     $form->setType('su_chge_shon9','text');
1835     $form->setType('su_demo_shon1','text');
1836     $form->setType('su_demo_shon2','text');
1837     $form->setType('su_demo_shon3','text');
1838     $form->setType('su_demo_shon4','text');
1839     $form->setType('su_demo_shon5','text');
1840     $form->setType('su_demo_shon6','text');
1841     $form->setType('su_demo_shon7','text');
1842     $form->setType('su_demo_shon8','text');
1843     $form->setType('su_demo_shon9','text');
1844     $form->setType('su_sup_shon1','text');
1845     $form->setType('su_sup_shon2','text');
1846     $form->setType('su_sup_shon3','text');
1847     $form->setType('su_sup_shon4','text');
1848     $form->setType('su_sup_shon5','text');
1849     $form->setType('su_sup_shon6','text');
1850     $form->setType('su_sup_shon7','text');
1851     $form->setType('su_sup_shon8','text');
1852     $form->setType('su_sup_shon9','text');
1853     $form->setType('su_tot_shon1','text');
1854     $form->setType('su_tot_shon2','text');
1855     $form->setType('su_tot_shon3','text');
1856     $form->setType('su_tot_shon4','text');
1857     $form->setType('su_tot_shon5','text');
1858     $form->setType('su_tot_shon6','text');
1859     $form->setType('su_tot_shon7','text');
1860     $form->setType('su_tot_shon8','text');
1861     $form->setType('su_tot_shon9','text');
1862     $form->setType('su_avt_shon_tot','text');
1863     $form->setType('su_cstr_shon_tot','text');
1864     $form->setType('su_trsf_shon_tot','text');
1865     $form->setType('su_chge_shon_tot','text');
1866     $form->setType('su_demo_shon_tot','text');
1867     $form->setType('su_sup_shon_tot','text');
1868     $form->setType('su_tot_shon_tot','text');
1869 nhaye 1257 $form->setType('dm_constr_dates','textarea');
1870 vpihour 1249 $form->setType('dm_total','checkbox');
1871     $form->setType('dm_partiel','checkbox');
1872 nhaye 1257 $form->setType('dm_projet_desc','textarea');
1873 vpihour 1249 $form->setType('dm_tot_log_nb','text');
1874 nhaye 1268 $form->setType('tax_surf_tot','text');
1875     $form->setType('tax_surf','text');
1876     $form->setType('tax_surf_suppr_mod','text');
1877     $form->setType('tax_dest_loc_tr','textarea');
1878     $form->setType('tax_su_princ_log_nb1','text');
1879     $form->setType('tax_su_princ_log_nb2','text');
1880     $form->setType('tax_su_princ_log_nb3','text');
1881     $form->setType('tax_su_princ_log_nb4','text');
1882     $form->setType('tax_su_princ_log_nb_tot1','text');
1883     $form->setType('tax_su_princ_log_nb_tot2','text');
1884     $form->setType('tax_su_princ_log_nb_tot3','text');
1885     $form->setType('tax_su_princ_log_nb_tot4','text');
1886     $form->setType('tax_su_princ_surf1','text');
1887     $form->setType('tax_su_princ_surf2','text');
1888     $form->setType('tax_su_princ_surf3','text');
1889     $form->setType('tax_su_princ_surf4','text');
1890     $form->setType('tax_su_princ_surf_sup1','text');
1891     $form->setType('tax_su_princ_surf_sup2','text');
1892     $form->setType('tax_su_princ_surf_sup3','text');
1893     $form->setType('tax_su_princ_surf_sup4','text');
1894     $form->setType('tax_su_heber_log_nb1','text');
1895     $form->setType('tax_su_heber_log_nb2','text');
1896     $form->setType('tax_su_heber_log_nb3','text');
1897     $form->setType('tax_su_heber_log_nb_tot1','text');
1898     $form->setType('tax_su_heber_log_nb_tot2','text');
1899     $form->setType('tax_su_heber_log_nb_tot3','text');
1900     $form->setType('tax_su_heber_surf1','text');
1901     $form->setType('tax_su_heber_surf2','text');
1902     $form->setType('tax_su_heber_surf3','text');
1903     $form->setType('tax_su_heber_surf_sup1','text');
1904     $form->setType('tax_su_heber_surf_sup2','text');
1905     $form->setType('tax_su_heber_surf_sup3','text');
1906     $form->setType('tax_su_secon_log_nb','text');
1907     $form->setType('tax_su_tot_log_nb','text');
1908     $form->setType('tax_su_secon_log_nb_tot','text');
1909     $form->setType('tax_su_tot_log_nb_tot','text');
1910     $form->setType('tax_su_secon_surf','text');
1911     $form->setType('tax_su_tot_surf','text');
1912     $form->setType('tax_su_secon_surf_sup','text');
1913     $form->setType('tax_su_tot_surf_sup','text');
1914     $form->setType('tax_ext_pret','checkbox');
1915     $form->setType('tax_ext_desc','textarea');
1916     $form->setType('tax_surf_tax_exist_cons','text');
1917     $form->setType('tax_log_exist_nb','text');
1918     $form->setType('tax_am_statio_ext','text');
1919     $form->setType('tax_sup_bass_pisc','text');
1920     $form->setType('tax_empl_ten_carav_mobil_nb','text');
1921     $form->setType('tax_empl_hll_nb','text');
1922     $form->setType('tax_eol_haut_nb','text');
1923     $form->setType('tax_pann_volt_sup','text');
1924     $form->setType('tax_am_statio_ext_sup','text');
1925     $form->setType('tax_sup_bass_pisc_sup','text');
1926     $form->setType('tax_empl_ten_carav_mobil_nb_sup','text');
1927     $form->setType('tax_empl_hll_nb_sup','text');
1928     $form->setType('tax_eol_haut_nb_sup','text');
1929     $form->setType('tax_pann_volt_sup_sup','text');
1930     $form->setType('tax_trx_presc_ppr','checkbox');
1931     $form->setType('tax_monu_hist','checkbox');
1932     $form->setType('tax_comm_nb','text');
1933     $form->setType('tax_su_non_habit_surf1','text');
1934     $form->setType('tax_su_non_habit_surf2','text');
1935     $form->setType('tax_su_non_habit_surf3','text');
1936     $form->setType('tax_su_non_habit_surf4','text');
1937     $form->setType('tax_su_non_habit_surf5','text');
1938     $form->setType('tax_su_non_habit_surf6','text');
1939     $form->setType('tax_su_non_habit_surf7','text');
1940     $form->setType('tax_su_non_habit_surf_sup1','text');
1941     $form->setType('tax_su_non_habit_surf_sup2','text');
1942     $form->setType('tax_su_non_habit_surf_sup3','text');
1943     $form->setType('tax_su_non_habit_surf_sup4','text');
1944     $form->setType('tax_su_non_habit_surf_sup5','text');
1945     $form->setType('tax_su_non_habit_surf_sup6','text');
1946     $form->setType('tax_su_non_habit_surf_sup7','text');
1947     $form->setType('vsd_surf_planch_smd','checkbox');
1948     $form->setType('vsd_unit_fonc_sup','text');
1949     $form->setType('vsd_unit_fonc_constr_sup','text');
1950     $form->setType('vsd_val_terr','text');
1951     $form->setType('vsd_const_sxist_non_dem_surf','text');
1952     if($this->retourformulaire=='')
1953     $form->setType('vsd_rescr_fisc','date');
1954     else
1955     $form->setType('vsd_rescr_fisc','date2');
1956     $form->setType('pld_val_terr','text');
1957     $form->setType('pld_const_exist_dem','checkbox');
1958     $form->setType('pld_const_exist_dem_surf','text');
1959 vpihour 1249 $form->setType('code_cnil','checkbox');
1960 nhaye 1615 $form->setType('co_archi_nom','text');
1961     $form->setType('co_archi_prenom','text');
1962     $form->setType('co_archi_adr_num','text');
1963     $form->setType('co_archi_adr_voie','text');
1964     $form->setType('co_archi_adr_lieu_dit','text');
1965     $form->setType('co_archi_adr_localite','text');
1966     $form->setType('co_archi_adr_cp','text');
1967     $form->setType('co_archi_adr_bp','text');
1968     $form->setType('co_archi_adr_cedex','text');
1969     $form->setType('co_archi_no_incri','text');
1970     $form->setType('co_archi_cg','text');
1971     $form->setType('co_archi_tel1','text');
1972     $form->setType('co_archi_tel2','text');
1973     $form->setType('co_archi_mail','text');
1974 vpihour 1249 }// fin ajout
1975     if ($maj==1){ //modifier
1976     $form->setType('donnees_techniques','hiddenstatic');
1977    
1978 vpihour 1251 if($this->retourformulaire=='dossier'
1979     and $form->val['dossier_instruction'] == $this->getParameter('idxformulaire')) {
1980     $form->setType('dossier_instruction','selecthiddenstatic');
1981     } else {
1982     $form->setType('dossier_instruction','select');
1983     }
1984    
1985 vpihour 1249 if($this->retourformulaire=='lot'
1986     and $form->val['lot'] == $this->getParameter('idxformulaire')) {
1987     $form->setType('lot','selecthiddenstatic');
1988     } else {
1989     $form->setType('lot','select');
1990     }
1991 nhaye 1268 $form->setType('avap_co_elt_pro','checkbox');
1992     $form->setType('avap_nouv_haut_surf','checkbox');
1993     $form->setType('avap_co_clot','checkbox');
1994     $form->setType('avap_aut_coup_aba_arb','checkbox');
1995     $form->setType('avap_ouv_infra','checkbox');
1996     $form->setType('avap_aut_inst_mob','checkbox');
1997     $form->setType('avap_aut_plant','checkbox');
1998     $form->setType('avap_aut_auv_elec','checkbox');
1999     $form->setType('tr_total','checkbox');
2000     $form->setType('tr_partiel','checkbox');
2001     $form->setType('tr_desc','textarea');
2002 vpihour 1249 $form->setType('am_lotiss','checkbox');
2003     $form->setType('am_autre_div','checkbox');
2004     $form->setType('am_camping','checkbox');
2005     $form->setType('am_caravane','checkbox');
2006     $form->setType('am_carav_duree','text');
2007     $form->setType('am_statio','checkbox');
2008     $form->setType('am_statio_cont','text');
2009     $form->setType('am_affou_exhau','checkbox');
2010 vpihour 1255 $form->setType('am_affou_exhau_sup','text');
2011 vpihour 1249 $form->setType('am_affou_prof','text');
2012     $form->setType('am_exhau_haut','text');
2013     $form->setType('am_coupe_abat','checkbox');
2014     $form->setType('am_prot_plu','checkbox');
2015     $form->setType('am_prot_muni','checkbox');
2016     $form->setType('am_mobil_voyage','checkbox');
2017     if($this->retourformulaire=='')
2018     $form->setType('am_voyage_deb','date');
2019     else
2020     $form->setType('am_voyage_deb','date2');
2021     if($this->retourformulaire=='')
2022     $form->setType('am_voyage_fin','date');
2023     else
2024     $form->setType('am_voyage_fin','date2');
2025     $form->setType('am_aire_voyage','checkbox');
2026     $form->setType('am_rememb_afu','checkbox');
2027     $form->setType('am_parc_resid_loi','checkbox');
2028     $form->setType('am_sport_moto','checkbox');
2029     $form->setType('am_sport_attrac','checkbox');
2030     $form->setType('am_sport_golf','checkbox');
2031     $form->setType('am_mob_art','checkbox');
2032     $form->setType('am_modif_voie_esp','checkbox');
2033     $form->setType('am_plant_voie_esp','checkbox');
2034     $form->setType('am_chem_ouv_esp','checkbox');
2035     $form->setType('am_agri_peche','checkbox');
2036     $form->setType('am_crea_voie','checkbox');
2037     $form->setType('am_modif_voie_exist','checkbox');
2038     $form->setType('am_crea_esp_sauv','checkbox');
2039     $form->setType('am_modif_amgt','checkbox');
2040     $form->setType('am_crea_esp_class','checkbox');
2041 nhaye 1257 $form->setType('am_projet_desc','textarea');
2042 vpihour 1249 $form->setType('am_terr_surf','text');
2043 nhaye 1257 $form->setType('am_tranche_desc','textarea');
2044 vpihour 1249 $form->setType('am_lot_max_nb','text');
2045     $form->setType('am_lot_max_shon','text');
2046     $form->setType('am_lot_max_shob','text');
2047     $form->setType('am_lot_cstr_cos','checkbox');
2048     $form->setType('am_lot_cstr_plan','checkbox');
2049     $form->setType('am_lot_cstr_vente','checkbox');
2050     $form->setType('am_lot_fin_diff','checkbox');
2051     $form->setType('am_lot_consign','checkbox');
2052     $form->setType('am_lot_gar_achev','checkbox');
2053     $form->setType('am_lot_vente_ant','checkbox');
2054     $form->setType('am_empl_nb','text');
2055     $form->setType('am_tente_nb','text');
2056     $form->setType('am_carav_nb','text');
2057     $form->setType('am_mobil_nb','text');
2058     $form->setType('am_pers_nb','text');
2059     $form->setType('am_empl_hll_nb','text');
2060     $form->setType('am_hll_shon','text');
2061 nhaye 1257 $form->setType('am_periode_exploit','textarea');
2062 vpihour 1249 $form->setType('am_exist_agrand','checkbox');
2063     if($this->retourformulaire=='')
2064     $form->setType('am_exist_date','date');
2065     else
2066     $form->setType('am_exist_date','date2');
2067     $form->setType('am_exist_num','text');
2068     $form->setType('am_exist_nb_avant','text');
2069     $form->setType('am_exist_nb_apres','text');
2070     $form->setType('am_coupe_bois','checkbox');
2071     $form->setType('am_coupe_parc','checkbox');
2072     $form->setType('am_coupe_align','checkbox');
2073     $form->setType('am_coupe_ess','text');
2074     $form->setType('am_coupe_age','text');
2075     $form->setType('am_coupe_dens','text');
2076     $form->setType('am_coupe_qual','text');
2077     $form->setType('am_coupe_trait','text');
2078     $form->setType('am_coupe_autr','text');
2079     $form->setType('co_archi_recours','checkbox');
2080     $form->setType('co_cstr_nouv','checkbox');
2081     $form->setType('co_cstr_exist','checkbox');
2082     $form->setType('co_modif_aspect','checkbox');
2083     $form->setType('co_modif_struct','checkbox');
2084     $form->setType('co_cloture','checkbox');
2085     $form->setType('co_ouvr_elec','checkbox');
2086     $form->setType('co_elec_tension','text');
2087     $form->setType('co_ouvr_infra','checkbox');
2088     $form->setType('co_trx_imm','checkbox');
2089     $form->setType('co_div_terr','checkbox');
2090 nhaye 1257 $form->setType('co_projet_desc','textarea');
2091 vpihour 1249 $form->setType('co_cstr_shob','text');
2092     $form->setType('co_anx_pisc','checkbox');
2093     $form->setType('co_anx_gara','checkbox');
2094     $form->setType('co_anx_veran','checkbox');
2095     $form->setType('co_anx_abri','checkbox');
2096     $form->setType('co_anx_autr','checkbox');
2097 nhaye 1257 $form->setType('co_anx_autr_desc','textarea');
2098 vpihour 1249 $form->setType('co_tot_log_nb','text');
2099     $form->setType('co_tot_ind_nb','text');
2100     $form->setType('co_tot_coll_nb','text');
2101     $form->setType('co_mais_piece_nb','text');
2102     $form->setType('co_mais_niv_nb','text');
2103     $form->setType('co_fin_lls_nb','text');
2104     $form->setType('co_fin_aa_nb','text');
2105     $form->setType('co_fin_ptz_nb','text');
2106     $form->setType('co_fin_autr_nb','text');
2107 nhaye 1257 $form->setType('co_fin_autr_desc','textarea');
2108 vpihour 1249 $form->setType('co_mais_contrat_ind','checkbox');
2109     $form->setType('co_uti_pers','checkbox');
2110     $form->setType('co_uti_vente','checkbox');
2111     $form->setType('co_uti_loc','checkbox');
2112     $form->setType('co_uti_princ','checkbox');
2113     $form->setType('co_uti_secon','checkbox');
2114     $form->setType('co_resid_agees','checkbox');
2115     $form->setType('co_resid_etud','checkbox');
2116     $form->setType('co_resid_tourism','checkbox');
2117     $form->setType('co_resid_hot_soc','checkbox');
2118     $form->setType('co_resid_soc','checkbox');
2119     $form->setType('co_resid_hand','checkbox');
2120     $form->setType('co_resid_autr','checkbox');
2121 nhaye 1257 $form->setType('co_resid_autr_desc','textarea');
2122 vpihour 1249 $form->setType('co_foyer_chamb_nb','text');
2123     $form->setType('co_log_1p_nb','text');
2124     $form->setType('co_log_2p_nb','text');
2125     $form->setType('co_log_3p_nb','text');
2126     $form->setType('co_log_4p_nb','text');
2127     $form->setType('co_log_5p_nb','text');
2128     $form->setType('co_log_6p_nb','text');
2129     $form->setType('co_bat_niv_nb','text');
2130     $form->setType('co_trx_exten','checkbox');
2131     $form->setType('co_trx_surelev','checkbox');
2132     $form->setType('co_trx_nivsup','checkbox');
2133     $form->setType('co_trx_amgt','checkbox');
2134 nhaye 1257 $form->setType('co_demont_periode','textarea');
2135 vpihour 1249 $form->setType('co_sp_transport','checkbox');
2136     $form->setType('co_sp_enseign','checkbox');
2137     $form->setType('co_sp_act_soc','checkbox');
2138     $form->setType('co_sp_ouvr_spe','checkbox');
2139     $form->setType('co_sp_sante','checkbox');
2140     $form->setType('co_sp_culture','checkbox');
2141     $form->setType('co_statio_avt_nb','text');
2142     $form->setType('co_statio_apr_nb','text');
2143     $form->setType('co_statio_avt_shob','text');
2144     $form->setType('co_statio_apr_shob','text');
2145     $form->setType('co_statio_avt_surf','text');
2146     $form->setType('co_statio_apr_surf','text');
2147 nhaye 1257 $form->setType('co_statio_adr','textarea');
2148 vpihour 1249 $form->setType('co_statio_place_nb','text');
2149     $form->setType('co_statio_tot_surf','text');
2150     $form->setType('co_statio_tot_shob','text');
2151 vpihour 1255 $form->setType('co_statio_comm_cin_surf','text');
2152 vpihour 1249 $form->setType('su_avt_shon1','text');
2153     $form->setType('su_avt_shon2','text');
2154     $form->setType('su_avt_shon3','text');
2155     $form->setType('su_avt_shon4','text');
2156     $form->setType('su_avt_shon5','text');
2157     $form->setType('su_avt_shon6','text');
2158     $form->setType('su_avt_shon7','text');
2159     $form->setType('su_avt_shon8','text');
2160     $form->setType('su_avt_shon9','text');
2161     $form->setType('su_cstr_shon1','text');
2162     $form->setType('su_cstr_shon2','text');
2163     $form->setType('su_cstr_shon3','text');
2164     $form->setType('su_cstr_shon4','text');
2165     $form->setType('su_cstr_shon5','text');
2166     $form->setType('su_cstr_shon6','text');
2167     $form->setType('su_cstr_shon7','text');
2168     $form->setType('su_cstr_shon8','text');
2169     $form->setType('su_cstr_shon9','text');
2170     $form->setType('su_trsf_shon1','text');
2171     $form->setType('su_trsf_shon2','text');
2172     $form->setType('su_trsf_shon3','text');
2173     $form->setType('su_trsf_shon4','text');
2174     $form->setType('su_trsf_shon5','text');
2175     $form->setType('su_trsf_shon6','text');
2176     $form->setType('su_trsf_shon7','text');
2177     $form->setType('su_trsf_shon8','text');
2178     $form->setType('su_trsf_shon9','text');
2179     $form->setType('su_chge_shon1','text');
2180     $form->setType('su_chge_shon2','text');
2181     $form->setType('su_chge_shon3','text');
2182     $form->setType('su_chge_shon4','text');
2183     $form->setType('su_chge_shon5','text');
2184     $form->setType('su_chge_shon6','text');
2185     $form->setType('su_chge_shon7','text');
2186     $form->setType('su_chge_shon8','text');
2187     $form->setType('su_chge_shon9','text');
2188     $form->setType('su_demo_shon1','text');
2189     $form->setType('su_demo_shon2','text');
2190     $form->setType('su_demo_shon3','text');
2191     $form->setType('su_demo_shon4','text');
2192     $form->setType('su_demo_shon5','text');
2193     $form->setType('su_demo_shon6','text');
2194     $form->setType('su_demo_shon7','text');
2195     $form->setType('su_demo_shon8','text');
2196     $form->setType('su_demo_shon9','text');
2197     $form->setType('su_sup_shon1','text');
2198     $form->setType('su_sup_shon2','text');
2199     $form->setType('su_sup_shon3','text');
2200     $form->setType('su_sup_shon4','text');
2201     $form->setType('su_sup_shon5','text');
2202     $form->setType('su_sup_shon6','text');
2203     $form->setType('su_sup_shon7','text');
2204     $form->setType('su_sup_shon8','text');
2205     $form->setType('su_sup_shon9','text');
2206     $form->setType('su_tot_shon1','text');
2207     $form->setType('su_tot_shon2','text');
2208     $form->setType('su_tot_shon3','text');
2209     $form->setType('su_tot_shon4','text');
2210     $form->setType('su_tot_shon5','text');
2211     $form->setType('su_tot_shon6','text');
2212     $form->setType('su_tot_shon7','text');
2213     $form->setType('su_tot_shon8','text');
2214     $form->setType('su_tot_shon9','text');
2215     $form->setType('su_avt_shon_tot','text');
2216     $form->setType('su_cstr_shon_tot','text');
2217     $form->setType('su_trsf_shon_tot','text');
2218     $form->setType('su_chge_shon_tot','text');
2219     $form->setType('su_demo_shon_tot','text');
2220     $form->setType('su_sup_shon_tot','text');
2221     $form->setType('su_tot_shon_tot','text');
2222 nhaye 1257 $form->setType('dm_constr_dates','textarea');
2223 vpihour 1249 $form->setType('dm_total','checkbox');
2224     $form->setType('dm_partiel','checkbox');
2225 nhaye 1257 $form->setType('dm_projet_desc','textarea');
2226 vpihour 1249 $form->setType('dm_tot_log_nb','text');
2227 nhaye 1268 $form->setType('tax_surf_tot','text');
2228     $form->setType('tax_surf','text');
2229     $form->setType('tax_surf_suppr_mod','text');
2230     $form->setType('tax_dest_loc_tr','textarea');
2231     $form->setType('tax_su_princ_log_nb1','text');
2232     $form->setType('tax_su_princ_log_nb2','text');
2233     $form->setType('tax_su_princ_log_nb3','text');
2234     $form->setType('tax_su_princ_log_nb4','text');
2235     $form->setType('tax_su_princ_log_nb_tot1','text');
2236     $form->setType('tax_su_princ_log_nb_tot2','text');
2237     $form->setType('tax_su_princ_log_nb_tot3','text');
2238     $form->setType('tax_su_princ_log_nb_tot4','text');
2239     $form->setType('tax_su_princ_surf1','text');
2240     $form->setType('tax_su_princ_surf2','text');
2241     $form->setType('tax_su_princ_surf3','text');
2242     $form->setType('tax_su_princ_surf4','text');
2243     $form->setType('tax_su_princ_surf_sup1','text');
2244     $form->setType('tax_su_princ_surf_sup2','text');
2245     $form->setType('tax_su_princ_surf_sup3','text');
2246     $form->setType('tax_su_princ_surf_sup4','text');
2247     $form->setType('tax_su_heber_log_nb1','text');
2248     $form->setType('tax_su_heber_log_nb2','text');
2249     $form->setType('tax_su_heber_log_nb3','text');
2250     $form->setType('tax_su_heber_log_nb_tot1','text');
2251     $form->setType('tax_su_heber_log_nb_tot2','text');
2252     $form->setType('tax_su_heber_log_nb_tot3','text');
2253     $form->setType('tax_su_heber_surf1','text');
2254     $form->setType('tax_su_heber_surf2','text');
2255     $form->setType('tax_su_heber_surf3','text');
2256     $form->setType('tax_su_heber_surf_sup1','text');
2257     $form->setType('tax_su_heber_surf_sup2','text');
2258     $form->setType('tax_su_heber_surf_sup3','text');
2259     $form->setType('tax_su_secon_log_nb','text');
2260     $form->setType('tax_su_tot_log_nb','text');
2261     $form->setType('tax_su_secon_log_nb_tot','text');
2262     $form->setType('tax_su_tot_log_nb_tot','text');
2263     $form->setType('tax_su_secon_surf','text');
2264     $form->setType('tax_su_tot_surf','text');
2265     $form->setType('tax_su_secon_surf_sup','text');
2266     $form->setType('tax_su_tot_surf_sup','text');
2267     $form->setType('tax_ext_pret','checkbox');
2268     $form->setType('tax_ext_desc','textarea');
2269     $form->setType('tax_surf_tax_exist_cons','text');
2270     $form->setType('tax_log_exist_nb','text');
2271     $form->setType('tax_am_statio_ext','text');
2272     $form->setType('tax_sup_bass_pisc','text');
2273     $form->setType('tax_empl_ten_carav_mobil_nb','text');
2274     $form->setType('tax_empl_hll_nb','text');
2275     $form->setType('tax_eol_haut_nb','text');
2276     $form->setType('tax_pann_volt_sup','text');
2277     $form->setType('tax_am_statio_ext_sup','text');
2278     $form->setType('tax_sup_bass_pisc_sup','text');
2279     $form->setType('tax_empl_ten_carav_mobil_nb_sup','text');
2280     $form->setType('tax_empl_hll_nb_sup','text');
2281     $form->setType('tax_eol_haut_nb_sup','text');
2282     $form->setType('tax_pann_volt_sup_sup','text');
2283     $form->setType('tax_trx_presc_ppr','checkbox');
2284     $form->setType('tax_monu_hist','checkbox');
2285     $form->setType('tax_comm_nb','text');
2286     $form->setType('tax_su_non_habit_surf1','text');
2287     $form->setType('tax_su_non_habit_surf2','text');
2288     $form->setType('tax_su_non_habit_surf3','text');
2289     $form->setType('tax_su_non_habit_surf4','text');
2290     $form->setType('tax_su_non_habit_surf5','text');
2291     $form->setType('tax_su_non_habit_surf6','text');
2292     $form->setType('tax_su_non_habit_surf7','text');
2293     $form->setType('tax_su_non_habit_surf_sup1','text');
2294     $form->setType('tax_su_non_habit_surf_sup2','text');
2295     $form->setType('tax_su_non_habit_surf_sup3','text');
2296     $form->setType('tax_su_non_habit_surf_sup4','text');
2297     $form->setType('tax_su_non_habit_surf_sup5','text');
2298     $form->setType('tax_su_non_habit_surf_sup6','text');
2299     $form->setType('tax_su_non_habit_surf_sup7','text');
2300     $form->setType('vsd_surf_planch_smd','checkbox');
2301     $form->setType('vsd_unit_fonc_sup','text');
2302     $form->setType('vsd_unit_fonc_constr_sup','text');
2303     $form->setType('vsd_val_terr','text');
2304     $form->setType('vsd_const_sxist_non_dem_surf','text');
2305     if($this->retourformulaire=='')
2306     $form->setType('vsd_rescr_fisc','date');
2307     else
2308     $form->setType('vsd_rescr_fisc','date2');
2309     $form->setType('pld_val_terr','text');
2310     $form->setType('pld_const_exist_dem','checkbox');
2311     $form->setType('pld_const_exist_dem_surf','text');
2312 vpihour 1249 $form->setType('code_cnil','checkbox');
2313 nhaye 1615 $form->setType('co_archi_nom','text');
2314     $form->setType('co_archi_prenom','text');
2315     $form->setType('co_archi_adr_num','text');
2316     $form->setType('co_archi_adr_voie','text');
2317     $form->setType('co_archi_adr_lieu_dit','text');
2318     $form->setType('co_archi_adr_localite','text');
2319     $form->setType('co_archi_adr_cp','text');
2320     $form->setType('co_archi_adr_bp','text');
2321     $form->setType('co_archi_adr_cedex','text');
2322     $form->setType('co_archi_no_incri','text');
2323     $form->setType('co_archi_cg','text');
2324     $form->setType('co_archi_tel1','text');
2325     $form->setType('co_archi_tel2','text');
2326     $form->setType('co_archi_mail','text');
2327 vpihour 1249 }// fin modifier
2328     if ($maj==2){ //supprimer
2329     $form->setType('donnees_techniques','hiddenstatic');
2330 vpihour 1251 $form->setType('dossier_instruction','selectstatic');
2331 vpihour 1249 $form->setType('lot','selectstatic');
2332 nhaye 1268 $form->setType('avap_co_elt_pro','hiddenstatic');
2333     $form->setType('avap_nouv_haut_surf','hiddenstatic');
2334     $form->setType('avap_co_clot','hiddenstatic');
2335     $form->setType('avap_aut_coup_aba_arb','hiddenstatic');
2336     $form->setType('avap_ouv_infra','hiddenstatic');
2337     $form->setType('avap_aut_inst_mob','hiddenstatic');
2338     $form->setType('avap_aut_plant','hiddenstatic');
2339     $form->setType('avap_aut_auv_elec','hiddenstatic');
2340     $form->setType('tr_total','hiddenstatic');
2341     $form->setType('tr_partiel','hiddenstatic');
2342     $form->setType('tr_desc','hiddenstatic');
2343 vpihour 1249 $form->setType('am_lotiss','hiddenstatic');
2344     $form->setType('am_autre_div','hiddenstatic');
2345     $form->setType('am_camping','hiddenstatic');
2346     $form->setType('am_caravane','hiddenstatic');
2347     $form->setType('am_carav_duree','hiddenstatic');
2348     $form->setType('am_statio','hiddenstatic');
2349     $form->setType('am_statio_cont','hiddenstatic');
2350     $form->setType('am_affou_exhau','hiddenstatic');
2351 vpihour 1255 $form->setType('am_affou_exhau_sup','hiddenstatic');
2352 vpihour 1249 $form->setType('am_affou_prof','hiddenstatic');
2353     $form->setType('am_exhau_haut','hiddenstatic');
2354     $form->setType('am_coupe_abat','hiddenstatic');
2355     $form->setType('am_prot_plu','hiddenstatic');
2356     $form->setType('am_prot_muni','hiddenstatic');
2357     $form->setType('am_mobil_voyage','hiddenstatic');
2358     $form->setType('am_voyage_deb','hiddenstatic');
2359     $form->setType('am_voyage_fin','hiddenstatic');
2360     $form->setType('am_aire_voyage','hiddenstatic');
2361     $form->setType('am_rememb_afu','hiddenstatic');
2362     $form->setType('am_parc_resid_loi','hiddenstatic');
2363     $form->setType('am_sport_moto','hiddenstatic');
2364     $form->setType('am_sport_attrac','hiddenstatic');
2365     $form->setType('am_sport_golf','hiddenstatic');
2366     $form->setType('am_mob_art','hiddenstatic');
2367     $form->setType('am_modif_voie_esp','hiddenstatic');
2368     $form->setType('am_plant_voie_esp','hiddenstatic');
2369     $form->setType('am_chem_ouv_esp','hiddenstatic');
2370     $form->setType('am_agri_peche','hiddenstatic');
2371     $form->setType('am_crea_voie','hiddenstatic');
2372     $form->setType('am_modif_voie_exist','hiddenstatic');
2373     $form->setType('am_crea_esp_sauv','hiddenstatic');
2374     $form->setType('am_modif_amgt','hiddenstatic');
2375     $form->setType('am_crea_esp_class','hiddenstatic');
2376     $form->setType('am_projet_desc','hiddenstatic');
2377     $form->setType('am_terr_surf','hiddenstatic');
2378     $form->setType('am_tranche_desc','hiddenstatic');
2379     $form->setType('am_lot_max_nb','hiddenstatic');
2380     $form->setType('am_lot_max_shon','hiddenstatic');
2381     $form->setType('am_lot_max_shob','hiddenstatic');
2382     $form->setType('am_lot_cstr_cos','hiddenstatic');
2383     $form->setType('am_lot_cstr_plan','hiddenstatic');
2384     $form->setType('am_lot_cstr_vente','hiddenstatic');
2385     $form->setType('am_lot_fin_diff','hiddenstatic');
2386     $form->setType('am_lot_consign','hiddenstatic');
2387     $form->setType('am_lot_gar_achev','hiddenstatic');
2388     $form->setType('am_lot_vente_ant','hiddenstatic');
2389     $form->setType('am_empl_nb','hiddenstatic');
2390     $form->setType('am_tente_nb','hiddenstatic');
2391     $form->setType('am_carav_nb','hiddenstatic');
2392     $form->setType('am_mobil_nb','hiddenstatic');
2393     $form->setType('am_pers_nb','hiddenstatic');
2394     $form->setType('am_empl_hll_nb','hiddenstatic');
2395     $form->setType('am_hll_shon','hiddenstatic');
2396     $form->setType('am_periode_exploit','hiddenstatic');
2397     $form->setType('am_exist_agrand','hiddenstatic');
2398     $form->setType('am_exist_date','hiddenstatic');
2399     $form->setType('am_exist_num','hiddenstatic');
2400     $form->setType('am_exist_nb_avant','hiddenstatic');
2401     $form->setType('am_exist_nb_apres','hiddenstatic');
2402     $form->setType('am_coupe_bois','hiddenstatic');
2403     $form->setType('am_coupe_parc','hiddenstatic');
2404     $form->setType('am_coupe_align','hiddenstatic');
2405     $form->setType('am_coupe_ess','hiddenstatic');
2406     $form->setType('am_coupe_age','hiddenstatic');
2407     $form->setType('am_coupe_dens','hiddenstatic');
2408     $form->setType('am_coupe_qual','hiddenstatic');
2409     $form->setType('am_coupe_trait','hiddenstatic');
2410     $form->setType('am_coupe_autr','hiddenstatic');
2411     $form->setType('co_archi_recours','hiddenstatic');
2412     $form->setType('co_cstr_nouv','hiddenstatic');
2413     $form->setType('co_cstr_exist','hiddenstatic');
2414     $form->setType('co_modif_aspect','hiddenstatic');
2415     $form->setType('co_modif_struct','hiddenstatic');
2416     $form->setType('co_cloture','hiddenstatic');
2417     $form->setType('co_ouvr_elec','hiddenstatic');
2418     $form->setType('co_elec_tension','hiddenstatic');
2419     $form->setType('co_ouvr_infra','hiddenstatic');
2420     $form->setType('co_trx_imm','hiddenstatic');
2421     $form->setType('co_div_terr','hiddenstatic');
2422     $form->setType('co_projet_desc','hiddenstatic');
2423     $form->setType('co_cstr_shob','hiddenstatic');
2424     $form->setType('co_anx_pisc','hiddenstatic');
2425     $form->setType('co_anx_gara','hiddenstatic');
2426     $form->setType('co_anx_veran','hiddenstatic');
2427     $form->setType('co_anx_abri','hiddenstatic');
2428     $form->setType('co_anx_autr','hiddenstatic');
2429     $form->setType('co_anx_autr_desc','hiddenstatic');
2430     $form->setType('co_tot_log_nb','hiddenstatic');
2431     $form->setType('co_tot_ind_nb','hiddenstatic');
2432     $form->setType('co_tot_coll_nb','hiddenstatic');
2433     $form->setType('co_mais_piece_nb','hiddenstatic');
2434     $form->setType('co_mais_niv_nb','hiddenstatic');
2435     $form->setType('co_fin_lls_nb','hiddenstatic');
2436     $form->setType('co_fin_aa_nb','hiddenstatic');
2437     $form->setType('co_fin_ptz_nb','hiddenstatic');
2438     $form->setType('co_fin_autr_nb','hiddenstatic');
2439     $form->setType('co_fin_autr_desc','hiddenstatic');
2440     $form->setType('co_mais_contrat_ind','hiddenstatic');
2441     $form->setType('co_uti_pers','hiddenstatic');
2442     $form->setType('co_uti_vente','hiddenstatic');
2443     $form->setType('co_uti_loc','hiddenstatic');
2444     $form->setType('co_uti_princ','hiddenstatic');
2445     $form->setType('co_uti_secon','hiddenstatic');
2446     $form->setType('co_resid_agees','hiddenstatic');
2447     $form->setType('co_resid_etud','hiddenstatic');
2448     $form->setType('co_resid_tourism','hiddenstatic');
2449     $form->setType('co_resid_hot_soc','hiddenstatic');
2450     $form->setType('co_resid_soc','hiddenstatic');
2451     $form->setType('co_resid_hand','hiddenstatic');
2452     $form->setType('co_resid_autr','hiddenstatic');
2453     $form->setType('co_resid_autr_desc','hiddenstatic');
2454     $form->setType('co_foyer_chamb_nb','hiddenstatic');
2455     $form->setType('co_log_1p_nb','hiddenstatic');
2456     $form->setType('co_log_2p_nb','hiddenstatic');
2457     $form->setType('co_log_3p_nb','hiddenstatic');
2458     $form->setType('co_log_4p_nb','hiddenstatic');
2459     $form->setType('co_log_5p_nb','hiddenstatic');
2460     $form->setType('co_log_6p_nb','hiddenstatic');
2461     $form->setType('co_bat_niv_nb','hiddenstatic');
2462     $form->setType('co_trx_exten','hiddenstatic');
2463     $form->setType('co_trx_surelev','hiddenstatic');
2464     $form->setType('co_trx_nivsup','hiddenstatic');
2465     $form->setType('co_trx_amgt','hiddenstatic');
2466     $form->setType('co_demont_periode','hiddenstatic');
2467     $form->setType('co_sp_transport','hiddenstatic');
2468     $form->setType('co_sp_enseign','hiddenstatic');
2469     $form->setType('co_sp_act_soc','hiddenstatic');
2470     $form->setType('co_sp_ouvr_spe','hiddenstatic');
2471     $form->setType('co_sp_sante','hiddenstatic');
2472     $form->setType('co_sp_culture','hiddenstatic');
2473     $form->setType('co_statio_avt_nb','hiddenstatic');
2474     $form->setType('co_statio_apr_nb','hiddenstatic');
2475     $form->setType('co_statio_avt_shob','hiddenstatic');
2476     $form->setType('co_statio_apr_shob','hiddenstatic');
2477     $form->setType('co_statio_avt_surf','hiddenstatic');
2478     $form->setType('co_statio_apr_surf','hiddenstatic');
2479     $form->setType('co_statio_adr','hiddenstatic');
2480     $form->setType('co_statio_place_nb','hiddenstatic');
2481     $form->setType('co_statio_tot_surf','hiddenstatic');
2482     $form->setType('co_statio_tot_shob','hiddenstatic');
2483 vpihour 1255 $form->setType('co_statio_comm_cin_surf','hiddenstatic');
2484 vpihour 1249 $form->setType('su_avt_shon1','hiddenstatic');
2485     $form->setType('su_avt_shon2','hiddenstatic');
2486     $form->setType('su_avt_shon3','hiddenstatic');
2487     $form->setType('su_avt_shon4','hiddenstatic');
2488     $form->setType('su_avt_shon5','hiddenstatic');
2489     $form->setType('su_avt_shon6','hiddenstatic');
2490     $form->setType('su_avt_shon7','hiddenstatic');
2491     $form->setType('su_avt_shon8','hiddenstatic');
2492     $form->setType('su_avt_shon9','hiddenstatic');
2493     $form->setType('su_cstr_shon1','hiddenstatic');
2494     $form->setType('su_cstr_shon2','hiddenstatic');
2495     $form->setType('su_cstr_shon3','hiddenstatic');
2496     $form->setType('su_cstr_shon4','hiddenstatic');
2497     $form->setType('su_cstr_shon5','hiddenstatic');
2498     $form->setType('su_cstr_shon6','hiddenstatic');
2499     $form->setType('su_cstr_shon7','hiddenstatic');
2500     $form->setType('su_cstr_shon8','hiddenstatic');
2501     $form->setType('su_cstr_shon9','hiddenstatic');
2502     $form->setType('su_trsf_shon1','hiddenstatic');
2503     $form->setType('su_trsf_shon2','hiddenstatic');
2504     $form->setType('su_trsf_shon3','hiddenstatic');
2505     $form->setType('su_trsf_shon4','hiddenstatic');
2506     $form->setType('su_trsf_shon5','hiddenstatic');
2507     $form->setType('su_trsf_shon6','hiddenstatic');
2508     $form->setType('su_trsf_shon7','hiddenstatic');
2509     $form->setType('su_trsf_shon8','hiddenstatic');
2510     $form->setType('su_trsf_shon9','hiddenstatic');
2511     $form->setType('su_chge_shon1','hiddenstatic');
2512     $form->setType('su_chge_shon2','hiddenstatic');
2513     $form->setType('su_chge_shon3','hiddenstatic');
2514     $form->setType('su_chge_shon4','hiddenstatic');
2515     $form->setType('su_chge_shon5','hiddenstatic');
2516     $form->setType('su_chge_shon6','hiddenstatic');
2517     $form->setType('su_chge_shon7','hiddenstatic');
2518     $form->setType('su_chge_shon8','hiddenstatic');
2519     $form->setType('su_chge_shon9','hiddenstatic');
2520     $form->setType('su_demo_shon1','hiddenstatic');
2521     $form->setType('su_demo_shon2','hiddenstatic');
2522     $form->setType('su_demo_shon3','hiddenstatic');
2523     $form->setType('su_demo_shon4','hiddenstatic');
2524     $form->setType('su_demo_shon5','hiddenstatic');
2525     $form->setType('su_demo_shon6','hiddenstatic');
2526     $form->setType('su_demo_shon7','hiddenstatic');
2527     $form->setType('su_demo_shon8','hiddenstatic');
2528     $form->setType('su_demo_shon9','hiddenstatic');
2529     $form->setType('su_sup_shon1','hiddenstatic');
2530     $form->setType('su_sup_shon2','hiddenstatic');
2531     $form->setType('su_sup_shon3','hiddenstatic');
2532     $form->setType('su_sup_shon4','hiddenstatic');
2533     $form->setType('su_sup_shon5','hiddenstatic');
2534     $form->setType('su_sup_shon6','hiddenstatic');
2535     $form->setType('su_sup_shon7','hiddenstatic');
2536     $form->setType('su_sup_shon8','hiddenstatic');
2537     $form->setType('su_sup_shon9','hiddenstatic');
2538     $form->setType('su_tot_shon1','hiddenstatic');
2539     $form->setType('su_tot_shon2','hiddenstatic');
2540     $form->setType('su_tot_shon3','hiddenstatic');
2541     $form->setType('su_tot_shon4','hiddenstatic');
2542     $form->setType('su_tot_shon5','hiddenstatic');
2543     $form->setType('su_tot_shon6','hiddenstatic');
2544     $form->setType('su_tot_shon7','hiddenstatic');
2545     $form->setType('su_tot_shon8','hiddenstatic');
2546     $form->setType('su_tot_shon9','hiddenstatic');
2547     $form->setType('su_avt_shon_tot','hiddenstatic');
2548     $form->setType('su_cstr_shon_tot','hiddenstatic');
2549     $form->setType('su_trsf_shon_tot','hiddenstatic');
2550     $form->setType('su_chge_shon_tot','hiddenstatic');
2551     $form->setType('su_demo_shon_tot','hiddenstatic');
2552     $form->setType('su_sup_shon_tot','hiddenstatic');
2553     $form->setType('su_tot_shon_tot','hiddenstatic');
2554     $form->setType('dm_constr_dates','hiddenstatic');
2555     $form->setType('dm_total','hiddenstatic');
2556     $form->setType('dm_partiel','hiddenstatic');
2557     $form->setType('dm_projet_desc','hiddenstatic');
2558     $form->setType('dm_tot_log_nb','hiddenstatic');
2559 nhaye 1268 $form->setType('tax_surf_tot','hiddenstatic');
2560     $form->setType('tax_surf','hiddenstatic');
2561     $form->setType('tax_surf_suppr_mod','hiddenstatic');
2562     $form->setType('tax_dest_loc_tr','hiddenstatic');
2563     $form->setType('tax_su_princ_log_nb1','hiddenstatic');
2564     $form->setType('tax_su_princ_log_nb2','hiddenstatic');
2565     $form->setType('tax_su_princ_log_nb3','hiddenstatic');
2566     $form->setType('tax_su_princ_log_nb4','hiddenstatic');
2567     $form->setType('tax_su_princ_log_nb_tot1','hiddenstatic');
2568     $form->setType('tax_su_princ_log_nb_tot2','hiddenstatic');
2569     $form->setType('tax_su_princ_log_nb_tot3','hiddenstatic');
2570     $form->setType('tax_su_princ_log_nb_tot4','hiddenstatic');
2571     $form->setType('tax_su_princ_surf1','hiddenstatic');
2572     $form->setType('tax_su_princ_surf2','hiddenstatic');
2573     $form->setType('tax_su_princ_surf3','hiddenstatic');
2574     $form->setType('tax_su_princ_surf4','hiddenstatic');
2575     $form->setType('tax_su_princ_surf_sup1','hiddenstatic');
2576     $form->setType('tax_su_princ_surf_sup2','hiddenstatic');
2577     $form->setType('tax_su_princ_surf_sup3','hiddenstatic');
2578     $form->setType('tax_su_princ_surf_sup4','hiddenstatic');
2579     $form->setType('tax_su_heber_log_nb1','hiddenstatic');
2580     $form->setType('tax_su_heber_log_nb2','hiddenstatic');
2581     $form->setType('tax_su_heber_log_nb3','hiddenstatic');
2582     $form->setType('tax_su_heber_log_nb_tot1','hiddenstatic');
2583     $form->setType('tax_su_heber_log_nb_tot2','hiddenstatic');
2584     $form->setType('tax_su_heber_log_nb_tot3','hiddenstatic');
2585     $form->setType('tax_su_heber_surf1','hiddenstatic');
2586     $form->setType('tax_su_heber_surf2','hiddenstatic');
2587     $form->setType('tax_su_heber_surf3','hiddenstatic');
2588     $form->setType('tax_su_heber_surf_sup1','hiddenstatic');
2589     $form->setType('tax_su_heber_surf_sup2','hiddenstatic');
2590     $form->setType('tax_su_heber_surf_sup3','hiddenstatic');
2591     $form->setType('tax_su_secon_log_nb','hiddenstatic');
2592     $form->setType('tax_su_tot_log_nb','hiddenstatic');
2593     $form->setType('tax_su_secon_log_nb_tot','hiddenstatic');
2594     $form->setType('tax_su_tot_log_nb_tot','hiddenstatic');
2595     $form->setType('tax_su_secon_surf','hiddenstatic');
2596     $form->setType('tax_su_tot_surf','hiddenstatic');
2597     $form->setType('tax_su_secon_surf_sup','hiddenstatic');
2598     $form->setType('tax_su_tot_surf_sup','hiddenstatic');
2599     $form->setType('tax_ext_pret','hiddenstatic');
2600     $form->setType('tax_ext_desc','hiddenstatic');
2601     $form->setType('tax_surf_tax_exist_cons','hiddenstatic');
2602     $form->setType('tax_log_exist_nb','hiddenstatic');
2603     $form->setType('tax_am_statio_ext','hiddenstatic');
2604     $form->setType('tax_sup_bass_pisc','hiddenstatic');
2605     $form->setType('tax_empl_ten_carav_mobil_nb','hiddenstatic');
2606     $form->setType('tax_empl_hll_nb','hiddenstatic');
2607     $form->setType('tax_eol_haut_nb','hiddenstatic');
2608     $form->setType('tax_pann_volt_sup','hiddenstatic');
2609     $form->setType('tax_am_statio_ext_sup','hiddenstatic');
2610     $form->setType('tax_sup_bass_pisc_sup','hiddenstatic');
2611     $form->setType('tax_empl_ten_carav_mobil_nb_sup','hiddenstatic');
2612     $form->setType('tax_empl_hll_nb_sup','hiddenstatic');
2613     $form->setType('tax_eol_haut_nb_sup','hiddenstatic');
2614     $form->setType('tax_pann_volt_sup_sup','hiddenstatic');
2615     $form->setType('tax_trx_presc_ppr','hiddenstatic');
2616     $form->setType('tax_monu_hist','hiddenstatic');
2617     $form->setType('tax_comm_nb','hiddenstatic');
2618     $form->setType('tax_su_non_habit_surf1','hiddenstatic');
2619     $form->setType('tax_su_non_habit_surf2','hiddenstatic');
2620     $form->setType('tax_su_non_habit_surf3','hiddenstatic');
2621     $form->setType('tax_su_non_habit_surf4','hiddenstatic');
2622     $form->setType('tax_su_non_habit_surf5','hiddenstatic');
2623     $form->setType('tax_su_non_habit_surf6','hiddenstatic');
2624     $form->setType('tax_su_non_habit_surf7','hiddenstatic');
2625     $form->setType('tax_su_non_habit_surf_sup1','hiddenstatic');
2626     $form->setType('tax_su_non_habit_surf_sup2','hiddenstatic');
2627     $form->setType('tax_su_non_habit_surf_sup3','hiddenstatic');
2628     $form->setType('tax_su_non_habit_surf_sup4','hiddenstatic');
2629     $form->setType('tax_su_non_habit_surf_sup5','hiddenstatic');
2630     $form->setType('tax_su_non_habit_surf_sup6','hiddenstatic');
2631     $form->setType('tax_su_non_habit_surf_sup7','hiddenstatic');
2632     $form->setType('vsd_surf_planch_smd','hiddenstatic');
2633     $form->setType('vsd_unit_fonc_sup','hiddenstatic');
2634     $form->setType('vsd_unit_fonc_constr_sup','hiddenstatic');
2635     $form->setType('vsd_val_terr','hiddenstatic');
2636     $form->setType('vsd_const_sxist_non_dem_surf','hiddenstatic');
2637     $form->setType('vsd_rescr_fisc','hiddenstatic');
2638     $form->setType('pld_val_terr','hiddenstatic');
2639     $form->setType('pld_const_exist_dem','hiddenstatic');
2640     $form->setType('pld_const_exist_dem_surf','hiddenstatic');
2641 vpihour 1249 $form->setType('code_cnil','hiddenstatic');
2642 nhaye 1615 $form->setType('co_archi_nom','hiddenstatic');
2643     $form->setType('co_archi_prenom','hiddenstatic');
2644     $form->setType('co_archi_adr_num','hiddenstatic');
2645     $form->setType('co_archi_adr_voie','hiddenstatic');
2646     $form->setType('co_archi_adr_lieu_dit','hiddenstatic');
2647     $form->setType('co_archi_adr_localite','hiddenstatic');
2648     $form->setType('co_archi_adr_cp','hiddenstatic');
2649     $form->setType('co_archi_adr_bp','hiddenstatic');
2650     $form->setType('co_archi_adr_cedex','hiddenstatic');
2651     $form->setType('co_archi_no_incri','hiddenstatic');
2652     $form->setType('co_archi_cg','hiddenstatic');
2653     $form->setType('co_archi_tel1','hiddenstatic');
2654     $form->setType('co_archi_tel2','hiddenstatic');
2655     $form->setType('co_archi_mail','hiddenstatic');
2656 vpihour 1249 }//fin supprimer
2657     if ($maj==3){ //consulter
2658     $form->setType('donnees_techniques','static');
2659 vpihour 1251 $form->setType('dossier_instruction','selectstatic');
2660 vpihour 1249 $form->setType('lot','selectstatic');
2661 nhaye 1268 $form->setType('avap_co_elt_pro','checkboxstatic');
2662     $form->setType('avap_nouv_haut_surf','checkboxstatic');
2663     $form->setType('avap_co_clot','checkboxstatic');
2664     $form->setType('avap_aut_coup_aba_arb','checkboxstatic');
2665     $form->setType('avap_ouv_infra','checkboxstatic');
2666     $form->setType('avap_aut_inst_mob','checkboxstatic');
2667     $form->setType('avap_aut_plant','checkboxstatic');
2668     $form->setType('avap_aut_auv_elec','checkboxstatic');
2669     $form->setType('tr_total','checkboxstatic');
2670     $form->setType('tr_partiel','checkboxstatic');
2671     $form->setType('tr_desc','textareastatic');
2672 vpihour 1249 $form->setType('am_lotiss','checkboxstatic');
2673     $form->setType('am_autre_div','checkboxstatic');
2674     $form->setType('am_camping','checkboxstatic');
2675     $form->setType('am_caravane','checkboxstatic');
2676     $form->setType('am_carav_duree','static');
2677     $form->setType('am_statio','checkboxstatic');
2678     $form->setType('am_statio_cont','static');
2679     $form->setType('am_affou_exhau','checkboxstatic');
2680 vpihour 1255 $form->setType('am_affou_exhau_sup','static');
2681 vpihour 1249 $form->setType('am_affou_prof','static');
2682     $form->setType('am_exhau_haut','static');
2683     $form->setType('am_coupe_abat','checkboxstatic');
2684     $form->setType('am_prot_plu','checkboxstatic');
2685     $form->setType('am_prot_muni','checkboxstatic');
2686     $form->setType('am_mobil_voyage','checkboxstatic');
2687     $form->setType('am_voyage_deb','datestatic');
2688     $form->setType('am_voyage_fin','datestatic');
2689     $form->setType('am_aire_voyage','checkboxstatic');
2690     $form->setType('am_rememb_afu','checkboxstatic');
2691     $form->setType('am_parc_resid_loi','checkboxstatic');
2692     $form->setType('am_sport_moto','checkboxstatic');
2693     $form->setType('am_sport_attrac','checkboxstatic');
2694     $form->setType('am_sport_golf','checkboxstatic');
2695     $form->setType('am_mob_art','checkboxstatic');
2696     $form->setType('am_modif_voie_esp','checkboxstatic');
2697     $form->setType('am_plant_voie_esp','checkboxstatic');
2698     $form->setType('am_chem_ouv_esp','checkboxstatic');
2699     $form->setType('am_agri_peche','checkboxstatic');
2700     $form->setType('am_crea_voie','checkboxstatic');
2701     $form->setType('am_modif_voie_exist','checkboxstatic');
2702     $form->setType('am_crea_esp_sauv','checkboxstatic');
2703     $form->setType('am_modif_amgt','checkboxstatic');
2704     $form->setType('am_crea_esp_class','checkboxstatic');
2705 nhaye 1257 $form->setType('am_projet_desc','textareastatic');
2706 vpihour 1249 $form->setType('am_terr_surf','static');
2707 nhaye 1257 $form->setType('am_tranche_desc','textareastatic');
2708 vpihour 1249 $form->setType('am_lot_max_nb','static');
2709     $form->setType('am_lot_max_shon','static');
2710     $form->setType('am_lot_max_shob','static');
2711     $form->setType('am_lot_cstr_cos','checkboxstatic');
2712     $form->setType('am_lot_cstr_plan','checkboxstatic');
2713     $form->setType('am_lot_cstr_vente','checkboxstatic');
2714     $form->setType('am_lot_fin_diff','checkboxstatic');
2715     $form->setType('am_lot_consign','checkboxstatic');
2716     $form->setType('am_lot_gar_achev','checkboxstatic');
2717     $form->setType('am_lot_vente_ant','checkboxstatic');
2718     $form->setType('am_empl_nb','static');
2719     $form->setType('am_tente_nb','static');
2720     $form->setType('am_carav_nb','static');
2721     $form->setType('am_mobil_nb','static');
2722     $form->setType('am_pers_nb','static');
2723     $form->setType('am_empl_hll_nb','static');
2724     $form->setType('am_hll_shon','static');
2725 nhaye 1257 $form->setType('am_periode_exploit','textareastatic');
2726 vpihour 1249 $form->setType('am_exist_agrand','checkboxstatic');
2727     $form->setType('am_exist_date','datestatic');
2728     $form->setType('am_exist_num','static');
2729     $form->setType('am_exist_nb_avant','static');
2730     $form->setType('am_exist_nb_apres','static');
2731     $form->setType('am_coupe_bois','checkboxstatic');
2732     $form->setType('am_coupe_parc','checkboxstatic');
2733     $form->setType('am_coupe_align','checkboxstatic');
2734     $form->setType('am_coupe_ess','static');
2735     $form->setType('am_coupe_age','static');
2736     $form->setType('am_coupe_dens','static');
2737     $form->setType('am_coupe_qual','static');
2738     $form->setType('am_coupe_trait','static');
2739     $form->setType('am_coupe_autr','static');
2740     $form->setType('co_archi_recours','checkboxstatic');
2741     $form->setType('co_cstr_nouv','checkboxstatic');
2742     $form->setType('co_cstr_exist','checkboxstatic');
2743     $form->setType('co_modif_aspect','checkboxstatic');
2744     $form->setType('co_modif_struct','checkboxstatic');
2745     $form->setType('co_cloture','checkboxstatic');
2746     $form->setType('co_ouvr_elec','checkboxstatic');
2747     $form->setType('co_elec_tension','static');
2748     $form->setType('co_ouvr_infra','checkboxstatic');
2749     $form->setType('co_trx_imm','checkboxstatic');
2750     $form->setType('co_div_terr','checkboxstatic');
2751 nhaye 1257 $form->setType('co_projet_desc','textareastatic');
2752 vpihour 1249 $form->setType('co_cstr_shob','static');
2753     $form->setType('co_anx_pisc','checkboxstatic');
2754     $form->setType('co_anx_gara','checkboxstatic');
2755     $form->setType('co_anx_veran','checkboxstatic');
2756     $form->setType('co_anx_abri','checkboxstatic');
2757     $form->setType('co_anx_autr','checkboxstatic');
2758 nhaye 1257 $form->setType('co_anx_autr_desc','textareastatic');
2759 vpihour 1249 $form->setType('co_tot_log_nb','static');
2760     $form->setType('co_tot_ind_nb','static');
2761     $form->setType('co_tot_coll_nb','static');
2762     $form->setType('co_mais_piece_nb','static');
2763     $form->setType('co_mais_niv_nb','static');
2764     $form->setType('co_fin_lls_nb','static');
2765     $form->setType('co_fin_aa_nb','static');
2766     $form->setType('co_fin_ptz_nb','static');
2767     $form->setType('co_fin_autr_nb','static');
2768 nhaye 1257 $form->setType('co_fin_autr_desc','textareastatic');
2769 vpihour 1249 $form->setType('co_mais_contrat_ind','checkboxstatic');
2770     $form->setType('co_uti_pers','checkboxstatic');
2771     $form->setType('co_uti_vente','checkboxstatic');
2772     $form->setType('co_uti_loc','checkboxstatic');
2773     $form->setType('co_uti_princ','checkboxstatic');
2774     $form->setType('co_uti_secon','checkboxstatic');
2775     $form->setType('co_resid_agees','checkboxstatic');
2776     $form->setType('co_resid_etud','checkboxstatic');
2777     $form->setType('co_resid_tourism','checkboxstatic');
2778     $form->setType('co_resid_hot_soc','checkboxstatic');
2779     $form->setType('co_resid_soc','checkboxstatic');
2780     $form->setType('co_resid_hand','checkboxstatic');
2781     $form->setType('co_resid_autr','checkboxstatic');
2782 nhaye 1257 $form->setType('co_resid_autr_desc','textareastatic');
2783 vpihour 1249 $form->setType('co_foyer_chamb_nb','static');
2784     $form->setType('co_log_1p_nb','static');
2785     $form->setType('co_log_2p_nb','static');
2786     $form->setType('co_log_3p_nb','static');
2787     $form->setType('co_log_4p_nb','static');
2788     $form->setType('co_log_5p_nb','static');
2789     $form->setType('co_log_6p_nb','static');
2790     $form->setType('co_bat_niv_nb','static');
2791     $form->setType('co_trx_exten','checkboxstatic');
2792     $form->setType('co_trx_surelev','checkboxstatic');
2793     $form->setType('co_trx_nivsup','checkboxstatic');
2794     $form->setType('co_trx_amgt','checkboxstatic');
2795 nhaye 1257 $form->setType('co_demont_periode','textareastatic');
2796 vpihour 1249 $form->setType('co_sp_transport','checkboxstatic');
2797     $form->setType('co_sp_enseign','checkboxstatic');
2798     $form->setType('co_sp_act_soc','checkboxstatic');
2799     $form->setType('co_sp_ouvr_spe','checkboxstatic');
2800     $form->setType('co_sp_sante','checkboxstatic');
2801     $form->setType('co_sp_culture','checkboxstatic');
2802     $form->setType('co_statio_avt_nb','static');
2803     $form->setType('co_statio_apr_nb','static');
2804     $form->setType('co_statio_avt_shob','static');
2805     $form->setType('co_statio_apr_shob','static');
2806     $form->setType('co_statio_avt_surf','static');
2807     $form->setType('co_statio_apr_surf','static');
2808 nhaye 1257 $form->setType('co_statio_adr','textareastatic');
2809 vpihour 1249 $form->setType('co_statio_place_nb','static');
2810     $form->setType('co_statio_tot_surf','static');
2811     $form->setType('co_statio_tot_shob','static');
2812 vpihour 1255 $form->setType('co_statio_comm_cin_surf','static');
2813 vpihour 1249 $form->setType('su_avt_shon1','static');
2814     $form->setType('su_avt_shon2','static');
2815     $form->setType('su_avt_shon3','static');
2816     $form->setType('su_avt_shon4','static');
2817     $form->setType('su_avt_shon5','static');
2818     $form->setType('su_avt_shon6','static');
2819     $form->setType('su_avt_shon7','static');
2820     $form->setType('su_avt_shon8','static');
2821     $form->setType('su_avt_shon9','static');
2822     $form->setType('su_cstr_shon1','static');
2823     $form->setType('su_cstr_shon2','static');
2824     $form->setType('su_cstr_shon3','static');
2825     $form->setType('su_cstr_shon4','static');
2826     $form->setType('su_cstr_shon5','static');
2827     $form->setType('su_cstr_shon6','static');
2828     $form->setType('su_cstr_shon7','static');
2829     $form->setType('su_cstr_shon8','static');
2830     $form->setType('su_cstr_shon9','static');
2831     $form->setType('su_trsf_shon1','static');
2832     $form->setType('su_trsf_shon2','static');
2833     $form->setType('su_trsf_shon3','static');
2834     $form->setType('su_trsf_shon4','static');
2835     $form->setType('su_trsf_shon5','static');
2836     $form->setType('su_trsf_shon6','static');
2837     $form->setType('su_trsf_shon7','static');
2838     $form->setType('su_trsf_shon8','static');
2839     $form->setType('su_trsf_shon9','static');
2840     $form->setType('su_chge_shon1','static');
2841     $form->setType('su_chge_shon2','static');
2842     $form->setType('su_chge_shon3','static');
2843     $form->setType('su_chge_shon4','static');
2844     $form->setType('su_chge_shon5','static');
2845     $form->setType('su_chge_shon6','static');
2846     $form->setType('su_chge_shon7','static');
2847     $form->setType('su_chge_shon8','static');
2848     $form->setType('su_chge_shon9','static');
2849     $form->setType('su_demo_shon1','static');
2850     $form->setType('su_demo_shon2','static');
2851     $form->setType('su_demo_shon3','static');
2852     $form->setType('su_demo_shon4','static');
2853     $form->setType('su_demo_shon5','static');
2854     $form->setType('su_demo_shon6','static');
2855     $form->setType('su_demo_shon7','static');
2856     $form->setType('su_demo_shon8','static');
2857     $form->setType('su_demo_shon9','static');
2858     $form->setType('su_sup_shon1','static');
2859     $form->setType('su_sup_shon2','static');
2860     $form->setType('su_sup_shon3','static');
2861     $form->setType('su_sup_shon4','static');
2862     $form->setType('su_sup_shon5','static');
2863     $form->setType('su_sup_shon6','static');
2864     $form->setType('su_sup_shon7','static');
2865     $form->setType('su_sup_shon8','static');
2866     $form->setType('su_sup_shon9','static');
2867     $form->setType('su_tot_shon1','static');
2868     $form->setType('su_tot_shon2','static');
2869     $form->setType('su_tot_shon3','static');
2870     $form->setType('su_tot_shon4','static');
2871     $form->setType('su_tot_shon5','static');
2872     $form->setType('su_tot_shon6','static');
2873     $form->setType('su_tot_shon7','static');
2874     $form->setType('su_tot_shon8','static');
2875     $form->setType('su_tot_shon9','static');
2876     $form->setType('su_avt_shon_tot','static');
2877     $form->setType('su_cstr_shon_tot','static');
2878     $form->setType('su_trsf_shon_tot','static');
2879     $form->setType('su_chge_shon_tot','static');
2880     $form->setType('su_demo_shon_tot','static');
2881     $form->setType('su_sup_shon_tot','static');
2882     $form->setType('su_tot_shon_tot','static');
2883 nhaye 1257 $form->setType('dm_constr_dates','textareastatic');
2884 vpihour 1249 $form->setType('dm_total','checkboxstatic');
2885     $form->setType('dm_partiel','checkboxstatic');
2886 nhaye 1257 $form->setType('dm_projet_desc','textareastatic');
2887 vpihour 1249 $form->setType('dm_tot_log_nb','static');
2888 nhaye 1268 $form->setType('tax_surf_tot','static');
2889     $form->setType('tax_surf','static');
2890     $form->setType('tax_surf_suppr_mod','static');
2891     $form->setType('tax_dest_loc_tr','textareastatic');
2892     $form->setType('tax_su_princ_log_nb1','static');
2893     $form->setType('tax_su_princ_log_nb2','static');
2894     $form->setType('tax_su_princ_log_nb3','static');
2895     $form->setType('tax_su_princ_log_nb4','static');
2896     $form->setType('tax_su_princ_log_nb_tot1','static');
2897     $form->setType('tax_su_princ_log_nb_tot2','static');
2898     $form->setType('tax_su_princ_log_nb_tot3','static');
2899     $form->setType('tax_su_princ_log_nb_tot4','static');
2900     $form->setType('tax_su_princ_surf1','static');
2901     $form->setType('tax_su_princ_surf2','static');
2902     $form->setType('tax_su_princ_surf3','static');
2903     $form->setType('tax_su_princ_surf4','static');
2904     $form->setType('tax_su_princ_surf_sup1','static');
2905     $form->setType('tax_su_princ_surf_sup2','static');
2906     $form->setType('tax_su_princ_surf_sup3','static');
2907     $form->setType('tax_su_princ_surf_sup4','static');
2908     $form->setType('tax_su_heber_log_nb1','static');
2909     $form->setType('tax_su_heber_log_nb2','static');
2910     $form->setType('tax_su_heber_log_nb3','static');
2911     $form->setType('tax_su_heber_log_nb_tot1','static');
2912     $form->setType('tax_su_heber_log_nb_tot2','static');
2913     $form->setType('tax_su_heber_log_nb_tot3','static');
2914     $form->setType('tax_su_heber_surf1','static');
2915     $form->setType('tax_su_heber_surf2','static');
2916     $form->setType('tax_su_heber_surf3','static');
2917     $form->setType('tax_su_heber_surf_sup1','static');
2918     $form->setType('tax_su_heber_surf_sup2','static');
2919     $form->setType('tax_su_heber_surf_sup3','static');
2920     $form->setType('tax_su_secon_log_nb','static');
2921     $form->setType('tax_su_tot_log_nb','static');
2922     $form->setType('tax_su_secon_log_nb_tot','static');
2923     $form->setType('tax_su_tot_log_nb_tot','static');
2924     $form->setType('tax_su_secon_surf','static');
2925     $form->setType('tax_su_tot_surf','static');
2926     $form->setType('tax_su_secon_surf_sup','static');
2927     $form->setType('tax_su_tot_surf_sup','static');
2928     $form->setType('tax_ext_pret','checkboxstatic');
2929     $form->setType('tax_ext_desc','textareastatic');
2930     $form->setType('tax_surf_tax_exist_cons','static');
2931     $form->setType('tax_log_exist_nb','static');
2932     $form->setType('tax_am_statio_ext','static');
2933     $form->setType('tax_sup_bass_pisc','static');
2934     $form->setType('tax_empl_ten_carav_mobil_nb','static');
2935     $form->setType('tax_empl_hll_nb','static');
2936     $form->setType('tax_eol_haut_nb','static');
2937     $form->setType('tax_pann_volt_sup','static');
2938     $form->setType('tax_am_statio_ext_sup','static');
2939     $form->setType('tax_sup_bass_pisc_sup','static');
2940     $form->setType('tax_empl_ten_carav_mobil_nb_sup','static');
2941     $form->setType('tax_empl_hll_nb_sup','static');
2942     $form->setType('tax_eol_haut_nb_sup','static');
2943     $form->setType('tax_pann_volt_sup_sup','static');
2944     $form->setType('tax_trx_presc_ppr','checkboxstatic');
2945     $form->setType('tax_monu_hist','checkboxstatic');
2946     $form->setType('tax_comm_nb','static');
2947     $form->setType('tax_su_non_habit_surf1','static');
2948     $form->setType('tax_su_non_habit_surf2','static');
2949     $form->setType('tax_su_non_habit_surf3','static');
2950     $form->setType('tax_su_non_habit_surf4','static');
2951     $form->setType('tax_su_non_habit_surf5','static');
2952     $form->setType('tax_su_non_habit_surf6','static');
2953     $form->setType('tax_su_non_habit_surf7','static');
2954     $form->setType('tax_su_non_habit_surf_sup1','static');
2955     $form->setType('tax_su_non_habit_surf_sup2','static');
2956     $form->setType('tax_su_non_habit_surf_sup3','static');
2957     $form->setType('tax_su_non_habit_surf_sup4','static');
2958     $form->setType('tax_su_non_habit_surf_sup5','static');
2959     $form->setType('tax_su_non_habit_surf_sup6','static');
2960     $form->setType('tax_su_non_habit_surf_sup7','static');
2961     $form->setType('vsd_surf_planch_smd','checkboxstatic');
2962     $form->setType('vsd_unit_fonc_sup','static');
2963     $form->setType('vsd_unit_fonc_constr_sup','static');
2964     $form->setType('vsd_val_terr','static');
2965     $form->setType('vsd_const_sxist_non_dem_surf','static');
2966     $form->setType('vsd_rescr_fisc','datestatic');
2967     $form->setType('pld_val_terr','static');
2968     $form->setType('pld_const_exist_dem','checkboxstatic');
2969     $form->setType('pld_const_exist_dem_surf','static');
2970 vpihour 1249 $form->setType('code_cnil','checkboxstatic');
2971 nhaye 1615 $form->setType('co_archi_nom','static');
2972     $form->setType('co_archi_prenom','static');
2973     $form->setType('co_archi_adr_num','static');
2974     $form->setType('co_archi_adr_voie','static');
2975     $form->setType('co_archi_adr_lieu_dit','static');
2976     $form->setType('co_archi_adr_localite','static');
2977     $form->setType('co_archi_adr_cp','static');
2978     $form->setType('co_archi_adr_bp','static');
2979     $form->setType('co_archi_adr_cedex','static');
2980     $form->setType('co_archi_no_incri','static');
2981     $form->setType('co_archi_cg','static');
2982     $form->setType('co_archi_tel1','static');
2983     $form->setType('co_archi_tel2','static');
2984     $form->setType('co_archi_mail','static');
2985 vpihour 1249 }//fin consulter
2986     }
2987    
2988     function setOnchange(&$form,$maj) {
2989     //javascript controle client
2990     $form->setOnchange('donnees_techniques','VerifNum(this)');
2991     $form->setOnchange('lot','VerifNum(this)');
2992     $form->setOnchange('am_carav_duree','VerifNum(this)');
2993     $form->setOnchange('am_statio_cont','VerifNum(this)');
2994 nhaye 1565 $form->setOnchange('am_affou_exhau_sup','VerifFloat(this)');
2995     $form->setOnchange('am_affou_prof','VerifFloat(this)');
2996     $form->setOnchange('am_exhau_haut','VerifFloat(this)');
2997 vpihour 1249 $form->setOnchange('am_voyage_deb','fdate(this)');
2998     $form->setOnchange('am_voyage_fin','fdate(this)');
2999 nhaye 1565 $form->setOnchange('am_terr_surf','VerifFloat(this)');
3000 vpihour 1249 $form->setOnchange('am_lot_max_nb','VerifNum(this)');
3001 nhaye 1565 $form->setOnchange('am_lot_max_shon','VerifFloat(this)');
3002     $form->setOnchange('am_lot_max_shob','VerifFloat(this)');
3003 vpihour 1249 $form->setOnchange('am_empl_nb','VerifNum(this)');
3004     $form->setOnchange('am_tente_nb','VerifNum(this)');
3005     $form->setOnchange('am_carav_nb','VerifNum(this)');
3006     $form->setOnchange('am_mobil_nb','VerifNum(this)');
3007     $form->setOnchange('am_pers_nb','VerifNum(this)');
3008     $form->setOnchange('am_empl_hll_nb','VerifNum(this)');
3009 nhaye 1565 $form->setOnchange('am_hll_shon','VerifFloat(this)');
3010 vpihour 1249 $form->setOnchange('am_exist_date','fdate(this)');
3011     $form->setOnchange('am_exist_nb_avant','VerifNum(this)');
3012     $form->setOnchange('am_exist_nb_apres','VerifNum(this)');
3013 nhaye 1565 $form->setOnchange('co_elec_tension','VerifFloat(this)');
3014     $form->setOnchange('co_cstr_shob','VerifFloat(this)');
3015 vpihour 1249 $form->setOnchange('co_tot_log_nb','VerifNum(this)');
3016     $form->setOnchange('co_tot_ind_nb','VerifNum(this)');
3017     $form->setOnchange('co_tot_coll_nb','VerifNum(this)');
3018     $form->setOnchange('co_mais_piece_nb','VerifNum(this)');
3019     $form->setOnchange('co_mais_niv_nb','VerifNum(this)');
3020     $form->setOnchange('co_fin_lls_nb','VerifNum(this)');
3021     $form->setOnchange('co_fin_aa_nb','VerifNum(this)');
3022     $form->setOnchange('co_fin_ptz_nb','VerifNum(this)');
3023     $form->setOnchange('co_fin_autr_nb','VerifNum(this)');
3024     $form->setOnchange('co_foyer_chamb_nb','VerifNum(this)');
3025     $form->setOnchange('co_log_1p_nb','VerifNum(this)');
3026     $form->setOnchange('co_log_2p_nb','VerifNum(this)');
3027     $form->setOnchange('co_log_3p_nb','VerifNum(this)');
3028     $form->setOnchange('co_log_4p_nb','VerifNum(this)');
3029     $form->setOnchange('co_log_5p_nb','VerifNum(this)');
3030     $form->setOnchange('co_log_6p_nb','VerifNum(this)');
3031     $form->setOnchange('co_bat_niv_nb','VerifNum(this)');
3032     $form->setOnchange('co_statio_avt_nb','VerifNum(this)');
3033     $form->setOnchange('co_statio_apr_nb','VerifNum(this)');
3034 nhaye 1565 $form->setOnchange('co_statio_avt_shob','VerifFloat(this)');
3035     $form->setOnchange('co_statio_apr_shob','VerifFloat(this)');
3036     $form->setOnchange('co_statio_avt_surf','VerifFloat(this)');
3037     $form->setOnchange('co_statio_apr_surf','VerifFloat(this)');
3038 vpihour 1249 $form->setOnchange('co_statio_place_nb','VerifNum(this)');
3039 nhaye 1565 $form->setOnchange('co_statio_tot_surf','VerifFloat(this)');
3040     $form->setOnchange('co_statio_tot_shob','VerifFloat(this)');
3041     $form->setOnchange('co_statio_comm_cin_surf','VerifFloat(this)');
3042     $form->setOnchange('su_avt_shon1','VerifFloat(this)');
3043     $form->setOnchange('su_avt_shon2','VerifFloat(this)');
3044     $form->setOnchange('su_avt_shon3','VerifFloat(this)');
3045     $form->setOnchange('su_avt_shon4','VerifFloat(this)');
3046     $form->setOnchange('su_avt_shon5','VerifFloat(this)');
3047     $form->setOnchange('su_avt_shon6','VerifFloat(this)');
3048     $form->setOnchange('su_avt_shon7','VerifFloat(this)');
3049     $form->setOnchange('su_avt_shon8','VerifFloat(this)');
3050     $form->setOnchange('su_avt_shon9','VerifFloat(this)');
3051     $form->setOnchange('su_cstr_shon1','VerifFloat(this)');
3052     $form->setOnchange('su_cstr_shon2','VerifFloat(this)');
3053     $form->setOnchange('su_cstr_shon3','VerifFloat(this)');
3054     $form->setOnchange('su_cstr_shon4','VerifFloat(this)');
3055     $form->setOnchange('su_cstr_shon5','VerifFloat(this)');
3056     $form->setOnchange('su_cstr_shon6','VerifFloat(this)');
3057     $form->setOnchange('su_cstr_shon7','VerifFloat(this)');
3058     $form->setOnchange('su_cstr_shon8','VerifFloat(this)');
3059     $form->setOnchange('su_cstr_shon9','VerifFloat(this)');
3060     $form->setOnchange('su_trsf_shon1','VerifFloat(this)');
3061     $form->setOnchange('su_trsf_shon2','VerifFloat(this)');
3062     $form->setOnchange('su_trsf_shon3','VerifFloat(this)');
3063     $form->setOnchange('su_trsf_shon4','VerifFloat(this)');
3064     $form->setOnchange('su_trsf_shon5','VerifFloat(this)');
3065     $form->setOnchange('su_trsf_shon6','VerifFloat(this)');
3066     $form->setOnchange('su_trsf_shon7','VerifFloat(this)');
3067     $form->setOnchange('su_trsf_shon8','VerifFloat(this)');
3068     $form->setOnchange('su_trsf_shon9','VerifFloat(this)');
3069     $form->setOnchange('su_chge_shon1','VerifFloat(this)');
3070     $form->setOnchange('su_chge_shon2','VerifFloat(this)');
3071     $form->setOnchange('su_chge_shon3','VerifFloat(this)');
3072     $form->setOnchange('su_chge_shon4','VerifFloat(this)');
3073     $form->setOnchange('su_chge_shon5','VerifFloat(this)');
3074     $form->setOnchange('su_chge_shon6','VerifFloat(this)');
3075     $form->setOnchange('su_chge_shon7','VerifFloat(this)');
3076     $form->setOnchange('su_chge_shon8','VerifFloat(this)');
3077     $form->setOnchange('su_chge_shon9','VerifFloat(this)');
3078     $form->setOnchange('su_demo_shon1','VerifFloat(this)');
3079     $form->setOnchange('su_demo_shon2','VerifFloat(this)');
3080     $form->setOnchange('su_demo_shon3','VerifFloat(this)');
3081     $form->setOnchange('su_demo_shon4','VerifFloat(this)');
3082     $form->setOnchange('su_demo_shon5','VerifFloat(this)');
3083     $form->setOnchange('su_demo_shon6','VerifFloat(this)');
3084     $form->setOnchange('su_demo_shon7','VerifFloat(this)');
3085     $form->setOnchange('su_demo_shon8','VerifFloat(this)');
3086     $form->setOnchange('su_demo_shon9','VerifFloat(this)');
3087     $form->setOnchange('su_sup_shon1','VerifFloat(this)');
3088     $form->setOnchange('su_sup_shon2','VerifFloat(this)');
3089     $form->setOnchange('su_sup_shon3','VerifFloat(this)');
3090     $form->setOnchange('su_sup_shon4','VerifFloat(this)');
3091     $form->setOnchange('su_sup_shon5','VerifFloat(this)');
3092     $form->setOnchange('su_sup_shon6','VerifFloat(this)');
3093     $form->setOnchange('su_sup_shon7','VerifFloat(this)');
3094     $form->setOnchange('su_sup_shon8','VerifFloat(this)');
3095     $form->setOnchange('su_sup_shon9','VerifFloat(this)');
3096     $form->setOnchange('su_tot_shon1','VerifFloat(this)');
3097     $form->setOnchange('su_tot_shon2','VerifFloat(this)');
3098     $form->setOnchange('su_tot_shon3','VerifFloat(this)');
3099     $form->setOnchange('su_tot_shon4','VerifFloat(this)');
3100     $form->setOnchange('su_tot_shon5','VerifFloat(this)');
3101     $form->setOnchange('su_tot_shon6','VerifFloat(this)');
3102     $form->setOnchange('su_tot_shon7','VerifFloat(this)');
3103     $form->setOnchange('su_tot_shon8','VerifFloat(this)');
3104     $form->setOnchange('su_tot_shon9','VerifFloat(this)');
3105     $form->setOnchange('su_avt_shon_tot','VerifFloat(this)');
3106     $form->setOnchange('su_cstr_shon_tot','VerifFloat(this)');
3107     $form->setOnchange('su_trsf_shon_tot','VerifFloat(this)');
3108     $form->setOnchange('su_chge_shon_tot','VerifFloat(this)');
3109     $form->setOnchange('su_demo_shon_tot','VerifFloat(this)');
3110     $form->setOnchange('su_sup_shon_tot','VerifFloat(this)');
3111     $form->setOnchange('su_tot_shon_tot','VerifFloat(this)');
3112 vpihour 1249 $form->setOnchange('dm_tot_log_nb','VerifNum(this)');
3113 nhaye 1565 $form->setOnchange('tax_surf_tot','VerifFloat(this)');
3114     $form->setOnchange('tax_surf','VerifFloat(this)');
3115     $form->setOnchange('tax_surf_suppr_mod','VerifFloat(this)');
3116     $form->setOnchange('tax_su_princ_log_nb1','VerifFloat(this)');
3117     $form->setOnchange('tax_su_princ_log_nb2','VerifFloat(this)');
3118     $form->setOnchange('tax_su_princ_log_nb3','VerifFloat(this)');
3119     $form->setOnchange('tax_su_princ_log_nb4','VerifFloat(this)');
3120     $form->setOnchange('tax_su_princ_log_nb_tot1','VerifFloat(this)');
3121     $form->setOnchange('tax_su_princ_log_nb_tot2','VerifFloat(this)');
3122     $form->setOnchange('tax_su_princ_log_nb_tot3','VerifFloat(this)');
3123     $form->setOnchange('tax_su_princ_log_nb_tot4','VerifFloat(this)');
3124     $form->setOnchange('tax_su_princ_surf1','VerifFloat(this)');
3125     $form->setOnchange('tax_su_princ_surf2','VerifFloat(this)');
3126     $form->setOnchange('tax_su_princ_surf3','VerifFloat(this)');
3127     $form->setOnchange('tax_su_princ_surf4','VerifFloat(this)');
3128     $form->setOnchange('tax_su_princ_surf_sup1','VerifFloat(this)');
3129     $form->setOnchange('tax_su_princ_surf_sup2','VerifFloat(this)');
3130     $form->setOnchange('tax_su_princ_surf_sup3','VerifFloat(this)');
3131     $form->setOnchange('tax_su_princ_surf_sup4','VerifFloat(this)');
3132 nhaye 1268 $form->setOnchange('tax_su_heber_log_nb1','VerifNum(this)');
3133     $form->setOnchange('tax_su_heber_log_nb2','VerifNum(this)');
3134     $form->setOnchange('tax_su_heber_log_nb3','VerifNum(this)');
3135     $form->setOnchange('tax_su_heber_log_nb_tot1','VerifNum(this)');
3136     $form->setOnchange('tax_su_heber_log_nb_tot2','VerifNum(this)');
3137     $form->setOnchange('tax_su_heber_log_nb_tot3','VerifNum(this)');
3138 nhaye 1565 $form->setOnchange('tax_su_heber_surf1','VerifFloat(this)');
3139     $form->setOnchange('tax_su_heber_surf2','VerifFloat(this)');
3140     $form->setOnchange('tax_su_heber_surf3','VerifFloat(this)');
3141     $form->setOnchange('tax_su_heber_surf_sup1','VerifFloat(this)');
3142     $form->setOnchange('tax_su_heber_surf_sup2','VerifFloat(this)');
3143     $form->setOnchange('tax_su_heber_surf_sup3','VerifFloat(this)');
3144 nhaye 1268 $form->setOnchange('tax_su_secon_log_nb','VerifNum(this)');
3145     $form->setOnchange('tax_su_tot_log_nb','VerifNum(this)');
3146     $form->setOnchange('tax_su_secon_log_nb_tot','VerifNum(this)');
3147     $form->setOnchange('tax_su_tot_log_nb_tot','VerifNum(this)');
3148 nhaye 1565 $form->setOnchange('tax_su_secon_surf','VerifFloat(this)');
3149     $form->setOnchange('tax_su_tot_surf','VerifFloat(this)');
3150     $form->setOnchange('tax_su_secon_surf_sup','VerifFloat(this)');
3151     $form->setOnchange('tax_su_tot_surf_sup','VerifFloat(this)');
3152     $form->setOnchange('tax_surf_tax_exist_cons','VerifFloat(this)');
3153 nhaye 1268 $form->setOnchange('tax_log_exist_nb','VerifNum(this)');
3154     $form->setOnchange('tax_am_statio_ext','VerifNum(this)');
3155 nhaye 1565 $form->setOnchange('tax_sup_bass_pisc','VerifFloat(this)');
3156 nhaye 1268 $form->setOnchange('tax_empl_ten_carav_mobil_nb','VerifNum(this)');
3157     $form->setOnchange('tax_empl_hll_nb','VerifNum(this)');
3158     $form->setOnchange('tax_eol_haut_nb','VerifNum(this)');
3159 nhaye 1565 $form->setOnchange('tax_pann_volt_sup','VerifFloat(this)');
3160 nhaye 1268 $form->setOnchange('tax_am_statio_ext_sup','VerifNum(this)');
3161 nhaye 1565 $form->setOnchange('tax_sup_bass_pisc_sup','VerifFloat(this)');
3162 nhaye 1268 $form->setOnchange('tax_empl_ten_carav_mobil_nb_sup','VerifNum(this)');
3163     $form->setOnchange('tax_empl_hll_nb_sup','VerifNum(this)');
3164     $form->setOnchange('tax_eol_haut_nb_sup','VerifNum(this)');
3165 nhaye 1565 $form->setOnchange('tax_pann_volt_sup_sup','VerifFloat(this)');
3166 nhaye 1268 $form->setOnchange('tax_comm_nb','VerifNum(this)');
3167 nhaye 1565 $form->setOnchange('tax_su_non_habit_surf1','VerifFloat(this)');
3168     $form->setOnchange('tax_su_non_habit_surf2','VerifFloat(this)');
3169     $form->setOnchange('tax_su_non_habit_surf3','VerifFloat(this)');
3170     $form->setOnchange('tax_su_non_habit_surf4','VerifFloat(this)');
3171     $form->setOnchange('tax_su_non_habit_surf5','VerifFloat(this)');
3172     $form->setOnchange('tax_su_non_habit_surf6','VerifFloat(this)');
3173     $form->setOnchange('tax_su_non_habit_surf7','VerifFloat(this)');
3174     $form->setOnchange('tax_su_non_habit_surf_sup1','VerifFloat(this)');
3175     $form->setOnchange('tax_su_non_habit_surf_sup2','VerifFloat(this)');
3176     $form->setOnchange('tax_su_non_habit_surf_sup3','VerifFloat(this)');
3177     $form->setOnchange('tax_su_non_habit_surf_sup4','VerifFloat(this)');
3178     $form->setOnchange('tax_su_non_habit_surf_sup5','VerifFloat(this)');
3179     $form->setOnchange('tax_su_non_habit_surf_sup6','VerifFloat(this)');
3180     $form->setOnchange('tax_su_non_habit_surf_sup7','VerifFloat(this)');
3181     $form->setOnchange('vsd_unit_fonc_sup','VerifFloat(this)');
3182     $form->setOnchange('vsd_unit_fonc_constr_sup','VerifFloat(this)');
3183     $form->setOnchange('vsd_val_terr','VerifFloat(this)');
3184     $form->setOnchange('vsd_const_sxist_non_dem_surf','VerifFloat(this)');
3185 nhaye 1268 $form->setOnchange('vsd_rescr_fisc','fdate(this)');
3186 nhaye 1565 $form->setOnchange('pld_val_terr','VerifFloat(this)');
3187     $form->setOnchange('pld_const_exist_dem_surf','VerifFloat(this)');
3188 vpihour 1249 }
3189     /**
3190     * Methode setTaille
3191     */
3192     function setTaille(&$form, $maj) {
3193     $form->setTaille("donnees_techniques", 11);
3194 vpihour 1251 $form->setTaille("dossier_instruction", 20);
3195 vpihour 1249 $form->setTaille("lot", 11);
3196 nhaye 1268 $form->setTaille("avap_co_elt_pro", 1);
3197     $form->setTaille("avap_nouv_haut_surf", 1);
3198     $form->setTaille("avap_co_clot", 1);
3199     $form->setTaille("avap_aut_coup_aba_arb", 1);
3200     $form->setTaille("avap_ouv_infra", 1);
3201     $form->setTaille("avap_aut_inst_mob", 1);
3202     $form->setTaille("avap_aut_plant", 1);
3203     $form->setTaille("avap_aut_auv_elec", 1);
3204     $form->setTaille("tr_total", 1);
3205     $form->setTaille("tr_partiel", 1);
3206     $form->setTaille("tr_desc", 80);
3207 vpihour 1249 $form->setTaille("am_lotiss", 1);
3208     $form->setTaille("am_autre_div", 1);
3209     $form->setTaille("am_camping", 1);
3210     $form->setTaille("am_caravane", 1);
3211     $form->setTaille("am_carav_duree", 11);
3212     $form->setTaille("am_statio", 1);
3213     $form->setTaille("am_statio_cont", 11);
3214     $form->setTaille("am_affou_exhau", 1);
3215 vpihour 1255 $form->setTaille("am_affou_exhau_sup", 10);
3216 vpihour 1249 $form->setTaille("am_affou_prof", 10);
3217     $form->setTaille("am_exhau_haut", 10);
3218     $form->setTaille("am_coupe_abat", 1);
3219     $form->setTaille("am_prot_plu", 1);
3220     $form->setTaille("am_prot_muni", 1);
3221     $form->setTaille("am_mobil_voyage", 1);
3222     $form->setTaille("am_voyage_deb", 12);
3223     $form->setTaille("am_voyage_fin", 12);
3224     $form->setTaille("am_aire_voyage", 1);
3225     $form->setTaille("am_rememb_afu", 1);
3226     $form->setTaille("am_parc_resid_loi", 1);
3227     $form->setTaille("am_sport_moto", 1);
3228     $form->setTaille("am_sport_attrac", 1);
3229     $form->setTaille("am_sport_golf", 1);
3230     $form->setTaille("am_mob_art", 1);
3231     $form->setTaille("am_modif_voie_esp", 1);
3232     $form->setTaille("am_plant_voie_esp", 1);
3233     $form->setTaille("am_chem_ouv_esp", 1);
3234     $form->setTaille("am_agri_peche", 1);
3235     $form->setTaille("am_crea_voie", 1);
3236     $form->setTaille("am_modif_voie_exist", 1);
3237     $form->setTaille("am_crea_esp_sauv", 1);
3238     $form->setTaille("am_modif_amgt", 1);
3239     $form->setTaille("am_crea_esp_class", 1);
3240 nhaye 1257 $form->setTaille("am_projet_desc", 80);
3241     $form->setTaille("am_terr_surf", 10);
3242     $form->setTaille("am_tranche_desc", 80);
3243 vpihour 1249 $form->setTaille("am_lot_max_nb", 11);
3244 nhaye 1257 $form->setTaille("am_lot_max_shon", 10);
3245     $form->setTaille("am_lot_max_shob", 10);
3246 vpihour 1249 $form->setTaille("am_lot_cstr_cos", 1);
3247     $form->setTaille("am_lot_cstr_plan", 1);
3248     $form->setTaille("am_lot_cstr_vente", 1);
3249     $form->setTaille("am_lot_fin_diff", 1);
3250     $form->setTaille("am_lot_consign", 1);
3251     $form->setTaille("am_lot_gar_achev", 1);
3252     $form->setTaille("am_lot_vente_ant", 1);
3253     $form->setTaille("am_empl_nb", 11);
3254     $form->setTaille("am_tente_nb", 11);
3255     $form->setTaille("am_carav_nb", 11);
3256     $form->setTaille("am_mobil_nb", 11);
3257     $form->setTaille("am_pers_nb", 11);
3258     $form->setTaille("am_empl_hll_nb", 11);
3259 nhaye 1257 $form->setTaille("am_hll_shon", 10);
3260     $form->setTaille("am_periode_exploit", 80);
3261 vpihour 1249 $form->setTaille("am_exist_agrand", 1);
3262     $form->setTaille("am_exist_date", 12);
3263     $form->setTaille("am_exist_num", 30);
3264     $form->setTaille("am_exist_nb_avant", 11);
3265     $form->setTaille("am_exist_nb_apres", 11);
3266     $form->setTaille("am_coupe_bois", 1);
3267     $form->setTaille("am_coupe_parc", 1);
3268     $form->setTaille("am_coupe_align", 1);
3269     $form->setTaille("am_coupe_ess", 30);
3270     $form->setTaille("am_coupe_age", 15);
3271     $form->setTaille("am_coupe_dens", 30);
3272     $form->setTaille("am_coupe_qual", 30);
3273     $form->setTaille("am_coupe_trait", 30);
3274     $form->setTaille("am_coupe_autr", 30);
3275     $form->setTaille("co_archi_recours", 1);
3276     $form->setTaille("co_cstr_nouv", 1);
3277     $form->setTaille("co_cstr_exist", 1);
3278     $form->setTaille("co_modif_aspect", 1);
3279     $form->setTaille("co_modif_struct", 1);
3280     $form->setTaille("co_cloture", 1);
3281     $form->setTaille("co_ouvr_elec", 1);
3282 nhaye 1257 $form->setTaille("co_elec_tension", 10);
3283 vpihour 1249 $form->setTaille("co_ouvr_infra", 1);
3284     $form->setTaille("co_trx_imm", 1);
3285     $form->setTaille("co_div_terr", 1);
3286 nhaye 1257 $form->setTaille("co_projet_desc", 80);
3287     $form->setTaille("co_cstr_shob", 10);
3288 vpihour 1249 $form->setTaille("co_anx_pisc", 1);
3289     $form->setTaille("co_anx_gara", 1);
3290     $form->setTaille("co_anx_veran", 1);
3291     $form->setTaille("co_anx_abri", 1);
3292     $form->setTaille("co_anx_autr", 1);
3293 nhaye 1257 $form->setTaille("co_anx_autr_desc", 80);
3294 vpihour 1249 $form->setTaille("co_tot_log_nb", 11);
3295     $form->setTaille("co_tot_ind_nb", 11);
3296     $form->setTaille("co_tot_coll_nb", 11);
3297     $form->setTaille("co_mais_piece_nb", 11);
3298     $form->setTaille("co_mais_niv_nb", 11);
3299     $form->setTaille("co_fin_lls_nb", 11);
3300     $form->setTaille("co_fin_aa_nb", 11);
3301     $form->setTaille("co_fin_ptz_nb", 11);
3302     $form->setTaille("co_fin_autr_nb", 11);
3303 nhaye 1257 $form->setTaille("co_fin_autr_desc", 80);
3304 vpihour 1249 $form->setTaille("co_mais_contrat_ind", 1);
3305     $form->setTaille("co_uti_pers", 1);
3306     $form->setTaille("co_uti_vente", 1);
3307     $form->setTaille("co_uti_loc", 1);
3308     $form->setTaille("co_uti_princ", 1);
3309     $form->setTaille("co_uti_secon", 1);
3310     $form->setTaille("co_resid_agees", 1);
3311     $form->setTaille("co_resid_etud", 1);
3312     $form->setTaille("co_resid_tourism", 1);
3313     $form->setTaille("co_resid_hot_soc", 1);
3314     $form->setTaille("co_resid_soc", 1);
3315     $form->setTaille("co_resid_hand", 1);
3316     $form->setTaille("co_resid_autr", 1);
3317 nhaye 1257 $form->setTaille("co_resid_autr_desc", 80);
3318 vpihour 1249 $form->setTaille("co_foyer_chamb_nb", 11);
3319     $form->setTaille("co_log_1p_nb", 11);
3320     $form->setTaille("co_log_2p_nb", 11);
3321     $form->setTaille("co_log_3p_nb", 11);
3322     $form->setTaille("co_log_4p_nb", 11);
3323     $form->setTaille("co_log_5p_nb", 11);
3324     $form->setTaille("co_log_6p_nb", 11);
3325     $form->setTaille("co_bat_niv_nb", 11);
3326     $form->setTaille("co_trx_exten", 1);
3327     $form->setTaille("co_trx_surelev", 1);
3328     $form->setTaille("co_trx_nivsup", 1);
3329     $form->setTaille("co_trx_amgt", 1);
3330 nhaye 1257 $form->setTaille("co_demont_periode", 80);
3331 vpihour 1249 $form->setTaille("co_sp_transport", 1);
3332     $form->setTaille("co_sp_enseign", 1);
3333     $form->setTaille("co_sp_act_soc", 1);
3334     $form->setTaille("co_sp_ouvr_spe", 1);
3335     $form->setTaille("co_sp_sante", 1);
3336     $form->setTaille("co_sp_culture", 1);
3337     $form->setTaille("co_statio_avt_nb", 11);
3338     $form->setTaille("co_statio_apr_nb", 11);
3339 nhaye 1257 $form->setTaille("co_statio_avt_shob", 10);
3340     $form->setTaille("co_statio_apr_shob", 10);
3341     $form->setTaille("co_statio_avt_surf", 10);
3342     $form->setTaille("co_statio_apr_surf", 10);
3343     $form->setTaille("co_statio_adr", 80);
3344 vpihour 1249 $form->setTaille("co_statio_place_nb", 11);
3345 nhaye 1257 $form->setTaille("co_statio_tot_surf", 10);
3346     $form->setTaille("co_statio_tot_shob", 10);
3347 vpihour 1255 $form->setTaille("co_statio_comm_cin_surf", 10);
3348 nhaye 1257 $form->setTaille("su_avt_shon1", 10);
3349     $form->setTaille("su_avt_shon2", 10);
3350     $form->setTaille("su_avt_shon3", 10);
3351     $form->setTaille("su_avt_shon4", 10);
3352     $form->setTaille("su_avt_shon5", 10);
3353     $form->setTaille("su_avt_shon6", 10);
3354     $form->setTaille("su_avt_shon7", 10);
3355     $form->setTaille("su_avt_shon8", 10);
3356     $form->setTaille("su_avt_shon9", 10);
3357     $form->setTaille("su_cstr_shon1", 10);
3358     $form->setTaille("su_cstr_shon2", 10);
3359     $form->setTaille("su_cstr_shon3", 10);
3360     $form->setTaille("su_cstr_shon4", 10);
3361     $form->setTaille("su_cstr_shon5", 10);
3362     $form->setTaille("su_cstr_shon6", 10);
3363     $form->setTaille("su_cstr_shon7", 10);
3364     $form->setTaille("su_cstr_shon8", 10);
3365     $form->setTaille("su_cstr_shon9", 10);
3366     $form->setTaille("su_trsf_shon1", 10);
3367     $form->setTaille("su_trsf_shon2", 10);
3368     $form->setTaille("su_trsf_shon3", 10);
3369     $form->setTaille("su_trsf_shon4", 10);
3370     $form->setTaille("su_trsf_shon5", 10);
3371     $form->setTaille("su_trsf_shon6", 10);
3372     $form->setTaille("su_trsf_shon7", 10);
3373     $form->setTaille("su_trsf_shon8", 10);
3374     $form->setTaille("su_trsf_shon9", 10);
3375     $form->setTaille("su_chge_shon1", 10);
3376     $form->setTaille("su_chge_shon2", 10);
3377     $form->setTaille("su_chge_shon3", 10);
3378     $form->setTaille("su_chge_shon4", 10);
3379     $form->setTaille("su_chge_shon5", 10);
3380     $form->setTaille("su_chge_shon6", 10);
3381     $form->setTaille("su_chge_shon7", 10);
3382     $form->setTaille("su_chge_shon8", 10);
3383     $form->setTaille("su_chge_shon9", 10);
3384     $form->setTaille("su_demo_shon1", 10);
3385     $form->setTaille("su_demo_shon2", 10);
3386     $form->setTaille("su_demo_shon3", 10);
3387     $form->setTaille("su_demo_shon4", 10);
3388     $form->setTaille("su_demo_shon5", 10);
3389     $form->setTaille("su_demo_shon6", 10);
3390     $form->setTaille("su_demo_shon7", 10);
3391     $form->setTaille("su_demo_shon8", 10);
3392     $form->setTaille("su_demo_shon9", 10);
3393     $form->setTaille("su_sup_shon1", 10);
3394     $form->setTaille("su_sup_shon2", 10);
3395     $form->setTaille("su_sup_shon3", 10);
3396     $form->setTaille("su_sup_shon4", 10);
3397     $form->setTaille("su_sup_shon5", 10);
3398     $form->setTaille("su_sup_shon6", 10);
3399     $form->setTaille("su_sup_shon7", 10);
3400     $form->setTaille("su_sup_shon8", 10);
3401     $form->setTaille("su_sup_shon9", 10);
3402     $form->setTaille("su_tot_shon1", 10);
3403     $form->setTaille("su_tot_shon2", 10);
3404     $form->setTaille("su_tot_shon3", 10);
3405     $form->setTaille("su_tot_shon4", 10);
3406     $form->setTaille("su_tot_shon5", 10);
3407     $form->setTaille("su_tot_shon6", 10);
3408     $form->setTaille("su_tot_shon7", 10);
3409     $form->setTaille("su_tot_shon8", 10);
3410     $form->setTaille("su_tot_shon9", 10);
3411     $form->setTaille("su_avt_shon_tot", 10);
3412     $form->setTaille("su_cstr_shon_tot", 10);
3413     $form->setTaille("su_trsf_shon_tot", 10);
3414     $form->setTaille("su_chge_shon_tot", 10);
3415     $form->setTaille("su_demo_shon_tot", 10);
3416     $form->setTaille("su_sup_shon_tot", 10);
3417     $form->setTaille("su_tot_shon_tot", 10);
3418     $form->setTaille("dm_constr_dates", 80);
3419 vpihour 1249 $form->setTaille("dm_total", 1);
3420     $form->setTaille("dm_partiel", 1);
3421 nhaye 1257 $form->setTaille("dm_projet_desc", 80);
3422 vpihour 1249 $form->setTaille("dm_tot_log_nb", 11);
3423 nhaye 1268 $form->setTaille("tax_surf_tot", 10);
3424     $form->setTaille("tax_surf", 10);
3425     $form->setTaille("tax_surf_suppr_mod", 10);
3426     $form->setTaille("tax_dest_loc_tr", 80);
3427     $form->setTaille("tax_su_princ_log_nb1", 10);
3428     $form->setTaille("tax_su_princ_log_nb2", 10);
3429     $form->setTaille("tax_su_princ_log_nb3", 10);
3430     $form->setTaille("tax_su_princ_log_nb4", 10);
3431     $form->setTaille("tax_su_princ_log_nb_tot1", 10);
3432     $form->setTaille("tax_su_princ_log_nb_tot2", 10);
3433     $form->setTaille("tax_su_princ_log_nb_tot3", 10);
3434     $form->setTaille("tax_su_princ_log_nb_tot4", 10);
3435     $form->setTaille("tax_su_princ_surf1", 10);
3436     $form->setTaille("tax_su_princ_surf2", 10);
3437     $form->setTaille("tax_su_princ_surf3", 10);
3438     $form->setTaille("tax_su_princ_surf4", 10);
3439     $form->setTaille("tax_su_princ_surf_sup1", 10);
3440     $form->setTaille("tax_su_princ_surf_sup2", 10);
3441     $form->setTaille("tax_su_princ_surf_sup3", 10);
3442     $form->setTaille("tax_su_princ_surf_sup4", 10);
3443     $form->setTaille("tax_su_heber_log_nb1", 11);
3444     $form->setTaille("tax_su_heber_log_nb2", 11);
3445     $form->setTaille("tax_su_heber_log_nb3", 11);
3446     $form->setTaille("tax_su_heber_log_nb_tot1", 11);
3447     $form->setTaille("tax_su_heber_log_nb_tot2", 11);
3448     $form->setTaille("tax_su_heber_log_nb_tot3", 11);
3449     $form->setTaille("tax_su_heber_surf1", 10);
3450     $form->setTaille("tax_su_heber_surf2", 10);
3451     $form->setTaille("tax_su_heber_surf3", 10);
3452     $form->setTaille("tax_su_heber_surf_sup1", 10);
3453     $form->setTaille("tax_su_heber_surf_sup2", 10);
3454     $form->setTaille("tax_su_heber_surf_sup3", 10);
3455     $form->setTaille("tax_su_secon_log_nb", 11);
3456     $form->setTaille("tax_su_tot_log_nb", 11);
3457     $form->setTaille("tax_su_secon_log_nb_tot", 11);
3458     $form->setTaille("tax_su_tot_log_nb_tot", 11);
3459     $form->setTaille("tax_su_secon_surf", 10);
3460     $form->setTaille("tax_su_tot_surf", 10);
3461     $form->setTaille("tax_su_secon_surf_sup", 10);
3462     $form->setTaille("tax_su_tot_surf_sup", 10);
3463     $form->setTaille("tax_ext_pret", 1);
3464     $form->setTaille("tax_ext_desc", 80);
3465     $form->setTaille("tax_surf_tax_exist_cons", 10);
3466     $form->setTaille("tax_log_exist_nb", 11);
3467     $form->setTaille("tax_am_statio_ext", 11);
3468     $form->setTaille("tax_sup_bass_pisc", 10);
3469     $form->setTaille("tax_empl_ten_carav_mobil_nb", 11);
3470     $form->setTaille("tax_empl_hll_nb", 11);
3471     $form->setTaille("tax_eol_haut_nb", 11);
3472     $form->setTaille("tax_pann_volt_sup", 10);
3473     $form->setTaille("tax_am_statio_ext_sup", 11);
3474     $form->setTaille("tax_sup_bass_pisc_sup", 10);
3475     $form->setTaille("tax_empl_ten_carav_mobil_nb_sup", 11);
3476     $form->setTaille("tax_empl_hll_nb_sup", 11);
3477     $form->setTaille("tax_eol_haut_nb_sup", 11);
3478     $form->setTaille("tax_pann_volt_sup_sup", 10);
3479     $form->setTaille("tax_trx_presc_ppr", 1);
3480     $form->setTaille("tax_monu_hist", 1);
3481     $form->setTaille("tax_comm_nb", 11);
3482     $form->setTaille("tax_su_non_habit_surf1", 10);
3483     $form->setTaille("tax_su_non_habit_surf2", 10);
3484     $form->setTaille("tax_su_non_habit_surf3", 10);
3485     $form->setTaille("tax_su_non_habit_surf4", 10);
3486     $form->setTaille("tax_su_non_habit_surf5", 10);
3487     $form->setTaille("tax_su_non_habit_surf6", 10);
3488     $form->setTaille("tax_su_non_habit_surf7", 10);
3489     $form->setTaille("tax_su_non_habit_surf_sup1", 10);
3490     $form->setTaille("tax_su_non_habit_surf_sup2", 10);
3491     $form->setTaille("tax_su_non_habit_surf_sup3", 10);
3492     $form->setTaille("tax_su_non_habit_surf_sup4", 10);
3493     $form->setTaille("tax_su_non_habit_surf_sup5", 10);
3494     $form->setTaille("tax_su_non_habit_surf_sup6", 10);
3495     $form->setTaille("tax_su_non_habit_surf_sup7", 10);
3496     $form->setTaille("vsd_surf_planch_smd", 1);
3497     $form->setTaille("vsd_unit_fonc_sup", 10);
3498     $form->setTaille("vsd_unit_fonc_constr_sup", 10);
3499     $form->setTaille("vsd_val_terr", 10);
3500     $form->setTaille("vsd_const_sxist_non_dem_surf", 10);
3501     $form->setTaille("vsd_rescr_fisc", 12);
3502     $form->setTaille("pld_val_terr", 10);
3503     $form->setTaille("pld_const_exist_dem", 1);
3504     $form->setTaille("pld_const_exist_dem_surf", 10);
3505 vpihour 1249 $form->setTaille("code_cnil", 1);
3506 nhaye 1615 $form->setTaille("co_archi_nom", 30);
3507     $form->setTaille("co_archi_prenom", 30);
3508     $form->setTaille("co_archi_adr_num", 10);
3509     $form->setTaille("co_archi_adr_voie", 30);
3510     $form->setTaille("co_archi_adr_lieu_dit", 30);
3511     $form->setTaille("co_archi_adr_localite", 30);
3512     $form->setTaille("co_archi_adr_cp", 10);
3513     $form->setTaille("co_archi_adr_bp", 10);
3514     $form->setTaille("co_archi_adr_cedex", 10);
3515     $form->setTaille("co_archi_no_incri", 30);
3516     $form->setTaille("co_archi_cg", 30);
3517     $form->setTaille("co_archi_tel1", 10);
3518     $form->setTaille("co_archi_tel2", 10);
3519     $form->setTaille("co_archi_mail", 30);
3520 vpihour 1249 }
3521    
3522     /**
3523     * Methode setMax
3524     */
3525     function setMax(&$form, $maj) {
3526     $form->setMax("donnees_techniques", 11);
3527 vpihour 1251 $form->setMax("dossier_instruction", 20);
3528 vpihour 1249 $form->setMax("lot", 11);
3529 nhaye 1268 $form->setMax("avap_co_elt_pro", 1);
3530     $form->setMax("avap_nouv_haut_surf", 1);
3531     $form->setMax("avap_co_clot", 1);
3532     $form->setMax("avap_aut_coup_aba_arb", 1);
3533     $form->setMax("avap_ouv_infra", 1);
3534     $form->setMax("avap_aut_inst_mob", 1);
3535     $form->setMax("avap_aut_plant", 1);
3536     $form->setMax("avap_aut_auv_elec", 1);
3537     $form->setMax("tr_total", 1);
3538     $form->setMax("tr_partiel", 1);
3539     $form->setMax("tr_desc", 6);
3540 vpihour 1249 $form->setMax("am_lotiss", 1);
3541     $form->setMax("am_autre_div", 1);
3542     $form->setMax("am_camping", 1);
3543     $form->setMax("am_caravane", 1);
3544     $form->setMax("am_carav_duree", 11);
3545     $form->setMax("am_statio", 1);
3546     $form->setMax("am_statio_cont", 11);
3547     $form->setMax("am_affou_exhau", 1);
3548 vpihour 1255 $form->setMax("am_affou_exhau_sup", -5);
3549 vpihour 1249 $form->setMax("am_affou_prof", -5);
3550     $form->setMax("am_exhau_haut", -5);
3551     $form->setMax("am_coupe_abat", 1);
3552     $form->setMax("am_prot_plu", 1);
3553     $form->setMax("am_prot_muni", 1);
3554     $form->setMax("am_mobil_voyage", 1);
3555     $form->setMax("am_voyage_deb", 12);
3556     $form->setMax("am_voyage_fin", 12);
3557     $form->setMax("am_aire_voyage", 1);
3558     $form->setMax("am_rememb_afu", 1);
3559     $form->setMax("am_parc_resid_loi", 1);
3560     $form->setMax("am_sport_moto", 1);
3561     $form->setMax("am_sport_attrac", 1);
3562     $form->setMax("am_sport_golf", 1);
3563     $form->setMax("am_mob_art", 1);
3564     $form->setMax("am_modif_voie_esp", 1);
3565     $form->setMax("am_plant_voie_esp", 1);
3566     $form->setMax("am_chem_ouv_esp", 1);
3567     $form->setMax("am_agri_peche", 1);
3568     $form->setMax("am_crea_voie", 1);
3569     $form->setMax("am_modif_voie_exist", 1);
3570     $form->setMax("am_crea_esp_sauv", 1);
3571     $form->setMax("am_modif_amgt", 1);
3572     $form->setMax("am_crea_esp_class", 1);
3573 nhaye 1257 $form->setMax("am_projet_desc", 6);
3574     $form->setMax("am_terr_surf", -5);
3575     $form->setMax("am_tranche_desc", 6);
3576 vpihour 1249 $form->setMax("am_lot_max_nb", 11);
3577 nhaye 1257 $form->setMax("am_lot_max_shon", -5);
3578     $form->setMax("am_lot_max_shob", -5);
3579 vpihour 1249 $form->setMax("am_lot_cstr_cos", 1);
3580     $form->setMax("am_lot_cstr_plan", 1);
3581     $form->setMax("am_lot_cstr_vente", 1);
3582     $form->setMax("am_lot_fin_diff", 1);
3583     $form->setMax("am_lot_consign", 1);
3584     $form->setMax("am_lot_gar_achev", 1);
3585     $form->setMax("am_lot_vente_ant", 1);
3586     $form->setMax("am_empl_nb", 11);
3587     $form->setMax("am_tente_nb", 11);
3588     $form->setMax("am_carav_nb", 11);
3589     $form->setMax("am_mobil_nb", 11);
3590     $form->setMax("am_pers_nb", 11);
3591     $form->setMax("am_empl_hll_nb", 11);
3592 nhaye 1257 $form->setMax("am_hll_shon", -5);
3593     $form->setMax("am_periode_exploit", 6);
3594 vpihour 1249 $form->setMax("am_exist_agrand", 1);
3595     $form->setMax("am_exist_date", 12);
3596     $form->setMax("am_exist_num", 100);
3597     $form->setMax("am_exist_nb_avant", 11);
3598     $form->setMax("am_exist_nb_apres", 11);
3599     $form->setMax("am_coupe_bois", 1);
3600     $form->setMax("am_coupe_parc", 1);
3601     $form->setMax("am_coupe_align", 1);
3602     $form->setMax("am_coupe_ess", 100);
3603     $form->setMax("am_coupe_age", 15);
3604     $form->setMax("am_coupe_dens", 100);
3605     $form->setMax("am_coupe_qual", 100);
3606     $form->setMax("am_coupe_trait", 100);
3607     $form->setMax("am_coupe_autr", 100);
3608     $form->setMax("co_archi_recours", 1);
3609     $form->setMax("co_cstr_nouv", 1);
3610     $form->setMax("co_cstr_exist", 1);
3611     $form->setMax("co_modif_aspect", 1);
3612     $form->setMax("co_modif_struct", 1);
3613     $form->setMax("co_cloture", 1);
3614     $form->setMax("co_ouvr_elec", 1);
3615 nhaye 1257 $form->setMax("co_elec_tension", -5);
3616 vpihour 1249 $form->setMax("co_ouvr_infra", 1);
3617     $form->setMax("co_trx_imm", 1);
3618     $form->setMax("co_div_terr", 1);
3619 nhaye 1257 $form->setMax("co_projet_desc", 6);
3620     $form->setMax("co_cstr_shob", -5);
3621 vpihour 1249 $form->setMax("co_anx_pisc", 1);
3622     $form->setMax("co_anx_gara", 1);
3623     $form->setMax("co_anx_veran", 1);
3624     $form->setMax("co_anx_abri", 1);
3625     $form->setMax("co_anx_autr", 1);
3626 nhaye 1257 $form->setMax("co_anx_autr_desc", 6);
3627 vpihour 1249 $form->setMax("co_tot_log_nb", 11);
3628     $form->setMax("co_tot_ind_nb", 11);
3629     $form->setMax("co_tot_coll_nb", 11);
3630     $form->setMax("co_mais_piece_nb", 11);
3631     $form->setMax("co_mais_niv_nb", 11);
3632     $form->setMax("co_fin_lls_nb", 11);
3633     $form->setMax("co_fin_aa_nb", 11);
3634     $form->setMax("co_fin_ptz_nb", 11);
3635     $form->setMax("co_fin_autr_nb", 11);
3636 nhaye 1257 $form->setMax("co_fin_autr_desc", 6);
3637 vpihour 1249 $form->setMax("co_mais_contrat_ind", 1);
3638     $form->setMax("co_uti_pers", 1);
3639     $form->setMax("co_uti_vente", 1);
3640     $form->setMax("co_uti_loc", 1);
3641     $form->setMax("co_uti_princ", 1);
3642     $form->setMax("co_uti_secon", 1);
3643     $form->setMax("co_resid_agees", 1);
3644     $form->setMax("co_resid_etud", 1);
3645     $form->setMax("co_resid_tourism", 1);
3646     $form->setMax("co_resid_hot_soc", 1);
3647     $form->setMax("co_resid_soc", 1);
3648     $form->setMax("co_resid_hand", 1);
3649     $form->setMax("co_resid_autr", 1);
3650 nhaye 1257 $form->setMax("co_resid_autr_desc", 6);
3651 vpihour 1249 $form->setMax("co_foyer_chamb_nb", 11);
3652     $form->setMax("co_log_1p_nb", 11);
3653     $form->setMax("co_log_2p_nb", 11);
3654     $form->setMax("co_log_3p_nb", 11);
3655     $form->setMax("co_log_4p_nb", 11);
3656     $form->setMax("co_log_5p_nb", 11);
3657     $form->setMax("co_log_6p_nb", 11);
3658     $form->setMax("co_bat_niv_nb", 11);
3659     $form->setMax("co_trx_exten", 1);
3660     $form->setMax("co_trx_surelev", 1);
3661     $form->setMax("co_trx_nivsup", 1);
3662     $form->setMax("co_trx_amgt", 1);
3663 nhaye 1257 $form->setMax("co_demont_periode", 6);
3664 vpihour 1249 $form->setMax("co_sp_transport", 1);
3665     $form->setMax("co_sp_enseign", 1);
3666     $form->setMax("co_sp_act_soc", 1);
3667     $form->setMax("co_sp_ouvr_spe", 1);
3668     $form->setMax("co_sp_sante", 1);
3669     $form->setMax("co_sp_culture", 1);
3670     $form->setMax("co_statio_avt_nb", 11);
3671     $form->setMax("co_statio_apr_nb", 11);
3672 nhaye 1257 $form->setMax("co_statio_avt_shob", -5);
3673     $form->setMax("co_statio_apr_shob", -5);
3674     $form->setMax("co_statio_avt_surf", -5);
3675     $form->setMax("co_statio_apr_surf", -5);
3676     $form->setMax("co_statio_adr", 6);
3677 vpihour 1249 $form->setMax("co_statio_place_nb", 11);
3678 nhaye 1257 $form->setMax("co_statio_tot_surf", -5);
3679     $form->setMax("co_statio_tot_shob", -5);
3680 vpihour 1255 $form->setMax("co_statio_comm_cin_surf", -5);
3681 nhaye 1257 $form->setMax("su_avt_shon1", -5);
3682     $form->setMax("su_avt_shon2", -5);
3683     $form->setMax("su_avt_shon3", -5);
3684     $form->setMax("su_avt_shon4", -5);
3685     $form->setMax("su_avt_shon5", -5);
3686     $form->setMax("su_avt_shon6", -5);
3687     $form->setMax("su_avt_shon7", -5);
3688     $form->setMax("su_avt_shon8", -5);
3689     $form->setMax("su_avt_shon9", -5);
3690     $form->setMax("su_cstr_shon1", -5);
3691     $form->setMax("su_cstr_shon2", -5);
3692     $form->setMax("su_cstr_shon3", -5);
3693     $form->setMax("su_cstr_shon4", -5);
3694     $form->setMax("su_cstr_shon5", -5);
3695     $form->setMax("su_cstr_shon6", -5);
3696     $form->setMax("su_cstr_shon7", -5);
3697     $form->setMax("su_cstr_shon8", -5);
3698     $form->setMax("su_cstr_shon9", -5);
3699     $form->setMax("su_trsf_shon1", -5);
3700     $form->setMax("su_trsf_shon2", -5);
3701     $form->setMax("su_trsf_shon3", -5);
3702     $form->setMax("su_trsf_shon4", -5);
3703     $form->setMax("su_trsf_shon5", -5);
3704     $form->setMax("su_trsf_shon6", -5);
3705     $form->setMax("su_trsf_shon7", -5);
3706     $form->setMax("su_trsf_shon8", -5);
3707     $form->setMax("su_trsf_shon9", -5);
3708     $form->setMax("su_chge_shon1", -5);
3709     $form->setMax("su_chge_shon2", -5);
3710     $form->setMax("su_chge_shon3", -5);
3711     $form->setMax("su_chge_shon4", -5);
3712     $form->setMax("su_chge_shon5", -5);
3713     $form->setMax("su_chge_shon6", -5);
3714     $form->setMax("su_chge_shon7", -5);
3715     $form->setMax("su_chge_shon8", -5);
3716     $form->setMax("su_chge_shon9", -5);
3717     $form->setMax("su_demo_shon1", -5);
3718     $form->setMax("su_demo_shon2", -5);
3719     $form->setMax("su_demo_shon3", -5);
3720     $form->setMax("su_demo_shon4", -5);
3721     $form->setMax("su_demo_shon5", -5);
3722     $form->setMax("su_demo_shon6", -5);
3723     $form->setMax("su_demo_shon7", -5);
3724     $form->setMax("su_demo_shon8", -5);
3725     $form->setMax("su_demo_shon9", -5);
3726     $form->setMax("su_sup_shon1", -5);
3727     $form->setMax("su_sup_shon2", -5);
3728     $form->setMax("su_sup_shon3", -5);
3729     $form->setMax("su_sup_shon4", -5);
3730     $form->setMax("su_sup_shon5", -5);
3731     $form->setMax("su_sup_shon6", -5);
3732     $form->setMax("su_sup_shon7", -5);
3733     $form->setMax("su_sup_shon8", -5);
3734     $form->setMax("su_sup_shon9", -5);
3735     $form->setMax("su_tot_shon1", -5);
3736     $form->setMax("su_tot_shon2", -5);
3737     $form->setMax("su_tot_shon3", -5);
3738     $form->setMax("su_tot_shon4", -5);
3739     $form->setMax("su_tot_shon5", -5);
3740     $form->setMax("su_tot_shon6", -5);
3741     $form->setMax("su_tot_shon7", -5);
3742     $form->setMax("su_tot_shon8", -5);
3743     $form->setMax("su_tot_shon9", -5);
3744     $form->setMax("su_avt_shon_tot", -5);
3745     $form->setMax("su_cstr_shon_tot", -5);
3746     $form->setMax("su_trsf_shon_tot", -5);
3747     $form->setMax("su_chge_shon_tot", -5);
3748     $form->setMax("su_demo_shon_tot", -5);
3749     $form->setMax("su_sup_shon_tot", -5);
3750     $form->setMax("su_tot_shon_tot", -5);
3751     $form->setMax("dm_constr_dates", 6);
3752 vpihour 1249 $form->setMax("dm_total", 1);
3753     $form->setMax("dm_partiel", 1);
3754 nhaye 1257 $form->setMax("dm_projet_desc", 6);
3755 vpihour 1249 $form->setMax("dm_tot_log_nb", 11);
3756 nhaye 1268 $form->setMax("tax_surf_tot", -5);
3757     $form->setMax("tax_surf", -5);
3758     $form->setMax("tax_surf_suppr_mod", -5);
3759     $form->setMax("tax_dest_loc_tr", 6);
3760     $form->setMax("tax_su_princ_log_nb1", -5);
3761     $form->setMax("tax_su_princ_log_nb2", -5);
3762     $form->setMax("tax_su_princ_log_nb3", -5);
3763     $form->setMax("tax_su_princ_log_nb4", -5);
3764     $form->setMax("tax_su_princ_log_nb_tot1", -5);
3765     $form->setMax("tax_su_princ_log_nb_tot2", -5);
3766     $form->setMax("tax_su_princ_log_nb_tot3", -5);
3767     $form->setMax("tax_su_princ_log_nb_tot4", -5);
3768     $form->setMax("tax_su_princ_surf1", -5);
3769     $form->setMax("tax_su_princ_surf2", -5);
3770     $form->setMax("tax_su_princ_surf3", -5);
3771     $form->setMax("tax_su_princ_surf4", -5);
3772     $form->setMax("tax_su_princ_surf_sup1", -5);
3773     $form->setMax("tax_su_princ_surf_sup2", -5);
3774     $form->setMax("tax_su_princ_surf_sup3", -5);
3775     $form->setMax("tax_su_princ_surf_sup4", -5);
3776     $form->setMax("tax_su_heber_log_nb1", 11);
3777     $form->setMax("tax_su_heber_log_nb2", 11);
3778     $form->setMax("tax_su_heber_log_nb3", 11);
3779     $form->setMax("tax_su_heber_log_nb_tot1", 11);
3780     $form->setMax("tax_su_heber_log_nb_tot2", 11);
3781     $form->setMax("tax_su_heber_log_nb_tot3", 11);
3782     $form->setMax("tax_su_heber_surf1", -5);
3783     $form->setMax("tax_su_heber_surf2", -5);
3784     $form->setMax("tax_su_heber_surf3", -5);
3785     $form->setMax("tax_su_heber_surf_sup1", -5);
3786     $form->setMax("tax_su_heber_surf_sup2", -5);
3787     $form->setMax("tax_su_heber_surf_sup3", -5);
3788     $form->setMax("tax_su_secon_log_nb", 11);
3789     $form->setMax("tax_su_tot_log_nb", 11);
3790     $form->setMax("tax_su_secon_log_nb_tot", 11);
3791     $form->setMax("tax_su_tot_log_nb_tot", 11);
3792     $form->setMax("tax_su_secon_surf", -5);
3793     $form->setMax("tax_su_tot_surf", -5);
3794     $form->setMax("tax_su_secon_surf_sup", -5);
3795     $form->setMax("tax_su_tot_surf_sup", -5);
3796     $form->setMax("tax_ext_pret", 1);
3797     $form->setMax("tax_ext_desc", 6);
3798     $form->setMax("tax_surf_tax_exist_cons", -5);
3799     $form->setMax("tax_log_exist_nb", 11);
3800     $form->setMax("tax_am_statio_ext", 11);
3801     $form->setMax("tax_sup_bass_pisc", -5);
3802     $form->setMax("tax_empl_ten_carav_mobil_nb", 11);
3803     $form->setMax("tax_empl_hll_nb", 11);
3804     $form->setMax("tax_eol_haut_nb", 11);
3805     $form->setMax("tax_pann_volt_sup", -5);
3806     $form->setMax("tax_am_statio_ext_sup", 11);
3807     $form->setMax("tax_sup_bass_pisc_sup", -5);
3808     $form->setMax("tax_empl_ten_carav_mobil_nb_sup", 11);
3809     $form->setMax("tax_empl_hll_nb_sup", 11);
3810     $form->setMax("tax_eol_haut_nb_sup", 11);
3811     $form->setMax("tax_pann_volt_sup_sup", -5);
3812     $form->setMax("tax_trx_presc_ppr", 1);
3813     $form->setMax("tax_monu_hist", 1);
3814     $form->setMax("tax_comm_nb", 11);
3815     $form->setMax("tax_su_non_habit_surf1", -5);
3816     $form->setMax("tax_su_non_habit_surf2", -5);
3817     $form->setMax("tax_su_non_habit_surf3", -5);
3818     $form->setMax("tax_su_non_habit_surf4", -5);
3819     $form->setMax("tax_su_non_habit_surf5", -5);
3820     $form->setMax("tax_su_non_habit_surf6", -5);
3821     $form->setMax("tax_su_non_habit_surf7", -5);
3822     $form->setMax("tax_su_non_habit_surf_sup1", -5);
3823     $form->setMax("tax_su_non_habit_surf_sup2", -5);
3824     $form->setMax("tax_su_non_habit_surf_sup3", -5);
3825     $form->setMax("tax_su_non_habit_surf_sup4", -5);
3826     $form->setMax("tax_su_non_habit_surf_sup5", -5);
3827     $form->setMax("tax_su_non_habit_surf_sup6", -5);
3828     $form->setMax("tax_su_non_habit_surf_sup7", -5);
3829     $form->setMax("vsd_surf_planch_smd", 1);
3830     $form->setMax("vsd_unit_fonc_sup", -5);
3831     $form->setMax("vsd_unit_fonc_constr_sup", -5);
3832     $form->setMax("vsd_val_terr", -5);
3833     $form->setMax("vsd_const_sxist_non_dem_surf", -5);
3834     $form->setMax("vsd_rescr_fisc", 12);
3835     $form->setMax("pld_val_terr", -5);
3836     $form->setMax("pld_const_exist_dem", 1);
3837     $form->setMax("pld_const_exist_dem_surf", -5);
3838 vpihour 1249 $form->setMax("code_cnil", 1);
3839 nhaye 1615 $form->setMax("co_archi_nom", 80);
3840     $form->setMax("co_archi_prenom", 80);
3841     $form->setMax("co_archi_adr_num", 10);
3842     $form->setMax("co_archi_adr_voie", 80);
3843     $form->setMax("co_archi_adr_lieu_dit", 80);
3844     $form->setMax("co_archi_adr_localite", 80);
3845     $form->setMax("co_archi_adr_cp", 5);
3846     $form->setMax("co_archi_adr_bp", 3);
3847     $form->setMax("co_archi_adr_cedex", 2);
3848     $form->setMax("co_archi_no_incri", 40);
3849     $form->setMax("co_archi_cg", 80);
3850     $form->setMax("co_archi_tel1", 10);
3851     $form->setMax("co_archi_tel2", 10);
3852     $form->setMax("co_archi_mail", 150);
3853 vpihour 1249 }
3854    
3855    
3856     function setLib(&$form,$maj) {
3857     //libelle des champs
3858     $form->setLib('donnees_techniques',_('donnees_techniques'));
3859     $form->setLib('dossier_instruction',_('dossier_instruction'));
3860     $form->setLib('lot',_('lot'));
3861 nhaye 1268 $form->setLib('avap_co_elt_pro',_('avap_co_elt_pro'));
3862     $form->setLib('avap_nouv_haut_surf',_('avap_nouv_haut_surf'));
3863     $form->setLib('avap_co_clot',_('avap_co_clot'));
3864     $form->setLib('avap_aut_coup_aba_arb',_('avap_aut_coup_aba_arb'));
3865     $form->setLib('avap_ouv_infra',_('avap_ouv_infra'));
3866     $form->setLib('avap_aut_inst_mob',_('avap_aut_inst_mob'));
3867     $form->setLib('avap_aut_plant',_('avap_aut_plant'));
3868     $form->setLib('avap_aut_auv_elec',_('avap_aut_auv_elec'));
3869     $form->setLib('tr_total',_('tr_total'));
3870     $form->setLib('tr_partiel',_('tr_partiel'));
3871     $form->setLib('tr_desc',_('tr_desc'));
3872 vpihour 1249 $form->setLib('am_lotiss',_('am_lotiss'));
3873     $form->setLib('am_autre_div',_('am_autre_div'));
3874     $form->setLib('am_camping',_('am_camping'));
3875     $form->setLib('am_caravane',_('am_caravane'));
3876     $form->setLib('am_carav_duree',_('am_carav_duree'));
3877     $form->setLib('am_statio',_('am_statio'));
3878     $form->setLib('am_statio_cont',_('am_statio_cont'));
3879     $form->setLib('am_affou_exhau',_('am_affou_exhau'));
3880 vpihour 1255 $form->setLib('am_affou_exhau_sup',_('am_affou_exhau_sup'));
3881 vpihour 1249 $form->setLib('am_affou_prof',_('am_affou_prof'));
3882     $form->setLib('am_exhau_haut',_('am_exhau_haut'));
3883     $form->setLib('am_coupe_abat',_('am_coupe_abat'));
3884     $form->setLib('am_prot_plu',_('am_prot_plu'));
3885     $form->setLib('am_prot_muni',_('am_prot_muni'));
3886     $form->setLib('am_mobil_voyage',_('am_mobil_voyage'));
3887     $form->setLib('am_voyage_deb',_('am_voyage_deb'));
3888     $form->setLib('am_voyage_fin',_('am_voyage_fin'));
3889     $form->setLib('am_aire_voyage',_('am_aire_voyage'));
3890     $form->setLib('am_rememb_afu',_('am_rememb_afu'));
3891     $form->setLib('am_parc_resid_loi',_('am_parc_resid_loi'));
3892     $form->setLib('am_sport_moto',_('am_sport_moto'));
3893     $form->setLib('am_sport_attrac',_('am_sport_attrac'));
3894     $form->setLib('am_sport_golf',_('am_sport_golf'));
3895     $form->setLib('am_mob_art',_('am_mob_art'));
3896     $form->setLib('am_modif_voie_esp',_('am_modif_voie_esp'));
3897     $form->setLib('am_plant_voie_esp',_('am_plant_voie_esp'));
3898     $form->setLib('am_chem_ouv_esp',_('am_chem_ouv_esp'));
3899     $form->setLib('am_agri_peche',_('am_agri_peche'));
3900     $form->setLib('am_crea_voie',_('am_crea_voie'));
3901     $form->setLib('am_modif_voie_exist',_('am_modif_voie_exist'));
3902     $form->setLib('am_crea_esp_sauv',_('am_crea_esp_sauv'));
3903     $form->setLib('am_modif_amgt',_('am_modif_amgt'));
3904     $form->setLib('am_crea_esp_class',_('am_crea_esp_class'));
3905     $form->setLib('am_projet_desc',_('am_projet_desc'));
3906     $form->setLib('am_terr_surf',_('am_terr_surf'));
3907     $form->setLib('am_tranche_desc',_('am_tranche_desc'));
3908     $form->setLib('am_lot_max_nb',_('am_lot_max_nb'));
3909     $form->setLib('am_lot_max_shon',_('am_lot_max_shon'));
3910     $form->setLib('am_lot_max_shob',_('am_lot_max_shob'));
3911     $form->setLib('am_lot_cstr_cos',_('am_lot_cstr_cos'));
3912     $form->setLib('am_lot_cstr_plan',_('am_lot_cstr_plan'));
3913     $form->setLib('am_lot_cstr_vente',_('am_lot_cstr_vente'));
3914     $form->setLib('am_lot_fin_diff',_('am_lot_fin_diff'));
3915     $form->setLib('am_lot_consign',_('am_lot_consign'));
3916     $form->setLib('am_lot_gar_achev',_('am_lot_gar_achev'));
3917     $form->setLib('am_lot_vente_ant',_('am_lot_vente_ant'));
3918     $form->setLib('am_empl_nb',_('am_empl_nb'));
3919     $form->setLib('am_tente_nb',_('am_tente_nb'));
3920     $form->setLib('am_carav_nb',_('am_carav_nb'));
3921     $form->setLib('am_mobil_nb',_('am_mobil_nb'));
3922     $form->setLib('am_pers_nb',_('am_pers_nb'));
3923     $form->setLib('am_empl_hll_nb',_('am_empl_hll_nb'));
3924     $form->setLib('am_hll_shon',_('am_hll_shon'));
3925     $form->setLib('am_periode_exploit',_('am_periode_exploit'));
3926     $form->setLib('am_exist_agrand',_('am_exist_agrand'));
3927     $form->setLib('am_exist_date',_('am_exist_date'));
3928     $form->setLib('am_exist_num',_('am_exist_num'));
3929     $form->setLib('am_exist_nb_avant',_('am_exist_nb_avant'));
3930     $form->setLib('am_exist_nb_apres',_('am_exist_nb_apres'));
3931     $form->setLib('am_coupe_bois',_('am_coupe_bois'));
3932     $form->setLib('am_coupe_parc',_('am_coupe_parc'));
3933     $form->setLib('am_coupe_align',_('am_coupe_align'));
3934     $form->setLib('am_coupe_ess',_('am_coupe_ess'));
3935     $form->setLib('am_coupe_age',_('am_coupe_age'));
3936     $form->setLib('am_coupe_dens',_('am_coupe_dens'));
3937     $form->setLib('am_coupe_qual',_('am_coupe_qual'));
3938     $form->setLib('am_coupe_trait',_('am_coupe_trait'));
3939     $form->setLib('am_coupe_autr',_('am_coupe_autr'));
3940     $form->setLib('co_archi_recours',_('co_archi_recours'));
3941     $form->setLib('co_cstr_nouv',_('co_cstr_nouv'));
3942     $form->setLib('co_cstr_exist',_('co_cstr_exist'));
3943     $form->setLib('co_modif_aspect',_('co_modif_aspect'));
3944     $form->setLib('co_modif_struct',_('co_modif_struct'));
3945     $form->setLib('co_cloture',_('co_cloture'));
3946     $form->setLib('co_ouvr_elec',_('co_ouvr_elec'));
3947     $form->setLib('co_elec_tension',_('co_elec_tension'));
3948     $form->setLib('co_ouvr_infra',_('co_ouvr_infra'));
3949     $form->setLib('co_trx_imm',_('co_trx_imm'));
3950     $form->setLib('co_div_terr',_('co_div_terr'));
3951     $form->setLib('co_projet_desc',_('co_projet_desc'));
3952     $form->setLib('co_cstr_shob',_('co_cstr_shob'));
3953     $form->setLib('co_anx_pisc',_('co_anx_pisc'));
3954     $form->setLib('co_anx_gara',_('co_anx_gara'));
3955     $form->setLib('co_anx_veran',_('co_anx_veran'));
3956     $form->setLib('co_anx_abri',_('co_anx_abri'));
3957     $form->setLib('co_anx_autr',_('co_anx_autr'));
3958     $form->setLib('co_anx_autr_desc',_('co_anx_autr_desc'));
3959     $form->setLib('co_tot_log_nb',_('co_tot_log_nb'));
3960     $form->setLib('co_tot_ind_nb',_('co_tot_ind_nb'));
3961     $form->setLib('co_tot_coll_nb',_('co_tot_coll_nb'));
3962     $form->setLib('co_mais_piece_nb',_('co_mais_piece_nb'));
3963     $form->setLib('co_mais_niv_nb',_('co_mais_niv_nb'));
3964     $form->setLib('co_fin_lls_nb',_('co_fin_lls_nb'));
3965     $form->setLib('co_fin_aa_nb',_('co_fin_aa_nb'));
3966     $form->setLib('co_fin_ptz_nb',_('co_fin_ptz_nb'));
3967     $form->setLib('co_fin_autr_nb',_('co_fin_autr_nb'));
3968     $form->setLib('co_fin_autr_desc',_('co_fin_autr_desc'));
3969     $form->setLib('co_mais_contrat_ind',_('co_mais_contrat_ind'));
3970     $form->setLib('co_uti_pers',_('co_uti_pers'));
3971     $form->setLib('co_uti_vente',_('co_uti_vente'));
3972     $form->setLib('co_uti_loc',_('co_uti_loc'));
3973     $form->setLib('co_uti_princ',_('co_uti_princ'));
3974     $form->setLib('co_uti_secon',_('co_uti_secon'));
3975     $form->setLib('co_resid_agees',_('co_resid_agees'));
3976     $form->setLib('co_resid_etud',_('co_resid_etud'));
3977     $form->setLib('co_resid_tourism',_('co_resid_tourism'));
3978     $form->setLib('co_resid_hot_soc',_('co_resid_hot_soc'));
3979     $form->setLib('co_resid_soc',_('co_resid_soc'));
3980     $form->setLib('co_resid_hand',_('co_resid_hand'));
3981     $form->setLib('co_resid_autr',_('co_resid_autr'));
3982     $form->setLib('co_resid_autr_desc',_('co_resid_autr_desc'));
3983     $form->setLib('co_foyer_chamb_nb',_('co_foyer_chamb_nb'));
3984     $form->setLib('co_log_1p_nb',_('co_log_1p_nb'));
3985     $form->setLib('co_log_2p_nb',_('co_log_2p_nb'));
3986     $form->setLib('co_log_3p_nb',_('co_log_3p_nb'));
3987     $form->setLib('co_log_4p_nb',_('co_log_4p_nb'));
3988     $form->setLib('co_log_5p_nb',_('co_log_5p_nb'));
3989     $form->setLib('co_log_6p_nb',_('co_log_6p_nb'));
3990     $form->setLib('co_bat_niv_nb',_('co_bat_niv_nb'));
3991     $form->setLib('co_trx_exten',_('co_trx_exten'));
3992     $form->setLib('co_trx_surelev',_('co_trx_surelev'));
3993     $form->setLib('co_trx_nivsup',_('co_trx_nivsup'));
3994     $form->setLib('co_trx_amgt',_('co_trx_amgt'));
3995     $form->setLib('co_demont_periode',_('co_demont_periode'));
3996     $form->setLib('co_sp_transport',_('co_sp_transport'));
3997     $form->setLib('co_sp_enseign',_('co_sp_enseign'));
3998     $form->setLib('co_sp_act_soc',_('co_sp_act_soc'));
3999     $form->setLib('co_sp_ouvr_spe',_('co_sp_ouvr_spe'));
4000     $form->setLib('co_sp_sante',_('co_sp_sante'));
4001     $form->setLib('co_sp_culture',_('co_sp_culture'));
4002     $form->setLib('co_statio_avt_nb',_('co_statio_avt_nb'));
4003     $form->setLib('co_statio_apr_nb',_('co_statio_apr_nb'));
4004     $form->setLib('co_statio_avt_shob',_('co_statio_avt_shob'));
4005     $form->setLib('co_statio_apr_shob',_('co_statio_apr_shob'));
4006     $form->setLib('co_statio_avt_surf',_('co_statio_avt_surf'));
4007     $form->setLib('co_statio_apr_surf',_('co_statio_apr_surf'));
4008     $form->setLib('co_statio_adr',_('co_statio_adr'));
4009     $form->setLib('co_statio_place_nb',_('co_statio_place_nb'));
4010     $form->setLib('co_statio_tot_surf',_('co_statio_tot_surf'));
4011     $form->setLib('co_statio_tot_shob',_('co_statio_tot_shob'));
4012 vpihour 1255 $form->setLib('co_statio_comm_cin_surf',_('co_statio_comm_cin_surf'));
4013 vpihour 1249 $form->setLib('su_avt_shon1',_('su_avt_shon1'));
4014     $form->setLib('su_avt_shon2',_('su_avt_shon2'));
4015     $form->setLib('su_avt_shon3',_('su_avt_shon3'));
4016     $form->setLib('su_avt_shon4',_('su_avt_shon4'));
4017     $form->setLib('su_avt_shon5',_('su_avt_shon5'));
4018     $form->setLib('su_avt_shon6',_('su_avt_shon6'));
4019     $form->setLib('su_avt_shon7',_('su_avt_shon7'));
4020     $form->setLib('su_avt_shon8',_('su_avt_shon8'));
4021     $form->setLib('su_avt_shon9',_('su_avt_shon9'));
4022     $form->setLib('su_cstr_shon1',_('su_cstr_shon1'));
4023     $form->setLib('su_cstr_shon2',_('su_cstr_shon2'));
4024     $form->setLib('su_cstr_shon3',_('su_cstr_shon3'));
4025     $form->setLib('su_cstr_shon4',_('su_cstr_shon4'));
4026     $form->setLib('su_cstr_shon5',_('su_cstr_shon5'));
4027     $form->setLib('su_cstr_shon6',_('su_cstr_shon6'));
4028     $form->setLib('su_cstr_shon7',_('su_cstr_shon7'));
4029     $form->setLib('su_cstr_shon8',_('su_cstr_shon8'));
4030     $form->setLib('su_cstr_shon9',_('su_cstr_shon9'));
4031     $form->setLib('su_trsf_shon1',_('su_trsf_shon1'));
4032     $form->setLib('su_trsf_shon2',_('su_trsf_shon2'));
4033     $form->setLib('su_trsf_shon3',_('su_trsf_shon3'));
4034     $form->setLib('su_trsf_shon4',_('su_trsf_shon4'));
4035     $form->setLib('su_trsf_shon5',_('su_trsf_shon5'));
4036     $form->setLib('su_trsf_shon6',_('su_trsf_shon6'));
4037     $form->setLib('su_trsf_shon7',_('su_trsf_shon7'));
4038     $form->setLib('su_trsf_shon8',_('su_trsf_shon8'));
4039     $form->setLib('su_trsf_shon9',_('su_trsf_shon9'));
4040     $form->setLib('su_chge_shon1',_('su_chge_shon1'));
4041     $form->setLib('su_chge_shon2',_('su_chge_shon2'));
4042     $form->setLib('su_chge_shon3',_('su_chge_shon3'));
4043     $form->setLib('su_chge_shon4',_('su_chge_shon4'));
4044     $form->setLib('su_chge_shon5',_('su_chge_shon5'));
4045     $form->setLib('su_chge_shon6',_('su_chge_shon6'));
4046     $form->setLib('su_chge_shon7',_('su_chge_shon7'));
4047     $form->setLib('su_chge_shon8',_('su_chge_shon8'));
4048     $form->setLib('su_chge_shon9',_('su_chge_shon9'));
4049     $form->setLib('su_demo_shon1',_('su_demo_shon1'));
4050     $form->setLib('su_demo_shon2',_('su_demo_shon2'));
4051     $form->setLib('su_demo_shon3',_('su_demo_shon3'));
4052     $form->setLib('su_demo_shon4',_('su_demo_shon4'));
4053     $form->setLib('su_demo_shon5',_('su_demo_shon5'));
4054     $form->setLib('su_demo_shon6',_('su_demo_shon6'));
4055     $form->setLib('su_demo_shon7',_('su_demo_shon7'));
4056     $form->setLib('su_demo_shon8',_('su_demo_shon8'));
4057     $form->setLib('su_demo_shon9',_('su_demo_shon9'));
4058     $form->setLib('su_sup_shon1',_('su_sup_shon1'));
4059     $form->setLib('su_sup_shon2',_('su_sup_shon2'));
4060     $form->setLib('su_sup_shon3',_('su_sup_shon3'));
4061     $form->setLib('su_sup_shon4',_('su_sup_shon4'));
4062     $form->setLib('su_sup_shon5',_('su_sup_shon5'));
4063     $form->setLib('su_sup_shon6',_('su_sup_shon6'));
4064     $form->setLib('su_sup_shon7',_('su_sup_shon7'));
4065     $form->setLib('su_sup_shon8',_('su_sup_shon8'));
4066     $form->setLib('su_sup_shon9',_('su_sup_shon9'));
4067     $form->setLib('su_tot_shon1',_('su_tot_shon1'));
4068     $form->setLib('su_tot_shon2',_('su_tot_shon2'));
4069     $form->setLib('su_tot_shon3',_('su_tot_shon3'));
4070     $form->setLib('su_tot_shon4',_('su_tot_shon4'));
4071     $form->setLib('su_tot_shon5',_('su_tot_shon5'));
4072     $form->setLib('su_tot_shon6',_('su_tot_shon6'));
4073     $form->setLib('su_tot_shon7',_('su_tot_shon7'));
4074     $form->setLib('su_tot_shon8',_('su_tot_shon8'));
4075     $form->setLib('su_tot_shon9',_('su_tot_shon9'));
4076     $form->setLib('su_avt_shon_tot',_('su_avt_shon_tot'));
4077     $form->setLib('su_cstr_shon_tot',_('su_cstr_shon_tot'));
4078     $form->setLib('su_trsf_shon_tot',_('su_trsf_shon_tot'));
4079     $form->setLib('su_chge_shon_tot',_('su_chge_shon_tot'));
4080     $form->setLib('su_demo_shon_tot',_('su_demo_shon_tot'));
4081     $form->setLib('su_sup_shon_tot',_('su_sup_shon_tot'));
4082     $form->setLib('su_tot_shon_tot',_('su_tot_shon_tot'));
4083     $form->setLib('dm_constr_dates',_('dm_constr_dates'));
4084     $form->setLib('dm_total',_('dm_total'));
4085     $form->setLib('dm_partiel',_('dm_partiel'));
4086     $form->setLib('dm_projet_desc',_('dm_projet_desc'));
4087     $form->setLib('dm_tot_log_nb',_('dm_tot_log_nb'));
4088 nhaye 1268 $form->setLib('tax_surf_tot',_('tax_surf_tot'));
4089     $form->setLib('tax_surf',_('tax_surf'));
4090     $form->setLib('tax_surf_suppr_mod',_('tax_surf_suppr_mod'));
4091     $form->setLib('tax_dest_loc_tr',_('tax_dest_loc_tr'));
4092     $form->setLib('tax_su_princ_log_nb1',_('tax_su_princ_log_nb1'));
4093     $form->setLib('tax_su_princ_log_nb2',_('tax_su_princ_log_nb2'));
4094     $form->setLib('tax_su_princ_log_nb3',_('tax_su_princ_log_nb3'));
4095     $form->setLib('tax_su_princ_log_nb4',_('tax_su_princ_log_nb4'));
4096     $form->setLib('tax_su_princ_log_nb_tot1',_('tax_su_princ_log_nb_tot1'));
4097     $form->setLib('tax_su_princ_log_nb_tot2',_('tax_su_princ_log_nb_tot2'));
4098     $form->setLib('tax_su_princ_log_nb_tot3',_('tax_su_princ_log_nb_tot3'));
4099     $form->setLib('tax_su_princ_log_nb_tot4',_('tax_su_princ_log_nb_tot4'));
4100     $form->setLib('tax_su_princ_surf1',_('tax_su_princ_surf1'));
4101     $form->setLib('tax_su_princ_surf2',_('tax_su_princ_surf2'));
4102     $form->setLib('tax_su_princ_surf3',_('tax_su_princ_surf3'));
4103     $form->setLib('tax_su_princ_surf4',_('tax_su_princ_surf4'));
4104     $form->setLib('tax_su_princ_surf_sup1',_('tax_su_princ_surf_sup1'));
4105     $form->setLib('tax_su_princ_surf_sup2',_('tax_su_princ_surf_sup2'));
4106     $form->setLib('tax_su_princ_surf_sup3',_('tax_su_princ_surf_sup3'));
4107     $form->setLib('tax_su_princ_surf_sup4',_('tax_su_princ_surf_sup4'));
4108     $form->setLib('tax_su_heber_log_nb1',_('tax_su_heber_log_nb1'));
4109     $form->setLib('tax_su_heber_log_nb2',_('tax_su_heber_log_nb2'));
4110     $form->setLib('tax_su_heber_log_nb3',_('tax_su_heber_log_nb3'));
4111     $form->setLib('tax_su_heber_log_nb_tot1',_('tax_su_heber_log_nb_tot1'));
4112     $form->setLib('tax_su_heber_log_nb_tot2',_('tax_su_heber_log_nb_tot2'));
4113     $form->setLib('tax_su_heber_log_nb_tot3',_('tax_su_heber_log_nb_tot3'));
4114     $form->setLib('tax_su_heber_surf1',_('tax_su_heber_surf1'));
4115     $form->setLib('tax_su_heber_surf2',_('tax_su_heber_surf2'));
4116     $form->setLib('tax_su_heber_surf3',_('tax_su_heber_surf3'));
4117     $form->setLib('tax_su_heber_surf_sup1',_('tax_su_heber_surf_sup1'));
4118     $form->setLib('tax_su_heber_surf_sup2',_('tax_su_heber_surf_sup2'));
4119     $form->setLib('tax_su_heber_surf_sup3',_('tax_su_heber_surf_sup3'));
4120     $form->setLib('tax_su_secon_log_nb',_('tax_su_secon_log_nb'));
4121     $form->setLib('tax_su_tot_log_nb',_('tax_su_tot_log_nb'));
4122     $form->setLib('tax_su_secon_log_nb_tot',_('tax_su_secon_log_nb_tot'));
4123     $form->setLib('tax_su_tot_log_nb_tot',_('tax_su_tot_log_nb_tot'));
4124     $form->setLib('tax_su_secon_surf',_('tax_su_secon_surf'));
4125     $form->setLib('tax_su_tot_surf',_('tax_su_tot_surf'));
4126     $form->setLib('tax_su_secon_surf_sup',_('tax_su_secon_surf_sup'));
4127     $form->setLib('tax_su_tot_surf_sup',_('tax_su_tot_surf_sup'));
4128     $form->setLib('tax_ext_pret',_('tax_ext_pret'));
4129     $form->setLib('tax_ext_desc',_('tax_ext_desc'));
4130     $form->setLib('tax_surf_tax_exist_cons',_('tax_surf_tax_exist_cons'));
4131     $form->setLib('tax_log_exist_nb',_('tax_log_exist_nb'));
4132     $form->setLib('tax_am_statio_ext',_('tax_am_statio_ext'));
4133     $form->setLib('tax_sup_bass_pisc',_('tax_sup_bass_pisc'));
4134     $form->setLib('tax_empl_ten_carav_mobil_nb',_('tax_empl_ten_carav_mobil_nb'));
4135     $form->setLib('tax_empl_hll_nb',_('tax_empl_hll_nb'));
4136     $form->setLib('tax_eol_haut_nb',_('tax_eol_haut_nb'));
4137     $form->setLib('tax_pann_volt_sup',_('tax_pann_volt_sup'));
4138     $form->setLib('tax_am_statio_ext_sup',_('tax_am_statio_ext_sup'));
4139     $form->setLib('tax_sup_bass_pisc_sup',_('tax_sup_bass_pisc_sup'));
4140     $form->setLib('tax_empl_ten_carav_mobil_nb_sup',_('tax_empl_ten_carav_mobil_nb_sup'));
4141     $form->setLib('tax_empl_hll_nb_sup',_('tax_empl_hll_nb_sup'));
4142     $form->setLib('tax_eol_haut_nb_sup',_('tax_eol_haut_nb_sup'));
4143     $form->setLib('tax_pann_volt_sup_sup',_('tax_pann_volt_sup_sup'));
4144     $form->setLib('tax_trx_presc_ppr',_('tax_trx_presc_ppr'));
4145     $form->setLib('tax_monu_hist',_('tax_monu_hist'));
4146     $form->setLib('tax_comm_nb',_('tax_comm_nb'));
4147     $form->setLib('tax_su_non_habit_surf1',_('tax_su_non_habit_surf1'));
4148     $form->setLib('tax_su_non_habit_surf2',_('tax_su_non_habit_surf2'));
4149     $form->setLib('tax_su_non_habit_surf3',_('tax_su_non_habit_surf3'));
4150     $form->setLib('tax_su_non_habit_surf4',_('tax_su_non_habit_surf4'));
4151     $form->setLib('tax_su_non_habit_surf5',_('tax_su_non_habit_surf5'));
4152     $form->setLib('tax_su_non_habit_surf6',_('tax_su_non_habit_surf6'));
4153     $form->setLib('tax_su_non_habit_surf7',_('tax_su_non_habit_surf7'));
4154     $form->setLib('tax_su_non_habit_surf_sup1',_('tax_su_non_habit_surf_sup1'));
4155     $form->setLib('tax_su_non_habit_surf_sup2',_('tax_su_non_habit_surf_sup2'));
4156     $form->setLib('tax_su_non_habit_surf_sup3',_('tax_su_non_habit_surf_sup3'));
4157     $form->setLib('tax_su_non_habit_surf_sup4',_('tax_su_non_habit_surf_sup4'));
4158     $form->setLib('tax_su_non_habit_surf_sup5',_('tax_su_non_habit_surf_sup5'));
4159     $form->setLib('tax_su_non_habit_surf_sup6',_('tax_su_non_habit_surf_sup6'));
4160     $form->setLib('tax_su_non_habit_surf_sup7',_('tax_su_non_habit_surf_sup7'));
4161     $form->setLib('vsd_surf_planch_smd',_('vsd_surf_planch_smd'));
4162     $form->setLib('vsd_unit_fonc_sup',_('vsd_unit_fonc_sup'));
4163     $form->setLib('vsd_unit_fonc_constr_sup',_('vsd_unit_fonc_constr_sup'));
4164     $form->setLib('vsd_val_terr',_('vsd_val_terr'));
4165     $form->setLib('vsd_const_sxist_non_dem_surf',_('vsd_const_sxist_non_dem_surf'));
4166     $form->setLib('vsd_rescr_fisc',_('vsd_rescr_fisc'));
4167     $form->setLib('pld_val_terr',_('pld_val_terr'));
4168     $form->setLib('pld_const_exist_dem',_('pld_const_exist_dem'));
4169     $form->setLib('pld_const_exist_dem_surf',_('pld_const_exist_dem_surf'));
4170 vpihour 1249 $form->setLib('code_cnil',_('code_cnil'));
4171 nhaye 1615 $form->setLib('co_archi_nom',_('co_archi_nom'));
4172     $form->setLib('co_archi_prenom',_('co_archi_prenom'));
4173     $form->setLib('co_archi_adr_num',_('co_archi_adr_num'));
4174     $form->setLib('co_archi_adr_voie',_('co_archi_adr_voie'));
4175     $form->setLib('co_archi_adr_lieu_dit',_('co_archi_adr_lieu_dit'));
4176     $form->setLib('co_archi_adr_localite',_('co_archi_adr_localite'));
4177     $form->setLib('co_archi_adr_cp',_('co_archi_adr_cp'));
4178     $form->setLib('co_archi_adr_bp',_('co_archi_adr_bp'));
4179     $form->setLib('co_archi_adr_cedex',_('co_archi_adr_cedex'));
4180     $form->setLib('co_archi_no_incri',_('co_archi_no_incri'));
4181     $form->setLib('co_archi_cg',_('co_archi_cg'));
4182     $form->setLib('co_archi_tel1',_('co_archi_tel1'));
4183     $form->setLib('co_archi_tel2',_('co_archi_tel2'));
4184     $form->setLib('co_archi_mail',_('co_archi_mail'));
4185 vpihour 1249 }
4186    
4187     function setSelect(&$form, $maj,&$db,$debug) {
4188     if(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc.php"))
4189     include ("../sql/".$db->phptype."/".$this->table.".form.inc.php");
4190     elseif(file_exists ("../sql/".$db->phptype."/".$this->table.".form.inc"))
4191     include ("../sql/".$db->phptype."/".$this->table.".form.inc");
4192    
4193 vpihour 1251 // dossier_instruction
4194     $this->init_select($form, $db, $maj, $debug, "dossier_instruction",
4195     $sql_dossier_instruction, $sql_dossier_instruction_by_id, false);
4196    
4197 vpihour 1249 // lot
4198     $this->init_select($form, $db, $maj, $debug, "lot",
4199     $sql_lot, $sql_lot_by_id, false);
4200     }// fin select
4201    
4202     //==================================
4203     // sous Formulaire [subform]
4204     //==================================
4205    
4206     function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire,&$db,$DEBUG=null){
4207     $this->retourformulaire = $retourformulaire;
4208     if($validation == 0) {
4209 vpihour 1251 if($retourformulaire =='dossier')
4210     $form->setVal('dossier_instruction', $idxformulaire);
4211 vpihour 1249 if($retourformulaire =='lot')
4212     $form->setVal('lot', $idxformulaire);
4213     }// fin validation
4214     }// fin setValsousformulaire
4215    
4216     //==================================
4217     // cle secondaire [secondary key]
4218     //==================================
4219    
4220     }// fin classe
4221     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26