/[openfoncier]/branches/3.14.2/app/servitude_point.php
ViewVC logotype

Contents of /branches/3.14.2/app/servitude_point.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3900 - (show annotations)
Fri Apr 8 16:36:16 2016 UTC (8 years, 9 months ago) by softime
File size: 1771 byte(s)
* Création de la branche 3.14.2 depuis la branche 3.14.x

1 <?php
2 /**
3 *
4 *
5 * @package openfoncier
6 * @version SVN : $Id$
7 */
8
9 // INITIALISATION DES VARIABLES
10 include ("../dyn/var.inc");
11 $DEBUG = 0;
12 $existe=0;
13 if($f->get_submitted_get_value('id') !== null)
14 $id=$f->get_submitted_get_value('id');
15 else
16 $id="";
17 if($f->get_submitted_get_value('menu') !== null)
18 $menu=$f->get_submitted_get_value('menu');
19 else
20 $menu=0;
21 if($f->get_submitted_get_value('modificatif') !== null)
22 $modificatif=$f->get_submitted_get_value('modificatif');
23 else
24 $modificatif=0;
25 // utils
26 require_once "../obj/utils.class.php";
27 if($menu==1 or $menu==2)
28 $f = new utils(NULL, "dossier", _("dossier"), "ico_dossier.png", "dossier");
29 else{ // sans menu
30 if($menu==0){
31 $f = new utils('nohtml', "dossier", _("dossier"), "ico_dossier.png", "dossier");
32 $f->setFlag("htmlonly");
33 }
34 }
35 $f->display();
36 if($menu==1) // html only
37 $f->displayStartContent();
38
39 // db
40
41 $sql="select * from ".DB_PREFIXE."servitude_point where servitude_point =".$id."";
42 $res=$f->db->query($sql);
43 $f->isDatabaseError($res);
44 while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){
45 $existe=1;
46 // dossierla
47 echo "<fieldset class=\"cadre ui-corner-all ui-widget-content collapsible\">\n";
48 echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
49 echo _("servitude_point ")."</legend>";
50 echo "<br>libelle : ".$row['libelle'];
51 echo "<br>libelle : ".$row['observation'];
52 echo "<br>perimetre : ".$row['perimetre']." m ";
53 echo "</fieldset>";
54
55 } // while dossier
56 if($menu==0){
57 echo "<center>";
58 $f->displayLinkJsCloseWindow(); // ****
59 echo "</center>";
60 $f->displayEndContent();
61 }
62 if($existe==0){
63 $msg=$idx._(" inexistant en base openFoncier");
64 $f->displayMessage($class, $message);
65 }
66 ?>

Properties

Name Value
svn:keywords Id

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26