/[openfoncier]/trunk/app/dossier.php
ViewVC logotype

Diff of /trunk/app/dossier.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 196 by fraynaud, Sat Oct 15 21:07:29 2011 UTC revision 197 by fraynaud, Sun Oct 16 19:03:32 2011 UTC
# Line 55  while ($row=& $res->fetchRow(DB_FETCHMOD Line 55  while ($row=& $res->fetchRow(DB_FETCHMOD
55      echo _("Dossier ")."</legend>";      echo _("Dossier ")."</legend>";
56      echo "<table  width='95%'>";      echo "<table  width='95%'>";
57      echo "<tr><td colspan='5'><b>"._("tableau_bord")." "._("dossier")." ".$row['nature']."</b></td></tr>";      echo "<tr><td colspan='5'><b>"._("tableau_bord")." "._("dossier")." ".$row['nature']."</b></td></tr>";
58      echo "<tr><td colspan='5'> No  ".$departement." ".$commune." ".$row['dossier']." "._("date_depot")." ".$row['date_depot']."</td></tr>";      echo "<tr><td colspan='5'><i> No </i> ".$departement." ".$commune." ".$row['dossier']." <i>"._("date_depot")." :</i>".$row['date_depot']."</td></tr>";
59      echo "<tr><td colspan='5'> "._("demandeur_nom")." : ".$row['demandeur_civilite']." ".    $row['demandeur_nom']."<br>";      echo "<tr><td colspan='5'><i>"._("demandeur_nom")." :</i> ".$row['demandeur_civilite']." ".    $row['demandeur_nom']."<br>";
60      echo ""._("demandeur_adresse")." : ".$row['demandeur_adresse']." ".      echo "<i>"._("demandeur_adresse")." : </i>".$row['demandeur_adresse']." ".
61      $row['demandeur_cp']." - ".$row['demandeur_ville']."</td></tr>";              $row['demandeur_cp']." - ".$row['demandeur_ville']."</td></tr>";
62      echo "<tr><td colspan='5'> "._("demandeur_societe")." : ".$row['demandeur_societe']."</td></tr>";      echo "<tr><td colspan='5'><i>"._("demandeur_societe")." : </i>".$row['demandeur_societe']."</td></tr>";
     //echo "<br>";  
63      echo "<tr><td colspan='5'><a class='liendossier'  href='".$lien_sig1.$row['rivoli'].$row['terrain_numero'].      echo "<tr><td colspan='5'><a class='liendossier'  href='".$lien_sig1.$row['rivoli'].$row['terrain_numero'].
64          "' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span> adresse du terrain : ".          "' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span><i> adresse du terrain : </i>".
65          $row['terrain_numero']." ".          $row['terrain_numero']." ".
66          $row['terrain_adresse']." ".$row['terrain_cp']." - ".          $row['terrain_adresse']." ".$row['terrain_cp']." - ".
67          $row['terrain_ville']."</a><br>";          $row['terrain_ville']."</a><br>";
68      echo "<a class='liendossier' href='".$lien_sig.$row['parcelle']."' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span> parcelle : ".      echo "<a class='liendossier' href='".$lien_sig.$row['parcelle']."' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span><i> parcelle : </i>".
69          $row['parcelle']."</a><br>";          $row['parcelle']."</a><br>";
70      echo "<a class='liendossier' href='".$lien_sig2.$row['dossier']."' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span> dossier : ".      echo "<a class='liendossier' href='".$lien_sig2.$row['dossier']."' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span><i> dossier : </i>".
71          $row['dossier']."</a></td></tr>";          $row['dossier']."</a></td></tr>";
72      echo "<tr><td colspan='5'><b>Amenagement : </b><a class='liendossier' href='dossier.php?id=".$row['amenagement']."&menu=1'>".      echo "<tr><td colspan='5'><b><i>Amenagement : </i></b><a class='liendossier' href='dossier.php?id=".$row['amenagement']."&menu=1'>".
73          $row['amenagement']."</a> - ".$row['parcelle_lot_lotissement']."</td></tr>";          $row['amenagement']."</a> - ".$row['parcelle_lot_lotissement']."</td></tr>";
74      // dossier caracteristique      // dossier caracteristique
75      echo "<tr><td colspan='5'><b>"._("servitude")." : </b>".$row['servitude']."<br>";      echo "<tr><td colspan='5'><b><i>"._("servitude")." : </i></b>".$row['servitude']."<br>";
76      echo "";      echo "";
77      echo "<tr ><td colspan='5'><b>"._("caracteristique")." : </b></td><tr>";      echo "<tr ><td colspan='5'><b><i>"._("caracteristique")." : </i></b></td><tr>";
78      echo "<tr><td>"._("shob")." : ".$row['shob'].      echo "<tr><td><i>"._("shob")." : </i>".$row['shob'].
79      " m2 </td><td>"._("shon")." : ".$row['shon']." m2 ";      " m2 </td><td><i>"._("shon")." : </i>".$row['shon']." m2 ";
80      echo "</td><td> "._("hauteur")." :".$row['hauteur']." m </td><td>   "._("logement_nombre")." :".      echo "</td><td><i>"._("hauteur")." :</i>".$row['hauteur']." m </td><td><i>"._("logement_nombre")." :</i>".
81      $row['logement_nombre']."</td><td> "._("batiment_nombre")." : ".$row['batiment_nombre']."</td><tr>";      $row['logement_nombre']."</td><td><i>"._("batiment_nombre")." : </i>".$row['batiment_nombre']."</td><tr>";
82      echo "<tr><td colspan='5'>"._("travaux")."       : ".$row['travaux']."</td><tr>";      echo "<tr><td colspan='5'><i>"._("travaux")."       : </i>".$row['travaux']."</td><tr>";
83      echo "<tr ><td colspan='5'><b>"._("Etat")." "._("instruction")." : </b></td><tr>";      echo "<tr ><td colspan='5'><b><i>"._("Etat")." "._("instruction")." : </i></b></td><tr>";
84      echo "<tr><td>"._("date_depot")." : ".$row['date_depot']." ";      echo "<tr><td><i>"._("date_depot")." : </i>".$row['date_depot']." ";
85      echo "</td><td>"._("date_notification_delai")." : ".      echo "</td><td><i>"._("date_notification_delai")." : </i>".
86      $row['date_notification_delai']." - ";      $row['date_notification_delai']." - ";
87      echo "</td><td>"._("date_limite").": ".$row['date_limite'].      echo "</td><td><i>"._("date_limite").": </i>".$row['date_limite'].
88      "</td><td></td><td></td></tr>";      "</td><td></td><td></td></tr>";
89      echo "<tr><td>"._("date_validite")." : ".$row['date_validite']." ";      echo "<tr><td><i>"._("date_validite")." : </i>".$row['date_validite']." ";
90      echo "</td><td>"._("date_chantier")." : ".      echo "</td><td><i>"._("date_chantier")." : </i>".
91      $row['date_chantier']." - ";      $row['date_chantier']."";
92      echo "</td><td>"._("date_achevement").": ".$row['date_achevement'].      echo "</td><td><i>"._("date_achevement").": </i>".$row['date_achevement'].
93      "</td><td>"._("date_conformite").": ".$row['date_conformite']."</td><td></td></tr>";      "</td><td><i>"._("date_conformite").": </i>".$row['date_conformite']."</td><td></td></tr>";
94      echo "\t\t\t</table>\n";      echo "\t\t\t</table>\n";
95      echo "</fieldset>";      echo "</fieldset>";
96      // instruction      // instruction
# Line 101  while ($row=& $res->fetchRow(DB_FETCHMOD Line 100  while ($row=& $res->fetchRow(DB_FETCHMOD
100      echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";      echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
101      echo _("Instruction ")."</legend>";      echo _("Instruction ")."</legend>";
102      echo "<table  width='95%'>";      echo "<table  width='95%'>";
103      echo "<tr><td></td><td>"._("evenement")."</td><td>"._("lettretype")."</td><td>"._("datecourrier")."</td><tr>";      echo "<tr><td></td><td><i>"._("evenement")."</i></td><td><i>"._("lettretype")."</i></td><td><i>"._("datecourrier")."</i></td><tr>";
104      while ($row1=& $res1->fetchRow(DB_FETCHMODE_ASSOC)){      while ($row1=& $res1->fetchRow(DB_FETCHMODE_ASSOC)){
105          echo "<tr><td><a class='liendossier' href='../app/pdflettretype_instruction.php?idx=".          echo "<tr><td><a class='liendossier' href='../app/pdflettretype_instruction.php?idx=".
106          $row1['instruction']."' ><span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span></a></td>";          $row1['instruction']."' ><span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span></a></td>";
# Line 118  while ($row=& $res->fetchRow(DB_FETCHMOD Line 117  while ($row=& $res->fetchRow(DB_FETCHMOD
117      $res2=$f->db->query($sql_consultation);      $res2=$f->db->query($sql_consultation);
118      $f->isDatabaseError($res2);      $f->isDatabaseError($res2);
119      echo "<table  width='95%'>";      echo "<table  width='95%'>";
120      echo "<tr><td></td><td>"._("date_envoi")."</td><td>"._("avis").      echo "<tr><td></td><td><i>"._("date_envoi")."</i></td><td><i>"._("avis").
121      "</td><td>"._("date_limite")."</td><tr>";      "</i></td><td><i>"._("date_envoi")."</i></td><td><i>"._("date_limite")."</i></td><tr>";
122      while ($row2=& $res2->fetchRow(DB_FETCHMODE_ASSOC)){      while ($row2=& $res2->fetchRow(DB_FETCHMODE_ASSOC)){
123          echo "<tr><td><a class='liendossier' href='../pdf/pdfetat.php?obj=consultation&idx=".          echo "<tr><td><a class='liendossier' href='../pdf/pdfetat.php?obj=consultation&idx=".
124          $row2['consultation']."' ><span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span></a></td>";          $row2['consultation']."' ><span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition")."\">"._("Edition")."</span></a></td>";
125          echo "<td>".$row2['envoi']."</td><td>".          echo "<td>".$row2['envoi']."</td><td>".$row2['avis']."</td><td>".
126          $row2['retour']."</td><td>".$row2['limite']."</td><tr>";          $row2['retour']."</td><td>".$row2['limite']."</td><tr>";
127      }      }
128      echo "</table>";      echo "</table>";
# Line 136  while ($row=& $res->fetchRow(DB_FETCHMOD Line 135  while ($row=& $res->fetchRow(DB_FETCHMOD
135      $res3=$f->db->query($sql_terrain);      $res3=$f->db->query($sql_terrain);
136      $f->isDatabaseError($res3);      $f->isDatabaseError($res3);
137      echo "<table  width='95%'>";      echo "<table  width='95%'>";
138      echo "<tr><td>"._("parcelle")."</td><td>"._("proprietaire").      echo "<tr><td><i>"._("parcelle")."</i></td><td><i>"._("proprietaire").
139      "</td><td>"._("surface")."</td><tr>";      "</i></td><td><i>"._("surface")."</i></td><tr>";
140      while ($row3=& $res3->fetchRow(DB_FETCHMODE_ASSOC)){      while ($row3=& $res3->fetchRow(DB_FETCHMODE_ASSOC)){
141          echo "<tr><td><a class='liendossier' href='".$lien_sig.$row3['parcelle'].          echo "<tr><td><a class='liendossier' href='".$lien_sig.$row3['parcelle'].
142          "' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span> ".$row3['parcelle']."</td><td>".          "' target=_blank><span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("Sig")."\">"._("Sig")."</span> ".$row3['parcelle']."</td><td>".
# Line 153  while ($row=& $res->fetchRow(DB_FETCHMOD Line 152  while ($row=& $res->fetchRow(DB_FETCHMOD
152      $res4=$f->db->query($sql_destination_shon);      $res4=$f->db->query($sql_destination_shon);
153      $f->isDatabaseError($res4);      $f->isDatabaseError($res4);
154      echo "<table  width='95%'>";      echo "<table  width='95%'>";
155      echo "<tr><td>No</td><td>"._("destination")."</td><td>".      echo "<tr><td><i>No</i></td><td><i>"._("destination")."</i></td><td>".
156      _("shon")."</td><tr>";      _("shon")."</td>";
157        echo "<td><i>"._("shon_anterieure")."</i></td>";
158        echo "<td><i>"._("shon_demolie")."</i></td>";
159        echo "<td><i>"._("shon_anterieure_supprimee")."</i></td>";
160        echo "<td><i>"._("shon_nouvelle_transformee")."</i></td>";
161        echo "<td><i>"._("shon_nouvelle")."</i></td>";
162        echo "<td><i>"._("shon_shob_transformee")."</i></td>";
163        echo "</tr>";
164      while ($row4=& $res4->fetchRow(DB_FETCHMODE_ASSOC)){      while ($row4=& $res4->fetchRow(DB_FETCHMODE_ASSOC)){
165          echo "<tr><td>".$row4['no']."</td><td>".          echo "<tr><td>".$row4['no']."</td><td>".
166          $row4['libelle']."</td><td><b>".$row4['shon']." m2</b></td>";          $row4['libelle']."</td><td><b>".$row4['shon']." m2</b></td>";
167          echo "<td>".$row4['shon_anterieure']." m2</td>";          echo "<td>".$row4['shon_anterieure']." m2</td>";
168            echo "<td>".$row4['shon_demolie']." m2</td>";
169            echo "<td>".$row4['shon_anterieure_supprimee']." m2</td>";
170            echo "<td>".$row4['shon_nouvelle_transformee']." m2</td>";
171            echo "<td>".$row4['shon_nouvelle']." m2</td>";
172            echo "<td>".$row4['shon_shob_transformee']." m2</td>";
173          echo "<tr>";          echo "<tr>";
174      }      }
175      echo "</table>";      echo "</table>";
# Line 172  while ($row=& $res->fetchRow(DB_FETCHMOD Line 183  while ($row=& $res->fetchRow(DB_FETCHMOD
183      $res5=$f->db->query($sql_modificatif);      $res5=$f->db->query($sql_modificatif);
184      $f->isDatabaseError($res5);      $f->isDatabaseError($res5);
185      echo "<table  width='95%'>";      echo "<table  width='95%'>";
186      echo "<tr><td>"._("date_demande")."</td><td>"._("demandeur_nom")."</td><td>Etat</td><tr>";      echo "<tr><td><i>"._("date_demande")."</i></td><td><i>"._("demandeur_nom").
187                "</i></td><td><i>"._("Etat")."</i></td><tr>";
188      while ($row5=& $res5->fetchRow(DB_FETCHMODE_ASSOC)){      while ($row5=& $res5->fetchRow(DB_FETCHMODE_ASSOC)){
189          echo "<tr><td>";          echo "<tr><td>";
190          if($modificatif==0){          if($modificatif==0){
191              echo "<a class='liendossier' href='dossier.php?id=".              echo "<a class='liendossier' href='dossier.php?id=".
192              $row5['dossier']."&menu=".$menu."' ><img src='img/ico_exemplaire.png'> ".$row5['demande']."</a></td>";              $row5['dossier']."&menu=".$menu."' ><img src='img/ico_exemplaire.png'> ".$row5['demande']."</a></td>";
193                echo "<td>".$row5['demandeur_nom']."</td><td>".$row5['etat']."</td><tr>";
194          }else{          }else{
195              echo "".$row5['demande']."</td>";              echo "".$row5['demande']."</td>";
196              echo "<td>".$row5['demandeur_nom']."</td><td>".$row5['etat']."</td><tr>";              echo "<td>".$row5['demandeur_nom']."</td><td>".$row5['etat']."</td><tr>";
# Line 185  while ($row=& $res->fetchRow(DB_FETCHMOD Line 198  while ($row=& $res->fetchRow(DB_FETCHMOD
198      }      }
199      echo "</table>";      echo "</table>";
200      echo "</fieldset>";      echo "</fieldset>";
201    
202        // statistique
203        echo "<fieldset class=\"cadre ui-corner-all ui-widget-content startClosed\">\n";
204        echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
205        echo _("Statistique")." "."</legend>";
206        $res6=$f->db->query($sql_statistique);
207        $f->isDatabaseError($res6);
208        echo "<table  width='95%'>";
209        echo "<tr><td><i>"._("statistique")."</i></td><td><i>".
210            _("parametre")."</i></td><td><i>"._("valeur")."</i></td><tr>";
211        while ($row6=& $res6->fetchRow(DB_FETCHMODE_ASSOC)){
212            echo "<tr><td>";
213            echo $row6['statistique']."</td><td>".$row6['parametre']."</td>";
214            echo "<td>".$row6['valeur']."</td>";
215            echo "<tr>";
216        }
217        echo "</table>";
218        echo "</fieldset>";
219  } // while dossier  } // while dossier
220  if($menu==0){  if($menu==0){
221    if($modificatif==0){      if($modificatif==0){  

Legend:
Removed from v.196  
changed lines
  Added in v.197

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26