/[openfoncier]/trunk/sql/pgsql/parcelle.inc.php
ViewVC logotype

Annotation of /trunk/sql/pgsql/parcelle.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142 - (hide annotations)
Tue Sep 27 14:52:41 2011 UTC (13 years, 4 months ago) by fraynaud
Original Path: trunk/sql/pgsql/parcelle.inc
File size: 1270 byte(s)
gestion des lotissements 


1 fraynaud 3 <?php
2     //$Id$
3     //gen openMairie le 10/02/2011 20:40
4     include('../gen/sql/pgsql/parcelle.inc.php');
5 fraynaud 41
6 fraynaud 8 $table=DB_PREFIXE."parcelle left join ".DB_PREFIXE.
7 fraynaud 9 "proprietaire on parcelle.proprietaire=proprietaire.proprietaire";
8 fraynaud 8 // supressiongeom
9     $champAffiche=array('parcelle',
10     'debut',
11     'rivoli',
12 fraynaud 9 'proprietaire.nom as proprietaire',
13     'pos',
14     'surface',
15 fraynaud 142 'section',
16     'substring(astext(geom), 0,100)'
17 fraynaud 41 );
18     ;
19 fraynaud 9 $champRecherche=array('parcelle',
20     'debut',
21     'rivoli',
22 fraynaud 8 'proprietaire',
23     'pos',
24 fraynaud 9 'section');
25 fraynaud 41
26     if(file_exists ("../dyn/var.inc"))
27     include ("../dyn/var.inc");
28    
29    
30     if($vue_parcelle==1){
31     $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
32     $href[1] = array("lien" => "", "id" => "", "lib" => "", );
33     $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
34     $ent .=' '._('vue');
35     $champRecherche=array('parcelle');
36     }
37    
38 fraynaud 142 $href[5]['lien'] = "../scr/tab_sig.php?idx=";
39     $href[5]['id']= "&obj=parcelle&geometrie=polygon";
40     $href[5]['lib']= "<img src='../app/img/sig.png' border=0>";
41 fraynaud 41
42 fraynaud 142
43 fraynaud 3 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26