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

Diff of /trunk/sql/pgsql/bible.pdf.inc.php

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

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

Legend:
Removed from v.7  
changed lines
  Added in v.8

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26