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

Annotation of /trunk/sql/pgsql/evenement.pdf.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 489 - (hide annotations)
Thu Oct 11 08:27:21 2012 UTC (12 years, 3 months ago) by vpihour
File size: 3394 byte(s)
Modification du fichier v3.2.0-dev.sql
Nouveaux fichiers generes suite a la modification de la base de donnees et correction des personnalisations

1 fraynaud 3 <?php
2     $DEBUG=0;
3     // ------------------------document---------------------------------------------
4     $orientation="L";// orientation P-> portrait L->paysage
5     $format="A4";// format A3 A4 A5
6     $police='arial';
7     $margeleft=10;// marge gauche
8     $margetop=5;// marge haut
9     $margeright=5;// marge droite
10     $border=1; // 1 -> bordure 0 -> pas de bordure
11     $C1="0";// couleur texte R
12     $C2="0";// couleur texte V
13     $C3="0";// couleur texte B
14     //-------------------------LIGNE tableau----------------------------------------
15     $size=9; //taille POLICE
16     $height=4; // -> hauteur ligne tableau
17     $align='L';
18     $fond=1;// 0- > FOND transparent 1 -> fond
19     $C1fond1="241";// couleur fond R
20     $C2fond1="241";// couleur fond V
21     $C3fond1="241";// couleur fond B
22     $C1fond2="255";// couleur fond R
23     $C2fond2="255";// couleur fond V
24     $C3fond2="255";// couleur fond B
25     //-------------------------- titre----------------------------------------------
26     $libtitre="Liste des evenements "; // libelle titre
27     $flagsessionliste=1;// 1 - > affichage session liste ou 0 -> pas d'affichage
28     $bordertitre=0; // 1 -> bordure 0 -> pas de bordure
29     $aligntitre='L'; // L,C,R
30     $heightitre=10;// hauteur ligne titre
31     $grastitre="";//$gras="B" -> BOLD OU $gras=""
32     $fondtitre=0; //0- > FOND transparent 1 -> fond
33     $C1titrefond="181";// couleur fond R
34     $C2titrefond="182";// couleur fond V
35     $C3titrefond="188";// couleur fond B
36     $C1titre="75";// couleur texte R
37     $C2titre="79";// couleur texte V
38     $C3titre="81";// couleur texte B
39     $sizetitre="12";
40     //--------------------------libelle entete colonnes-----------------------------
41     $flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
42     $fondentete=1;// 0- > FOND transparent 1 -> fond
43     $heightentete=10;//hauteur ligne entete colonne
44     $C1fondentete="210";// couleur fond R
45     $C2fondentete="216";// couleur fond V
46     $C3fondentete="249";// couleur fond B
47     $C1entetetxt="0";// couleur texte R
48     $C2entetetxt="0";// couleur texte V
49     $C3entetetxt="0";// couleur texte B
50 vpihour 489 //------ Borderentete colonne $be0 � $be.. ( $be OBLIGATOIRE )
51 fraynaud 3 $be0="L";
52     $be1="L";
53     $be2="L";
54     $be3="LR";
55     // ------ couleur border--------------------------------------------------------
56     $C1border="159";// couleur texte R
57     $C2border="160";// couleur texte V
58     $C3border="167";// couleur texte B
59 vpihour 489 //------ Border cellule colonne $b0 � $b.. ( $b OBLIGATOIRE )
60 fraynaud 3 $b0="L";
61     $b1="L";
62     $b2="L";
63     $b3="LR";
64 vpihour 489 //------ ALIGNEMENT entete colonne $ae0 � $ae.. ( $ae OBLIGATOIRE )
65 fraynaud 3 $ae0="L";
66     $ae1="L";
67     $ae2="L";
68     $ae3="L";
69 vpihour 489 //------ largeur de chaque colonne $l0 � $l.. ( $l OBLIGATOIRE )---------------
70 fraynaud 3 $l0=120;
71     $l1=50;
72     $l2=100;
73     $l3=10;
74 vpihour 489 $widthtableau=280;// -> ajouter $l0 � $lxx
75 fraynaud 3 $bt=1;// border 1ere et derniere ligne dutableau par page->0 ou 1
76 vpihour 489 //------ ALIGNEMENT de chaque colonne $l0 � $a.. ( $a OBLIGATOIRE )------------
77 fraynaud 3 $a0="L";
78     $a1="L";
79     $a2="L";
80     $a3="L";
81     //--------------------------SQL-------------------------------------------------
82     //$sql="SELECT (code||' '|| cp || ' '|| ville) as code,libelle_voie from voie order by libelle_voie";
83 vpihour 489 $sql="SELECT concat(evenement,'-',evenement.libelle) as evenement,lettretype,concat(etat,' - ',action,' - ',avis_decision.libelle) as etat_action_avis, nature as NT from ".DB_PREFIXE."evenement left join ".DB_PREFIXE."avis_decision on evenement.avis_decision=avis_decision.avis_decision order by evenement.libelle";
84 fraynaud 3 //------------------------------------------------------------------------------
85     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26