/[openfoncier]/trunk/dyn/comboretour.inc.php
ViewVC logotype

Contents of /trunk/dyn/comboretour.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations)
Tue Sep 27 21:20:45 2011 UTC (13 years, 4 months ago) by fraynaud
File size: 1495 byte(s)
mise au point lotissement dans dossier


1 <?php
2 // $Id: comboretour.inc,v 1.5 2008-06-26 09:18:41 jbastide Exp $
3 // =========================================================================
4 // affectation des paramètres specifiques applications pour COMBO.PHP 1.1
5 // Retour lorsqu il y a qu un enregistrement correlle
6 // $x=$row[$zoneCorrel]; // dans la zone correllée
7 // $y=$row[$zoneOrigine]
8 // il est possible de renvoyer d autre zone dans le formulaire
9 // =========================================================================
10 /*
11 if($champOrigine=="nom") {
12 $y=$row['nom'];
13 $a=$row['prenom'];
14 $b=$row['adresse1'];
15 $c=$row['adresse2'];
16 $d=$row['cp'];
17 $e=$row['ville'];
18 $f=$row['titre'];
19 }
20 */
21 if($champOrigine=="architecte") {
22 $y=$row['nom']." ".$row['prenom'].
23 " ".$row['adresse']." ".$row['cp']." ".$row['ville'];
24 }
25 if($champOrigine=="architecte_nom") {
26 $y=$row['nom']." ".$row['prenom'].
27 " ".$row['adresse']." ".$row['cp']." ".$row['ville'];
28 }
29 if($champOrigine=="parcelle") {
30 $x=$row['nom'];
31 }
32 if($champOrigine=="nom") {
33 $y=$row['nom'];
34 }
35
36 if($champOrigine=="voielib") {
37 $y=$row['voietype']." ".$row['voielib'].
38 " ".$row['zonetype']." ".$row['zonelib']." [".$row['cimetierelib']."]";
39 }
40 if($champOrigine=="voie"){
41 $x=$row['voietype']." ".$row['voielib'].
42 " ".$row['zonetype']." ".$row['zonelib']." [".$row['cimetierelib']."]";
43 }
44
45 if($champOrigine=="parcelle_lot_lotissement") {
46 echo "ca passe";
47 $x=$row['numero']." ".$row['lotissement'];
48 }
49 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26