[opendebitdeboisson-commits] r361 - in branches: . 1.x 1.x/app 1.x/app/css 1.x/app/img 1.x/app/js 1.x/sql 1.x/sql/pgsql 1.x/tmp 1.x/trs

0 views
Skip to first unread message

fray...@adullact.net

unread,
Apr 25, 2019, 5:39:15 AM4/25/19
to openmairie-ope...@googlegroups.com
Author: fraynaud
Date: 2019-04-25 11:39:11 +0200 (Thu, 25 Apr 2019)
New Revision: 361

Added:
branches/1.x/
branches/1.x/EXTERNALS.txt
branches/1.x/HISTORY.txt
branches/1.x/INSTALL.txt
branches/1.x/LICENSE.txt
branches/1.x/README.txt
branches/1.x/TODO.txt
branches/1.x/app/
branches/1.x/app/README.txt
branches/1.x/app/css/
branches/1.x/app/css/app.css
branches/1.x/app/css/index.php
branches/1.x/app/etablissement.php
branches/1.x/app/img/
branches/1.x/app/img/adresse_postale.png
branches/1.x/app/img/bleu.png
branches/1.x/app/img/bleu_point.png
branches/1.x/app/img/collectivite-16x16.png
branches/1.x/app/img/droit-16x16.png
branches/1.x/app/img/edition-20x20.png
branches/1.x/app/img/generator-16x16.png
branches/1.x/app/img/ico_admin.png
branches/1.x/app/img/ico_appli.png
branches/1.x/app/img/ico_stats.png
branches/1.x/app/img/import-16x16.png
branches/1.x/app/img/index.php
branches/1.x/app/img/info.png
branches/1.x/app/img/logo.png
branches/1.x/app/img/logo_old.png
branches/1.x/app/img/logout-16x16.png
branches/1.x/app/img/new.png
branches/1.x/app/img/new_hover.png
branches/1.x/app/img/parametrage-20x20.png
branches/1.x/app/img/password-16x16.png
branches/1.x/app/img/pdf-16x16.png
branches/1.x/app/img/profil-16x16.png
branches/1.x/app/img/punaise.png
branches/1.x/app/img/punaise_hover.png
branches/1.x/app/img/punaise_point.png
branches/1.x/app/img/punaise_point_hover.png
branches/1.x/app/img/reqmo-16x16.png
branches/1.x/app/img/rouge.png
branches/1.x/app/img/traitement-20x20.png
branches/1.x/app/img/utilisateur-16x16.png
branches/1.x/app/index.php
branches/1.x/app/js/
branches/1.x/app/js/index.php
branches/1.x/app/js/script.js
branches/1.x/app/perimetre.php
branches/1.x/app/sig_json_ep.php
branches/1.x/app/tab_sig_ep.php
branches/1.x/index.php
branches/1.x/sql/
branches/1.x/sql/index.php
branches/1.x/sql/pgsql/
branches/1.x/sql/pgsql/courrier.form.inc
branches/1.x/sql/pgsql/courrier.import.inc
branches/1.x/sql/pgsql/courrier.inc
branches/1.x/sql/pgsql/courrier.pdf.inc
branches/1.x/sql/pgsql/courrier.reqmo.inc
branches/1.x/sql/pgsql/courrier_etablissement.reqmo.inc
branches/1.x/sql/pgsql/demande_licence.form.inc
branches/1.x/sql/pgsql/demande_licence.import.inc
branches/1.x/sql/pgsql/demande_licence.inc
branches/1.x/sql/pgsql/demande_licence.pdf.inc
branches/1.x/sql/pgsql/demande_licence.reqmo.inc
branches/1.x/sql/pgsql/demande_licence_etablissement.reqmo.inc
branches/1.x/sql/pgsql/demande_licence_temporaire.inc
branches/1.x/sql/pgsql/demande_licence_terme.reqmo.inc
branches/1.x/sql/pgsql/demande_licence_type_demande.reqmo.inc
branches/1.x/sql/pgsql/demande_licence_type_licence.reqmo.inc
branches/1.x/sql/pgsql/dossier.form.inc
branches/1.x/sql/pgsql/dossier.import.inc
branches/1.x/sql/pgsql/dossier.inc
branches/1.x/sql/pgsql/dossier.pdf.inc
branches/1.x/sql/pgsql/dossier.reqmo.inc
branches/1.x/sql/pgsql/dossier_etablissement.reqmo.inc
branches/1.x/sql/pgsql/etablissement.form.inc
branches/1.x/sql/pgsql/etablissement.import.inc
branches/1.x/sql/pgsql/etablissement.inc
branches/1.x/sql/pgsql/etablissement.pdf.inc
branches/1.x/sql/pgsql/etablissement.reqmo.inc
branches/1.x/sql/pgsql/etablissement_exploitant.reqmo.inc
branches/1.x/sql/pgsql/etablissement_temporaire.inc
branches/1.x/sql/pgsql/exploitant.form.inc
branches/1.x/sql/pgsql/exploitant.import.inc
branches/1.x/sql/pgsql/exploitant.inc
branches/1.x/sql/pgsql/exploitant.pdf.inc
branches/1.x/sql/pgsql/exploitant.reqmo.inc
branches/1.x/sql/pgsql/index.php
branches/1.x/sql/pgsql/om_collectivite.form.inc
branches/1.x/sql/pgsql/om_collectivite.import.inc
branches/1.x/sql/pgsql/om_collectivite.inc
branches/1.x/sql/pgsql/om_collectivite.pdf.inc
branches/1.x/sql/pgsql/om_collectivite.reqmo.inc
branches/1.x/sql/pgsql/om_droit.form.inc
branches/1.x/sql/pgsql/om_droit.import.inc
branches/1.x/sql/pgsql/om_droit.inc
branches/1.x/sql/pgsql/om_droit.reqmo.inc
branches/1.x/sql/pgsql/om_etat.form.inc
branches/1.x/sql/pgsql/om_etat.inc
branches/1.x/sql/pgsql/om_lettretype.form.inc
branches/1.x/sql/pgsql/om_lettretype.import.inc
branches/1.x/sql/pgsql/om_lettretype.inc
branches/1.x/sql/pgsql/om_parametre.form.inc
branches/1.x/sql/pgsql/om_parametre.import.inc
branches/1.x/sql/pgsql/om_parametre.inc
branches/1.x/sql/pgsql/om_parametre.pdf.inc
branches/1.x/sql/pgsql/om_parametre.reqmo.inc
branches/1.x/sql/pgsql/om_parametre_om_collectivite.reqmo.inc
branches/1.x/sql/pgsql/om_profil.form.inc
branches/1.x/sql/pgsql/om_profil.import.inc
branches/1.x/sql/pgsql/om_profil.inc
branches/1.x/sql/pgsql/om_profil.reqmo.inc
branches/1.x/sql/pgsql/om_sig_point.form.inc
branches/1.x/sql/pgsql/om_sig_point.inc
branches/1.x/sql/pgsql/om_sousetat.form.inc
branches/1.x/sql/pgsql/om_sousetat.inc
branches/1.x/sql/pgsql/om_tdb.form.inc
branches/1.x/sql/pgsql/om_tdb.import.inc
branches/1.x/sql/pgsql/om_tdb.inc
branches/1.x/sql/pgsql/om_tdb.pdf.inc
branches/1.x/sql/pgsql/om_tdb.reqmo.inc
branches/1.x/sql/pgsql/om_tdb_om_widget.reqmo.inc
branches/1.x/sql/pgsql/om_utilisateur.form.inc
branches/1.x/sql/pgsql/om_utilisateur.import.inc
branches/1.x/sql/pgsql/om_utilisateur.inc
branches/1.x/sql/pgsql/om_utilisateur.reqmo.inc
branches/1.x/sql/pgsql/om_widget.form.inc
branches/1.x/sql/pgsql/om_widget.import.inc
branches/1.x/sql/pgsql/om_widget.inc
branches/1.x/sql/pgsql/om_widget.pdf.inc
branches/1.x/sql/pgsql/om_widget.reqmo.inc
branches/1.x/sql/pgsql/om_widget_om_collectivite.reqmo.inc
branches/1.x/sql/pgsql/om_widget_om_profil.reqmo.inc
branches/1.x/sql/pgsql/perimetre.form.inc
branches/1.x/sql/pgsql/perimetre.import.inc
branches/1.x/sql/pgsql/perimetre.inc
branches/1.x/sql/pgsql/perimetre.pdf.inc
branches/1.x/sql/pgsql/perimetre.reqmo.inc
branches/1.x/sql/pgsql/stat_licence_type.reqmo.inc
branches/1.x/sql/pgsql/stat_licence_type_fixe.reqmo.inc
branches/1.x/sql/pgsql/terme.form.inc
branches/1.x/sql/pgsql/terme.import.inc
branches/1.x/sql/pgsql/terme.inc
branches/1.x/sql/pgsql/terme.pdf.inc
branches/1.x/sql/pgsql/terme.reqmo.inc
branches/1.x/sql/pgsql/type_demande.form.inc
branches/1.x/sql/pgsql/type_demande.import.inc
branches/1.x/sql/pgsql/type_demande.inc
branches/1.x/sql/pgsql/type_demande.pdf.inc
branches/1.x/sql/pgsql/type_demande.reqmo.inc
branches/1.x/sql/pgsql/type_licence.form.inc
branches/1.x/sql/pgsql/type_licence.import.inc
branches/1.x/sql/pgsql/type_licence.inc
branches/1.x/sql/pgsql/type_licence.pdf.inc
branches/1.x/sql/pgsql/type_licence.reqmo.inc
branches/1.x/tmp/
branches/1.x/tmp/export_demande_licence.csv
branches/1.x/tmp/export_stat_licence_type.csv
branches/1.x/tmp/export_stat_licence_type_fixe.csv
branches/1.x/tmp/index.php
branches/1.x/trs/
branches/1.x/trs/1/
branches/1.x/trs/index.php
Log:
initial


Added: branches/1.x/EXTERNALS.txt
===================================================================
--- branches/1.x/EXTERNALS.txt (rev 0)
+++ branches/1.x/EXTERNALS.txt 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,15 @@
+#
+# created by: svn propset svn:externals -F ./EXTERNALS.txt .
+#
+# framework openmairie_exemple
+#
+
+css svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/css/
+js svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/js/
+img svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/img/
+pdf svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/pdf/
+scr svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/scr/
+spg svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/spg/
+php svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/php/
+lib svn://scm.adullact.net/svnroot/openmairie/openmairie_exemple/tags/4.1.0/lib/
+om-theme svn://scm.adullact.net/svnroot/openmairie/externals/om-theme/cajam/tags/1.0.0
\ No newline at end of file

Added: branches/1.x/HISTORY.txt
===================================================================
--- branches/1.x/HISTORY.txt (rev 0)
+++ branches/1.x/HISTORY.txt 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,90 @@
+openMairie Exemple - Historique des versions
+============================================
+
+1.1.0 [04/01/2013] ==============================================================
+
+(+) statistiques:
+ -stat_licence-type.reqmo.inc (nombre licence par type avec choix terme)
+ -stat_licence-type_fixe.reqmo.inc (nombre licence par type terme permanent)
+(+) app/tab_sig_ep.php (à partir de scr/tab_sig.php -> ajout parametre type,modif lien vers nouveau fichier json,
+ ajout fonction zoomzoom,ajout layer zone pour afficher les perimetres)
+(+) app/sig_json_ep.php
+(mo) ajout DB_PREFIXE devant table
+ obj/demande_licence.class.php,dossier.class.php,
+ demande_licence_temporaire.class.php,etablissement.class.php,
+
+ app/etablissement.php,perimetre.php
+ data/pgsql/init_metier_data.inc (pour table om_sig_point)
+(-) data/pgsql/init_schema.sql
+(+) data/pgsql/init_metier_vue.sql -> ajout vue
+(mo) data/pgsql/init.sql -> ajout schema
+ data/pgsql/init_metier.sql -> mo adresse postale et ajout table rivoli
+ data/pgsql/init_metier_data.sql -> ajout enregistrement dans adresse_postale et rivoli
+ data/pgsql/init_metier_sig.sql -> ajout colonne geom dans adresse postale
+(supp) data/pgsql/init-sig_data.sql et int_test.sql
+
+(mo)obj/etablissement.class -> supp function et appel a dynmap_svg
+(mo)remplacement sig/var_point.inc -> dyn/var_point.inc (perimetre.class.php)
+(mo)ajout icone adresse_postale(obj etablissement.class.php)
+(mo) externals sur version tags 4.1.0
+ supp repertoire lib et php
+(mo) app/css/app.css (ajout icones dans menu)
+(mo) lien sig -> scr/tab_sig :
+ -sql/pgsql/etablissement.inc
+ -sql/pgsql/perimetre.inc
+
+1.0.0 version operationnelle ===================================================
+
+version mis en oeuvre à la mairie d arles
+
+[12/07/2011]
+edition document RECEPISSE DE DECLARATION
+ (+) table etablissement : ajout champs permis_exploitation_nuit,
+ date_permis_exploitation_nuit,profession proprietaire
+ -> (mo)data/pgsql/init_metier.sql
+ -> (mo)obj/etablissement.class.php
+ -> (mo)obj/etablissement_temporaire.class.php (ces champs en hidden)
+ -> (mo)sql/pgsql/etablissement.form.inc
+ -> (+)trs/1/logoRF.png
+
+[14/06/2011]
+etablissement.class.php : regroupe cp et ville
+etablissement_temporaire.class.php : regroupe cp et ville
+
+[26/05/2011] mise en place opérationnelle
+
+(+) parametrage de la cle google
+sig/tab_sig_point.php
+sig/var_sig_point.inc
+
+a voir *_db ... mise en parametre de la clé
+
+(bug) obj/perimetre.class.php CORRIGE
+test google ne fct pas
+
+(bug) reprise init_test.sql et initmetier.sql -> les sequences CORRIGE
+
+(bug) dossier.class.php CORRIGE longueur max observation 5->200
+
+(+) scr/etablissement.php mettre les dossiers
+
+(bug) -> gestion du dossier MAJ sans changer le fichier
+-> detruit le fichier et envoie un message d erreur
+
+(bug) om_sig_point -> pb de l enregistrement 2 qui ne peut pas etre modifie
+
+(bug) courrier.pdf.inc , exploitant, typeèlicence
+pb d encodage sur pdf/pdf.php
+
+(bug) pb de requete pdf et reqmo
+dossier erreur sql
+perimetre err sql
+perimetre_etablissement
+
+(bug) etablissement.inc
+ou est l'etablissement 6 'celui qui n a pas de rue
+
+
+
+1.0.0beta version initiale ======================================================
+publié le 24/05/2011

Added: branches/1.x/INSTALL.txt
===================================================================
--- branches/1.x/INSTALL.txt (rev 0)
+++ branches/1.x/INSTALL.txt 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,25 @@
+openMairie Exemple - Installation
+=================================
+
+=========================================
+Toute la documentation d'openMairie sur:
+http://www.openmairie.org
+=========================================
+
+pré requis : [Requiring version:] : voir README.TXT
+
+Installer le package openmairie_exemple dans le repertoire www d'apache
+creer la base de donnees sous mysql openexemple (par defaut)
+ ou sur postgresql
+executer les scripts dans data/mysql/ ou data/pgsql
+ init.sql (framework openmairie)
+
+Si vous utiliser un schema "openmairie" sous postgre :
+ data/pgsql/initschema.sql
+
+lancement dans votre navigateur :
+http://localhost/openmairie_exemple/
+
+mot de passe demo/demo
+
+parametrage du framework openMairie: voir README.TXT
\ No newline at end of file

Added: branches/1.x/LICENSE.txt
===================================================================
--- branches/1.x/LICENSE.txt (rev 0)
+++ branches/1.x/LICENSE.txt 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+openMairie debit de boisson - Licence
+======================================
+
+
+
+Ce programme est un logiciel libre : vous pouvez le redistribuer et/ou le
+modifier au titre des clauses de la Licence Publique Générale GNU, telle que
+publiée par la Free Software Foundation, soit la version 3 de la Licence, ou
+(à votre discrétion) une version ultérieure quelconque.
+
+Ce programme est distribué dans l'espoir qu'il sera utile, mais SANS AUCUNE
+GARANTIE ; sans même une garantie implicite de COMMERCIABILITE ou DE CONFORMITE
+A UNE UTILISATION PARTICULIERE. Voir la Licence Publique Générale GNU pour plus
+de détails.
+
+Vous devriez avoir reçu un exemplaire de la Licence Publique Générale GNU avec
+ce programme ; si ce n'est pas le cas, consultez <http://www.gnu.org/licenses/>
+ou écrivez à la Free Software Foundation Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.
\ No newline at end of file

Added: branches/1.x/README.txt
===================================================================
--- branches/1.x/README.txt (rev 0)
+++ branches/1.x/README.txt 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,164 @@
+openDebitBoisson
+================
+
+[authors]===================================
+Cyril SAHUC <saik...@hotmail.fr>
+Francois RAYNAUD <f.ra...@ville-arles.fr>
+============================================
+
+
+FRAMEWORK openMairie 4.0.0
+
+_____________________________________________________________________________
+Pre requis :
+============
+Vous devez avoir installer:
+- un serveur apache et php
+- une base de donnees : mysql ou postgresql
+-----------------------------------------------------------------------------
+Prerequisite :
+============
+You must have the following services installed :
+- Apache server with php extension
+- database server : mysql or postgresql
+_____________________________________________________________________________
+En fait, reportez vous aux installations de :
+- sous windows : wamp (http://www.wampserver.com/)
+ ou easyphp(http://easyphp.fr/)
+- sous linux : lamp
+
+Si vous utilisez postgre sql, voir install sur le site :
+http://www.postgresqlfr.org/
+
+Si vous debutez, il est plus simple de garder mysql qui est packagee avec
+easyphp ou wamp.
+-----------------------------------------------------------------------------
+you should report to the installations of :
+- for windows : wamp (http://www.wampserver.com/)
+ or easyphp(http://easyphp.fr/)
+- for Linux : lamp
+
+In case you use postgresql, you also have to install postgresql
+(http://www.postgresqlfr.org/)
+
+If you're new to all that, it'd be easier to keep mysql that comes
+included in the easyphp or wamp package.
+_____________________________________________________________________________
+* Installation de openmairie_xxx -> voir INSTALL.TXT
+ copier le repertoire openmairie_xxx sur votre serveur
+ wamp/www/openmairie_xxx
+ sous linux (debian) : var/www/openmairie_xxx
+-----------------------------------------------------------------------------
+Install openmairie_xxx -> see INSTALL.TXT
+ copy the openmairie_xxx folder on your server
+ wamp/www/openmairie_xxx
+ for Linux (Debian) : var/www/openmairie_xxx
+___________________________________________________________________________
+* Initialisation de la base en MySQL ou Postgresql
+ creer la base openxxx sur mysql
+ Ensuite, il faut creer les tables de la base de donnees
+ puis executer les scripts SQL suivants :
+ - en mysql :
+ data/mysql/init.sql
+ - en pgsql
+ data/pgsql/init.sql
+----------------------------------------------------------------------------
+ Initialize the MySQL or postgresql database
+ create the openxxx database on mysql or pgsql
+ Then, you have to create the database tables
+ then execute the following SQL scripts :
+ - for mysql :
+ openmairie_recensement/data/mysql/init.sql
+ - for pgsql
+ openmairie_recensement/data/pgsql/init.sql
+____________________________________________________________________________
+* parametrer la connexion dans /dyn/database.inc.php
+
+parametrage par defaut :
+conn[1] est un tableau php qui contient les parametres de connexion suivants
+ 'titre => 'openxxx (mysql ou pgsql)',[parametrage openmairie]
+ 'phptype' => 'mysql', ou 'pgsql' [ne pas changer parametrage dbpear]
+ 'dbsyntax' => '',[ne pas changer parametrage dbpear]
+ 'username' => 'root', [par defaut sur wamp easyphp ou lamp /
+ a voir avec le fournisseur d acces le cas echeant]
+ 'password' => '' [par defaut sur wamp easyphp ou lamp /
+ a voir avec le fournisseur d acces le cas echeant]
+ 'protocol' => '',
+ 'hostspec' => 'localhost', [nom de serveur par defaut wamp ou easyphp]
+ 'port' => '', [ne pas changer parametrage dbpear]
+ 'socket' => '', [ne pas changer parametrage dbpear]
+ nom de la base => 'openxxx', [parametrage openmairie]
+ format date par defaut =>'AAAA-MM-JJ' [[parametrage openmairie ne pas changer]
+ shema => '' ou 'public' pour postgre
+ prefixe => ''
+----------------------------------------------------------------------------------
+setting up the connection in /dyn/database.inc.php
+
+default settings :
+conn[1] is a php array containing the following connection settings
+ 'titre => 'openxxx ',[openmairie setting]
+ 'phptype' => 'mysql', or 'pgsql' [do not change dbpear setting]
+ 'dbsyntax' => '',[do not change dbpear setting]
+ 'username' => 'root', [default setting on wamp easyphp or lamp /
+ see with provider if needed]
+ 'password' => '' [default setting on wamp easyphp or lamp /
+ see with provider if needed]
+ 'protocol' => '',
+ 'hostspec' => 'localhost', [default server name for wamp or easyphp]
+ 'port' => '', [do not change dbpear setting]
+ 'socket' => '', [do not change dbpear setting]
+ 'dbname' => 'openxxx', [openmairie setting]
+ 'default date format' =>'AAAA-MM-JJ' [do not change openmairie setting]
+ 'shema' => '' ou 'public' for postgre
+ 'prefixe' => ''
+_________________________________________________________________________________
+ATTENTION :
+Ne pas oublier de faire une sauvegarde du repertoire /trs ou sont stockees toutes
+les donnees numerisees (photos, arretes, autorisation ...)
+
+Sous linux mettre les droits d ecriture
+Mise en place du logo
+----------------------------------------------------------------------------------
+BE CAREFUL :
+Do not forget to backup the folder /trs where are stored all the digital datas
+(photos, pdf...)
+
+On Linux, you have to set the "write" permissions (see 2.5)
+Setting up the logo
+__________________________________________________________________________________
+* LOGIN PASSWORD [table om_utilisateur]
+demo/demo
+admin/admin
+______________________________________________________________________________
+* Parametage [setting] : /dyn
+ dyn/var.inc
+ dyn/config.inc.php
+ activer descastiver le mode demo
+ [activate /desactivate]
+ path des librairies utilisees [path libraries]
+ theme jquery
+________________________________________________________________________
+* Libraries : javascript (js), php, sql, translation
+
+ - js
+ externals : lib/ (jquery,tinymce,openlayer ...)
+ internals : js/
+
+ - php
+ externals: php/ (openMairie, pear, fpdf)
+ internals: scr/ (screen / ecrans)
+ spg/ (sous progr generique : combo, upload, localization, rvb ...)
+ trt/ (treatment)
+ gen/ (generator)
+ obj/ objet métier
+
+ - sql data/ ... initialization
+ sql/ ...
+
+ translation : /locales
+
+[documentation] =======================
+toute la documentation sur :
+[All the documentation] on:
+http://www.openmairie.org
+=======================================

Added: branches/1.x/TODO.txt
===================================================================
--- branches/1.x/TODO.txt (rev 0)
+++ branches/1.x/TODO.txt 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+openMairie debit de boisson - Todo
+==================================
+
+7 octobre 2011
+ajout sous etat parametre dans init.sql
+mise a niveau init et init_metier.sql
+
+test du 19/09/2011
+
+- manque sous etat parametre : init.sql
\ No newline at end of file

Added: branches/1.x/app/README.txt
===================================================================
Added: branches/1.x/app/css/app.css
===================================================================
--- branches/1.x/app/css/app.css (rev 0)
+++ branches/1.x/app/css/app.css 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,23 @@
+/* Gestion du logo */
+#logo span.logo { width: 250px; height: 36px; background-image: url("../img/logo.png"); background-repeat: no-repeat; display: block; text-indent: -9999px; }
+/* Rubriks */
+.edition-20 { margin-left:25px; background-image: url('../img/edition-20x20.png'); background-repeat: no-repeat;}
+.parametrage-20 { margin-left:25px; background-image: url('../img/parametrage-20x20.png'); background-repeat: no-repeat; }
+.traitement-20 { margin-left:25px; background-image: url('../img/traitement-20x20.png'); background-repeat: no-repeat; }
+.administration-20 { margin-left:25px; background-image: url('../img/ico_admin.png'); background-repeat: no-repeat; }
+.application-20 { margin-left:25px; background-image: url('../img/ico_appli.png'); background-repeat: no-repeat;}
+.stat-20 { margin-left:25px; background-image: url('../img/ico_stats.png'); background-repeat: no-repeat;}
+/* Items */
+.profil-16 { background-image: url('../img/profil-16x16.png'); background-repeat: no-repeat; }
+.droit-16 { background-image: url('../img/droit-16x16.png'); background-repeat: no-repeat; }
+.utilisateur-16 { background-image: url('../img/utilisateur-16x16.png'); background-repeat: no-repeat; }
+.etat-16 { background-image: url('../img/pdf-16x16.png'); background-repeat: no-repeat; }
+.sousetat-16 { background-image: url('../img/pdf-16x16.png'); background-repeat: no-repeat; }
+.lettretype-16 { background-image: url('../img/pdf-16x16.png'); background-repeat: no-repeat; }
+.collectivite-16 { background-image: url('../img/collectivite-16x16.png'); background-repeat: no-repeat; }
+.reqmo-16 { background-image: url('../img/reqmo-16x16.png'); background-repeat: no-repeat; }
+.edition-16 { background-image: url('../img/pdf-16x16.png'); background-repeat: no-repeat; }
+.generator-16 { background-image: url('../img/generator-16x16.png'); background-repeat: no-repeat; }
+.backup-16 { background-image: url('../img/backup-16x16.png'); background-repeat: no-repeat; }
+.import-16 { background-image: url('../img/import-16x16.png'); background-repeat: no-repeat; }
+.pdf-16-b { background-image: url('../img/pdf-16x16.png'); background-repeat: no-repeat; }

Added: branches/1.x/app/css/index.php
===================================================================
--- branches/1.x/app/css/index.php (rev 0)
+++ branches/1.x/app/css/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id$
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>

Added: branches/1.x/app/etablissement.php
===================================================================
--- branches/1.x/app/etablissement.php (rev 0)
+++ branches/1.x/app/etablissement.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,150 @@
+<?php
+/*
+ * Created on 5 oct. 2009
+$Id: courrier.php,v 1.1 2009-10-06 15:40:54 fraynaud Exp $
+*/
+require_once "../obj/utils.class.php";
+$existe=0;
+if(isset($_GET['idx']))
+ $idx=$_GET['idx'];
+else
+ $idx="";
+$f = new utils('nohtml', "etablissement", _("recherche"), "ico_recherche.png", "recherche");
+
+$f->setFlag("htmlonly");
+$f->display();
+$description = _("Cette page vous permet de retrouver les informations relatives a un etablissement ");
+$f->displayDescription($description);
+$sql= "select * from ".DB_PREFIXE."etablissement where etablissement =".$idx;
+$res=$f->db->query($sql);
+$f->isDatabaseError($res);
+while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){// courrier
+ $existe=1;
+ echo "<fieldset class=\"cadre ui-corner-all ui-widget-content\">\n";
+ echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
+ echo _("etablissement")."</legend>";
+ echo "<b>"._("etablissement")." no ".$row['etablissement']
+ ."<br></b>Enseigne : ".$row['enseigne']
+ ."<br></b>Raison social : ".$row['raison_sociale']
+ ."<br></b>Proprietaire : ".$row['civilite_proprietaire']." ".$row['nom_proprietaire']." ".$row["prenom_proprietaire"]
+ ."<br></b>Exploitant : ".$row['civilite_exploitant']." ".$row['nom_exploitant']." ".$row["prenom_exploitant"];
+ echo "<br></fieldset>";
+ // tache
+ $sql_suivi= "select to_char(date_debut_validite ,'DD/MM/YYYY') as date_deb,
+ to_char(date_debut_validite ,'DD/MM/YYYY') as date_fin,
+ terme, type_licence, demande_licence, etablissement
+ from ".DB_PREFIXE."demande_licence where etablissement=".$idx;
+
+ $res1=$f->db->query($sql_suivi);
+ $f->isDatabaseError($res1);
+
+ echo "<fieldset class=\"cadre ui-corner-all ui-widget-content\">\n";
+ echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
+ echo _("demande_licence")."</legend>";
+ echo "<table width='100%'>";
+ echo "<tr class=\"ui-tabs-nav ui-accordion ui-state-default tab-title\">";
+
+
+ echo "<td align=\"center\">"._("Type de Licence")."</td>";
+ echo "<td align=\"center\">"._("Date de Fin")."</td>";
+ echo "<td align=\"center\">"._("Date de Debut")."</td>";
+ echo "<td align=\"center\">"._("Terme")."</td>";
+ echo "</tr>";
+ while ($row1=& $res1->fetchRow(DB_FETCHMODE_ASSOC)){
+ echo "<tr>";
+
+ if($row1['type_licence']!=null){
+ $sql= "select * from ".DB_PREFIXE."type_licence where type_licence=".$row1['type_licence'];
+ $res2=$f->db->query($sql);
+ $row2=& $res2->fetchRow(DB_FETCHMODE_ASSOC);}
+ else $row2['libelle'] = '';
+ echo "<td align=\"center\">".$row2['libelle']."</td>";
+
+
+ echo "<td align=\"center\">".$row1['date_deb']."</td>";
+ echo "<td align=\"center\">".$row1['date_fin']."</td>";
+
+ if($row1['terme']!=null){
+ $sql= "select * from ".DB_PREFIXE."terme where terme=".$row1['terme'];
+ $res2=$f->db->query($sql);
+ $row2=& $res2->fetchRow(DB_FETCHMODE_ASSOC);}
+ else $row2['libelle'] = '';
+ echo "<td align=\"center\">".$row2['libelle']."</td>";
+
+ echo "<td align=\"center\"><a href=\"../pdf/pdfetat.php?obj=recepisse&amp;idx=".$row1['demande_licence']."\"><img src=\"../img/pdf-16x16.png\" alt=\""
+ ._("Edition Recepisse")."\" title=\""._("Edition Recepisse")."\" /></a></td>";
+ echo "<td align=\"center\"><a href=\"../pdf/pdfetat.php?obj=temporaire&amp;idx=".$row1['demande_licence']."\"><img src=\"../img/pdf-16x16.png\" alt=\""
+ ._("Edition Recepisse")."\" title=\""._("Edition Temporaire")."\" /></a></td>";
+
+ echo "</tr>";
+ }
+ echo "\t\t\t</table>\n";
+ echo "</fieldset>";
+
+
+ $sql_suivi= "select * from ".DB_PREFIXE."courrier where etablissement=".$idx;
+
+ $res1=$f->db->query($sql_suivi);
+ $f->isDatabaseError($res1);
+ echo "<fieldset class=\"cadre ui-corner-all ui-widget-content\">\n";
+ echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
+ echo _("Courrier")."</legend>";
+ echo "<table width='100%'>";
+ echo "<tr class=\"ui-tabs-nav ui-accordion ui-state-default tab-title\">";
+
+
+ echo "<td align=\"center\">"._("courrier")."</td>";
+ echo "<td align=\"center\">"._("type courrier")."</td>";
+ echo "</tr>";
+ while ($row1=& $res1->fetchRow(DB_FETCHMODE_ASSOC)){
+ echo "<tr>";
+
+ echo "<td align=\"center\">".$row1['courrier']."</td>";
+ echo "<td align=\"center\">".$row1['type_courrier']."</td>";
+ echo "<td align=\"center\"><a href=\"../pdf/pdfetat.php?obj=courrier&amp;idx=".$row1['courrier']."\"><img src=\"../img/pdf-16x16.png\" alt=\""
+ ._("Edition Courrier")."\" title=\""._("Edition Courrier")."\" /></a></td>";
+
+ echo "</tr>";
+ }
+
+
+ echo "\t\t\t</table>\n";
+ echo "</fieldset>";
+
+ $sql_suivi= "select * from ".DB_PREFIXE."dossier where etablissement=".$idx;
+
+ $res1=$f->db->query($sql_suivi);
+ $f->isDatabaseError($res1);
+ echo "<fieldset class=\"cadre ui-corner-all ui-widget-content\">\n";
+ echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
+ echo _("Dossier")."</legend>";
+ echo "<table width='100%'>";
+ echo "<tr class=\"ui-tabs-nav ui-accordion ui-state-default tab-title\">";
+
+
+ echo "<td align=\"center\">"._("dossier")."</td>";
+ echo "<td align=\"center\">"._("observation")."</td>";
+ echo "<td align=\"center\">"._("voir")."</td>";
+ echo "</tr>";
+ while ($row1=& $res1->fetchRow(DB_FETCHMODE_ASSOC)){
+ echo "<tr>";
+
+ echo "<td align=\"center\">".$row1['dossier']."</td>";
+ echo "<td align=\"center\">".$row1['observation']."</td>";
+ echo "<td align=\"center\"><a href=\"../spg/voir.php?fic=".$row1['nom']."\"><img src=\"../img/voir.png\" alt=\""
+ ._("Edition Courrier")."\" title=\""._("Voir dossier")."\" /></a></td>";
+
+ echo "</tr>";
+ }
+
+
+ echo "\t\t\t</table>\n";
+ echo "</fieldset>";
+ echo "\t\t\t</table>\n";
+ echo "</fieldset>";
+} // while courrier
+if($existe==0){
+ $msg=$idx." inexistant en base etablissement";
+ $f->displayMessage($class, $message);
+}
+?>
\ No newline at end of file

Added: branches/1.x/app/img/adresse_postale.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/adresse_postale.png
===================================================================
--- branches/1.x/app/img/adresse_postale.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/adresse_postale.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/adresse_postale.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/bleu.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/bleu.png
===================================================================
--- branches/1.x/app/img/bleu.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/bleu.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/bleu.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/bleu_point.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/bleu_point.png
===================================================================
--- branches/1.x/app/img/bleu_point.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/bleu_point.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/bleu_point.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/collectivite-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/collectivite-16x16.png
===================================================================
--- branches/1.x/app/img/collectivite-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/collectivite-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/collectivite-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/droit-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/droit-16x16.png
===================================================================
--- branches/1.x/app/img/droit-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/droit-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/droit-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/edition-20x20.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/edition-20x20.png
===================================================================
--- branches/1.x/app/img/edition-20x20.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/edition-20x20.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/edition-20x20.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/generator-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/generator-16x16.png
===================================================================
--- branches/1.x/app/img/generator-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/generator-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/generator-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/ico_admin.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/ico_admin.png
===================================================================
--- branches/1.x/app/img/ico_admin.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/ico_admin.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/ico_admin.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/ico_appli.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/ico_appli.png
===================================================================
--- branches/1.x/app/img/ico_appli.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/ico_appli.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/ico_appli.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/ico_stats.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/ico_stats.png
===================================================================
--- branches/1.x/app/img/ico_stats.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/ico_stats.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/ico_stats.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/import-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/import-16x16.png
===================================================================
--- branches/1.x/app/img/import-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/import-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/import-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/index.php
===================================================================
--- branches/1.x/app/img/index.php (rev 0)
+++ branches/1.x/app/img/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id$
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>

Added: branches/1.x/app/img/info.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/info.png
===================================================================
--- branches/1.x/app/img/info.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/info.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/info.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/logo.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/logo.png
===================================================================
--- branches/1.x/app/img/logo.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/logo.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/logo.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/logo_old.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/logo_old.png
===================================================================
--- branches/1.x/app/img/logo_old.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/logo_old.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/logo_old.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/logout-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/logout-16x16.png
===================================================================
--- branches/1.x/app/img/logout-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/logout-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/logout-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/new.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/new.png
===================================================================
--- branches/1.x/app/img/new.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/new.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/new.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/new_hover.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/new_hover.png
===================================================================
--- branches/1.x/app/img/new_hover.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/new_hover.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/new_hover.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/parametrage-20x20.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/parametrage-20x20.png
===================================================================
--- branches/1.x/app/img/parametrage-20x20.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/parametrage-20x20.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/parametrage-20x20.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/password-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/password-16x16.png
===================================================================
--- branches/1.x/app/img/password-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/password-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/password-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/pdf-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/pdf-16x16.png
===================================================================
--- branches/1.x/app/img/pdf-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/pdf-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/pdf-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/profil-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/profil-16x16.png
===================================================================
--- branches/1.x/app/img/profil-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/profil-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/profil-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/punaise.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/punaise.png
===================================================================
--- branches/1.x/app/img/punaise.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/punaise.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/punaise.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/punaise_hover.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/punaise_hover.png
===================================================================
--- branches/1.x/app/img/punaise_hover.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/punaise_hover.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/punaise_hover.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/punaise_point.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/punaise_point.png
===================================================================
--- branches/1.x/app/img/punaise_point.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/punaise_point.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/punaise_point.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/punaise_point_hover.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/punaise_point_hover.png
===================================================================
--- branches/1.x/app/img/punaise_point_hover.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/punaise_point_hover.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/punaise_point_hover.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/reqmo-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/reqmo-16x16.png
===================================================================
--- branches/1.x/app/img/reqmo-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/reqmo-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/reqmo-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/rouge.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/rouge.png
===================================================================
--- branches/1.x/app/img/rouge.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/rouge.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/rouge.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/traitement-20x20.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/traitement-20x20.png
===================================================================
--- branches/1.x/app/img/traitement-20x20.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/traitement-20x20.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/traitement-20x20.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/img/utilisateur-16x16.png
===================================================================
(Binary files differ)

Index: branches/1.x/app/img/utilisateur-16x16.png
===================================================================
--- branches/1.x/app/img/utilisateur-16x16.png 2019-01-07 17:31:55 UTC (rev 360)
+++ branches/1.x/app/img/utilisateur-16x16.png 2019-04-25 09:39:11 UTC (rev 361)

Property changes on: branches/1.x/app/img/utilisateur-16x16.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: branches/1.x/app/index.php
===================================================================
--- branches/1.x/app/index.php (rev 0)
+++ branches/1.x/app/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id$
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>

Added: branches/1.x/app/js/index.php
===================================================================
--- branches/1.x/app/js/index.php (rev 0)
+++ branches/1.x/app/js/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id$
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>

Added: branches/1.x/app/js/script.js
===================================================================
Added: branches/1.x/app/perimetre.php
===================================================================
--- branches/1.x/app/perimetre.php (rev 0)
+++ branches/1.x/app/perimetre.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,49 @@
+<?php
+/*
+ * Created on 5 oct. 2009
+$Id: courrier.php,v 1.1 2009-10-06 15:40:54 fraynaud Exp $
+*/
+require_once "../obj/utils.class.php";
+$existe=0;
+if(isset($_GET['idx']))
+ $idx=$_GET['idx'];
+else
+ $idx="";
+$f = new utils('nohtml', "perimetre", _("recherche"), "ico_recherche.png", "recherche");
+
+$f->setFlag("htmlonly");
+$f->display();
+$description = _("Cette page vous permet de retrouver les informations relatives a un perimetre ");
+$f->displayDescription($description);
+$sql= "select * from ".DB_PREFIXE."perimetre where perimetre =".$idx;
+$res=$f->db->query($sql);
+$f->isDatabaseError($res);
+while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){// courrier
+ $existe=1;
+ echo "<fieldset class=\"cadre ui-corner-all ui-widget-content\">\n";
+ echo "\t<legend class=\"ui-corner-all ui-widget-content ui-state-active\">";
+ echo _("perimetre")."</legend>";
+ echo "<b>"._("Perimetre")." no ".$row['perimetre']
+ ."<br></b>Libelle : ".$row['libelle']
+ ."<br></b>Longueur d'exclusion : ".$row['longueur_exclusion_metre'].'m';
+ echo "<br></fieldset>";
+
+ // tache
+ $sql_suivi= "select to_char(date_debut_validite ,'DD/MM/YYYY') as date_deb,
+ to_char(date_debut_validite ,'DD/MM/YYYY') as date_fin,
+ terme, type_licence, demande_licence, etablissement
+ from ".DB_PREFIXE."demande_licence where etablissement=".$idx;
+
+ $res1=$f->db->query($sql_suivi);
+ $f->isDatabaseError($res1);
+
+ echo "\t\t\t</table>\n";
+ echo "</fieldset>";
+ echo "\t\t\t</table>\n";
+ echo "</fieldset>";
+} // while courrier
+if($existe==0){
+ $msg=$idx." inexistant en base etablissement";
+ $f->displayMessage($class, $message);
+}
+?>
\ No newline at end of file

Added: branches/1.x/app/sig_json_ep.php
===================================================================
--- branches/1.x/app/sig_json_ep.php (rev 0)
+++ branches/1.x/app/sig_json_ep.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,175 @@
+<?php
+/*
+$Id: json_points_ep.php 709 2011-09-15 16:23:16Z fmichon $
+openMairie - SIG
+transfert donnees json UNIQUEMENT POUR POINT
+ FORMAT Json
+ "geometry": {
+ "type": "Point",
+ "coordinates": [4.61761, 43.67089]
+ },
+ // TEST de wkt "POINT(784673.869964063 155480.349967809)"
+ $x = "784673.869964063";
+ $y = "155480.349967809";
+
+Attention le mode debug affiche a l ecran et ne peut pas etre pris par openLayer
+*/
+
+// variables
+$debug=0;
+$tab=array();
+$json=array();
+if (isset ($_GET['obj'])){
+ $obj=$_GET['obj'];
+}else{
+ $obj='';
+}
+// possibilite de restriction en sql
+if (isset ($_GET['idx'])){
+ $idx=$_GET['idx'];
+}else{
+ $idx='';
+}
+// ***
+// utils
+include ("../obj/utils.class.php");
+$f = new utils ('nohtml');
+$f->disableLog();
+// =====================================================
+// construction du tableau tab sur la base des
+// enregistrements de la requete
+// le tableau comprend :
+// une zone titre
+// une zone description dans lequel il y a le lien
+// une zone idx
+// ======================================================
+$temp="select om_sql from ".DB_PREFIXE."om_sig_point where id ='".$obj."'";
+$sql= $f -> db -> getOne($temp);
+$sql=str_replace("&DB_PREFIXE",DB_PREFIXE,$sql);
+$sql=str_replace("&idx",$idx,$sql); // restriction en sql
+$temp="select url from ".DB_PREFIXE."om_sig_point where id ='".$obj."'";
+$url= $f -> db -> getOne($temp);
+$res = $f -> db -> query($sql);
+if (database :: isError($res)){
+ die($res->getMessage()."erreur ".$sql);
+}else{
+ while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){
+ if($row["geom"]!='' or $row["geom"]!=null){
+ $ray=0;
+ if(isset ($row['rayon']))$ray=$row['rayon'];
+ if(isset ($row['img']))$img=$row['img'];else $img='./img/punaise.png';
+ if(isset ($row['img_hover']))$img_hover=$row['img_hover'];else $img_hover='./img/punaise_hover.png';
+ //
+ if(isset ($row['class']))
+ {
+ $class=$row['class'];
+ array_push($tab,
+ array('geom' => $row['geom'],
+ 'titre' => $class."<br><br>".$row['titre'],
+ 'description' =>
+ "<font style='text-align: left; font-size: small;'>".
+ "<a href=javascript:ouvre_popup('../app/".$class.".php?idx=".$row['idx']."')>".
+ $row['description']."</a> (".$row['idx'].
+ ")</font>",
+ 'rayon' => $ray,
+ 'img' => $img,
+ 'img_hover' => $img_hover,
+ 'idx' => $row['idx'],
+ 'delete' => 0
+ )
+ );
+ }
+ else
+ {
+ array_push($tab,
+ array('geom' => $row['geom'],
+ 'titre' => $row['titre'],
+ 'description' =>
+ "<font style='text-align: left; font-size: small;'>".
+ "<a href=javascript:ouvre_popup('".
+ $url.$row['idx']."')>".
+ $row['description']."</a> (".$row['idx'].
+ ")</font>",
+ 'rayon' => $ray,
+ 'img' => $img,
+ 'img_hover' => $img_hover,
+ 'idx' => $row['idx'],
+ 'delete' => 0
+ )
+ );
+ }
+ }
+ }
+}
+
+// ================================================================================
+// traitement des doublons sur un meme point
+// ce traitement permet de mettre l'ensemble des enregistrements sur un meme point
+// la variable delete permet d eliminer les doublons
+// ================================================================================
+
+$archive=0;
+$archive_i=0;
+
+for($i=0;$i < sizeof($tab);$i++){
+ if($i<>sizeof($tab)-1){ // ne pas traiter le dernier point (pb i+2)
+ if($tab[$i]['geom']==$tab[$i+1]['geom']){
+ if($archive==0){
+ $archive_i=$i;
+ $archive=1;
+ }
+ $tab[$archive_i]['description'].= '<br>'.$tab[$i+1]['description'];
+ $tab[$archive_i]['rayon'].= $tab[$i+1]['rayon'];
+ $tab[$archive_i]['img'].= $tab[$i+1]['img'];
+ $tab[$archive_i]['img_hover'].= $tab[$i+1]['img_hover'];
+ $tab[$i+1]['delete']=1;
+ }else
+ $archive=0;
+ }
+}
+
+// ===========================================
+// construction du tableau json en format json
+// ===========================================
+
+// entete
+$json = '{ "type": "FeatureCollection",'."\n";
+$json.= ' "features": ['."\n";
+
+// corps
+for($i=0;$i < sizeof($tab);$i++){
+ if($tab[$i]['delete']==0){ // elimine les doublons dans le tableau
+ $xy=$row['geom'];
+ $xy=substr($tab[$i]['geom'],6,strlen($tab[$i]['geom'])-7);
+ $xy=explode(' ',$xy);
+ $x=$xy[0];
+ $y=$xy[1];
+ $json.= '{ "type": "Feature",'."\n";
+ $json.= '"geometry":';
+ $json.= "{\"type\": \"Point\",";
+ $json.= "\"coordinates\": [".$x.", ".$y."]},";
+ $json.="\n";
+ $json.= '"properties": {'."\n";
+ $json.= '"titre": "'.$tab[$i]['titre'].'"'.",\n";
+ $json.= '"description": "'.$tab[$i]['description'].'"'."\n,";
+ $json.= '"rayon": "'.$tab[$i]['rayon'].'"'."\n,";
+ $json.= '"img": "'.$tab[$i]['img'].'"'."\n,";
+ $json.= '"img_hover": "'.$tab[$i]['img_hover'].'"'."\n,";
+ $json.= '"idx": "'.$tab[$i]['idx'].'"'."\n"; // derniere champ (sans virgule)
+ $json.= "}\n";
+ $json.= "},\n";
+ }
+}
+// enpied
+$json=substr($json,0, strlen($json)-2);
+$json.= "]"."\n";
+$json.="}";
+
+// debug
+if($debug==1){
+ $json=str_replace("\n","<br>",$json);
+}
+
+// envoi du tableau dans la couche json d'openlayer
+echo $json;
+?>
\ No newline at end of file

Added: branches/1.x/app/tab_sig_ep.php
===================================================================
--- branches/1.x/app/tab_sig_ep.php (rev 0)
+++ branches/1.x/app/tab_sig_ep.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,496 @@
+<?php
+/*
+ * $Id: json_points_ep.php
+ openMairie SIG
+ import de points pgsql -> openLayers
+ numero d objet
+ */
+if (isset ($_GET['idx'])){
+ $idx=$_GET['idx'];
+}else{
+ $idx='';
+}
+// obj
+if (isset ($_GET['obj'])){
+ $obj=$_GET['obj'];
+}
+//______________________________ajout par rapport a scr/tab-sig.php
+//
+if (isset ($_GET['type'])){
+ $type=$_GET['type'];
+}else {$type='';}
+//_______________________________fin ajout
+//
+// geometrie
+if (isset ($_GET['geometrie'])){
+ $geometrie=$_GET['geometrie'];
+}else{
+ $geometrie="point";
+}
+//parametrage de l etendue dans l url
+if (isset ($_GET['etendue'])){
+ $etendue=$_GET['etendue'];
+}
+// utils
+include ("../obj/utils.class.php");
+$f = new utils ('nohtml');
+$f->disableLog();
+$f->addHTMLHeadJs(array("../lib/openlayers/OpenLayers.js",
+ "../lib/openlayers/proj4js-compressed.js",
+ "../js/sig.js"));
+// table om_sig_point
+$sql="select * from ".DB_PREFIXE."om_sig_point where id='".$obj."'";
+$res = $f -> db -> query($sql);
+if (DB :: isError($res)){
+ die($res->getMessage()."erreur ".$sql);
+}else{
+ while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){
+ $titre=$row['libelle'];
+ $zoom=$row['zoom'];
+ $fond_sat=$row['fond_sat'];
+ $fond_osm=$row['fond_osm'];
+ $fond_bing=$row['fond_bing'];
+ $layer_info=$row['layer_info'];
+ $etendue= $row['etendue'];
+ $maj=$row['maj'];
+ $projection_externe=$row['projection_externe'];
+ $table=$row['table_update'];
+ $champ=$row['champ'];
+ $retour=$row['retour'];
+ }
+}
+// *** variables pouvant etre surchargees dans dyn/var_sig.php ***
+$http_google="http://maps.google.com/maps?file=api&amp;v=2&amp;key=";
+$http_bing='http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&amp;mkt=en-us'; // 6.3c au lieu de 6.2
+$cle_google = "";
+//______________________________modif par rapport a scr/tab-sig.php
+$fichier_jsons="sig_json_ep.php?obj=";
+$fichier_wkt="../scr/sig_wkt.php";
+//______________________________fin modif
+//
+//zoom par couche : zoom standard permettant un passage de zoom a l autre
+$zoom_osm_maj=18;
+$zoom_osm=14;
+$zoom_sat_maj=8;
+$zoom_sat=4;
+$zoom_bing_maj=8;
+$zoom_bing=4;
+//popup data contenuHTML
+$width_popup=200;
+$cadre_popup=1;
+$couleurcadre_popup="black";
+$fontsize_popup=12;
+$couleurtitre_popup="black";
+$weightitre_popup="bold";
+$fond_popup="white";
+$opacity_popup="0.7";
+// image localisation maj ou consultation
+$img_maj="../img/punaise_sig.png";
+$img_maj_hover="../img/punaise_hover.png";
+$img_consult="../img/punaise_point.png";
+$img_consult_hover="../img/punaise_point_hover.png";
+$img_w=14;
+$img_h=32;
+$img_click="1.3";// multiplicateur hauteur et largeur image cliquee
+// personnalisation des variables
+if (file_exists("../dyn/var_sig.inc"))
+ include ("../dyn/var_sig.inc");
+// affichage des fonds
+if($fond_sat=="Oui")
+ $f->addHTMLHeadJs(array($http_google.$cle_google));
+if($fond_bing=="Oui" )
+ $f->addHTMLHeadJs(array($http_bing));
+$f->setFlag("nodoctype");
+$f->display();
+// Etat de l interface
+$bl="&nbsp;&nbsp;&nbsp;&nbsp;";
+$msg_dessin=$bl._("Dessiner").$bl;
+$msg_valider=$bl._("Enregistrer").$bl;
+$msg_data=$bl._("Data").$bl;
+$msg_deplacer=$bl."Deplacer".$bl;
+echo "<form name=f1 method=GET>";
+echo "<font id='titre-id'>".$titre."&nbsp;[".$obj."&nbsp;".$idx."]</font>";
+if($maj=="Oui"){
+ if($geometrie=='point'){
+ echo "<input type='hidden' id='toggle' checked='checked' onclick='toggleRestrictedExtent();' />";
+ echo "<input type='button' class='option' id='1' value='Dessiner' onclick='msg(\"$msg_dessin\");panneau_controle(this);'>";
+ echo "<input type='button' class='option' id='2' value='Deplacer' onclick='msg(\"$msg_deplacer\");panneau_controle(this);'/>";
+ echo "<input type='button' class='option' id='3' value='Enregistrer' onclick='msg(\"$msg_valider\");panneau_controle(this);' />";
+ }
+ if($geometrie=='line'){
+ echo "<input type='hidden' id='toggle' checked='checked' onclick='toggleRestrictedExtent();' />";
+ echo "<input type='button' class='option' id='1' value='Dessiner' onclick='msg(\"$msg_dessin\");panneau_controle_line(this);'>";
+ echo "<input type='button' class='option' id='2' value='Deplacer' onclick='msg(\"$msg_deplacer\");panneau_controle_line(this);'/>";
+ echo "<input type='button' class='option' id='3' value='Enregistrer' onclick='msg(\"$msg_valider\");panneau_controle_line(this);' />";
+ }
+ if($geometrie=='polygon'){
+ echo "<input type='hidden' id='toggle' checked='checked' onclick='toggleRestrictedExtent();' />";
+ echo "<input type='button' class='option' id='1' value='Dessiner' onclick='msg(\"$msg_dessin\");panneau_controle_polygon(this);'>";
+ echo "<input type='button' class='option' id='2' value='Deplacer' onclick='msg(\"$msg_deplacer\");panneau_controle_polygon(this);'/>";
+ echo "<input type='button' class='option' id='3' value='Enregistrer' onclick='msg(\"$msg_valider\");panneau_controle_polygon(this);' />";
+ }
+
+}
+if($layer_info=="Oui"){
+ echo "<input type='button' class='option' id='4' value='Data' onclick='msg(\"$msg_data\");panneau_controle(this);' />";
+}
+///scr/dashboard.php
+echo "<input type='button' class='option' id='4' value='Retour' onclick='window.location.href=\"".$retour."\"'>"; // fond
+echo "&nbsp;&nbsp;<font id='indication'>".$msg_data."</font>";
+echo "</form>";
+// map
+echo "<div id='map-id'></div>";
+?>
+<style>
+#map-id {position : width:95%;height:80%;background-color:#ffffff;color:#000000;border:1px solid black}
+#titre-id {background-color:transparent;font-weight:bold;color:#23293f;font-size:20px;}
+#indication {width:100px;background-color:#ffffff;font-weight:normal;color:darkblue;font-size:12px;text-align:cente;-moz-border-radius : 14px 14px 14px 14px;
+border-top :1px solid #000000;border-bottom :1px solid #000000;border-right :1px solid #000000;border-left :1px solid #000000;}
+</style>
+<script type='text/javascript'>
+// tableau des references des lambertsud (27563) et lambert93 (2154)
+// les references geographic et mercator sont geres par openLayers
+Proj4js.defs["EPSG:27563"] = "+proj=lcc +lat_1=44.10000000000001 +lat_0=44.10000000000001 +lon_0=0 +k_0=0.999877499 +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m +no_defs";
+Proj4js.defs["EPSG:2154"] = "+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs";
+// variables globales
+var pfenetre;
+var fenetreouverte = false;
+var vectors;
+var map, selectedFeature;
+var geographic = new OpenLayers.Projection("EPSG:4326");
+var projection_externe = new OpenLayers.Projection("<?php echo $projection_externe;?>");
+var mercator = new OpenLayers.Projection("EPSG:900913"); // projection interne
+var zoom=<?php echo $zoom;?>;
+// champ table maj
+var table="<?php echo $table;?>";
+var champ="<?php echo $champ;?>";
+//variables get
+var idx = OpenLayers.Util.getParameters().idx; // idx no enregistrement selectionne
+var obj = OpenLayers.Util.getParameters().obj; // objet openMairie
+var coucheBase = OpenLayers.Util.getParameters().fond; //
+// fonds affiche
+var fond_sat="<?php echo $fond_sat;?>";
+var fond_osm="<?php echo $fond_osm;?>";
+var fond_bing="<?php echo $fond_bing;?>";
+var layer_info="<?php echo $layer_info;?>";
+// zoom par couche
+var zoom_osm=<?php echo $zoom_osm;?>;
+var zoom_osm_maj=<?php echo $zoom_osm_maj;?>;
+var zoom_bing=<?php echo $zoom_bing;?>;
+var zoom_bing_maj=<?php echo $zoom_bing_maj;?>;
+var zoom_sat=<?php echo $zoom_sat;?>;
+var zoom_sat_maj=<?php echo $zoom_sat_maj;?>;
+// maj
+var maj="<?php echo $maj;?>";
+// var fichiers
+var fichier_jsons="<?php echo $fichier_jsons.$obj;?>"; // ***
+var fichier_wkt="<?php echo $fichier_wkt;?>";
+//popup data
+var width_popup=<?php echo $width_popup;?>;
+var fontsize_popup=<?php echo $fontsize_popup;?>;
+var weightitre_popup="<?php echo $weightitre_popup;?>";
+var couleurtitre_popup="<?php echo $couleurtitre_popup;?>";
+var fond_popup="<?php echo $fond_popup;?>";
+var cadre_popup=<?php echo $cadre_popup;?>;
+var couleurcadre_popup="<?php echo $couleurcadre_popup;?>";
+var opacity_popup=<?php echo $opacity_popup;?>;// ne marche pas
+// image localisation
+var img_maj="<?php echo $img_maj;?>";
+var img_maj_hover="<?php echo $img_maj_hover;?>";
+var img_consult="<?php echo $img_consult;?>";
+var img_consult_hover="<?php echo $img_consult_hover;?>";
+var img_w=<?php echo $img_w;?>;
+var img_h=<?php echo $img_h;?>;
+var img_click=<?php echo $img_click;?>;
+var img_w_c=<?php echo $img_w;?>*img_click;
+var img_h_c=<?php echo $img_h;?>*img_click;
+// extension de la carte
+var etendue = new OpenLayers.Bounds(<?php echo $etendue;?>).transform(geographic, mercator);
+// geometry
+var geometrie="<?php echo $geometrie;?>";
+//______________________________ajout par rapport a scr/tab-sig.php
+//
+type="<?php echo $type;?>";
+function zoomZoom()
+{
+ var vraiZoom=map.getZoom();
+ if (osm.visibility == false )
+ {
+ vraiZoom+=10;
+ }
+ return vraiZoom;
+}
+//______________________________fin ajout
+// map
+map = new OpenLayers.Map('map-id',{projection: mercator,
+ units: "m",
+ maxResolution: "auto",
+ maxZoomLevel:18,
+ minZoomLevel: 10,
+ 'maxExtent': etendue,
+ restrictedExtent: etendue,
+ controls: [
+ new OpenLayers.Control.ScaleLine({'bottomOutUnits':''}),
+ new OpenLayers.Control.PanZoomBar(),
+ new OpenLayers.Control.Navigation(),
+ new OpenLayers.Control.OverviewMap({maximized: true}),
+ new OpenLayers.Control.KeyboardDefaults(),
+ new OpenLayers.Control.MousePosition(),
+ new OpenLayers.Control.ZoomIn(),
+ new OpenLayers.Control.LayerSwitcher({'ascending':false})
+ ]}
+ );
+// fond osm
+if(fond_osm=="Oui"){
+ var osm = new OpenLayers.Layer.OSM("OpenStreetMap");
+ map.addLayer(osm);
+ if(coucheBase=='osm')
+ map.setBaseLayer(osm);
+ if(maj=="Oui")
+ zoom=zoom_osm_maj;
+ else
+ zoom=zoom_osm;
+ // mapquest
+ var mapquest = new OpenLayers.Layer.OSM("MapQuest", "http://otile1.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png");
+ map.addLayer(mapquest);
+ //map.addControl(new OpenLayers.Control.Attribution());
+ if(coucheBase=='mapquest'){
+ map.setBaseLayer(mapquest);
+ if(maj=="Oui")
+ zoom=zoom_osm_maj;
+ else
+ zoom=zoom_osm;
+ }
+ // mapquest_sat
+ var mapquest_sat = new OpenLayers.Layer.OSM("MapQuest sat", "http://oatile1.mqcdn.com/naip/${z}/${x}/${y}.png");
+ map.addLayer(mapquest_sat);
+ if(coucheBase=='mapquest_sat'){
+ map.setBaseLayer(mapquest_sat);
+ if(maj=="Oui")
+ zoom=zoom_osm_maj;
+ else
+ zoom=zoom_osm;
+ }
+}
+// fond google
+if(fond_sat=="Oui"){
+ var sat = new OpenLayers.Layer.Google(
+ "Google Hybrid", {
+ type: G_HYBRID_MAP,
+ 'sphericalMercator': true,
+ 'maxExtent': etendue,
+ restrictedExtent: etendue,
+ maxZoomLevel:30}
+ );
+ map.addLayer(sat);
+ if(coucheBase=='sat'){
+ map.setBaseLayer(sat);
+ if(maj=="Oui")
+ zoom=zoom_sat_maj;
+ else
+ zoom=zoom_sat;
+ }
+ }
+// fond bing (microsoft)
+if(fond_bing=="Oui"){
+ var bing = new OpenLayers.Layer.VirtualEarth("Bing", {
+ sphericalMercator: true,
+ 'maxExtent': etendue,
+ restrictedExtent: etendue,
+ maxZoomLevel:30,
+ animationEnabled: true
+ }
+ );
+ map.addLayer(bing);
+ // bing
+ if(coucheBase=='bing'){
+ map.setBaseLayer(bing);
+ if(maj=="Oui")
+ zoom=zoom_bing_maj;
+ else
+ zoom=zoom_bing;
+ }
+ // bing_hybrid
+ var bingHybrid = new OpenLayers.Layer.VirtualEarth("bing Satellite", {
+ sphericalMercator: true,
+ animationEnabled: true, // ne fct pas
+ type: VEMapStyle.Hybrid // VEMapStyle.Aerial - VEMapStyle.Shaded -
+ });
+ map.addLayer(bingHybrid);
+ if(coucheBase=='bingHybrid'){
+ map.setBaseLayer(bingHybrid);
+ if(maj=="Oui")
+ zoom=zoom_bing_maj;
+ else
+ zoom=zoom_bing;
+ }
+}
+// couche vectors uniquement en modification
+if((maj=='Oui')||(geometrie=='line')||(geometrie=='polygon')){
+ tmp="";
+ tmp=fichier_wkt+"?idx="+idx+"&obj="+obj+"&table="+table+"&champ="+champ;
+ vectors = new OpenLayers.Layer.GML("vectors",tmp,{
+ format:OpenLayers.Format.WKT,
+ formatOptions:{
+ internalProjection:mercator,
+ externalProjection:projection_externe
+ },
+ styleMap: new OpenLayers.StyleMap({
+ "default": {strokeColor: "black",strokeWidth:3,strokeOpacity: 0.5,fillColor : "red", pointRadius : 5},
+ "select": {strokeColor: "black",strokeWidth:3,strokeOpacity: 0.5,fillColor : "green", pointRadius : 5}
+ })
+ });
+ // evenement de chargement et selection de vectors
+ map.addLayer(vectors);
+ vectors.events.on({
+ "featureselected": onSaisieSelect,
+ "featureunselected": onSaisieUnselect,
+ "loadend": onLayerLoaded
+ });
+ if(geometrie=="point"){
+ controls = {
+ point: new OpenLayers.Control.DrawFeature(vectors,OpenLayers.Handler.Point),
+ select: new OpenLayers.Control.SelectFeature(vectors), // select
+ modify: new OpenLayers.Control.ModifyFeature(vectors), // modify
+ drag: new OpenLayers.Control.DragFeature(vectors), // drag
+ };
+ for(var key in controls) {
+ map.addControl(controls[key]);
+ }
+ }
+ if((geometrie=="line")&&(maj='Oui')){
+ controls = {
+ line: new OpenLayers.Control.DrawFeature(vectors,
+ OpenLayers.Handler.Path), // ***
+ select: new OpenLayers.Control.SelectFeature(vectors), // select
+ modify: new OpenLayers.Control.ModifyFeature(vectors), // modify
+ drag: new OpenLayers.Control.DragFeature(vectors), // drag
+ };
+ for(var key in controls) {
+ map.addControl(controls[key]);
+ }
+ }
+ if((geometrie=="polygon")&&(maj== "Oui")){
+ controls = {
+ polygon: new OpenLayers.Control.DrawFeature(vectors,
+ OpenLayers.Handler.Polygon), // ***
+ select: new OpenLayers.Control.SelectFeature(vectors), // select
+ modify: new OpenLayers.Control.ModifyFeature(vectors), // modify
+ drag: new OpenLayers.Control.DragFeature(vectors), // drag
+ };
+ for(var key in controls) {
+ map.addControl(controls[key]);
+ }
+ }
+ // a voir les multipolygon et multiline
+ imgdata=img_maj;
+ img_hover= img_maj_hover;
+}else{
+ imgdata=img_consult;
+ img_hover=img_consult_hover;
+}
+// layer json
+if(layer_info=="Oui"){
+ //______________________________ajout par rapport a scr/tab-sig.php (pour dessin perimetre)
+ //
+ tmp="<?php echo $fichier_jsons;?>"+obj;
+ // PERIMETRE (zone)
+ if(type=='zone'){
+ var styleCircle = new OpenLayers.Style(
+ {
+ //strokeColor: "green",
+ pointRadius : "${radius}",graphicName: "circle",fillColor: "indigo",fillOpacity: 0.1,strokeWidth: 1,strokeOpacity: 10,strokeColor: "indigo"
+ },{
+ context: {
+ radius: function(feature) {
+ surf = feature.attributes.rayon*0.00000882; // 1 = 100 KM / 0.0007 = 70metre // le 0.000 008 85 a été étalonnée à laide de la fonction distance() de postgis
+
+
+ surf = surf*Math.pow(2,zoomZoom());
+ return surf;
+ }
+ }
+ });
+
+ zone_layer = new OpenLayers.Layer.GML("Perimetres",tmp,{
+ format:OpenLayers.Format.GeoJSON,
+ formatOptions:{
+ internalProjection:mercator,
+ externalProjection:projection_externe
+ },
+ styleMap: new OpenLayers.StyleMap({"default": styleCircle})
+ });
+ map.addLayer(zone_layer);
+
+
+ }
+ //
+ stylePoint = new OpenLayers.Style(
+ {
+ externalGraphic: "${getChartURL}",
+ graphicWidth:img_w,
+ graphicHeight: img_h,
+ graphicYOffset: -img_h
+ },{
+ context: {
+ getChartURL: function(feature) {
+ var charturl = feature.attributes.img;
+ return charturl;
+ } // End of function getChartURL
+ } // End of obj context
+ }
+ );
+ stylePoint_hover = new OpenLayers.Style(
+ {
+ externalGraphic: "${getChartURL}",
+ graphicWidth:img_w_c,
+ graphicHeight: img_h_c,
+ graphicYOffset: -img_h_c
+ },{
+ context: {
+ getChartURL: function(feature) {
+ var charturl = feature.attributes.img_hover;
+ return charturl;
+ } // End of function getChartURL
+ } // End of obj context
+ }
+ );
+ //______________________________fin ajout
+ //
+ //______________________________modif par rapport a scr/tab-sig.php (pour icone speciale perimetre)
+ //"default": stylePoint,
+ // "select": stylePoint_hover
+ // REMPLACE :
+ // "default": {externalGraphic: imgdata, graphicWidth:img_w, graphicHeight: img_h, graphicYOffset: -img_h},
+ //"select": {externalGraphic: img_hover,graphicWidth: img_w_c, graphicHeight: img_h_c, graphicYOffset: -img_h_c}
+ //______________________________fin modif
+ layer_json = new OpenLayers.Layer.GML("data",fichier_jsons,{
+
+ format:OpenLayers.Format.GeoJSON,
+ formatOptions:{
+ internalProjection:mercator,
+ externalProjection:projection_externe
+ },
+ styleMap: new OpenLayers.StyleMap({
+ "default": stylePoint,
+ "select": stylePoint_hover
+ })
+ });
+ //
+ map.addLayer(layer_json);
+ // evenement de selection / deselection point pour layer_json
+ select_json = new OpenLayers.Control.SelectFeature(layer_json);
+ layer_json.events.on({
+ "featureselected": onFeatureSelect,
+ "featureunselected": onFeatureUnselect
+ });
+ map.addControl(select_json);
+ select_json.activate();
+ }
+// centrer la carte sur l etendue
+// zoom forcer dans url
+if(OpenLayers.Util.getParameters().zoom!="" && OpenLayers.Util.getParameters().zoom!=undefined)
+ zoom = OpenLayers.Util.getParameters().zoom; // niveau de zoom
+// zoom par defaut si non defini
+map.setCenter(etendue, zoom);
+</script>

Added: branches/1.x/index.php
===================================================================
--- branches/1.x/index.php (rev 0)
+++ branches/1.x/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers la page de login de
+ * l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: index.php 95 2010-09-06 14:15:51Z fmichon $
+ */
+
+//
+$came_from = "";
+if (isset($_GET['came_from'])) {
+ $came_from = $_GET['came_from'];
+}
+
+//
+header("Location: scr/login.php?came_from=".urlencode($came_from));
+
+?>
\ No newline at end of file

Added: branches/1.x/sql/index.php
===================================================================
--- branches/1.x/sql/index.php (rev 0)
+++ branches/1.x/sql/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: index.php 14 2010-07-06 09:47:19Z fmichon $
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/courrier.form.inc
===================================================================
--- branches/1.x/sql/pgsql/courrier.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/courrier.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,7 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+include('../gen/sql/pgsql/courrier.form.inc.php');
+
+$champs=array("courrier","date_courrier","type_courrier","zone_texte","etablissement");
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/courrier.import.inc
===================================================================
--- branches/1.x/sql/pgsql/courrier.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/courrier.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,28 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+$import= "Insertion dans la table courrier voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."courrier";
+$id='courrier'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['courrier']=1;// obligatoire = 1
+//* cle secondaire=etablissement
+$exist['etablissement']=1;// 0=non / 1=oui
+$sql_exist['etablissement']= "select * from ".DB_PREFIXE."etablissement where etablissement = '";
+// * champ = courrier
+$zone['courrier']='0';
+// $defaut['courrier']='***'; // *** par defaut si non renseigne
+// * champ = zone_texte
+$zone['zone_texte']='1';
+// $defaut['zone_texte']='***'; // *** par defaut si non renseigne
+// * champ = type_courrier
+$zone['type_courrier']='2';
+// $defaut['type_courrier']='***'; // *** par defaut si non renseigne
+// * champ = etablissement
+$zone['etablissement']='3';
+// $defaut['etablissement']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/courrier.inc
===================================================================
--- branches/1.x/sql/pgsql/courrier.inc (rev 0)
+++ branches/1.x/sql/pgsql/courrier.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+include('../gen/sql/pgsql/courrier.inc.php');
+
+if ($retourformulaire== 'etablissement_temporaire')
+ $selection=" where courrier.etablissement ='".$idx."'";
+
+$champAffiche=array('courrier',
+ 'to_char(date_courrier ,\'DD/MM/YYYY\') as "Date"',
+ utf8_encode('type_courrier'),
+ 'etablissement');
+
+$href[3] = array(
+ "lien" => "../pdf/pdfetat.php?obj=courrier&amp;idx=",
+ "id" => "",
+ "lib" =>"<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition Courrier")."\">"._("Edition Courrier")."</span>",
+);
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/courrier.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/courrier.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/courrier.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,69 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.courrier'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=40; // largeur colone -> champs 0 - courrier
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=200; // largeur colone -> champs 1 - type_courrier
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=40; // largeur colone -> champs2 - etablissement
+$be2='LR';// border entete colone
+$b2='LR';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select courrier, type_courrier, etablissement from ".DB_PREFIXE."courrier";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/courrier.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/courrier.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/courrier.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,12 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+$reqmo['libelle']=' public.courrier';
+$reqmo['reqmo_libelle']=' public.courrier';
+$reqmo['sql']="select [courrier], [zone_texte], [type_courrier], [etablissement] from ".DB_PREFIXE."courrier order by [tri]";
+$reqmo['courrier']='checked';
+$reqmo['zone_texte']='checked';
+$reqmo['type_courrier']='checked';
+$reqmo['etablissement']='checked';
+$reqmo['tri']=array('courrier','zone_texte','type_courrier','etablissement');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/courrier_etablissement.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/courrier_etablissement.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/courrier_etablissement.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,12 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+$reqmo['libelle']=' public.courrier';
+$reqmo['reqmo_libelle']=' public.courrier';
+$reqmo['sql']="select [courrier], [zone_texte], [type_courrier] from ".DB_PREFIXE."courrier where etablissement = '[etablissement]' order by [tri]";
+$reqmo['courrier']='checked';
+$reqmo['zone_texte']='checked';
+$reqmo['type_courrier']='checked';
+$reqmo['etablissement']="select * from ".DB_PREFIXE."etablissement";
+$reqmo['tri']=array('courrier','zone_texte','type_courrier');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence.form.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,20 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 07:59
+include('../gen/sql/pgsql/demande_licence.form.inc.php');
+$tableSelect=DB_PREFIXE."demande_licence";
+$champs=array('demande_licence',
+ 'type_licence',
+ 'type_demande',
+ 'occasion',
+ 'particularite',
+ 'terme',
+ 'date_demande_licence',
+ 'date_debut_validite',
+ 'date_fin_validite',
+'date_ancienne_demande',
+ 'etablissement',
+ 'heure_debut',
+ 'heure_fin');
+$sql_terme_temp="select * from ".DB_PREFIXE."terme where terme >1";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence.import.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,34 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 07:59
+$import= "Insertion dans la table demande_licence voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."demande_licence";
+$id='demande_licence'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['demande_licence']=1;// obligatoire = 1
+//* cle secondaire=type_licence
+$exist['type_licence']=1;// 0=non / 1=oui
+$sql_exist['type_licence']= "select * from ".DB_PREFIXE."type_licence where type_licence = '";
+//* cle secondaire=terme
+$exist['terme']=1;// 0=non / 1=oui
+$sql_exist['terme']= "select * from ".DB_PREFIXE."terme where terme = '";
+// * champ = demande_licence
+$zone['demande_licence']='0';
+// $defaut['demande_licence']='***'; // *** par defaut si non renseigne
+// * champ = type_licence
+$zone['type_licence']='1';
+// $defaut['type_licence']='***'; // *** par defaut si non renseigne
+// * champ = terme
+$zone['terme']='2';
+// $defaut['terme']='***'; // *** par defaut si non renseigne
+// * champ = date_debut_validite
+$zone['date_debut_validite']='3';
+// $defaut['date_debut_validite']='***'; // *** par defaut si non renseigne
+// * champ = date_fin_validite
+$zone['date_fin_validite']='4';
+// $defaut['date_fin_validite']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,45 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 07:59
+include('../gen/sql/pgsql/demande_licence.inc.php');
+$table=DB_PREFIXE."demande_licence
+ left join ".DB_PREFIXE."etablissement on demande_licence.etablissement=etablissement.etablissement
+ left join ".DB_PREFIXE."type_licence on demande_licence.type_licence= type_licence.type_licence
+ left join ".DB_PREFIXE."terme on demande_licence.terme=terme.terme";
+$champAffiche=array('demande_licence',
+ 'type_licence.libelle as "Type de licence"',
+ 'terme.libelle as terme',
+ 'to_char(date_debut_validite ,\'DD/MM/YYYY\') as "Date debut"',
+ 'to_char(date_fin_validite ,\'DD/MM/YYYY\') as "Date fin"',
+ 'etablissement.enseigne as "etablissement"');
+$href[3] = array(
+ "lien" => "../pdf/pdfetat.php?obj=recepisse&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition Recepisse")."\">"._("Edition Recepisse")."</span>",
+);
+$href[4] = array(
+ "lien" => "../pdf/pdfetat.php?obj=recepisse_co_exploitant&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16-b\" title=\""._("Edition Recepisse co-exploitant")."\">"._("Edition Recepisse co-exploitant")."</span>",
+);
+$href[5] = array(
+ "lien" => "../pdf/pdfetat.php?obj=temporaire&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition Temporaire")."\">"._("Edition Temporaire")."</span>",
+);
+$champRecherche=array('demande_licence',
+ 'type_licence.libelle as "Type de licence"',
+ 'terme.libelle as terme',
+ 'date_debut_validite as "Date debut"',
+ 'date_fin_validite as "Date fin"',
+ 'etablissement.enseigne as "etablissement"');
+
+if ($retourformulaire== 'etablissement_temporaire')
+ $selection=" where demande_licence.etablissement ='".$idx."'";
+
+if ($retourformulaire== 'type_licence' || $retourformulaire== 'terme'){
+ $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
+ $href[1] = array("lien" => "", "id" => "", "lib" => "", );
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
+ }
+?>

Added: branches/1.x/sql/pgsql/demande_licence.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,104 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:06
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.demande_licence'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=12; // largeur colone -> champs 0 - demande_licence
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=12; // largeur colone -> champs 1 - type_licence
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=12; // largeur colone -> champs 2 - type_demande
+$be2='L';// border entete colone
+$b2='L';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$l3=12; // largeur colone -> champs 3 - terme
+$be3='L';// border entete colone
+$b3='L';// border cellule colone
+$ae3='C'; // align cellule entete colone
+$a3='L';
+$l4=36; // largeur colone -> champs 4 - date_debut_validite
+$be4='L';// border entete colone
+$b4='L';// border cellule colone
+$ae4='C'; // align cellule entete colone
+$a4='L';
+$l5=36; // largeur colone -> champs 5 - date_fin_validite
+$be5='L';// border entete colone
+$b5='L';// border cellule colone
+$ae5='C'; // align cellule entete colone
+$a5='L';
+$l6=12; // largeur colone -> champs 6 - etablissement
+$be6='L';// border entete colone
+$b6='L';// border cellule colone
+$ae6='C'; // align cellule entete colone
+$a6='L';
+$l7=24; // largeur colone -> champs 7 - heure_debut
+$be7='L';// border entete colone
+$b7='L';// border cellule colone
+$ae7='C'; // align cellule entete colone
+$a7='L';
+$l8=24; // largeur colone -> champs 8 - heure_fin
+$be8='L';// border entete colone
+$b8='L';// border cellule colone
+$ae8='C'; // align cellule entete colone
+$a8='L';
+$l9=100; // largeur colone -> champs9 - occasion
+$be9='LR';// border entete colone
+$b9='LR';// border cellule colone
+$ae9='C'; // align cellule entete colone
+$a9='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select demande_licence, type_licence, type_demande, terme, to_char(date_debut_validite ,'DD/MM/YYYY') as date_debut_validite,to_char(date_fin_validite ,'DD/MM/YYYY') as date_fin_validite,etablissement, heure_debut, heure_fin, occasion from ".DB_PREFIXE."demande_licence";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,17 @@
+<?php
+//$Id$
+//gen openMairie le 28/04/2011 15:06
+$reqmo['libelle']=' public.demande_licence';
+$reqmo['reqmo_libelle']=' public.demande_licence';
+$reqmo['sql']="select [demande_licence], [type_licence], [terme], [date_debut_validite], [date_fin_validite], [etablissement], [heure_debut], [heure_fin], [type_demande] from ".DB_PREFIXE."demande_licence order by [tri]";
+$reqmo['demande_licence']='checked';
+$reqmo['type_licence']='checked';
+$reqmo['terme']='checked';
+$reqmo['date_debut_validite']='checked';
+$reqmo['date_fin_validite']='checked';
+$reqmo['etablissement']='checked';
+$reqmo['heure_debut']='checked';
+$reqmo['heure_fin']='checked';
+$reqmo['type_demande']='checked';
+$reqmo['tri']=array('demande_licence','type_licence','terme','date_debut_validite','date_fin_validite','etablissement','heure_debut','heure_fin','type_demande');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence_etablissement.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence_etablissement.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence_etablissement.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,21 @@
+<?php
+//$Id$
+//gen openMairie le 27/12/2012 10:33
+$reqmo['libelle']=' openboisson.demande_licence';
+$reqmo['reqmo_libelle']=' openboisson.demande_licence';
+$reqmo['sql']="select [demande_licence], [type_licence], [type_demande], [terme], [date_debut_validite], [date_fin_validite], [heure_debut], [heure_fin], [occasion], [particularite], [date_ancienne_demande], [date_demande_licence] from ".DB_PREFIXE."demande_licence where etablissement = '[etablissement]' order by [tri]";
+$reqmo['demande_licence']='checked';
+$reqmo['type_licence']='checked';
+$reqmo['type_demande']='checked';
+$reqmo['terme']='checked';
+$reqmo['date_debut_validite']='checked';
+$reqmo['date_fin_validite']='checked';
+$reqmo['etablissement']="select * from ".DB_PREFIXE."etablissement";
+$reqmo['heure_debut']='checked';
+$reqmo['heure_fin']='checked';
+$reqmo['occasion']='checked';
+$reqmo['particularite']='checked';
+$reqmo['date_ancienne_demande']='checked';
+$reqmo['date_demande_licence']='checked';
+$reqmo['tri']=array('demande_licence','type_licence','type_demande','terme','date_debut_validite','date_fin_validite','heure_debut','heure_fin','occasion','particularite','date_ancienne_demande','date_demande_licence');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence_temporaire.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence_temporaire.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence_temporaire.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,31 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 07:59
+include('../gen/sql/pgsql/demande_licence.inc.php');
+$table=DB_PREFIXE."demande_licence
+ left join ".DB_PREFIXE."etablissement on demande_licence.etablissement=etablissement.etablissement
+ left join ".DB_PREFIXE."type_licence on demande_licence.type_licence= type_licence.type_licence
+ left join ".DB_PREFIXE."type_demande on demande_licence.type_demande= type_demande.type_demande
+ left join ".DB_PREFIXE."terme on demande_licence.terme=terme.terme";
+$champAffiche=array('demande_licence',
+ 'type_licence.libelle as "Type de licence"',
+ 'terme.libelle as terme',
+ 'type_demande.libelle as type_demande',
+ 'to_char(date_debut_validite ,\'DD/MM/YYYY\') as "Date debut"',
+ 'to_char(date_fin_validite ,\'DD/MM/YYYY\') as "Date fin"',
+ 'etablissement.enseigne as "etablissement"');
+$href[3] = array(
+ "lien" => "../pdf/pdfetat.php?obj=temporaire&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition Temporaire")."\">"._("Edition Temporaire")."</span>",
+);
+$champRecherche=array('demande_licence',
+ 'type_licence.libelle as "Type de licence"',
+ 'terme.libelle as terme',
+ 'date_debut_validite as "Date debut"',
+ 'date_fin_validite as "Date fin"',
+ 'etablissement.enseigne as "etablissement"');
+
+if ($retourformulaire== 'etablissement_temporaire')
+ $selection=" where demande_licence.etablissement ='".$idx."'";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence_terme.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence_terme.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence_terme.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,17 @@
+<?php
+//$Id$
+//gen openMairie le 28/04/2011 15:06
+$reqmo['libelle']=' public.demande_licence';
+$reqmo['reqmo_libelle']=' public.demande_licence';
+$reqmo['sql']="select [demande_licence], [type_licence], [date_debut_validite], [date_fin_validite], [enseigne], [heure_debut], [heure_fin], [type_demande] from ".DB_PREFIXE."demande_licence INNER JOIN ".DB_PREFIXE."etablissement on etablissement.etablissement = demande_licence.etablissement where terme = '[terme]' order by [tri]";
+$reqmo['demande_licence']='checked';
+$reqmo['type_licence']='checked';
+$reqmo['terme']="select * from ".DB_PREFIXE."terme";
+$reqmo['date_debut_validite']='checked';
+$reqmo['date_fin_validite']='checked';
+$reqmo['enseigne']='checked';
+$reqmo['heure_debut']='checked';
+$reqmo['heure_fin']='checked';
+$reqmo['type_demande']='checked';
+$reqmo['tri']=array('demande_licence','type_licence','date_debut_validite','date_fin_validite','etablissement','heure_debut','heure_fin','type_demande');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence_type_demande.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence_type_demande.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence_type_demande.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,17 @@
+<?php
+//$Id$
+//gen openMairie le 28/04/2011 15:06
+$reqmo['libelle']=' public.demande_licence';
+$reqmo['reqmo_libelle']=' public.demande_licence';
+$reqmo['sql']="select [demande_licence], [type_licence], [terme], [date_debut_validite], [date_fin_validite], [enseigne], [heure_debut], [heure_fin] from ".DB_PREFIXE."demande_licence INNER JOIN ".DB_PREFIXE."etablissement on etablissement.etablissement = demande_licence.etablissement where type_demande = '[type_demande]' order by [tri]";
+$reqmo['demande_licence']='checked';
+$reqmo['type_licence']='checked';
+$reqmo['terme']='checked';
+$reqmo['date_debut_validite']='checked';
+$reqmo['date_fin_validite']='checked';
+$reqmo['enseigne']='checked';
+$reqmo['heure_debut']='checked';
+$reqmo['heure_fin']='checked';
+$reqmo['type_demande']="select * from ".DB_PREFIXE."type_demande";
+$reqmo['tri']=array('demande_licence','type_licence','terme','date_debut_validite','date_fin_validite','etablissement','heure_debut','heure_fin');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/demande_licence_type_licence.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/demande_licence_type_licence.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/demande_licence_type_licence.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,17 @@
+<?php
+//$Id$
+//gen openMairie le 28/04/2011 15:06
+$reqmo['libelle']=' public.demande_licence';
+$reqmo['reqmo_libelle']=' public.demande_licence';
+$reqmo['sql']="select [demande_licence], [terme], [date_debut_validite], [date_fin_validite], [enseigne], [heure_debut], [heure_fin], [type_demande] from ".DB_PREFIXE."demande_licence INNER JOIN ".DB_PREFIXE."etablissement on etablissement.etablissement = demande_licence.etablissement where type_licence = '[type_licence]' order by [tri]";
+$reqmo['demande_licence']='checked';
+$reqmo['type_licence']="select * from ".DB_PREFIXE."type_licence";
+$reqmo['terme']='checked';
+$reqmo['date_debut_validite']='checked';
+$reqmo['date_fin_validite']='checked';
+$reqmo['enseigne']='checked';
+$reqmo['heure_debut']='checked';
+$reqmo['heure_fin']='checked';
+$reqmo['type_demande']='checked';
+$reqmo['tri']=array('demande_licence','terme','date_debut_validite','date_fin_validite','etablissement','heure_debut','heure_fin','type_demande');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/dossier.form.inc
===================================================================
--- branches/1.x/sql/pgsql/dossier.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/dossier.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 13:45
+include('../gen/sql/pgsql/dossier.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/dossier.import.inc
===================================================================
--- branches/1.x/sql/pgsql/dossier.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/dossier.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,31 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 13:45
+$import= "Insertion dans la table dossier voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."dossier";
+$id='dossier'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['dossier']=1;// obligatoire = 1
+//* cle secondaire=organisation
+$exist['organisation']=1;// 0=non / 1=oui
+$sql_exist['organisation']= "select * from ".DB_PREFIXE."organisation where organisation = '";
+// * champ = dossier
+$zone['dossier']='0';
+// $defaut['dossier']='***'; // *** par defaut si non renseigne
+// * champ = date_piece
+$zone['date_piece']='1';
+// $defaut['date_piece']='***'; // *** par defaut si non renseigne
+// * champ = nom
+$zone['nom']='2';
+// $defaut['nom']='***'; // *** par defaut si non renseigne
+// * champ = observation
+$zone['observation']='3';
+// $defaut['observation']='***'; // *** par defaut si non renseigne
+// * champ = organisation
+$zone['organisation']='4';
+// $defaut['organisation']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/dossier.inc
===================================================================
--- branches/1.x/sql/pgsql/dossier.inc (rev 0)
+++ branches/1.x/sql/pgsql/dossier.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,23 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 13:45
+include('../gen/sql/pgsql/dossier.inc.php');
+
+$table=DB_PREFIXE."dossier
+ left join ".DB_PREFIXE."etablissement on dossier.etablissement=etablissement.etablissement";
+
+$champAffiche=array('dossier ',
+ 'to_char(date_piece ,\'DD/MM/YYYY\') as "Date"',
+ 'nom',
+ 'etablissement.enseigne as Etablissement',
+ 'observation');
+$champRecherche=array('dossier ',
+ 'date_piece as "Date Depot',
+ 'nom',
+ 'etablissement.enseigne as Etablissement',
+ 'observation');
+
+if ($retourformulaire== 'etablissement_temporaire')
+ $selection=" where dossier.etablissement ='".$idx."'";
+
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/dossier.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/dossier.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/dossier.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,84 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:08
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.dossier'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=12; // largeur colone -> champs 0 - dossier
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=36; // largeur colone -> champs 1 - date_piece
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=60; // largeur colone -> champs 2 - nom
+$be2='L';// border entete colone
+$b2='L';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$l3=60; // largeur colone -> champs 3 - observation
+$be3='L';// border entete colone
+$b3='L';// border cellule colone
+$ae3='C'; // align cellule entete colone
+$a3='L';
+$l4=12; // largeur colone -> champs 4 - etablissement
+$be4='L';// border entete colone
+$b4='L';// border cellule colone
+$ae4='C'; // align cellule entete colone
+$a4='L';
+$l5=100; // largeur colone -> champs5 - ancien_nom
+$be5='LR';// border entete colone
+$b5='LR';// border cellule colone
+$ae5='C'; // align cellule entete colone
+$a5='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select dossier, to_char(date_piece ,'DD/MM/YYYY') as date_piece,nom, observation, etablissement, ancien_nom from ".DB_PREFIXE."dossier";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/dossier.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/dossier.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/dossier.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,14 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:10
+$reqmo['libelle']=' public.dossier';
+$reqmo['reqmo_libelle']=' public.dossier';
+$reqmo['sql']="select [dossier], [date_piece], [nom], [observation], [etablissement], [ancien_nom] from ".DB_PREFIXE."dossier order by [tri]";
+$reqmo['dossier']='checked';
+$reqmo['date_piece']='checked';
+$reqmo['nom']='checked';
+$reqmo['observation']='checked';
+$reqmo['etablissement']='checked';
+$reqmo['ancien_nom']='checked';
+$reqmo['tri']=array('dossier','date_piece','nom','observation','etablissement','ancien_nom');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/dossier_etablissement.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/dossier_etablissement.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/dossier_etablissement.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,14 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:10
+$reqmo['libelle']=' public.dossier';
+$reqmo['reqmo_libelle']=' public.dossier';
+$reqmo['sql']="select [dossier], [date_piece], [nom], [observation], [ancien_nom] from ".DB_PREFIXE."dossier where etablissement = '[etablissement]' order by [tri]";
+$reqmo['dossier']='checked';
+$reqmo['date_piece']='checked';
+$reqmo['nom']='checked';
+$reqmo['observation']='checked';
+$reqmo['etablissement']="select * from ".DB_PREFIXE."etablissement";
+$reqmo['ancien_nom']='checked';
+$reqmo['tri']=array('dossier','date_piece','nom','observation','ancien_nom');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/etablissement.form.inc
===================================================================
--- branches/1.x/sql/pgsql/etablissement.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/etablissement.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,68 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 08:01
+include('../gen/sql/pgsql/etablissement.form.inc.php');
+$tableSelect=DB_PREFIXE."etablissement";
+$champs=array("etablissement.etablissement",
+ "raison_sociale",
+ "enseigne",
+ "no_siret",
+ "forme_juridique",
+ "permis_exploitation",
+ "date_permis_exploitation",
+ "permis_exploitation_nuit",
+ "date_permis_exploitation_nuit",
+ "numero_voie",
+ "voie",
+ "'' as adresse_postale", // specific
+ "libelle_voie",
+ "complement",
+ "complement_voie",
+ "cp_etablissement",
+ "ville_etablissement",
+ "civilite_exploitant",
+ "nom_exploitant",
+ "nom_marital_exploitant",
+ "prenom_exploitant",
+ "date_naissance_exploitant",
+ "ville_naissance_exploitant",
+ "cp_naissance_exploitant",
+ "adresse1_exploitant",
+ "adresse2_exploitant",
+ "cp_exploitant",
+ "ville_exploitant",
+ "nationalite_exploitant",
+ "exploitant",
+ "particularite_exploitant",
+ "civilite_co_exploitant",
+ "nom_co_exploitant",
+ "nom_marital_co_exploitant",
+ "prenom_co_exploitant",
+ "date_naissance_co_exploitant",
+ "ville_naissance_co_exploitant",
+ "cp_naissance_co_exploitant",
+ "adresse1_co_exploitant",
+ "adresse2_co_exploitant",
+ "cp_co_exploitant",
+ "ville_co_exploitant",
+ "nationalite_co_exploitant",
+ "co_exploitant",
+ "particularite_co_exploitant",
+ "nom_ancien_exploitant",
+ "prenom_ancien_exploitant",
+ "ancien_exploitant",
+ "civilite_proprietaire",
+ "nom_proprietaire",
+ "prenom_proprietaire",
+ "adresse1_proprietaire",
+ "adresse2_proprietaire",
+ "cp_proprietaire",
+ "ville_proprietaire",
+ "profession_proprietaire",
+ "ancien_proprietaire",
+ "date_fermeture",
+ "date_liquidation",
+ 'geom',
+ "nature");
+
+?>

Added: branches/1.x/sql/pgsql/etablissement.import.inc
===================================================================
--- branches/1.x/sql/pgsql/etablissement.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/etablissement.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,88 @@
+<?php
+//$Id$
+//gen openMairie le 08/04/2011 14:34
+$import= "Insertion dans la table etablissement voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."etablissement";
+$id='etablissement'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['etablissement']=1;// obligatoire = 1
+//* cle secondaire=exploitant
+$exist['exploitant']=1;// 0=non / 1=oui
+$sql_exist['exploitant']= "select * from ".DB_PREFIXE."exploitant where exploitant = '";
+// * champ = etablissement
+$zone['etablissement']='0';
+// $defaut['etablissement']='***'; // *** par defaut si non renseigne
+// * champ = raison_sociale
+$zone['raison_sociale']='1';
+// $defaut['raison_sociale']='***'; // *** par defaut si non renseigne
+// * champ = enseigne
+$zone['enseigne']='2';
+// $defaut['enseigne']='***'; // *** par defaut si non renseigne
+// * champ = numero_voie
+$zone['numero_voie']='3';
+// $defaut['numero_voie']='***'; // *** par defaut si non renseigne
+// * champ = complement
+$zone['complement']='4';
+// $defaut['complement']='***'; // *** par defaut si non renseigne
+// * champ = voie
+$zone['voie']='5';
+// $defaut['voie']='***'; // *** par defaut si non renseigne
+// * champ = libelle_voie
+$zone['libelle_voie']='6';
+// $defaut['libelle_voie']='***'; // *** par defaut si non renseigne
+// * champ = complement_voie
+$zone['complement_voie']='7';
+// $defaut['complement_voie']='***'; // *** par defaut si non renseigne
+// * champ = civilite_proprietaire
+$zone['civilite_proprietaire']='8';
+// $defaut['civilite_proprietaire']='***'; // *** par defaut si non renseigne
+// * champ = nom_proprietaire
+$zone['nom_proprietaire']='9';
+// $defaut['nom_proprietaire']='***'; // *** par defaut si non renseigne
+// * champ = prenom_proprietaire
+$zone['prenom_proprietaire']='10';
+// $defaut['prenom_proprietaire']='***'; // *** par defaut si non renseigne
+// * champ = adresse1_proprietaire
+$zone['adresse1_proprietaire']='11';
+// $defaut['adresse1_proprietaire']='***'; // *** par defaut si non renseigne
+// * champ = adresse2_proprietaire
+$zone['adresse2_proprietaire']='12';
+// $defaut['adresse2_proprietaire']='***'; // *** par defaut si non renseigne
+// * champ = cp_proprietaire
+$zone['cp_proprietaire']='13';
+// $defaut['cp_proprietaire']='***'; // *** par defaut si non renseigne
+// * champ = ville_proprietaire
+$zone['ville_proprietaire']='14';
+// $defaut['ville_proprietaire']='***'; // *** par defaut si non renseigne
+// * champ = civilite_exploitant
+$zone['civilite_exploitant']='15';
+// $defaut['civilite_exploitant']='***'; // *** par defaut si non renseigne
+// * champ = nom_exploitant
+$zone['nom_exploitant']='16';
+// $defaut['nom_exploitant']='***'; // *** par defaut si non renseigne
+// * champ = prenom_exploitant
+$zone['prenom_exploitant']='17';
+// $defaut['prenom_exploitant']='***'; // *** par defaut si non renseigne
+// * champ = adresse1_exploitant
+$zone['adresse1_exploitant']='18';
+// $defaut['adresse1_exploitant']='***'; // *** par defaut si non renseigne
+// * champ = adresse2_exploitant
+$zone['adresse2_exploitant']='19';
+// $defaut['adresse2_exploitant']='***'; // *** par defaut si non renseigne
+// * champ = cp_exploitant
+$zone['cp_exploitant']='20';
+// $defaut['cp_exploitant']='***'; // *** par defaut si non renseigne
+// * champ = ville_exploitant
+$zone['ville_exploitant']='21';
+// $defaut['ville_exploitant']='***'; // *** par defaut si non renseigne
+// * champ = exploitant
+$zone['exploitant']='22';
+// $defaut['exploitant']='***'; // *** par defaut si non renseigne
+// * champ = geom
+$zone['geom']='23';
+// $defaut['geom']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/etablissement.inc
===================================================================
--- branches/1.x/sql/pgsql/etablissement.inc (rev 0)
+++ branches/1.x/sql/pgsql/etablissement.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,48 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:01
+include('../gen/sql/pgsql/etablissement.inc.php');
+$champAffiche=array('etablissement.etablissement',
+ 'raison_sociale as "Raison sociale"',
+ 'enseigne' ,
+ 'libelle_voie as "Libelle voie"',
+ "(civilite_proprietaire||' '||nom_proprietaire) as proprietaire",
+ "(civilite_exploitant||' '||nom_exploitant) as exploitant"
+ );
+$champRecherche=array('raison_sociale',
+ 'enseigne',
+ 'libelle_voie',
+ 'nom_proprietaire',
+ 'nom_exploitant');
+$sousformulaire=array('demande_licence','dossier','courrier');
+
+$href[3] = array(
+ "lien" => "../scr/tab_sig.php?obj=etab&amp;zoom=18&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("sig")."\">"._("sig")."</span>",
+);
+
+if ($retourformulaire== 'type_licence'){
+
+ $selection=" right join ".DB_PREFIXE."demande_licence on etablissement.etablissement=demande_licence.etablissement where demande_licence.type_licence ='".$idx."' and nature='permanent'";
+ $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
+ $href[1] = array("lien" => "", "id" => "", "lib" => "", );
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
+ }
+ else if ($retourformulaire== 'terme'){
+ $selection=" right join ".DB_PREFIXE."demande_licence on etablissement.etablissement=demande_licence.etablissement where demande_licence.terme ='".$idx."'"." and
+ nature='permanent'";
+ $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
+ $href[1] = array("lien" => "", "id" => "", "lib" => "", );
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
+ }
+ else if ($retourformulaire== 'exploitant'){
+ $selection=" where etablissement.exploitant ='".$idx."'"." and
+ nature='permanent'";
+ $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
+ $href[1] = array("lien" => "", "id" => "", "lib" => "", );
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
+ }
+ else
+ $selection="where nature='permanent'";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/etablissement.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/etablissement.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/etablissement.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,89 @@
+<?php
+//$Id$
+//gen openMairie le 08/04/2011 14:34
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.etablissement'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=8; // largeur colone -> champs 0 - etablissement
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=40; // largeur colone -> champs 1 - raison_sociale
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=40; // largeur colone -> champs 2 - enseigne
+$be2='L';// border entete colone
+$b2='L';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$l3=8; // largeur colone -> champs 3 - numero_voie
+$be3='L';// border entete colone
+$b3='L';// border cellule colone
+$ae3='C'; // align cellule entete colone
+$a3='L';
+$l4=40; // largeur colone -> champs 4 - complement
+$be4='L';// border entete colone
+$b4='L';// border cellule colone
+$ae4='C'; // align cellule entete colone
+$a4='L';
+$l5=40; // largeur colone -> champs 5 - voie
+$be5='L';// border entete colone
+$b5='L';// border cellule colone
+$ae5='C'; // align cellule entete colone
+$a5='L';
+$l6=104; // largeur colone -> champs6 - libelle_voie
+$be6='LR';// border entete colone
+$b6='LR';// border cellule colone
+$ae6='C'; // align cellule entete colone
+$a6='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select etablissement, raison_sociale, enseigne, numero_voie, complement, voie, libelle_voie from ".DB_PREFIXE."etablissement";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/etablissement.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/etablissement.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/etablissement.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,44 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:11
+$reqmo['libelle']=' public.etablissement';
+$reqmo['reqmo_libelle']=' public.etablissement';
+$reqmo['sql']="select [etablissement], [raison_sociale], [enseigne], [no_siret], [forme_juridique], [numero_voie], [complement], [voie], [libelle_voie], [complement_voie], [civilite_exploitant], [nom_exploitant], [nom_marital_exploitant], [date_naissance_exploitant], [ville_naissance_exploitant], [cp_naissance_exploitant], [prenom_exploitant], [adresse1_exploitant], [adresse2_exploitant], [cp_exploitant], [ville_exploitant], [exploitant], [nationalite_exploitant], [civilite_proprietaire], [nom_proprietaire], [prenom_proprietaire], [adresse1_proprietaire], [adresse2_proprietaire], [cp_proprietaire], [ville_proprietaire], [permis_exploitation], [date_permis_exploitation], [date_liquidation], [date_fermeture], [nature], [geom] from ".DB_PREFIXE."etablissement order by [tri]";
+$reqmo['etablissement']='checked';
+$reqmo['raison_sociale']='checked';
+$reqmo['enseigne']='checked';
+$reqmo['no_siret']='checked';
+$reqmo['forme_juridique']='checked';
+$reqmo['numero_voie']='checked';
+$reqmo['complement']='checked';
+$reqmo['voie']='checked';
+$reqmo['libelle_voie']='checked';
+$reqmo['complement_voie']='checked';
+$reqmo['civilite_exploitant']='checked';
+$reqmo['nom_exploitant']='checked';
+$reqmo['nom_marital_exploitant']='checked';
+$reqmo['date_naissance_exploitant']='checked';
+$reqmo['ville_naissance_exploitant']='checked';
+$reqmo['cp_naissance_exploitant']='checked';
+$reqmo['prenom_exploitant']='checked';
+$reqmo['adresse1_exploitant']='checked';
+$reqmo['adresse2_exploitant']='checked';
+$reqmo['cp_exploitant']='checked';
+$reqmo['ville_exploitant']='checked';
+$reqmo['exploitant']='checked';
+$reqmo['nationalite_exploitant']='checked';
+$reqmo['civilite_proprietaire']='checked';
+$reqmo['nom_proprietaire']='checked';
+$reqmo['prenom_proprietaire']='checked';
+$reqmo['adresse1_proprietaire']='checked';
+$reqmo['adresse2_proprietaire']='checked';
+$reqmo['cp_proprietaire']='checked';
+$reqmo['ville_proprietaire']='checked';
+$reqmo['permis_exploitation']='checked';
+$reqmo['date_permis_exploitation']='checked';
+$reqmo['date_liquidation']='checked';
+$reqmo['date_fermeture']='checked';
+$reqmo['nature']='checked';
+$reqmo['geom']='checked';
+$reqmo['tri']=array('etablissement','raison_sociale','enseigne','no_siret','forme_juridique','numero_voie','complement','voie','libelle_voie','complement_voie','civilite_exploitant','nom_exploitant','nom_marital_exploitant','date_naissance_exploitant','ville_naissance_exploitant','cp_naissance_exploitant','prenom_exploitant','adresse1_exploitant','adresse2_exploitant','cp_exploitant','ville_exploitant','exploitant','nationalite_exploitant','civilite_proprietaire','nom_proprietaire','prenom_proprietaire','adresse1_proprietaire','adresse2_proprietaire','cp_proprietaire','ville_proprietaire','permis_exploitation','date_permis_exploitation','date_liquidation','date_fermeture','nature','geom');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/etablissement_exploitant.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/etablissement_exploitant.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/etablissement_exploitant.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,44 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:11
+$reqmo['libelle']=' public.etablissement';
+$reqmo['reqmo_libelle']=' public.etablissement';
+$reqmo['sql']="select [etablissement], [raison_sociale], [enseigne], [no_siret], [forme_juridique], [numero_voie], [complement], [voie], [libelle_voie], [complement_voie], [civilite_exploitant], [nom_exploitant], [nom_marital_exploitant], [date_naissance_exploitant], [ville_naissance_exploitant], [cp_naissance_exploitant], [prenom_exploitant], [adresse1_exploitant], [adresse2_exploitant], [cp_exploitant], [ville_exploitant], [nationalite_exploitant], [civilite_proprietaire], [nom_proprietaire], [prenom_proprietaire], [adresse1_proprietaire], [adresse2_proprietaire], [cp_proprietaire], [ville_proprietaire], [permis_exploitation], [date_permis_exploitation], [date_liquidation], [date_fermeture], [nature], [geom] from ".DB_PREFIXE."etablissement where exploitant = '[exploitant]' order by [tri]";
+$reqmo['etablissement']='checked';
+$reqmo['raison_sociale']='checked';
+$reqmo['enseigne']='checked';
+$reqmo['no_siret']='checked';
+$reqmo['forme_juridique']='checked';
+$reqmo['numero_voie']='checked';
+$reqmo['complement']='checked';
+$reqmo['voie']='checked';
+$reqmo['libelle_voie']='checked';
+$reqmo['complement_voie']='checked';
+$reqmo['civilite_exploitant']='checked';
+$reqmo['nom_exploitant']='checked';
+$reqmo['nom_marital_exploitant']='checked';
+$reqmo['date_naissance_exploitant']='checked';
+$reqmo['ville_naissance_exploitant']='checked';
+$reqmo['cp_naissance_exploitant']='checked';
+$reqmo['prenom_exploitant']='checked';
+$reqmo['adresse1_exploitant']='checked';
+$reqmo['adresse2_exploitant']='checked';
+$reqmo['cp_exploitant']='checked';
+$reqmo['ville_exploitant']='checked';
+$reqmo['exploitant']="select * from ".DB_PREFIXE."exploitant";
+$reqmo['nationalite_exploitant']='checked';
+$reqmo['civilite_proprietaire']='checked';
+$reqmo['nom_proprietaire']='checked';
+$reqmo['prenom_proprietaire']='checked';
+$reqmo['adresse1_proprietaire']='checked';
+$reqmo['adresse2_proprietaire']='checked';
+$reqmo['cp_proprietaire']='checked';
+$reqmo['ville_proprietaire']='checked';
+$reqmo['permis_exploitation']='checked';
+$reqmo['date_permis_exploitation']='checked';
+$reqmo['date_liquidation']='checked';
+$reqmo['date_fermeture']='checked';
+$reqmo['nature']='checked';
+$reqmo['geom']='checked';
+$reqmo['tri']=array('etablissement','raison_sociale','enseigne','no_siret','forme_juridique','numero_voie','complement','voie','libelle_voie','complement_voie','civilite_exploitant','nom_exploitant','nom_marital_exploitant','date_naissance_exploitant','ville_naissance_exploitant','cp_naissance_exploitant','prenom_exploitant','adresse1_exploitant','adresse2_exploitant','cp_exploitant','ville_exploitant','nationalite_exploitant','civilite_proprietaire','nom_proprietaire','prenom_proprietaire','adresse1_proprietaire','adresse2_proprietaire','cp_proprietaire','ville_proprietaire','permis_exploitation','date_permis_exploitation','date_liquidation','date_fermeture','nature','geom');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/etablissement_temporaire.inc
===================================================================
--- branches/1.x/sql/pgsql/etablissement_temporaire.inc (rev 0)
+++ branches/1.x/sql/pgsql/etablissement_temporaire.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,44 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:01
+include('../gen/sql/pgsql/etablissement.inc.php');
+$champAffiche=array('etablissement.etablissement',
+ 'raison_sociale as "Raison sociale"',
+ 'enseigne' ,
+ 'libelle_voie as "Libelle voie"',
+ "(civilite_proprietaire||' '||nom_proprietaire) as proprietaire",
+ "(civilite_exploitant||' '||nom_exploitant) as exploitant"
+ );
+$champRecherche=array('raison_sociale',
+ 'enseigne',
+ 'libelle_voie',
+ 'nom_proprietaire',
+ 'nom_exploitant');
+$sousformulaire=array('demande_licence','dossier','courrier');
+
+
+if ($retourformulaire== 'type_licence'){
+ $selection=" right join ".DB_PREFIXE."demande_licence on etablissement.etablissement=demande_licence.etablissement where demande_licence.type_licence ='".$idx."'"." and
+ nature='temporaire'";
+ $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
+ $href[1] = array("lien" => "", "id" => "", "lib" => "", );
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
+ }
+ else if ($retourformulaire== 'terme'){
+ $selection=" right join ".DB_PREFIXE."demande_licence on etablissement.etablissement=demande_licence.etablissement where demande_licence.terme ='".$idx."'"." and
+ nature='temporaire'";
+ $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
+ $href[1] = array("lien" => "", "id" => "", "lib" => "", );
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
+ }
+ else if ($retourformulaire== 'exploitant'){
+ $selection=" where etablissement.exploitant ='".$idx."'"." and
+ nature='temporaire'";
+ $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
+ $href[1] = array("lien" => "", "id" => "", "lib" => "", );
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
+ }
+else
+ $selection=" where nature='temporaire'";
+$sousformulaire=array('courrier','demande_licence_temporaire','dossier');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/exploitant.form.inc
===================================================================
--- branches/1.x/sql/pgsql/exploitant.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/exploitant.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:00
+include('../gen/sql/pgsql/exploitant.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/exploitant.import.inc
===================================================================
--- branches/1.x/sql/pgsql/exploitant.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/exploitant.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:00
+$import= "Insertion dans la table exploitant voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."exploitant";
+$id='exploitant'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['exploitant']=1;// obligatoire = 1
+// * champ = exploitant
+$zone['exploitant']='0';
+// $defaut['exploitant']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='1';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/exploitant.inc
===================================================================
--- branches/1.x/sql/pgsql/exploitant.inc (rev 0)
+++ branches/1.x/sql/pgsql/exploitant.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,6 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:00
+include('../gen/sql/pgsql/exploitant.inc.php');
+$sousformulaire=array('etablissement','etablissement_temporaire');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/exploitant.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/exploitant.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/exploitant.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,64 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:00
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.exploitant'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=44; // largeur colone -> champs 0 - exploitant
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=236; // largeur colone -> champs1 - libelle
+$be1='LR';// border entete colone
+$b1='LR';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select exploitant, libelle from ".DB_PREFIXE."exploitant";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/exploitant.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/exploitant.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/exploitant.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:00
+$reqmo['libelle']=' public.exploitant';
+$reqmo['reqmo_libelle']=' public.exploitant';
+$reqmo['sql']="select [exploitant], [libelle] from ".DB_PREFIXE."exploitant order by [tri]";
+$reqmo['exploitant']='checked';
+$reqmo['libelle']='checked';
+$reqmo['tri']=array('exploitant','libelle');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/index.php
===================================================================
--- branches/1.x/sql/pgsql/index.php (rev 0)
+++ branches/1.x/sql/pgsql/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: index.php 14 2010-07-06 09:47:19Z fmichon $
+ */
+
+header("Location: ../../index.php");
+exit();
+
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_collectivite.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_collectivite.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_collectivite.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:42
+include('../gen/sql/pgsql/om_collectivite.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_collectivite.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_collectivite.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_collectivite.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,22 @@
+<?php
+//$Id$
+//gen openMairie le 17/11/2010 18:34
+$import= "Insertion dans la table om_collectivite voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."om_collectivite";
+$id='om_collectivite'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_collectivite']=1;// obligatoire = 1
+// * champ = om_collectivite
+$zone['om_collectivite']='0';
+// $defaut['om_collectivite']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='1';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+// * champ = niveau
+$zone['niveau']='2';
+// $defaut['niveau']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_collectivite.inc
===================================================================
--- branches/1.x/sql/pgsql/om_collectivite.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_collectivite.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,18 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:42
+include('../gen/sql/pgsql/om_collectivite.inc.php');
+
+// pas de sup ou ajout pour mono coll
+if ($_SESSION['niveau']== '1'){
+ $href[0] = array("lien" => "#","id" => "","lib" => "",);
+ $href[2] = array("lien" => "#", "id" => "", "lib" => "",);
+}
+
+// copie
+$href[3] = array(
+ "lien" => "../pdf/pdfetat.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition Pdf")."\">"._("Edition Pdf")."</span>",
+);
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_collectivite.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/om_collectivite.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_collectivite.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,69 @@
+<?php
+//$Id$
+//gen openMairie le 17/11/2010 18:34
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.om_collectivite'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=40; // largeur colone -> champs 0 - om_collectivite
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=100; // largeur colone -> champs 1 - libelle
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=140; // largeur colone -> champs2 - niveau
+$be2='LR';// border entete colone
+$b2='LR';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select om_collectivite, libelle, niveau from ".DB_PREFIXE."om_collectivite";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_collectivite.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_collectivite.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_collectivite.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,11 @@
+<?php
+//$Id$
+//gen openMairie le 06/12/2010 15:50
+$reqmo['libelle']=' public.om_collectivite';
+$reqmo['reqmo_libelle']=' public.om_collectivite';
+$reqmo['sql']="select [om_collectivite], [libelle], [niveau] from ".DB_PREFIXE."om_collectivite order by [tri]";
+$reqmo['om_collectivite']='checked';
+$reqmo['libelle']='checked';
+$reqmo['niveau']='checked';
+$reqmo['tri']=array('om_collectivite','libelle','niveau');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_droit.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_droit.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_droit.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:43
+include('../gen/sql/pgsql/om_droit.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_droit.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_droit.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_droit.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,22 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:43
+$import= "Insertion dans la table om_droit voir rec/import_utilisateur.inc";
+$table= 'om_droit';
+$id=''; // numerotation non automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_droit']=1;// obligatoire = 1
+//* cle secondaire=om_profil
+$exist['om_profil']=1;// 0=non / 1=oui
+$sql_exist['om_profil']= "select * from om_profil where om_profil = '";
+// * champ = om_droit
+$zone['om_droit']='0';
+// $defaut['om_droit']='***'; // *** par defaut si non renseigne
+// * champ = om_profil
+$zone['om_profil']='1';
+// $defaut['om_profil']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_droit.inc
===================================================================
--- branches/1.x/sql/pgsql/om_droit.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_droit.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:43
+include('../gen/sql/pgsql/om_droit.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_droit.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_droit.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_droit.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+<?php
+//$Id$
+//gen openMairie le 06/12/2010 15:50
+$reqmo['libelle']=' public.om_droit';
+$reqmo['reqmo_libelle']=' public.om_droit';
+$reqmo['sql']="select [om_droit], [om_profil] from ".DB_PREFIXE."om_droit order by [tri]";
+$reqmo['om_droit']='checked';
+$reqmo['om_profil']='checked';
+$reqmo['tri']=array('om_droit','om_profil');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_etat.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_etat.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_etat.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,21 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:47
+include('../gen/sql/pgsql/om_etat.form.inc.php');
+$champs=array("om_etat","om_collectivite","'lettretype.png' as image",
+ "id","libelle", 'actif',
+ "orientation","format",
+ "footerfont","footerattribut","footertaille",
+ "logo","logoleft","logotop",
+ "titre","titreleft","titretop","titrelargeur","titrehauteur",
+ "titrefont","titreattribut","titretaille","titrebordure","titrealign",
+ "corps","corpsleft","corpstop","corpslargeur","corpshauteur",
+ "corpsfont","corpsattribut","corpstaille","corpsbordure","corpsalign",
+ "om_sql",
+ "'' as om_sousetat","sousetat", //*** specific
+ "se_font","se_margeleft","se_margetop","se_margeright","se_couleurtexte");
+$sql_om_sousetat="select id, (id||' '||libelle) from ".DB_PREFIXE."om_sousetat";
+$sql_om_sousetat.=" where actif='Oui' and om_collectivite=".$_SESSION['collectivite'];
+$sql_om_sousetat.=" order by libelle";
+// restriction collectivite si multi
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_etat.inc
===================================================================
--- branches/1.x/sql/pgsql/om_etat.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_etat.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,37 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:47
+include('../gen/sql/pgsql/om_etat.inc.php');
+$table=DB_PREFIXE."om_etat inner join ".DB_PREFIXE."om_collectivite on om_collectivite.om_collectivite = om_etat.om_collectivite";
+
+$champAffiche=array('om_etat','om_collectivite.libelle as collectivite','id','om_etat.libelle','om_etat.actif','niveau');
+$champRecherche=array('id','om_etat.libelle','om_collectivite.libelle','om_etat.actif','niveau');
+$href[3] = array(
+ "lien" => "../scr/valid_copie.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix copy-16\" title=\""._("Copier")."\">"._("Copier")."</span>",
+);
+if ($_SESSION['niveau']== '2')
+ $selection='';
+else{
+ $selection=" where om_etat.om_collectivite = '".$_SESSION['collectivite']."' or niveau ='2'";
+ $options = array();
+ $option = array(
+ "type" => "condition",
+ "field" => "niveau",
+ "case" => array(
+ "0" => array(
+ "values" => array('2', ),
+ "style" => "tab_desactive",
+ "href" => array(
+ 0 => array("lien" => "", "id" => "", "lib" => ""),
+ 1 => array("lien" => "", "id" => "", "lib" => ""),
+ 2 => array("lien" => "", "id" => "", "lib" => ""),
+ 3 => array("lien" => "xxx", "id" => "", "lib" => "non dispo"),
+ ),
+ ),
+ ),
+ );
+ array_push($options, $option);
+}
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_lettretype.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_lettretype.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_lettretype.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,18 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:45
+include('../gen/sql/pgsql/om_lettretype.form.inc.php');
+$champs=array("om_lettretype","om_collectivite","id","libelle",
+ "actif","orientation","format",
+ "logo","logoleft","logotop",
+ "titre","titreleft","titretop",
+ "titrelargeur","titrehauteur","titrefont",
+ "titreattribut","titretaille","titrebordure",
+ "titrealign",
+ "corps","corpsleft","corpstop","corpslargeur",
+ "corpshauteur","corpsfont","corpsattribut",
+ "corpstaille","corpsbordure","corpsalign",
+ "om_sql","'lettretype.png' as image");
+// specifique
+// "'lettretype.png' as image"); pour fct de localisation
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_lettretype.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_lettretype.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_lettretype.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,109 @@
+<?php
+//$Id$
+//gen openMairie le 17/11/2010 20:20
+$import= "Insertion dans la table om_lettretype voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."om_lettretype";
+$id='om_lettretype'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_lettretype']=1;// obligatoire = 1
+//* cle secondaire=om_collectivite
+$exist['om_collectivite']=1;// 0=non / 1=oui
+$sql_exist['om_collectivite']= "select * from ".DB_PREFIXE."om_collectivite where om_collectivite = '";
+// * champ = om_lettretype
+$zone['om_lettretype']='0';
+// $defaut['om_lettretype']='***'; // *** par defaut si non renseigne
+// * champ = om_collectivite
+$zone['om_collectivite']='1';
+// $defaut['om_collectivite']='***'; // *** par defaut si non renseigne
+// * champ = id
+$zone['id']='2';
+// $defaut['id']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='3';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+// * champ = actif
+$zone['actif']='4';
+// $defaut['actif']='***'; // *** par defaut si non renseigne
+// * champ = orientation
+$zone['orientation']='5';
+// $defaut['orientation']='***'; // *** par defaut si non renseigne
+// * champ = format
+$zone['format']='6';
+// $defaut['format']='***'; // *** par defaut si non renseigne
+// * champ = logo
+$zone['logo']='7';
+// $defaut['logo']='***'; // *** par defaut si non renseigne
+// * champ = logoleft
+$zone['logoleft']='8';
+// $defaut['logoleft']='***'; // *** par defaut si non renseigne
+// * champ = logotop
+$zone['logotop']='9';
+// $defaut['logotop']='***'; // *** par defaut si non renseigne
+// * champ = titre
+$zone['titre']='10';
+// $defaut['titre']='***'; // *** par defaut si non renseigne
+// * champ = titreleft
+$zone['titreleft']='11';
+// $defaut['titreleft']='***'; // *** par defaut si non renseigne
+// * champ = titretop
+$zone['titretop']='12';
+// $defaut['titretop']='***'; // *** par defaut si non renseigne
+// * champ = titrelargeur
+$zone['titrelargeur']='13';
+// $defaut['titrelargeur']='***'; // *** par defaut si non renseigne
+// * champ = titrehauteur
+$zone['titrehauteur']='14';
+// $defaut['titrehauteur']='***'; // *** par defaut si non renseigne
+// * champ = titrefont
+$zone['titrefont']='15';
+// $defaut['titrefont']='***'; // *** par defaut si non renseigne
+// * champ = titreattribut
+$zone['titreattribut']='16';
+// $defaut['titreattribut']='***'; // *** par defaut si non renseigne
+// * champ = titretaille
+$zone['titretaille']='17';
+// $defaut['titretaille']='***'; // *** par defaut si non renseigne
+// * champ = titrebordure
+$zone['titrebordure']='18';
+// $defaut['titrebordure']='***'; // *** par defaut si non renseigne
+// * champ = titrealign
+$zone['titrealign']='19';
+// $defaut['titrealign']='***'; // *** par defaut si non renseigne
+// * champ = corps
+$zone['corps']='20';
+// $defaut['corps']='***'; // *** par defaut si non renseigne
+// * champ = corpsleft
+$zone['corpsleft']='21';
+// $defaut['corpsleft']='***'; // *** par defaut si non renseigne
+// * champ = corpstop
+$zone['corpstop']='22';
+// $defaut['corpstop']='***'; // *** par defaut si non renseigne
+// * champ = corpslargeur
+$zone['corpslargeur']='23';
+// $defaut['corpslargeur']='***'; // *** par defaut si non renseigne
+// * champ = corpshauteur
+$zone['corpshauteur']='24';
+// $defaut['corpshauteur']='***'; // *** par defaut si non renseigne
+// * champ = corpsfont
+$zone['corpsfont']='25';
+// $defaut['corpsfont']='***'; // *** par defaut si non renseigne
+// * champ = corpsattribut
+$zone['corpsattribut']='26';
+// $defaut['corpsattribut']='***'; // *** par defaut si non renseigne
+// * champ = corpstaille
+$zone['corpstaille']='27';
+// $defaut['corpstaille']='***'; // *** par defaut si non renseigne
+// * champ = corpsbordure
+$zone['corpsbordure']='28';
+// $defaut['corpsbordure']='***'; // *** par defaut si non renseigne
+// * champ = corpsalign
+$zone['corpsalign']='29';
+// $defaut['corpsalign']='***'; // *** par defaut si non renseigne
+// * champ = om_sql
+$zone['om_sql']='30';
+// $defaut['om_sql']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_lettretype.inc
===================================================================
--- branches/1.x/sql/pgsql/om_lettretype.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_lettretype.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,45 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:45
+include('../gen/sql/pgsql/om_lettretype.inc.php');
+$table=DB_PREFIXE."om_lettretype
+ left join ".DB_PREFIXE."om_collectivite on om_collectivite.om_collectivite=om_lettretype.om_collectivite";
+$champAffiche=array("om_lettretype.om_lettretype",
+ "om_lettretype.id",
+ "om_lettretype.libelle",
+ "om_collectivite.libelle as collectivite","actif");
+$champRecherche=array("om_lettretype.id","om_lettretype.libelle","om_collectivite.libelle","actif",'niveau');
+$href[3] = array(
+ "lien" => "../scr/valid_copie.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix copy-16\" title=\""._("Copier")."\">"._("Copier")."</span>",
+);
+/**
+ * Options
+ */
+if ($_SESSION['niveau']== '2')
+ $selection='';
+else{
+ $selection=" where om_lettretype.om_collectivite = '".$_SESSION['collectivite']."' or niveau ='2'";
+ $options = array();
+ $option = array(
+ "type" => "condition",
+ "field" => "niveau",
+ "case" => array(
+ "0" => array(
+ "values" => array('2', ),
+ "style" => "tab_desactive",
+ "href" => array(
+ 0 => array("lien" => "", "id" => "", "lib" => ""),
+ 1 => array("lien" => "", "id" => "", "lib" => ""),
+ 2 => array("lien" => "", "id" => "", "lib" => ""),
+ 3 => array("lien" => "../scr/valid_copie.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix copy-16\" title=\""._("Copier")."\">"._("Copier")."</span>"),
+ ),
+ ),
+ ),
+ );
+ array_push($options, $option);
+}
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_parametre.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_parametre.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_parametre.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:43
+include('../gen/sql/pgsql/om_parametre.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_parametre.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_parametre.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_parametre.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,28 @@
+<?php
+//$Id$
+//gen openMairie le 17/11/2010 18:38
+$import= "Insertion dans la table om_parametre voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."om_parametre";
+$id='om_parametre'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_parametre']=1;// obligatoire = 1
+//* cle secondaire=om_collectivite
+$exist['om_collectivite']=1;// 0=non / 1=oui
+$sql_exist['om_collectivite']= "select * from ".DB_PREFIXE."om_collectivite where om_collectivite = '";
+// * champ = om_parametre
+$zone['om_parametre']='0';
+// $defaut['om_parametre']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='1';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+// * champ = valeur
+$zone['valeur']='2';
+// $defaut['valeur']='***'; // *** par defaut si non renseigne
+// * champ = om_collectivite
+$zone['om_collectivite']='3';
+// $defaut['om_collectivite']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_parametre.inc
===================================================================
--- branches/1.x/sql/pgsql/om_parametre.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_parametre.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,9 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:43
+include('../gen/sql/pgsql/om_parametre.inc.php');
+$table=DB_PREFIXE."om_parametre inner join ".
+ DB_PREFIXE."om_collectivite on om_parametre.om_collectivite=om_collectivite.om_collectivite";
+$champAffiche=array('om_parametre','om_parametre.libelle','valeur','om_collectivite.libelle as collectivite');
+$champRecherche=array('om_parametre.libelle','valeur','om_collectivite.libelle');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_parametre.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/om_parametre.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_parametre.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,74 @@
+<?php
+//$Id$
+//gen openMairie le 17/11/2010 18:38
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.om_parametre'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=40; // largeur colone -> champs 0 - om_parametre
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=100; // largeur colone -> champs 1 - libelle
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=55; // largeur colone -> champs 2 - valeur
+$be2='L';// border entete colone
+$b2='L';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$l3=85; // largeur colone -> champs3 - om_collectivite
+$be3='LR';// border entete colone
+$b3='LR';// border cellule colone
+$ae3='C'; // align cellule entete colone
+$a3='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select om_parametre, libelle, valeur, om_collectivite from ".DB_PREFIXE."om_parametre";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_parametre.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_parametre.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_parametre.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,12 @@
+<?php
+//$Id$
+//gen openMairie le 06/12/2010 15:50
+$reqmo['libelle']=' public.om_parametre';
+$reqmo['reqmo_libelle']=' public.om_parametre';
+$reqmo['sql']="select [om_parametre], [libelle], [valeur], [om_collectivite] from ".DB_PREFIXE."om_parametre order by [tri]";
+$reqmo['om_parametre']='checked';
+$reqmo['libelle']='checked';
+$reqmo['valeur']='checked';
+$reqmo['om_collectivite']='checked';
+$reqmo['tri']=array('om_parametre','libelle','valeur','om_collectivite');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_parametre_om_collectivite.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_parametre_om_collectivite.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_parametre_om_collectivite.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,11 @@
+<?php
+//$Id$
+//gen openMairie le 17/11/2010 18:38
+$reqmo['libelle']=' public.om_parametre';
+$reqmo['sql']="select [om_parametre], [libelle], [valeur] from ".DB_PREFIXE."om_parametre where om_collectivite = '[om_collectivite]' order by [tri]";
+$reqmo['om_parametre']='checked';
+$reqmo['libelle']='checked';
+$reqmo['valeur']='checked';
+$reqmo['om_collectivite']="select * from ".DB_PREFIXE."om_collectivite";
+$reqmo['tri']=array('om_parametre','libelle','valeur');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_profil.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_profil.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_profil.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:44
+include('../gen/sql/pgsql/om_profil.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_profil.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_profil.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_profil.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:44
+$import= "Insertion dans la table om_profil voir rec/import_utilisateur.inc";
+$table= 'om_profil';
+$id=''; // numerotation non automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_profil']=1;// obligatoire = 1
+// * champ = om_profil
+$zone['om_profil']='0';
+// $defaut['om_profil']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='1';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_profil.inc
===================================================================
--- branches/1.x/sql/pgsql/om_profil.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_profil.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:44
+include('../gen/sql/pgsql/om_profil.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_profil.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_profil.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_profil.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+<?php
+//$Id$
+//gen openMairie le 06/12/2010 15:50
+$reqmo['libelle']=' public.om_profil';
+$reqmo['reqmo_libelle']=' public.om_profil';
+$reqmo['sql']="select [om_profil], [libelle] from ".DB_PREFIXE."om_profil order by [tri]";
+$reqmo['om_profil']='checked';
+$reqmo['libelle']='checked';
+$reqmo['tri']=array('om_profil','libelle');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_sig_point.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_sig_point.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_sig_point.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,7 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 08:50
+include('../gen/sql/pgsql/om_sig_point.form.inc.php');
+$sql_geometry = "select f_table_name,(f_table_name||' '||srid) as lib from geometry_columns ";
+$sql_geometry_champ = "select f_geometry_column,(f_table_name||' '||f_geometry_column) as lib from geometry_columns ";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_sig_point.inc
===================================================================
--- branches/1.x/sql/pgsql/om_sig_point.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_sig_point.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,64 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 08:50
+include('../gen/sql/pgsql/om_sig_point.inc.php');
+$table=DB_PREFIXE."om_sig_point inner join ".DB_PREFIXE.
+ "om_collectivite on om_collectivite.om_collectivite = om_sig_point.om_collectivite";
+$champAffiche=array('om_sig_point',
+ 'om_sig_point.libelle',
+ 'id',
+ "(om_collectivite.libelle||' ('||om_collectivite.niveau||')') as collectivite",
+ 'zoom',
+ 'fond_osm as osm',
+ 'fond_bing as bing',
+ 'fond_sat as sat',
+ 'layer_info as info',
+ 'etendue',
+ 'projection_externe as projection',
+ 'maj',
+ 'table_update as table',
+ 'champ',
+ 'actif');
+$champRecherche=array('id',
+ 'om_sig_point.libelle',
+ 'zoom',
+ 'fond_osm',
+ 'fond_bing',
+ 'fond_sat',
+ 'etendue',
+ 'projection_externe',
+ 'maj',
+ 'table_update',
+ 'actif');
+$tri=' order by om_sig_point.id';//.libelle';
+$href[3] = array(
+ "lien" => "../scr/valid_copie.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix copy-16\" title=\""._("Copier")."\">"._("Copier")."</span>",
+);
+if ($_SESSION['niveau']== '2')
+ $selection='';
+else{
+ $selection=" where om_sig_point.om_collectivite = '".$_SESSION['collectivite']."' or om_collectivite.niveau ='2'";
+ $options = array();
+ $option = array(
+ "type" => "condition",
+ "field" => "niveau",
+ "case" => array(
+ "0" => array(
+ "values" => array(),
+ "style" => "tab_desactive",
+ "href" => array(
+ 0 => array("lien" => "", "id" => "", "lib" => ""),
+ 1 => array("lien" => "", "id" => "", "lib" => ""),
+ 2 => array("lien" => "", "id" => "", "lib" => ""),
+ //3 => array("lien" => "", "id" => "", "lib" => ""),
+ 3 => array("lien" => "../scr/valid_copie.php?obj=".$obj."&amp;idx=","id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix copy-16\" title=\""._("Copier")."\">"._("Copier")."</span>"),
+ ),
+ ),
+ ),
+ );
+ array_push($options, $option);
+}
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_sousetat.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_sousetat.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_sousetat.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:45
+include('../gen/sql/pgsql/om_sousetat.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_sousetat.inc
===================================================================
--- branches/1.x/sql/pgsql/om_sousetat.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_sousetat.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,44 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:45
+include('../gen/sql/pgsql/om_sousetat.inc.php');
+$table=DB_PREFIXE."om_sousetat inner join ".DB_PREFIXE."om_collectivite on
+ om_collectivite.om_collectivite=om_sousetat.om_collectivite";
+$champAffiche=array('om_sousetat','om_collectivite.libelle as collectivite',
+ 'id','om_sousetat.libelle as libelle','actif');
+$champRecherche=array('id','om_collectivite.libelle','om_sousetat.libelle','actif','niveau');
+$href[3] = array(
+ "lien" => "../scr/valid_copie.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix copy-16\" title=\""._("Copier")."\">"._("Copier")."</span>",
+);
+/**
+ * Options
+ */
+if ($_SESSION['niveau']== '2')
+ $selection='';
+else{
+ $selection=" where om_sousetat.om_collectivite = '".$_SESSION['collectivite']."' or niveau ='2'";
+ $options = array();
+ $option = array(
+ "type" => "condition",
+ "field" => "niveau",
+ "case" => array(
+ "0" => array(
+ "values" => array('2', ),
+ "style" => "tab_desactive",
+ "href" => array(
+ 0 => array("lien" => "", "id" => "", "lib" => ""),
+ 1 => array("lien" => "", "id" => "", "lib" => ""),
+ 2 => array("lien" => "", "id" => "", "lib" => ""),
+ 3 => array("lien" => "../scr/valid_copie.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<img src=\"../img/save.jpg\" alt=\""
+ ._("copie")."\" title=\""._("Copie")."\" />"),
+ ),
+ ),
+ ),
+ );
+ array_push($options, $option);
+}
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_tdb.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_tdb.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_tdb.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,6 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 10:23
+include('../gen/sql/pgsql/om_tdb.form.inc.php');
+$sql_om_widget="select om_widget,libelle from ".DB_PREFIXE."om_widget";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_tdb.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_tdb.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_tdb.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,28 @@
+<?php
+//$Id$
+//gen openMairie le 12/04/2011 13:02
+$import= "Insertion dans la table om_tdb voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."om_tdb";
+$id='om_tdb'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_tdb']=1;// obligatoire = 1
+//* cle secondaire=om_widget
+$exist['om_widget']=1;// 0=non / 1=oui
+$sql_exist['om_widget']= "select * from ".DB_PREFIXE."om_widget where om_widget = '";
+// * champ = om_tdb
+$zone['om_tdb']='0';
+// $defaut['om_tdb']='***'; // *** par defaut si non renseigne
+// * champ = login
+$zone['login']='1';
+// $defaut['login']='***'; // *** par defaut si non renseigne
+// * champ = bloc
+$zone['bloc']='2';
+// $defaut['bloc']='***'; // *** par defaut si non renseigne
+// * champ = om_widget
+$zone['om_widget']='3';
+// $defaut['om_widget']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_tdb.inc
===================================================================
--- branches/1.x/sql/pgsql/om_tdb.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_tdb.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 10:23
+include('../gen/sql/pgsql/om_tdb.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_tdb.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/om_tdb.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_tdb.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,79 @@
+<?php
+//$Id$
+//gen openMairie le 30/05/2011 14:38
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.om_tdb'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=20; // largeur colone -> champs 0 - om_tdb
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=100; // largeur colone -> champs 1 - login
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=100; // largeur colone -> champs 2 - bloc
+$be2='L';// border entete colone
+$b2='L';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$l3=20; // largeur colone -> champs 3 - om_widget
+$be3='L';// border entete colone
+$b3='L';// border cellule colone
+$ae3='C'; // align cellule entete colone
+$a3='L';
+$l4=40; // largeur colone -> champs4 - position
+$be4='LR';// border entete colone
+$b4='LR';// border cellule colone
+$ae4='C'; // align cellule entete colone
+$a4='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select om_tdb, login, bloc, om_widget, position from ".DB_PREFIXE."om_tdb";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_tdb.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_tdb.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_tdb.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+//$Id$
+//gen openMairie le 30/05/2011 14:38
+$reqmo['libelle']=' public.om_tdb';
+$reqmo['reqmo_libelle']=' public.om_tdb';
+$reqmo['sql']="select [om_tdb], [login], [bloc], [om_widget], [position] from ".DB_PREFIXE."om_tdb order by [tri]";
+$reqmo['om_tdb']='checked';
+$reqmo['login']='checked';
+$reqmo['bloc']='checked';
+$reqmo['om_widget']='checked';
+$reqmo['position']='checked';
+$reqmo['tri']=array('om_tdb','login','bloc','om_widget','position');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_tdb_om_widget.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_tdb_om_widget.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_tdb_om_widget.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+//$Id$
+//gen openMairie le 30/05/2011 14:38
+$reqmo['libelle']=' public.om_tdb';
+$reqmo['reqmo_libelle']=' public.om_tdb';
+$reqmo['sql']="select [om_tdb], [login], [bloc], [position] from ".DB_PREFIXE."om_tdb where om_widget = '[om_widget]' order by [tri]";
+$reqmo['om_tdb']='checked';
+$reqmo['login']='checked';
+$reqmo['bloc']='checked';
+$reqmo['om_widget']="select om_widget,libelle from ".DB_PREFIXE."om_widget";
+$reqmo['position']='checked';
+$reqmo['tri']=array('om_tdb','login','bloc','position','om_widget');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_utilisateur.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_utilisateur.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_utilisateur.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:44
+include('../gen/sql/pgsql/om_utilisateur.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_utilisateur.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_utilisateur.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_utilisateur.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,43 @@
+<?php
+//$Id$
+//gen openMairie le 17/11/2010 20:16
+$import= "Insertion dans la table om_utilisateur voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."om_utilisateur";
+$id='om_utilisateur'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_utilisateur']=1;// obligatoire = 1
+//* cle secondaire=om_profil
+$exist['om_profil']=1;// 0=non / 1=oui
+$sql_exist['om_profil']= "select * from ".DB_PREFIXE."om_profil where om_profil = '";
+//* cle secondaire=om_collectivite
+$exist['om_collectivite']=1;// 0=non / 1=oui
+$sql_exist['om_collectivite']= "select * from ".DB_PREFIXE."om_collectivite where om_collectivite = '";
+// * champ = om_utilisateur
+$zone['om_utilisateur']='0';
+// $defaut['om_utilisateur']='***'; // *** par defaut si non renseigne
+// * champ = nom
+$zone['nom']='1';
+// $defaut['nom']='***'; // *** par defaut si non renseigne
+// * champ = email
+$zone['email']='2';
+// $defaut['email']='***'; // *** par defaut si non renseigne
+// * champ = login
+$zone['login']='3';
+// $defaut['login']='***'; // *** par defaut si non renseigne
+// * champ = pwd
+$zone['pwd']='4';
+// $defaut['pwd']='***'; // *** par defaut si non renseigne
+// * champ = om_profil
+$zone['om_profil']='5';
+// $defaut['om_profil']='***'; // *** par defaut si non renseigne
+// * champ = om_collectivite
+$zone['om_collectivite']='6';
+// $defaut['om_collectivite']='***'; // *** par defaut si non renseigne
+// * champ = om_type
+$zone['om_type']='7';
+// $defaut['om_type']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_utilisateur.inc
===================================================================
--- branches/1.x/sql/pgsql/om_utilisateur.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_utilisateur.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,20 @@
+<?php
+//$Id$
+//gen openMairie le 04/11/2010 17:44
+include('../gen/sql/pgsql/om_utilisateur.inc.php');
+$table=DB_PREFIXE."om_utilisateur
+ left join ".DB_PREFIXE."om_profil on om_profil.om_profil=om_utilisateur.om_profil
+ left join ".DB_PREFIXE."om_collectivite on om_collectivite.om_collectivite=om_utilisateur.om_collectivite";
+$champAffiche=array("om_utilisateur.om_utilisateur",
+ "om_utilisateur.nom",
+ "om_utilisateur.email",
+ "om_utilisateur.login",
+ "om_profil.libelle as profil",
+ "om_collectivite.libelle as collectivite");
+$champRecherche=array("nom","login","om_profil.libelle","om_collectivite.libelle");
+$href[4] = array(
+ "lien" => "../pdf/pdflettretype.php?obj=".$obj."&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\""._("Edition Pdf")."\">"._("Edition Pdf")."</span>",
+);
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_utilisateur.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_utilisateur.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_utilisateur.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,16 @@
+<?php
+//$Id$
+//gen openMairie le 06/12/2010 15:50
+$reqmo['libelle']=' public.om_utilisateur';
+$reqmo['reqmo_libelle']=' public.om_utilisateur';
+$reqmo['sql']="select [om_utilisateur], [nom], [email], [login], [pwd], [om_profil], [om_collectivite], [om_type] from ".DB_PREFIXE."om_utilisateur order by [tri]";
+$reqmo['om_utilisateur']='checked';
+$reqmo['nom']='checked';
+$reqmo['email']='checked';
+$reqmo['login']='checked';
+$reqmo['pwd']='checked';
+$reqmo['om_profil']='checked';
+$reqmo['om_collectivite']='checked';
+$reqmo['om_type']='checked';
+$reqmo['tri']=array('om_utilisateur','nom','email','login','pwd','om_profil','om_collectivite','om_type');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_widget.form.inc
===================================================================
--- branches/1.x/sql/pgsql/om_widget.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_widget.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 10:23
+include('../gen/sql/pgsql/om_widget.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_widget.import.inc
===================================================================
--- branches/1.x/sql/pgsql/om_widget.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_widget.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,37 @@
+<?php
+//$Id$
+//gen openMairie le 12/04/2011 12:55
+$import= "Insertion dans la table om_widget voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."om_widget";
+$id='om_widget'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['om_widget']=1;// obligatoire = 1
+//* cle secondaire=om_collectivite
+$exist['om_collectivite']=1;// 0=non / 1=oui
+$sql_exist['om_collectivite']= "select * from ".DB_PREFIXE."om_collectivite where om_collectivite = '";
+//* cle secondaire=om_profil
+$exist['om_profil']=1;// 0=non / 1=oui
+$sql_exist['om_profil']= "select * from ".DB_PREFIXE."om_profil where om_profil = '";
+// * champ = om_widget
+$zone['om_widget']='0';
+// $defaut['om_widget']='***'; // *** par defaut si non renseigne
+// * champ = om_collectivite
+$zone['om_collectivite']='1';
+// $defaut['om_collectivite']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='2';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+// * champ = lien
+$zone['lien']='3';
+// $defaut['lien']='***'; // *** par defaut si non renseigne
+// * champ = texte
+$zone['texte']='4';
+// $defaut['texte']='***'; // *** par defaut si non renseigne
+// * champ = om_profil
+$zone['om_profil']='5';
+// $defaut['om_profil']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_widget.inc
===================================================================
--- branches/1.x/sql/pgsql/om_widget.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_widget.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,12 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 10:23
+include('../gen/sql/pgsql/om_widget.inc.php');
+$serie=6;
+$champAffiche=array('om_widget',
+ 'libelle',
+ // 'lien',
+ 'om_profil as profil',
+ 'om_collectivite as coll');
+$tri= " order by om_widget desc"
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_widget.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/om_widget.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_widget.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,79 @@
+<?php
+//$Id$
+//gen openMairie le 30/05/2011 14:38
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.om_widget'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=16; // largeur colone -> champs 0 - om_widget
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=16; // largeur colone -> champs 1 - om_collectivite
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=40; // largeur colone -> champs 2 - libelle
+$be2='L';// border entete colone
+$b2='L';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$l3=124; // largeur colone -> champs 3 - lien
+$be3='L';// border entete colone
+$b3='L';// border cellule colone
+$ae3='C'; // align cellule entete colone
+$a3='L';
+$l4=84; // largeur colone -> champs4 - om_profil
+$be4='LR';// border entete colone
+$b4='LR';// border cellule colone
+$ae4='C'; // align cellule entete colone
+$a4='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select om_widget, om_collectivite, libelle, lien, om_profil from ".DB_PREFIXE."om_widget";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_widget.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_widget.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_widget.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,14 @@
+<?php
+//$Id$
+//gen openMairie le 30/05/2011 14:38
+$reqmo['libelle']=' public.om_widget';
+$reqmo['reqmo_libelle']=' public.om_widget';
+$reqmo['sql']="select [om_widget], [om_collectivite], [libelle], [lien], [texte], [om_profil] from ".DB_PREFIXE."om_widget order by [tri]";
+$reqmo['om_widget']='checked';
+$reqmo['om_collectivite']='checked';
+$reqmo['libelle']='checked';
+$reqmo['lien']='checked';
+$reqmo['texte']='checked';
+$reqmo['om_profil']='checked';
+$reqmo['tri']=array('om_widget','om_collectivite','libelle','lien','texte','om_profil');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_widget_om_collectivite.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_widget_om_collectivite.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_widget_om_collectivite.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,14 @@
+<?php
+//$Id$
+//gen openMairie le 30/05/2011 14:38
+$reqmo['libelle']=' public.om_widget';
+$reqmo['reqmo_libelle']=' public.om_widget';
+$reqmo['sql']="select [om_widget], [libelle], [lien], [texte], [om_profil] from ".DB_PREFIXE."om_widget where om_collectivite = '[om_collectivite]' order by [tri]";
+$reqmo['om_widget']='checked';
+$reqmo['om_collectivite']="select * from ".DB_PREFIXE."om_collectivite";
+$reqmo['libelle']='checked';
+$reqmo['lien']='checked';
+$reqmo['texte']='checked';
+$reqmo['om_profil']='checked';
+$reqmo['tri']=array('om_widget','libelle','lien','texte','om_profil');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/om_widget_om_profil.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/om_widget_om_profil.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/om_widget_om_profil.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,14 @@
+<?php
+//$Id$
+//gen openMairie le 30/05/2011 14:38
+$reqmo['libelle']=' public.om_widget';
+$reqmo['reqmo_libelle']=' public.om_widget';
+$reqmo['sql']="select [om_widget], [om_collectivite], [libelle], [lien], [texte] from ".DB_PREFIXE."om_widget where om_profil = '[om_profil]' order by [tri]";
+$reqmo['om_widget']='checked';
+$reqmo['om_collectivite']='checked';
+$reqmo['libelle']='checked';
+$reqmo['lien']='checked';
+$reqmo['texte']='checked';
+$reqmo['om_profil']="select * from ".DB_PREFIXE."om_profil";
+$reqmo['tri']=array('om_widget','om_collectivite','libelle','lien','texte');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/perimetre.form.inc
===================================================================
--- branches/1.x/sql/pgsql/perimetre.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/perimetre.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,18 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:01
+include('../gen/sql/pgsql/perimetre.form.inc.php');
+$tableSelect=DB_PREFIXE."perimetre";
+$champs=array("perimetre",
+ "libelle",
+ "longueur_exclusion_metre",
+ "numero_voie",
+ "complement",
+ "voie",
+ "'' as adresse_postale", // specific
+ "libelle_voie",
+ "complement_voie",
+ 'geom');
+
+
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/perimetre.import.inc
===================================================================
--- branches/1.x/sql/pgsql/perimetre.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/perimetre.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,31 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:01
+$import= "Insertion dans la table perimetre voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."perimetre";
+$id='perimetre'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['perimetre']=1;// obligatoire = 1
+//* cle secondaire=etablissement
+$exist['etablissement']=1;// 0=non / 1=oui
+$sql_exist['etablissement']= "select * from ".DB_PREFIXE."etablissement where etablissement = '";
+// * champ = perimetre
+$zone['perimetre']='0';
+// $defaut['perimetre']='***'; // *** par defaut si non renseigne
+// * champ = longueur_exclusion_metre
+$zone['longueur_exclusion_metre']='1';
+// $defaut['longueur_exclusion_metre']='***'; // *** par defaut si non renseigne
+// * champ = etablissement
+$zone['etablissement']='2';
+// $defaut['etablissement']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='3';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+// * champ = point_exclusion
+$zone['point_exclusion']='4';
+// $defaut['point_exclusion']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/perimetre.inc
===================================================================
--- branches/1.x/sql/pgsql/perimetre.inc (rev 0)
+++ branches/1.x/sql/pgsql/perimetre.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,27 @@
+<?php
+//$Id$
+//gen openMairie le 05/04/2011 08:01
+include('../gen/sql/pgsql/perimetre.inc.php');
+
+
+$champAffiche=array('perimetre as Perimetre',
+ 'libelle as Libelle',
+ 'longueur_exclusion_metre as "Longueur Exclusion"'
+ );
+$champRecherche=array('perimetre as Perimetre',
+ 'libelle as Libelle',
+ 'longueur_exclusion_metre as "Longueur Exclusion"',
+ 'numero_voie as "Numero Voie"',
+ 'complement as Complement',
+ 'voie as Voie',
+ 'libelle_voie as "Libelle Voie',
+ 'complement_voie as "Complement Voie"'
+ );
+
+
+$href[3] = array(
+ "lien" => "../scr/tab_sig.php?obj=perimetre&amp;zoom=18&amp;idx=",
+ "id" => "",
+ "lib" => "<span class=\"om-icon om-icon-16 om-icon-fix sig-16\" title=\""._("sig")."\">"._("sig")."</span>",
+);
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/perimetre.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/perimetre.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/perimetre.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,89 @@
+<?php
+//$Id$
+//gen openMairie le 24/05/2011 09:35
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.perimetre'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=8; // largeur colone -> champs 0 - perimetre
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=8; // largeur colone -> champs 1 - longueur_exclusion_metre
+$be1='L';// border entete colone
+$b1='L';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$l2=46; // largeur colone -> champs 2 - libelle
+$be2='L';// border entete colone
+$b2='L';// border cellule colone
+$ae2='C'; // align cellule entete colone
+$a2='L';
+$l3=8; // largeur colone -> champs 3 - numero_voie
+$be3='L';// border entete colone
+$b3='L';// border cellule colone
+$ae3='C'; // align cellule entete colone
+$a3='L';
+$l4=40; // largeur colone -> champs 4 - complement
+$be4='L';// border entete colone
+$b4='L';// border cellule colone
+$ae4='C'; // align cellule entete colone
+$a4='L';
+$l5=40; // largeur colone -> champs 5 - voie
+$be5='L';// border entete colone
+$b5='L';// border cellule colone
+$ae5='C'; // align cellule entete colone
+$a5='L';
+$l6=130; // largeur colone -> champs6 - libelle_voie
+$be6='LR';// border entete colone
+$b6='LR';// border cellule colone
+$ae6='C'; // align cellule entete colone
+$a6='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select perimetre, longueur_exclusion_metre, libelle, numero_voie, complement, voie, libelle_voie from ".DB_PREFIXE."perimetre";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/perimetre.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/perimetre.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/perimetre.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,17 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:11
+$reqmo['libelle']=' public.perimetre';
+$reqmo['reqmo_libelle']=' public.perimetre';
+$reqmo['sql']="select [perimetre], [longueur_exclusion_metre], [libelle], [numero_voie], [complement], [voie], [libelle_voie], [complement_voie], [geom] from ".DB_PREFIXE."perimetre order by [tri]";
+$reqmo['perimetre']='checked';
+$reqmo['longueur_exclusion_metre']='checked';
+$reqmo['libelle']='checked';
+$reqmo['numero_voie']='checked';
+$reqmo['complement']='checked';
+$reqmo['voie']='checked';
+$reqmo['libelle_voie']='checked';
+$reqmo['complement_voie']='checked';
+$reqmo['geom']='checked';
+$reqmo['tri']=array('perimetre','longueur_exclusion_metre','libelle','numero_voie','complement','voie','libelle_voie','complement_voie','geom');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/stat_licence_type.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/stat_licence_type.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/stat_licence_type.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+$reqmo['libelle']=' Statistiques';
+$reqmo['reqmo_libelle']='Nombre de licence par type';
+//$reqmo['sql']="select [ARRAY_AGG(etablissement.etablissement||' '||etablissement.raison_sociale||' '||etablissement.enseigne) as liste_etablissement] , [type_licence.libelle as type_licence],[COUNT(*) as nombre_licence] from ".DB_PREFIXE."demande_licence INNER JOIN ".DB_PREFIXE."etablissement on etablissement.etablissement = demande_licence.etablissement INNER JOIN ".DB_PREFIXE."type_licence on type_licence.type_licence = demande_licence.type_licence where demande_licence.terme = [terme] GROUP BY type_licence.libelle order by type_licence";
+$reqmo['sql']="select [etablissement.enseigne||' - '||etablissement.raison_sociale||' - code : '||etablissement.etablissement as liste_etablissement], [type_licence.libelle as type_licence] from ".DB_PREFIXE."demande_licence INNER JOIN ".DB_PREFIXE."etablissement on etablissement.etablissement = demande_licence.etablissement INNER JOIN ".DB_PREFIXE."type_licence on type_licence.type_licence = demande_licence.type_licence where demande_licence.terme = [terme] order by type_licence,liste_etablissement";
+$reqmo['liste_etablissement']='checked';
+$reqmo['type_licence']='checked';
+$reqmo['nombre_licence']='checked';
+$reqmo['terme']="select terme,libelle from ".DB_PREFIXE."terme";
+$reqmo['tri']='';
+?>

Added: branches/1.x/sql/pgsql/stat_licence_type_fixe.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/stat_licence_type_fixe.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/stat_licence_type_fixe.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+<?php
+//$Id$
+//gen openMairie le 04/05/2011 08:25
+$reqmo['libelle']=' Statistiques';
+$reqmo['reqmo_libelle']='Nbre de licence par type - terme : permanent';
+$reqmo['sql']="select [type_licence.libelle as type_licence],[COUNT(*) as nombre_licence] from ".DB_PREFIXE."demande_licence INNER JOIN ".DB_PREFIXE."etablissement on etablissement.etablissement = demande_licence.etablissement INNER JOIN ".DB_PREFIXE."type_licence on type_licence.type_licence = demande_licence.type_licence where demande_licence.terme = '1' GROUP BY type_licence.libelle order by type_licence";
+$reqmo['type_licence']='checked';
+$reqmo['nombre_licence']='checked';
+$reqmo['tri']='';
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/terme.form.inc
===================================================================
--- branches/1.x/sql/pgsql/terme.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/terme.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 09:20
+include('../gen/sql/pgsql/terme.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/terme.import.inc
===================================================================
--- branches/1.x/sql/pgsql/terme.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/terme.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 09:20
+$import= "Insertion dans la table terme voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."terme";
+$id=''; // numerotation non automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['terme']=1;// obligatoire = 1
+// * champ = duree
+$zone['duree']='0';
+// $defaut['duree']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='1';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/terme.inc
===================================================================
--- branches/1.x/sql/pgsql/terme.inc (rev 0)
+++ branches/1.x/sql/pgsql/terme.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,7 @@
+<?php
+//$Id$
+//gen openMairie le 07/04/2011 09:20
+include('../gen/sql/pgsql/terme.inc.php');
+
+$sousformulaire=array('demande_licence','etablissement','etablissement_temporaire');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/terme.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/terme.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/terme.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,64 @@
+<?php
+//$Id$
+//gen openMairie le 27/05/2011 13:09
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.terme'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=80; // largeur colone -> champs 0 - terme
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=200; // largeur colone -> champs1 - libelle
+$be1='LR';// border entete colone
+$b1='LR';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select terme, libelle from ".DB_PREFIXE."terme";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/terme.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/terme.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/terme.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+<?php
+//$Id$
+//gen openMairie le 28/04/2011 15:06
+$reqmo['libelle']=' public.terme';
+$reqmo['reqmo_libelle']=' public.terme';
+$reqmo['sql']="select [terme], [libelle] from ".DB_PREFIXE."terme order by [tri]";
+$reqmo['terme']='checked';
+$reqmo['libelle']='checked';
+$reqmo['tri']=array('terme','libelle');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_demande.form.inc
===================================================================
--- branches/1.x/sql/pgsql/type_demande.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_demande.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 18/04/2011 14:22
+include('../gen/sql/pgsql/type_demande.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_demande.import.inc
===================================================================
--- branches/1.x/sql/pgsql/type_demande.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_demande.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+<?php
+//$Id$
+//gen openMairie le 18/04/2011 14:22
+$import= "Insertion dans la table type_demande voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."type_demande";
+$id='type_demande'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['type_demande']=1;// obligatoire = 1
+// * champ = type_demande
+$zone['type_demande']='0';
+// $defaut['type_demande']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='1';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_demande.inc
===================================================================
--- branches/1.x/sql/pgsql/type_demande.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_demande.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 18/04/2011 14:22
+include('../gen/sql/pgsql/type_demande.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_demande.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/type_demande.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_demande.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,64 @@
+<?php
+//$Id$
+//gen openMairie le 18/04/2011 14:22
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.type_demande'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=44; // largeur colone -> champs 0 - type_demande
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=236; // largeur colone -> champs1 - libelle
+$be1='LR';// border entete colone
+$b1='LR';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select type_demande, libelle from ".DB_PREFIXE."type_demande";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_demande.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/type_demande.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_demande.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+<?php
+//$Id$
+//gen openMairie le 18/04/2011 14:22
+$reqmo['libelle']=' public.type_demande';
+$reqmo['reqmo_libelle']=' public.type_demande';
+$reqmo['sql']="select [type_demande], [libelle] from ".DB_PREFIXE."type_demande order by [tri]";
+$reqmo['type_demande']='checked';
+$reqmo['libelle']='checked';
+$reqmo['tri']=array('type_demande','libelle');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_licence.form.inc
===================================================================
--- branches/1.x/sql/pgsql/type_licence.form.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_licence.form.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,5 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 12:22
+include('../gen/sql/pgsql/type_licence.form.inc.php');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_licence.import.inc
===================================================================
--- branches/1.x/sql/pgsql/type_licence.import.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_licence.import.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,19 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 12:22
+$import= "Insertion dans la table type_licence voir rec/import_utilisateur.inc";
+$table= DB_PREFIXE."type_licence";
+$id='type_licence'; // numerotation automatique
+$verrou=1;// =0 pas de mise a jour de la base / =1 mise a jour
+$DEBUG=0; // =0 pas d affichage messages / =1 affichage detail enregistrement
+$fic_erreur=1; // =0 pas de fichier d erreur / =1 fichier erreur
+$fic_rejet=1; // =0 pas de fichier pour relance / =1 fichier relance traitement
+$ligne1=1;// = 1 : 1ere ligne contient nom des champs / o sinon
+$obligatoire['type_licence']=1;// obligatoire = 1
+// * champ = type_licence
+$zone['type_licence']='0';
+// $defaut['type_licence']='***'; // *** par defaut si non renseigne
+// * champ = libelle
+$zone['libelle']='1';
+// $defaut['libelle']='***'; // *** par defaut si non renseigne
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_licence.inc
===================================================================
--- branches/1.x/sql/pgsql/type_licence.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_licence.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,11 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 12:22
+include('../gen/sql/pgsql/type_licence.inc.php');
+$champAffiche=array('type_licence as "Type Licence"',
+ 'libelle as Libelle');
+$champRecherche=array('type_licence as "Type Licence"',
+ 'libelle as Libelle');
+
+$sousformulaire=array('demande_licence','etablissement','etablissement_temporaire');
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_licence.pdf.inc
===================================================================
--- branches/1.x/sql/pgsql/type_licence.pdf.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_licence.pdf.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,64 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 12:22
+$DEBUG=0;
+$orientation='L';// orientation P-> portrait L->paysage
+$format='A4';// format A3 A4 A5
+$police='arial';
+$margeleft=10;// marge gauche
+$margetop=5;// marge haut
+$margeright=5;// marge droite
+$border=1; // 1 -> bordure 0 -> pas de bordure
+$C1=0;// couleur texte R
+$C2=0;// couleur texte V
+$C3=0;// couleur texte B
+$size=10; //taille POLICE
+$height=4; // hauteur ligne tableau
+$align='L';
+$fond=1;// 0- > FOND transparent 1 -> fond
+$C1fond1=234;// couleur fond R 241
+$C2fond1=240;// couleur fond V 241
+$C3fond1=245;// couleur fond B 241
+$C1fond2=255;// couleur fond R
+$C2fond2=255;// couleur fond V
+$C3fond2=255;// couleur fond B
+$libtitre='Liste public.type_licence'; // libelle titre
+$flagsessionliste=0;// 1 - > affichage session liste ou 0 -> pas d'affichage
+$bordertitre=0; // 1 -> bordure 0 -> pas de bordure
+$aligntitre='L'; // L,C,R
+$heightitre=10;// hauteur ligne titre
+$grastitre='B';//$gras='B' -> BOLD OU $gras=''
+$fondtitre=0; //0- > FOND transparent 1 -> fond
+$C1titrefond=181;// couleur fond R
+$C2titrefond=182;// couleur fond V
+$C3titrefond=188;// couleur fond B
+$C1titre=75;// couleur texte R
+$C2titre=79;// couleur texte V
+$C3titre=81;// couleur texte B
+$sizetitre=15;
+$flag_entete=1;//entete colonne : 0 -> non affichage , 1 -> affichage
+$fondentete=1;// 0- > FOND transparent 1 -> fond
+$heightentete=10;//hauteur ligne entete colonne
+$C1fondentete=210;// couleur fond R
+$C2fondentete=216;// couleur fond V
+$C3fondentete=249;// couleur fond B
+$C1entetetxt=0;// couleur texte R
+$C2entetetxt=0;// couleur texte V
+$C3entetetxt=0;// couleur texte B
+$C1border=159;// couleur texte R
+$C2border=160;// couleur texte V
+$C3border=167;// couleur texte B
+$l0=80; // largeur colone -> champs 0 - type_licence
+$be0='L';// border entete colone
+$b0='L';// border cellule colone
+$ae0='C'; // align cellule entete colone
+$a0='L';
+$l1=200; // largeur colone -> champs1 - libelle
+$be1='LR';// border entete colone
+$b1='LR';// border cellule colone
+$ae1='C'; // align cellule entete colone
+$a1='L';
+$widthtableau=280;
+$bt=1;// border 1ere et derniere ligne du tableau par page->0 ou 1
+$sql="select type_licence, libelle from ".DB_PREFIXE."type_licence";
+?>
\ No newline at end of file

Added: branches/1.x/sql/pgsql/type_licence.reqmo.inc
===================================================================
--- branches/1.x/sql/pgsql/type_licence.reqmo.inc (rev 0)
+++ branches/1.x/sql/pgsql/type_licence.reqmo.inc 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,10 @@
+<?php
+//$Id$
+//gen openMairie le 06/04/2011 12:22
+$reqmo['libelle']=' public.type_licence';
+$reqmo['reqmo_libelle']=' public.type_licence';
+$reqmo['sql']="select [type_licence], [libelle] from ".DB_PREFIXE."type_licence order by [tri]";
+$reqmo['type_licence']='checked';
+$reqmo['libelle']='checked';
+$reqmo['tri']=array('type_licence','libelle');
+?>
\ No newline at end of file

Added: branches/1.x/tmp/export_demande_licence.csv
===================================================================
--- branches/1.x/tmp/export_demande_licence.csv (rev 0)
+++ branches/1.x/tmp/export_demande_licence.csv 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,3 @@
+demande_licence;type_licence;duree;date_debut_validite;date_fin_validite;
+
+aucun&nbsp;enregistrement

Added: branches/1.x/tmp/export_stat_licence_type.csv
===================================================================
--- branches/1.x/tmp/export_stat_licence_type.csv (rev 0)
+++ branches/1.x/tmp/export_stat_licence_type.csv 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,499 @@
+liste_etablissement;type_licence;
+BAR DU CAPITOLE - BAR DU CAPITOLE - code : 76;DEUXIEME CATEGORIE;
+CAMPING DU GARDIAN - SARL LE GARDIAN - code : 123;DEUXIEME CATEGORIE;
+L'HACIENDA - VESUVE - code : 75;DEUXIEME CATEGORIE;
+APPARTEMENT 138 - APPARTEMENT 138 - code : 789;GRANDE LICENCE A EMPORTER;
+AU PANIER DES SAVEURS - GAZZANO JULIE - code : 804;GRANDE LICENCE A EMPORTER;
+AU VILLAGE - SASU 'A LA ROQUETTE' - code : 402;GRANDE LICENCE A EMPORTER;
+BERGERIE D'OLIVON - BERGERIE D'OLIVON - code : 430;GRANDE LICENCE A EMPORTER;
+BLUE NOTE - SAS SOUPAMA - code : 582;GRANDE LICENCE A EMPORTER;
+BOULANGERIE- PATISSERIE - SARL N-A - code : 641;GRANDE LICENCE A EMPORTER;
+ BUVETTE D'ARMELLE - SAS BUVETTE D'ARMELLE - code : 764;GRANDE LICENCE A EMPORTER;
+CAMARGUE RELAIS - GONZALEZ JEAN-BAPTISTE - code : 807;GRANDE LICENCE A EMPORTER;
+CASINO SHOP - SAS DISTRIBUTION CASINO FRANCE - code : 797;GRANDE LICENCE A EMPORTER;
+CAVALERIE 5 - SAS CAVALERIE 5 - code : 629;GRANDE LICENCE A EMPORTER;
+CAVE ARLESIENNE - SAS LUMA - code : 522;GRANDE LICENCE A EMPORTER;
+CHAI LES PORCELETS - GUILLERME - code : 7;GRANDE LICENCE A EMPORTER;
+CHAMPS DE FLORETTE - CHAMPS DE FLORETTE - code : 509;GRANDE LICENCE A EMPORTER;
+CHEZ CATHY - CHEZ CATHY - code : 581;GRANDE LICENCE A EMPORTER;
+CHEZ MAELY - SAS CHEZ JIMMY - code : 694;GRANDE LICENCE A EMPORTER;
+CHEZ PEPE - BOUALAM - code : 754;GRANDE LICENCE A EMPORTER;
+CHEZ STEF - CHEZ STEF - code : 696;GRANDE LICENCE A EMPORTER;
+CHEZ TITOU - CHEZ TITOU - code : 640;GRANDE LICENCE A EMPORTER;
+COMPTOIR DES PORCELETS - SARL COMPTOIR DES PORCELETS - code : 281;GRANDE LICENCE A EMPORTER;
+COMPTOIR DU SUD - COMPTOIR DU SUD - code : 533;GRANDE LICENCE A EMPORTER;
+DADA PIZZA - EIRL DADA PIZZA - code : 601;GRANDE LICENCE A EMPORTER;
+DALONA - SARL DALONA - code : 323;GRANDE LICENCE A EMPORTER;
+DE CAVES A CAVE - DE CAVES A CAVE - code : 436;GRANDE LICENCE A EMPORTER;
+DOMAINE DE BEAUJEU - SAS DE BEAUJEU - code : 762;GRANDE LICENCE A EMPORTER;
+DU BAR A L'HUITRE - SAS BAR A HUITRE - code : 101;GRANDE LICENCE A EMPORTER;
+EL ATLATI - EL ATLATI - code : 154;GRANDE LICENCE A EMPORTER;
+EPICERIE DE TRINQUETAILLE - BENAZZA KAMEL - code : 757;GRANDE LICENCE A EMPORTER;
+EPICERIE MODERNE - EPICERIE MODERNE - code : 677;GRANDE LICENCE A EMPORTER;
+EURL BEN ATTIA - BEN ATTIA - code : 767;GRANDE LICENCE A EMPORTER;
+EURL LE CAFE LE LISBETH - LE LISBETH - code : 751;GRANDE LICENCE A EMPORTER;
+EURL LE TRIDENT - LE TRIDENT - code : 735;GRANDE LICENCE A EMPORTER;
+FACTORY REPUBLIQUE - SARL L'ANISSETTE - code : 617;GRANDE LICENCE A EMPORTER;
+GAUDINA - EURL MY LITTLE SHOWROOM - code : 792;GRANDE LICENCE A EMPORTER;
+GAZZANO - GAZZANO - code : 545;GRANDE LICENCE A EMPORTER;
+GIORDO LAURA - GIORDO LAURA - code : 648;GRANDE LICENCE A EMPORTER;
+GRAND MAS DU REY - EURL DU GRAND MAS DU REY - code : 434;GRANDE LICENCE A EMPORTER;
+GROUND CONTOL - ALLO LA LUNE - code : 708;GRANDE LICENCE A EMPORTER;
+HOTEL ACACIAS - HOTEL ACACIAS - code : 741;GRANDE LICENCE A EMPORTER;
+HÔTEL LE RODIN - SARL SDHT - code : 544;GRANDE LICENCE A EMPORTER;
+HUBIZ - SNC LAGARDERE TRAVEL RETAIL FR - code : 736;GRANDE LICENCE A EMPORTER;
+INTERMARCHE - SAS ARDEX - code : 728;GRANDE LICENCE A EMPORTER;
+LA CAVE DES SAVEURS - SARL SAVEURS - code : 360;GRANDE LICENCE A EMPORTER;
+LA CAVE DE TRINQUETAILLE - SARL LA CAVE DE TRINQUETAILLE - code : 387;GRANDE LICENCE A EMPORTER;
+LA CAVE - SARL LA CAVE - code : 547;GRANDE LICENCE A EMPORTER;
+LA COMEDIE - SAS L'ARUM DU VIN - code : 791;GRANDE LICENCE A EMPORTER;
+LA GUINGUETTE - SARL LA TERRASSE GOURMANDE - code : 546;GRANDE LICENCE A EMPORTER;
+L'ALBARONNAISE - SAS L'ALBARONNAISE - code : 630;GRANDE LICENCE A EMPORTER;
+LA PLACETTE - LA PLACETTE - code : 691;GRANDE LICENCE A EMPORTER;
+LA TABLE DU CAVISTE - LA TABLE DU CAVISTE - code : 40;GRANDE LICENCE A EMPORTER;
+ LA TRANCHETTE - SAS LA TRANCHETTE - code : 743;GRANDE LICENCE A EMPORTER;
+LE BALTO - EIRL LE BALTO - code : 458;GRANDE LICENCE A EMPORTER;
+ LE COMPTOIR DE NEGOCE - SAS LE COMPTOIR DE NEGOCE - code : 787;GRANDE LICENCE A EMPORTER;
+LE DELY...CIEUX - SARL JOOL - code : 371;GRANDE LICENCE A EMPORTER;
+LE DIPLOMATE - KASA - code : 222;GRANDE LICENCE A EMPORTER;
+LE KASHNIR - SAS GHORI-KAPOOR - code : 695;GRANDE LICENCE A EMPORTER;
+LE LONGO MAÏ - SAS LONGÔ MAÏ - code : 551;GRANDE LICENCE A EMPORTER;
+LE MARCHE DE SOPHIE - LE MARCHE DE SOPHIE - code : 709;GRANDE LICENCE A EMPORTER;
+LE MAS MONTREDON - SARL LE MAS MONTREDON - code : 765;GRANDE LICENCE A EMPORTER;
+L'EMBOUTEILLAGE - SAS ARTICHAUT - code : 745;GRANDE LICENCE A EMPORTER;
+LE MISTRAL - LE MISTRAL - code : 389;GRANDE LICENCE A EMPORTER;
+LEO RESTO/MEMPHIS COFFEE - SOCIETE INVESTISSEMENT - code : 752;GRANDE LICENCE A EMPORTER;
+LE PALMIER - RESTAURANT LE PALMIER - code : 421;GRANDE LICENCE A EMPORTER;
+LE PETIT ARLES - SAS ARTS & C - code : 401;GRANDE LICENCE A EMPORTER;
+LES ITALIENS - LES ITALIENS - code : 638;GRANDE LICENCE A EMPORTER;
+LES SECRETS D'ANNA - SAS VICTOR PRODUCTIONS - code : 562;GRANDE LICENCE A EMPORTER;
+LE VINGT-QUATRE - SASU THOLI - code : 750;GRANDE LICENCE A EMPORTER;
+LIDL - SNC LIDL - code : 152;GRANDE LICENCE A EMPORTER;
+LIDL - SNC LIDL - code : 152;GRANDE LICENCE A EMPORTER;
+LOLYFLO - TRIPONNEY - code : 753;GRANDE LICENCE A EMPORTER;
+LSDLC - SARL LSDLC - code : 491;GRANDE LICENCE A EMPORTER;
+MAGASIN VIVAL - EURL BEN ATTIA - code : 298;GRANDE LICENCE A EMPORTER;
+MAIRE - VENTE AMBULANTE - code : 22;GRANDE LICENCE A EMPORTER;
+MARIE -LOUISE - SAS BOCALIA - code : 671;GRANDE LICENCE A EMPORTER;
+M'TAMON - M TAMON - code : 773;GRANDE LICENCE A EMPORTER;
+O'DELICE - SARL O'DELICE - code : 785;GRANDE LICENCE A EMPORTER;
+O'DELICES - O'DELICES - code : 333;GRANDE LICENCE A EMPORTER;
+PAUSE &CO - SARL BROTHERS & CO - code : 733;GRANDE LICENCE A EMPORTER;
+PEÏMEÏ PARADISE ISLEND - EGIDIO JEAN- YVES - code : 761;GRANDE LICENCE A EMPORTER;
+PIZZA TONI - PIZZA TONI - code : 684;GRANDE LICENCE A EMPORTER;
+PLAISIR ET QUALITE - SAS V&G INVEST - code : 788;GRANDE LICENCE A EMPORTER;
+RELAIS LA CIGALLE - SARL CS DU SUD - code : 711;GRANDE LICENCE A EMPORTER;
+RELAIS TOTAL CANTARELLES - TOTAL MARKETING SERVICES - code : 540;GRANDE LICENCE A EMPORTER;
+RESTAURANT CADOR - SASU LE 53 VOLTAIRE - code : 426;GRANDE LICENCE A EMPORTER;
+ROYAL KIDS - SARL GOBIN - code : 381;GRANDE LICENCE A EMPORTER;
+SARL CITROUILLE ET RATATOUILLE - CITROUILLE ET RATATOUILLE PRIM - code : 483;GRANDE LICENCE A EMPORTER;
+SARL OLIVE ROY - SARL OLIVE ROY - code : 433;GRANDE LICENCE A EMPORTER;
+SARL ROMERO - LE 22 - code : 679;GRANDE LICENCE A EMPORTER;
+SARL VIGNERON - SARL VIGNERON - code : 499;GRANDE LICENCE A EMPORTER;
+SAS ART DE VIE - ART DE VIE - code : 637;GRANDE LICENCE A EMPORTER;
+SAS CARREFOUR PROXIMITE FRANCE - CARREFOUR CONTACT MARCHE - code : 721;GRANDE LICENCE A EMPORTER;
+SAS CTC - LE MARCHE PROVENCAL - code : 482;GRANDE LICENCE A EMPORTER;
+SAS MAS DAUSSAN - SAS MAS DAUSSAN - code : 485;GRANDE LICENCE A EMPORTER;
+SAVEURS IBERIQUES EN PROVENCE - SAVEURS IBERIQUES EN PROVENCE - code : 730;GRANDE LICENCE A EMPORTER;
+SAVEURS PROVENCALES - SAVEURS PROVENCALES - code : 21;GRANDE LICENCE A EMPORTER;
+SIMONE ET PAULETTE - SARL SIMONE ET PAULETTE - code : 786;GRANDE LICENCE A EMPORTER;
+SNACKING LA ROMAINE - SNACKING LA ROMAINE - code : 518;GRANDE LICENCE A EMPORTER;
+SPAR - SARL OCDISTRIB - code : 611;GRANDE LICENCE A EMPORTER;
+STEPH AU CARRE - EURL STEPH 2 - code : 460;GRANDE LICENCE A EMPORTER;
+SUBARLES - EURL SUBARLES - code : 359;GRANDE LICENCE A EMPORTER;
+SUPERETTE DU CENTRE - SARL MYSY - code : 590;GRANDE LICENCE A EMPORTER;
+TABAC PRESSE - TABAC PRESSE - code : 233;GRANDE LICENCE A EMPORTER;
+T.P.A. - ASSOCIATION TPA - code : 690;GRANDE LICENCE A EMPORTER;
+TRAVEL PIZZA - SARL TRAVEL PIZZA - code : 577;GRANDE LICENCE A EMPORTER;
+VENTE À EMPORTER ET SNACK - RIVAS - code : 330;GRANDE LICENCE A EMPORTER;
+YEM PHAY - CROK PANDA - code : 740;GRANDE LICENCE A EMPORTER;
+ZINOUNI MORADE - ZINOUNI MORADE - code : 583;GRANDE LICENCE A EMPORTER;
+ 'AFRIQUE EN VIE ' - ASSOCIATION 'AFRIQUE EN VIE ' - code : 699;GRANDE LICENCE RESTAURATION;
+A LA BONNE HEURE - REVERS RESTAURATION SAS - code : 252;GRANDE LICENCE RESTAURATION;
+AUBERGE DES PLAINES - SARL CAZAUBON THIERRY - code : 477;GRANDE LICENCE RESTAURATION;
+AU BRIN DE THYM - SARL AU BRIN DE THYM - code : 329;GRANDE LICENCE RESTAURATION;
+AU MIDI GOURMAND - SAS'LA JIBELETTE ' - code : 775;GRANDE LICENCE RESTAURATION;
+AU VILLAGE - SASU 'A LA ROQUETTE' - code : 402;GRANDE LICENCE RESTAURATION;
+BERGERIE D'OLIVON - BERGERIE D'OLIVON - code : 430;GRANDE LICENCE RESTAURATION;
+BIGOUDEN - SAS MNC - code : 672;GRANDE LICENCE RESTAURATION;
+BISTROT DES CAMPES - MDVA BISTROT DES CAMPES - code : 593;GRANDE LICENCE RESTAURATION;
+BLUE NOTE - SAS SOUPAMA - code : 582;GRANDE LICENCE RESTAURATION;
+BODEGUITAS ET TAPAS - BODEGUITAS ET TAPAS - code : 285;GRANDE LICENCE RESTAURATION;
+BRASSERIE LE KILLIAN'S - BRASSERIE LE KILLIAN'S - code : 301;GRANDE LICENCE RESTAURATION;
+ BRIOCHERIE DE LA CHAPELLE - SAS VALOREST - code : 475;GRANDE LICENCE RESTAURATION;
+BUFFALO GRILL - SA BUFFALO GRILL - code : 670;GRANDE LICENCE RESTAURATION;
+BUFFET DE LA FONTAINE - BUFFET DE LA FONTAINE - code : 409;GRANDE LICENCE RESTAURATION;
+CHAI LES PORCELETS - GUILLERME - code : 7;GRANDE LICENCE RESTAURATION;
+CHATEAU CORNILLON - CHATEAU CORNILLON - code : 506;GRANDE LICENCE RESTAURATION;
+CHEZ MAELY - SAS CHEZ JIMMY - code : 694;GRANDE LICENCE RESTAURATION;
+CHEZ MONSIEUR BRUN - SARL J.R. - code : 606;GRANDE LICENCE RESTAURATION;
+CHEZ PEPE - BOUALAM - code : 754;GRANDE LICENCE RESTAURATION;
+CHEZ TITOU - CHEZ TITOU - code : 640;GRANDE LICENCE RESTAURATION;
+COMPTOIR DES PORCELETS - SARL COMPTOIR DES PORCELETS - code : 281;GRANDE LICENCE RESTAURATION;
+COMPTOIR DU SUD - COMPTOIR DU SUD - code : 533;GRANDE LICENCE RESTAURATION;
+CREPERIE CHEZ MAM GOZ - CEM EVALUATION - code : 508;GRANDE LICENCE RESTAURATION;
+DADA PIZZA - EIRL DADA PIZZA - code : 601;GRANDE LICENCE RESTAURATION;
+DA LES PAPILLES - DA LES PAPILLES - code : 439;GRANDE LICENCE RESTAURATION;
+DALONA - SARL DALONA - code : 323;GRANDE LICENCE RESTAURATION;
+DELICATE ET SAINE - DELICATE ET SAINE - code : 524;GRANDE LICENCE RESTAURATION;
+DES MARAIS DU VIGUERAT - LA BUVETTE - code : 706;GRANDE LICENCE RESTAURATION;
+DU BAR A L'HUITRE - SAS BAR A HUITRE - code : 101;GRANDE LICENCE RESTAURATION;
+EL PASEO - SARL EL PASEO - code : 308;GRANDE LICENCE RESTAURATION;
+EL PATIO, PATIO DE CAMARGUE - PROVENCALE DE LOISIRS EL PATIO - code : 124;GRANDE LICENCE RESTAURATION;
+EPICERIE MODERNE - EPICERIE MODERNE - code : 677;GRANDE LICENCE RESTAURATION;
+ESSENTIEL - SARL BUSHIDO-SUN - code : 589;GRANDE LICENCE RESTAURATION;
+FACTORY REPUBLIQUE - SARL L'ANISSETTE - code : 617;GRANDE LICENCE RESTAURATION;
+FERME AUBERGE DE BARBEGAL - SAS 2 JBR - code : 422;GRANDE LICENCE RESTAURATION;
+GAUDINA - EURL MY LITTLE SHOWROOM - code : 792;GRANDE LICENCE RESTAURATION;
+G FIOT - HOTEL PORTE DE CAMARGUE - code : 328;GRANDE LICENCE RESTAURATION;
+HOME PIZZA - SARL HOME PIZZA - code : 272;GRANDE LICENCE RESTAURATION;
+HOSTELLERIE DES ARENES - SARL MALVILO - code : 722;GRANDE LICENCE RESTAURATION;
+HOTEL DES GRANGES - LES GRANGES - code : 24;GRANDE LICENCE RESTAURATION;
+HÔTEL LE RODIN - SARL SDHT - code : 544;GRANDE LICENCE RESTAURATION;
+HOTEL RESTAURANT LA CAMARGUE - HOTEL RESTAURANT LA CAMARGUE - code : 283;GRANDE LICENCE RESTAURATION;
+I AM NOT A TOURIST - IAM NOT A TOURIST - code : 326;GRANDE LICENCE RESTAURATION;
+'LA BEL' EPOQUE' - 'LA BEL' EPOQUE' - code : 478;GRANDE LICENCE RESTAURATION;
+LA BOUCHERIE - SARL AGAPARLES - code : 271;GRANDE LICENCE RESTAURATION;
+LA COMEDIE - SAS L'ARUM DU VIN - code : 791;GRANDE LICENCE RESTAURATION;
+LA CRÊPRIE - SAS KHALYSTALYAH - code : 234;GRANDE LICENCE RESTAURATION;
+LA DAME JEANNE - LA DAME JEANNE - code : 143;GRANDE LICENCE RESTAURATION;
+L'AFFENAGE - SARL TAKA PUNA - code : 570;GRANDE LICENCE RESTAURATION;
+L'AFFENAGE - SARL TAKAPUNA-L'AFFENAGE - code : 299;GRANDE LICENCE RESTAURATION;
+LA GOURMANDE - LA GOURMANDE - code : 420;GRANDE LICENCE RESTAURATION;
+LA GUEULE DU LOUP - SARL DIBE BLANC RESTAURATION - code : 678;GRANDE LICENCE RESTAURATION;
+LA GUINGUETTE - SARL LA TERRASSE GOURMANDE - code : 546;GRANDE LICENCE RESTAURATION;
+LA PENICHE BATEAU IVRE - SARL LA PENICHE - code : 188;GRANDE LICENCE RESTAURATION;
+LA PICHADE - LA PICHADE - code : 704;GRANDE LICENCE RESTAURATION;
+LA PLACETTE - LA PLACETTE - code : 691;GRANDE LICENCE RESTAURATION;
+LA REGALADE - LA REGALADE - code : 194;GRANDE LICENCE RESTAURATION;
+LA REGALADE - LA REGALADE - code : 194;GRANDE LICENCE RESTAURATION;
+L'ARELATE - SARL LE VACCEN - code : 459;GRANDE LICENCE RESTAURATION;
+L'ARLESIENNE - SAS MIMIFLO - code : 803;GRANDE LICENCE RESTAURATION;
+L'ARÔME - SARL HDMA - code : 296;GRANDE LICENCE RESTAURATION;
+LA RONDE AUX SALADES - EURL LA RONDE AUX SALADES - code : 564;GRANDE LICENCE RESTAURATION;
+LA TABLE DU CAVISTE - LA TABLE DU CAVISTE - code : 40;GRANDE LICENCE RESTAURATION;
+LA TABLE DU MAS - LA TABLE DU MAS - code : 732;GRANDE LICENCE RESTAURATION;
+LA TARTINE ARLÉSIENNE - LA TARTINE ARLÉSIENNE - code : 507;GRANDE LICENCE RESTAURATION;
+ LA TRANCHETTE - SAS LA TRANCHETTE - code : 743;GRANDE LICENCE RESTAURATION;
+L'AUTRUCHE - SAS L'AUTRUCHE - code : 585;GRANDE LICENCE RESTAURATION;
+LE BAR A THYM - SARL EV LE BAR A THYM - code : 77;GRANDE LICENCE RESTAURATION;
+LE CORALES - SAS CROISEE DES SAVEURS DUSUD - code : 770;GRANDE LICENCE RESTAURATION;
+LE FRANC BOURGEOIS - LE FRANC BOURGEOIS - code : 435;GRANDE LICENCE RESTAURATION;
+LE GIBOLIN - DBF L'ECHANSON - code : 369;GRANDE LICENCE RESTAURATION;
+LE GRAIN DE SEL - SAS LE GRAIN DE SEL - code : 342;GRANDE LICENCE RESTAURATION;
+ LE JARDIN DES ARTS - SOCARL GALLIA - code : 596;GRANDE LICENCE RESTAURATION;
+LE KASHNIR - SAS GHORI-KAPOOR - code : 695;GRANDE LICENCE RESTAURATION;
+LE LION D'ARLES - SAS LES 3 LIONS - code : 521;GRANDE LICENCE RESTAURATION;
+LE LONGO MAÏ - SAS LONGÔ MAÏ - code : 551;GRANDE LICENCE RESTAURATION;
+LE MARCO POLO - SASU LE GALERIA - code : 779;GRANDE LICENCE RESTAURATION;
+LE MAS MONTREDON - SARL LE MAS MONTREDON - code : 765;GRANDE LICENCE RESTAURATION;
+LE METRONOME - LE METRONOME - code : 784;GRANDE LICENCE RESTAURATION;
+LEO RESTO/MEMPHIS COFFEE - SOCIETE INVESTISSEMENT - code : 752;GRANDE LICENCE RESTAURATION;
+LE PALMIER - RESTAURANT LE PALMIER - code : 421;GRANDE LICENCE RESTAURATION;
+LE PETIT ARLES - SAS ARTS & C - code : 401;GRANDE LICENCE RESTAURATION;
+LE PICADOR - DENIMAL THOMAS - code : 170;GRANDE LICENCE RESTAURATION;
+LE RENDEZ VOUS - SARL LE RENDEZ VOUS - code : 398;GRANDE LICENCE RESTAURATION;
+LE SAINT JOSEPH - SASU LA FARIGOULE - code : 561;GRANDE LICENCE RESTAURATION;
+LES MAUVAIS GARÇONS - LES MAUVAIS GARÇONS - code : 541;GRANDE LICENCE RESTAURATION;
+LES MAUVAIS GARÇONS - LES MAUVAIS GARÇONS - code : 541;GRANDE LICENCE RESTAURATION;
+LES PIQUES OU RIEN - SAS KD - code : 771;GRANDE LICENCE RESTAURATION;
+LES SALICORNES - LES SALICORNES - code : 238;GRANDE LICENCE RESTAURATION;
+LE VINGT-QUATRE - SASU THOLI - code : 750;GRANDE LICENCE RESTAURATION;
+L'OUSTALET - SARL NINA - code : 225;GRANDE LICENCE RESTAURATION;
+MACIF - SAS SOGERES - code : 584;GRANDE LICENCE RESTAURATION;
+MANADE JACQUES BON - MANADE JACQUES BON - code : 794;GRANDE LICENCE RESTAURATION;
+MAS DE LA FENIERE - S.A.S.U ELMP - code : 490;GRANDE LICENCE RESTAURATION;
+MAS D'EYMARD - MAS D'EYMARD - code : 504;GRANDE LICENCE RESTAURATION;
+MAS SAINT BERTRAND - SARL SAINT BERTRAND - code : 345;GRANDE LICENCE RESTAURATION;
+MC DONALD'S - MC DONALD - code : 349;GRANDE LICENCE RESTAURATION;
+MCN L'ESCALADOU - SARL MCN L'ESCALADOU - code : 200;GRANDE LICENCE RESTAURATION;
+MCN L'ESCALADOU - SARL MCN L'ESCALADOU - code : 200;GRANDE LICENCE RESTAURATION;
+MONSTRE - SAS AMOR - code : 78;GRANDE LICENCE RESTAURATION;
+M'TAMON - M TAMON - code : 773;GRANDE LICENCE RESTAURATION;
+O'DELICE - O'DELICE - code : 393;GRANDE LICENCE RESTAURATION;
+Ô GAÏ ROTISSEUR - Ô GAÏ ROTISSEUR - code : 206;GRANDE LICENCE RESTAURATION;
+OLA LES PAPILLES - SARL 'BB' - code : 651;GRANDE LICENCE RESTAURATION;
+OSCAR - SAS OSCAR - code : 734;GRANDE LICENCE RESTAURATION;
+PARIS POPUP - SAS ARTICHAUT - code : 184;GRANDE LICENCE RESTAURATION;
+PEPETTE - PEPETTE - code : 41;GRANDE LICENCE RESTAURATION;
+PIAZZA DES THERMES - PIAZZA DES THERMES - code : 525;GRANDE LICENCE RESTAURATION;
+PIZZA N'CO - SARL SIMONI ET VILLA ENTREPRIS - code : 505;GRANDE LICENCE RESTAURATION;
+PIZZERIA L'ÉCRIN - MAÎLOU - code : 153;GRANDE LICENCE RESTAURATION;
+QUERIDA PONTOUS - QUERIDA PONTOUS - code : 219;GRANDE LICENCE RESTAURATION;
+RESTAURANT CADOR - SASU LE 53 VOLTAIRE - code : 426;GRANDE LICENCE RESTAURATION;
+RESTAURANT LA PATATERIE - SAS ENTRE TERRE ET MER - code : 348;GRANDE LICENCE RESTAURATION;
+RESTAURANT LE VIETNAM - RESTAURANT LE VIETNAM - code : 498;GRANDE LICENCE RESTAURATION;
+RISTORANTE DEL ARTE - SARL D2 ARLES - code : 403;GRANDE LICENCE RESTAURATION;
+ROYAL KIDS - SARL GOBIN - code : 381;GRANDE LICENCE RESTAURATION;
+SAIGON BUFFET - SASU SAIGON BUFFET - code : 687;GRANDE LICENCE RESTAURATION;
+SARL AS - MAK KEBAB - code : 488;GRANDE LICENCE RESTAURATION;
+SARL DELI'VERY - SARL DELI'VERY - code : 437;GRANDE LICENCE RESTAURATION;
+SARL DOMUS CAFE - DOMUS CAFE - code : 742;GRANDE LICENCE RESTAURATION;
+SARL GABI-JO - LA PERGULA - code : 11;GRANDE LICENCE RESTAURATION;
+SARL PERLES&CO - PIZZERIA CHEZ NINA - code : 453;GRANDE LICENCE RESTAURATION;
+SARL ROMERO - LE 22 - code : 679;GRANDE LICENCE RESTAURATION;
+SARL VIGNERON - SARL VIGNERON - code : 499;GRANDE LICENCE RESTAURATION;
+SAS CTC - PIZZERIA LE TORIL - code : 481;GRANDE LICENCE RESTAURATION;
+SAS CTC - RESTAURANT LE CORRALES - code : 479;GRANDE LICENCE RESTAURATION;
+SAS CTC - RESTAURANT LE FORUM - code : 480;GRANDE LICENCE RESTAURATION;
+SAS L'INGENU - L'INGENU - code : 151;GRANDE LICENCE RESTAURATION;
+SAS MEDITERRANEE - MEDITERRANEE - code : 718;GRANDE LICENCE RESTAURATION;
+SASU CAMARGUE BOCAUX - BISTROT BOCAUX - code : 738;GRANDE LICENCE RESTAURATION;
+SAS VICTOR AND CO - LE PUEBLO - code : 166;GRANDE LICENCE RESTAURATION;
+SAVEURS DE GUADELOUPE - SAVEURS DE GUADELOUPE - code : 565;GRANDE LICENCE RESTAURATION;
+SHOW ROOM - EURL SHOW ROOM - code : 217;GRANDE LICENCE RESTAURATION;
+SIMONE ET PAULETTE - SARL SIMONE ET PAULETTE - code : 786;GRANDE LICENCE RESTAURATION;
+SOUS LE FIGUIER - SARL SOUS LE FIGUIER - code : 616;GRANDE LICENCE RESTAURATION;
+SPAR - SARL OCDISTRIB - code : 611;GRANDE LICENCE RESTAURATION;
+STEPH AU CARRE - EURL STEPH 2 - code : 460;GRANDE LICENCE RESTAURATION;
+SUBARLES - EURL SUBARLES - code : 359;GRANDE LICENCE RESTAURATION;
+TIMEO - SARL TIMEO - code : 282;GRANDE LICENCE RESTAURATION;
+T.P.A. - ASSOCIATION TPA - code : 690;GRANDE LICENCE RESTAURATION;
+VILLA D'ARLES - SARL VILLA D'ARLES - code : 390;GRANDE LICENCE RESTAURATION;
+VOLUBILIS - SARL VOLUBILIS - code : 552;GRANDE LICENCE RESTAURATION;
+YEM PHAY - CROK PANDA - code : 740;GRANDE LICENCE RESTAURATION;
+ZINOUNI MORADE - ZINOUNI MORADE - code : 583;GRANDE LICENCE RESTAURATION;
+ABBAYE DE MONTMAJOUR - CENTRE DE MONUMENTS NATIONNAUX - code : 665;PETITE LICENCE A EMPORTER;
+AMIGO PIZZA - ,SARL AMIGO PIZZA - code : 664;PETITE LICENCE A EMPORTER;
+ARENES D'ARLES - ARENES D 'ARLES - code : 674;PETITE LICENCE A EMPORTER;
+AU JARDIN D'ELIA - AU JARDIN D'ELIA - code : 463;PETITE LICENCE A EMPORTER;
+AU MIDI GOURMAND - SAS'LA JIBELETTE ' - code : 775;PETITE LICENCE A EMPORTER;
+BATOEV - SNC BATOEV - code : 310;PETITE LICENCE A EMPORTER;
+BOCAL&CO - SARL BOCAL&CO - code : 780;PETITE LICENCE A EMPORTER;
+BOULANGERIE GARCIA - SARL GARCIA - code : 424;PETITE LICENCE A EMPORTER;
+BURGER KING - SAS BDBK - code : 717;PETITE LICENCE A EMPORTER;
+CAFE D'AUTREFOIS - CAFE D'AUTREFOIS - code : 295;PETITE LICENCE A EMPORTER;
+CAVALERIE 5 - SAS CAVALERIE 5 - code : 629;PETITE LICENCE A EMPORTER;
+CHEZ LINO - CHEZ LINO - code : 739;PETITE LICENCE A EMPORTER;
+CHOCOLATERIE DE PUYRICARD - SAS AGENCE EN PROVENCE - code : 273;PETITE LICENCE A EMPORTER;
+DARTOIS - DARTOIS - code : 461;PETITE LICENCE A EMPORTER;
+DES MARAIS DU VIGUERAT - LA BUVETTE - code : 706;PETITE LICENCE A EMPORTER;
+DRACULA - SASU DRACULA - code : 727;PETITE LICENCE A EMPORTER;
+EPICERIE FINE BELIN - BELIN - code : 290;PETITE LICENCE A EMPORTER;
+EPICERIE MORENO - MORENO - code : 343;PETITE LICENCE A EMPORTER;
+ESTELLO - SAS ESTELLO - code : 702;PETITE LICENCE A EMPORTER;
+FLEURS DU SUD - FLEURS DU SUD - code : 442;PETITE LICENCE A EMPORTER;
+FORAIN - FORAIN - code : 586;PETITE LICENCE A EMPORTER;
+FRAICHEUR ET DELICES - SAS FRAICHEUR ET DELICES - code : 801;PETITE LICENCE A EMPORTER;
+GENDRE PRIMEUR - SARL GENDRE PRIMEUR - code : 649;PETITE LICENCE A EMPORTER;
+ GIBRALTAR - SASU GIBRALTAR - code : 808;PETITE LICENCE A EMPORTER;
+HOQUET - HOQUET - code : 466;PETITE LICENCE A EMPORTER;
+ HOTEL DU CLOÎTRE - SNC HOTEL DU CLOITRE - code : 178;PETITE LICENCE A EMPORTER;
+LA BOUTIQUE PROVENCALE - LA BOUTIQUE PROVENCALE - code : 468;PETITE LICENCE A EMPORTER;
+LA GRIGNOTINE - LA GRIGNOTINE - code : 595;PETITE LICENCE A EMPORTER;
+LA RONDE DES PAINS - SARL LA RONDE DES PAINS - code : 553;PETITE LICENCE A EMPORTER;
+LE BOUT DU MONDE CAMARGUAIS - SARLE BOUT DU MONDE CAMARGUAIS - code : 631;PETITE LICENCE A EMPORTER;
+LE BOUT DU MONDE CAMARGUAIS - SARL LE BOUT DU MONDE CAMARGUA - code : 556;PETITE LICENCE A EMPORTER;
+LE FOURNIL CAMARGUAIS - SARL LORANA - code : 519;PETITE LICENCE A EMPORTER;
+LE MONDE DE SOPHIE - EURL LE MONDE DE SOPHIE - code : 587;PETITE LICENCE A EMPORTER;
+L'EPHEMERE - SCI ELEDA - code : 451;PETITE LICENCE A EMPORTER;
+L'EPI VERT - L'EPI VERT - code : 215;PETITE LICENCE A EMPORTER;
+LE PRET A CROQUER - SARL LE PRET À CROQUER - code : 374;PETITE LICENCE A EMPORTER;
+LES3G - EURL LES3G - code : 726;PETITE LICENCE A EMPORTER;
+LES DELICES D'ASIE - LES DELICES D'ASIE - code : 467;PETITE LICENCE A EMPORTER;
+LES PLATEAUX PLAISIRS DE BENOI - BENOIT BLANC RESTAURATION - code : 229;PETITE LICENCE A EMPORTER;
+LES RENCONTRES D'ARLES - LES RENCONTRES D'ARLES - code : 447;PETITE LICENCE A EMPORTER;
+L'ETAL DE NOS TERROIR - L'ETAL DE NOS TERROIR - code : 532;PETITE LICENCE A EMPORTER;
+L'O À LA BOUCHE - SAS ANTHONNLEO - code : 632;PETITE LICENCE A EMPORTER;
+MAISON SOULIER ARTISAN GLACIER - SARL MAISON SOULIER GLACIER - code : 621;PETITE LICENCE A EMPORTER;
+M-EXOTIC - SARL N.Y.M-EXOTIC - code : 618;PETITE LICENCE A EMPORTER;
+NGUYEN - NGUYEN - code : 465;PETITE LICENCE A EMPORTER;
+NOTO - SAS NOTO - code : 713;PETITE LICENCE A EMPORTER;
+ODALYS RESIDENCES - ODALYS RESIDENCES - code : 805;PETITE LICENCE A EMPORTER;
+PERRET - SARL PERRET - code : 559;PETITE LICENCE A EMPORTER;
+PICARD - SAS PICARD SURGELES - code : 737;PETITE LICENCE A EMPORTER;
+PIZZA GO - PIZZA GO - code : 579;PETITE LICENCE A EMPORTER;
+PIZZA LUIGGI - PIZZA LUIGGI - code : 744;PETITE LICENCE A EMPORTER;
+PIZZA NICKY AND CO - NICKY AND CO - code : 325;PETITE LICENCE A EMPORTER;
+PLUS BEAU LE RIZ - SAS PLUS BEAU LE RIZ - code : 289;PETITE LICENCE A EMPORTER;
+POISSONNERIE - SARL POISSONNERIE MAUREAU - code : 572;PETITE LICENCE A EMPORTER;
+RENCONTRES D'ARLES DE LA PHOTOGRAPHIE - ASSOCIATION - code : 15;PETITE LICENCE A EMPORTER;
+REYES - REYES - code : 47;PETITE LICENCE A EMPORTER;
+SABLONS - SASU SABLONS - code : 725;PETITE LICENCE A EMPORTER;
+SAMALYSSA - SAS SAMALYSSA - code : 669;PETITE LICENCE A EMPORTER;
+SARL LA MAISON DU RIZ - LA MAISON DU RIZ - code : 705;PETITE LICENCE A EMPORTER;
+SARL LES VIGNOBLES - MADRID - code : 608;PETITE LICENCE A EMPORTER;
+SAS MAS DAUSSAN - SAS MAS DAUSSAN - code : 485;PETITE LICENCE A EMPORTER;
+SAVEUR DE PROVENCE - SAVEUR DE PROVENCE - code : 658;PETITE LICENCE A EMPORTER;
+SHOW ROOM - EURL SHOW ROOM - code : 217;PETITE LICENCE A EMPORTER;
+SNACKAKAKI - SNACKAKAKI - code : 610;PETITE LICENCE A EMPORTER;
+SNACK SULTAN - SARL SNACK SULTAN - code : 244;PETITE LICENCE A EMPORTER;
+SOIREE PIZZA - SOIREE PIZZA - code : 379;PETITE LICENCE A EMPORTER;
+SOUVENIRS D'ENFANCE - SARL SOUVENIRS D'ENFANCE - code : 647;PETITE LICENCE A EMPORTER;
+SPORTCONTENT - SARL X-SPORTCONTENT - code : 513;PETITE LICENCE A EMPORTER;
+TABAC DU DELTA - SNC BATOEV - code : 778;PETITE LICENCE A EMPORTER;
+TABAC PRESSE - TABAC PRESSE - code : 233;PETITE LICENCE A EMPORTER;
+TACO AND CO - TACO AND CO - code : 619;PETITE LICENCE A EMPORTER;
+TONTON SAM - SARL COPIN - code : 607;PETITE LICENCE A EMPORTER;
+TRANSILVANIA - SAS TRANSILVANIA - code : 656;PETITE LICENCE A EMPORTER;
+UTILE - SAS VALENTIN - code : 772;PETITE LICENCE A EMPORTER;
+VET AFFAIRES - SARL P.M. DIS - code : 655;PETITE LICENCE A EMPORTER;
+AU BONHEUR D'EMILIE - SARL AU BONHEUR D' EMILIE - code : 218;PETITE LICENCE RESTAURATION;
+BAR A VIN - SARL MG - code : 457;PETITE LICENCE RESTAURATION;
+BURGER KING - SAS BDBK - code : 717;PETITE LICENCE RESTAURATION;
+CAVALERIE 5 - SAS CAVALERIE 5 - code : 629;PETITE LICENCE RESTAURATION;
+CHEZ FELIX - SARL CHEZ FELIX - code : 133;PETITE LICENCE RESTAURATION;
+CHEZ STEF - CHEZ STEF - code : 696;PETITE LICENCE RESTAURATION;
+CIQ GRIFFEUILLE - CIQ GRIFFEUILLE - code : 580;PETITE LICENCE RESTAURATION;
+DES MARAIS DU VIGUERAT - LA BUVETTE - code : 706;PETITE LICENCE RESTAURATION;
+EPICERIE - SARL LE ROLLIER - code : 309;PETITE LICENCE RESTAURATION;
+ESTELLO - SAS ESTELLO - code : 702;PETITE LICENCE RESTAURATION;
+EURL LE CAFE LE LISBETH - LE LISBETH - code : 751;PETITE LICENCE RESTAURATION;
+EURL VILLA DES ALYSCAMPS - VILLA DES ALYSCAMPS - code : 440;PETITE LICENCE RESTAURATION;
+FERMES FRANÇAISES - FERMES FRANÇAISES - code : 438;PETITE LICENCE RESTAURATION;
+GROUND CONTOL - ALLO LA LUNE - code : 708;PETITE LICENCE RESTAURATION;
+ HOTEL DU CLOÎTRE - SNC HOTEL DU CLOITRE - code : 178;PETITE LICENCE RESTAURATION;
+HOTEL KYRIAD - HOTEL D'ARLES - code : 680;PETITE LICENCE RESTAURATION;
+LA CAVE DES SAVEURS - SARL SAVEURS - code : 360;PETITE LICENCE RESTAURATION;
+LA CAVE - SARL LA CAVE - code : 547;PETITE LICENCE RESTAURATION;
+LA GRIGNOTINE - LA GRIGNOTINE - code : 595;PETITE LICENCE RESTAURATION;
+LA MEUNERIE - SASU LA MEUNERIE - code : 703;PETITE LICENCE RESTAURATION;
+L'ATELIER GOURMAND - L'ATELIER GOURMAND - code : 210;PETITE LICENCE RESTAURATION;
+LE BOUT DU MONDE CAMARGUAIS - SARLE BOUT DU MONDE CAMARGUAIS - code : 631;PETITE LICENCE RESTAURATION;
+LE BOUT DU MONDE CAMARGUAIS - SARL LE BOUT DU MONDE CAMARGUA - code : 556;PETITE LICENCE RESTAURATION;
+LE BUSTE ET L'OREILLE - SARL LA CAVE DE TRINQUETAILLE - code : 768;PETITE LICENCE RESTAURATION;
+LE COLLATÉRAL - LEBUREAUSCHIEPAN - code : 600;PETITE LICENCE RESTAURATION;
+L'EMBOUTEILLAGE - SAS ARTICHAUT - code : 745;PETITE LICENCE RESTAURATION;
+LE MISTRAL - LE MISTRAL - code : 389;PETITE LICENCE RESTAURATION;
+LE PRET A CROQUER - SARL LE PRET À CROQUER - code : 374;PETITE LICENCE RESTAURATION;
+LE REFECTOIRE - SARL LE ROLLIER - code : 557;PETITE LICENCE RESTAURATION;
+LE SIROCCO 2 - SARL LE SIROCCO 2 - code : 444;PETITE LICENCE RESTAURATION;
+LES RENCONTRES D'ARLES - LES RENCONTRES D'ARLES - code : 447;PETITE LICENCE RESTAURATION;
+LSDLC - SARL LSDLC - code : 491;PETITE LICENCE RESTAURATION;
+MAISON SOULIER ARTISAN GLACIER - SARL MAISON SOULIER GLACIER - code : 621;PETITE LICENCE RESTAURATION;
+POISSONNERIE - SARL POISSONNERIE MAUREAU - code : 572;PETITE LICENCE RESTAURATION;
+SABLONS - SASU SABLONS - code : 725;PETITE LICENCE RESTAURATION;
+SNACK DE LA STAR - SARL SMN - code : 116;PETITE LICENCE RESTAURATION;
+SNACKING LA ROMAINE - SNACKING LA ROMAINE - code : 518;PETITE LICENCE RESTAURATION;
+SUPER FOOD CAFE - SARL SUPER FOOD CAFE - code : 710;PETITE LICENCE RESTAURATION;
+THEATRE ARLES - THEATRE ARLES - code : 719;PETITE LICENCE RESTAURATION;
+THEATRE D'ARLES - THEATRE D'ARLES - code : 380;PETITE LICENCE RESTAURATION;
+TONTON SAM - SARL COPIN - code : 607;PETITE LICENCE RESTAURATION;
+VENTE À EMPORTER ET SNACK - RIVAS - code : 330;PETITE LICENCE RESTAURATION;
+ANVI - CAFE DU COMMERCE - code : 182;QUATRIEME CATEGORIE;
+ARENA CAFE - ARENA CAFE - code : 125;QUATRIEME CATEGORIE;
+ATLANTIC BAR - GASCON NATHALIE - code : 81;QUATRIEME CATEGORIE;
+AUSTRALIAN CAFE WALLABEER - SARL BIBOP - code : 80;QUATRIEME CATEGORIE;
+BAR DE LA FONTAINE - LAADISSI ABDELLAZIZ - code : 84;QUATRIEME CATEGORIE;
+BAR DE L'AMITIE - BAR DE L'AMITIE - code : 476;QUATRIEME CATEGORIE;
+BAR DE L'AVENIR - MAZZILLO ROGER - code : 73;QUATRIEME CATEGORIE;
+BAR DE L'ECLUSE - SARL L'ECLUSE - code : 85;QUATRIEME CATEGORIE;
+BAR DES AVENUES - SARL GSC - code : 181;QUATRIEME CATEGORIE;
+BAR LE CRISTAL - SALVINI JEAN - code : 363;QUATRIEME CATEGORIE;
+BAR TABAC LE CYRANO - LE CYRANO - code : 94;QUATRIEME CATEGORIE;
+BAR TABAC LE NARVAL - BAR TABAC LE NARVAL - code : 96;QUATRIEME CATEGORIE;
+BAR TABAC LE NARVAL - BAR TABAC LE NARVAL - code : 96;QUATRIEME CATEGORIE;
+BISTROT DES ALYSCAMPS - BARTHE - code : 161;QUATRIEME CATEGORIE;
+BRASSERIE DES ARENES - BRASSERIE DES ARENES - code : 373;QUATRIEME CATEGORIE;
+BRASSERIE DES ATELIERS - RDO - code : 192;QUATRIEME CATEGORIE;
+BRASSERIE LE KILLIAN'S - BRASSERIE LE KILLIAN'S - code : 301;QUATRIEME CATEGORIE;
+BY PASS - BY PASS - code : 67;QUATRIEME CATEGORIE;
+CAFE DE LA PAIX - CAFE DE LA PAIX - code : 100;QUATRIEME CATEGORIE;
+CAFÉ DU PONT - SARL RAF - code : 74;QUATRIEME CATEGORIE;
+CAFE LE COSMOPOLITE - LE COSMOPOLITE - code : 106;QUATRIEME CATEGORIE;
+CAFE LE WILSON - SARL PABLO - code : 105;QUATRIEME CATEGORIE;
+CAFE VAN GOGH - SARL CAFE LA NUIT - code : 42;QUATRIEME CATEGORIE;
+CAMPING CITY - BAR - code : 29;QUATRIEME CATEGORIE;
+CAMPING LE CRIN BLANC - SAS CAMPING LE CRIN BLANC - code : 394;QUATRIEME CATEGORIE;
+CAMPING LES BOIS FLOTTES - SAS LES ROULOTTES SALINIERES - code : 776;QUATRIEME CATEGORIE;
+CANTARELLES DE RESTAURATION - CANTARELLES DE RESTAURATION - code : 189;QUATRIEME CATEGORIE;
+CARGO DE NUIT - ANDROMEDE - code : 187;QUATRIEME CATEGORIE;
+CHARDON - SAS ARTICHAUT - code : 683;QUATRIEME CATEGORIE;
+CHEZ BOUBOU - CAFE TABAC CHEZ BOUBOU - code : 95;QUATRIEME CATEGORIE;
+CHEZ MAELY - SAS CHEZ JIMMY - code : 694;QUATRIEME CATEGORIE;
+CHEZ MOULIN'S - SARL STATION BAR - code : 372;QUATRIEME CATEGORIE;
+CIVETTE ARLESIENNE - CIVETTE ARLESIENNE - code : 127;QUATRIEME CATEGORIE;
+CIVETTE DE TRINQUETAILLE - CIVETTE DE TRINQUETAILLE - code : 126;QUATRIEME CATEGORIE;
+ COTE NEUVE LA NUIT ETOILEE - COTE NEUVE LA NUIT ETOILEE - code : 82;QUATRIEME CATEGORIE;
+EL PATIO, PATIO DE CAMARGUE - PROVENCALE DE LOISIRS EL PATIO - code : 124;QUATRIEME CATEGORIE;
+FACE TO FACE - SARL JCL - code : 365;QUATRIEME CATEGORIE;
+FACTORY REPUBLIQUE - SARL L'ANISSETTE - code : 617;QUATRIEME CATEGORIE;
+GRANDE BRASSERIE DU WAUX HALL - GRANDE BRASSERIE DU WAUX HALL - code : 102;QUATRIEME CATEGORIE;
+HOTEL ARLES PLAZA - HOTEL ARLES CAMARGUE - code : 113;QUATRIEME CATEGORIE;
+HOTEL D'ARLATAN - SAS HOTEL EN ARLES - code : 190;QUATRIEME CATEGORIE;
+HOTEL DE FRANCE - HOTEL DE FRANCE - code : 163;QUATRIEME CATEGORIE;
+HOTEL DE LA SOURCE - SASU LA SOURCE - code : 172;QUATRIEME CATEGORIE;
+HOTEL DU FORUM - SOCIETE D'EXPLOITATION HOTEL - code : 793;QUATRIEME CATEGORIE;
+HOTEL DU SOLEIL LA BODEGA - SAS C.T.C - code : 469;QUATRIEME CATEGORIE;
+HOTEL FLORHOTEL - SARL ABCD - code : 164;QUATRIEME CATEGORIE;
+HOTEL IBIS - COMPOSTEL - code : 171;QUATRIEME CATEGORIE;
+HOTEL JULES CESAR - SN HOTEL J.CESAR GR MARANATHA - code : 397;QUATRIEME CATEGORIE;
+HOTEL LE CHEVAL BLANC - SARL CPM - code : 456;QUATRIEME CATEGORIE;
+HOTEL MERCURE - STE HOTELIERE ARLES CAMARGUE - code : 112;QUATRIEME CATEGORIE;
+HOTEL MIREILLE - CREST HOTEL - code : 173;QUATRIEME CATEGORIE;
+HOTEL RESTAURANT LA CAMARGUE - HOTEL RESTAURANT LA CAMARGUE - code : 283;QUATRIEME CATEGORIE;
+LA BRASSERIE DE FOURCHON - BAR LE LACYA - code : 83;QUATRIEME CATEGORIE;
+ LA BRASSERIE DE LOUIS VII - SAS LA BRASSERIE DE LOUIS VII - code : 117;QUATRIEME CATEGORIE;
+LA BRASSERIE DES LYS - SARL BRASSERIE DE FOURCHON - code : 228;QUATRIEME CATEGORIE;
+LA CARAVELLE - LA CARAVELLE - code : 37;QUATRIEME CATEGORIE;
+LA CASA - SARL CASA - code : 26;QUATRIEME CATEGORIE;
+LA CHASSAGNETTE - SARL ROLLIER - code : 71;QUATRIEME CATEGORIE;
+LA CIVETTE DE PORTAGNEL - SNC INFINITY - code : 376;QUATRIEME CATEGORIE;
+L'AGACHON - SNC LE REPAIRE DU SANGLIER - code : 185;QUATRIEME CATEGORIE;
+L'AGORA - HOTEL ATRIUM - code : 174;QUATRIEME CATEGORIE;
+LA MULE BLANCHE - LA MULE BLANCHE - code : 130;QUATRIEME CATEGORIE;
+L'APOSTROPHE - SARL MELO - code : 119;QUATRIEME CATEGORIE;
+LA TAVERNE DU FORUM - LA TAVERNE DU FORUM - code : 179;QUATRIEME CATEGORIE;
+LE BAR DES SPORTS - SARL NAMEMA - code : 155;QUATRIEME CATEGORIE;
+LE BAR DU MARCHE - SARL LA TABLE DE LORENZO - code : 90;QUATRIEME CATEGORIE;
+LE BAROQUE - SARL LA SQUADRA - code : 378;QUATRIEME CATEGORIE;
+LE BISTROT ARLESIEN - SARL LE B.A - code : 121;QUATRIEME CATEGORIE;
+LE CABANON - IGLESIAS DIDIER - code : 183;QUATRIEME CATEGORIE;
+LE CAFE DU SAMBUC - SNC DU SAMBUC - code : 72;QUATRIEME CATEGORIE;
+LE CAFE GEORGES - STMA - code : 137;QUATRIEME CATEGORIE;
+ LE CALENDAL - SARL LE CALENDAL - code : 472;QUATRIEME CATEGORIE;
+LE CHIQUITO - LE CHIQUITO - code : 114;QUATRIEME CATEGORIE;
+ LE CLEMENCEAU - LE CLEMENCEAU - code : 103;QUATRIEME CATEGORIE;
+LE COLISEE - SAS APACHE - code : 240;QUATRIEME CATEGORIE;
+LE CUBE - LE CUBE - code : 91;QUATRIEME CATEGORIE;
+LE DAVIDOFF - SNC AELMS - code : 129;QUATRIEME CATEGORIE;
+LE FONTENOY - LE FONTENOY - code : 385;QUATRIEME CATEGORIE;
+LE GALLIA - JM GALLA - code : 93;QUATRIEME CATEGORIE;
+LE GALOUBET - L'HORIZON - code : 186;QUATRIEME CATEGORIE;
+LE GRAIN DE SEL - SARL ETIENNE MARQUEZ - code : 65;QUATRIEME CATEGORIE;
+LE GRAND CAFE LE MALARTE - SARL CAFE LE MALARTE - code : 104;QUATRIEME CATEGORIE;
+LE JAZZ - LE JAZZ - code : 569;QUATRIEME CATEGORIE;
+LE KRISTAL - LE KRISTAL - code : 68;QUATRIEME CATEGORIE;
+LE LONGCHAMP - LE LONGCHAMP - code : 9;QUATRIEME CATEGORIE;
+LE MARIGNY - LE MARIGNY - code : 191;QUATRIEME CATEGORIE;
+LE MARIGNY - LE MARIGNY - code : 191;QUATRIEME CATEGORIE;
+LE MONTMAJOUR - DALL'OPPIO ALAIN - code : 175;QUATRIEME CATEGORIE;
+L'ENTREVUE - SARL JADO - code : 471;QUATRIEME CATEGORIE;
+LE PICADOR - DENIMAL THOMAS - code : 170;QUATRIEME CATEGORIE;
+LE POT A TABAC - SNC AUX DEUX FILLES - code : 111;QUATRIEME CATEGORIE;
+LE PRINTEMPS - LE PRINTEMPS - code : 474;QUATRIEME CATEGORIE;
+LE RELAIS - LE RESTO DU PATY - code : 139;QUATRIEME CATEGORIE;
+LE SAINT PIERRE - LE SAINT PIERRE - code : 245;QUATRIEME CATEGORIE;
+LE SARTO - LE SARTO - code : 8;QUATRIEME CATEGORIE;
+L'ESCALE - L'ESCALE - code : 375;QUATRIEME CATEGORIE;
+L'ESQUISSE - SARL L'ESQUISSE - code : 97;QUATRIEME CATEGORIE;
+LES SALES GOSSES - SAS CAVALERIE 7 - code : 98;QUATRIEME CATEGORIE;
+LES SALICORNES - LES SALICORNES - code : 238;QUATRIEME CATEGORIE;
+LES SALICORNES - LES SALICORNES - code : 238;QUATRIEME CATEGORIE;
+L'ESTRAMBORG - L'ESTRAMBORG - code : 70;QUATRIEME CATEGORIE;
+LE TAMARIS - LE TAMARIS CAFÉ - code : 54;QUATRIEME CATEGORIE;
+LE TAMBOURIN BAR - LE TAMBOURIN BAR - code : 383;QUATRIEME CATEGORIE;
+LOU CAMARGUEN - SARL LOU CAMARGUEN - code : 193;QUATRIEME CATEGORIE;
+LOU PITCHOUNET - SAS PASTA ET BASTA - code : 30;QUATRIEME CATEGORIE;
+L'UNIK - SARL LAURAKIM - code : 473;QUATRIEME CATEGORIE;
+MAISON VOLVER - SAS MAISON VOLVER - code : 86;QUATRIEME CATEGORIE;
+MANADE JACQUES BON - MANADE JACQUES BON - code : 794;QUATRIEME CATEGORIE;
+MAS DE JAS - MANADE BERTET - code : 69;QUATRIEME CATEGORIE;
+MAS DE LA CHAPELLE - A CAPELLA - code : 169;QUATRIEME CATEGORIE;
+MON BAR - MON BAR - code : 108;QUATRIEME CATEGORIE;
+PADDY MULLIN'S - IRSH PUB - code : 56;QUATRIEME CATEGORIE;
+RESTAURANT DE L'IMPREVU - LM - code : 110;QUATRIEME CATEGORIE;
+RESTAURANT IDEAL - SNACK BAR - code : 35;QUATRIEME CATEGORIE;
+RESTAURANT LA BERGERIE PROVENC - GENIES DIDIER - code : 168;QUATRIEME CATEGORIE;
+RESTAURANT LE CAMARGUAIS - SAS C.T.C - code : 396;QUATRIEME CATEGORIE;
+SA LANGUDOCIA - HOTEL NORD PINUS - code : 707;QUATRIEME CATEGORIE;
+SNACK DE L'HAUTURE - SNC BATOEV - code : 20;QUATRIEME CATEGORIE;
+STATION - BAR - code : 58;QUATRIEME CATEGORIE;
+TABAC PRESSE - TABAC PRESSE - code : 233;QUATRIEME CATEGORIE;
+ BRIOCHERIE DE LA CHAPELLE - SAS VALOREST - code : 475;TROISIEME CATEGORIE;
+HOTEL DES GRANGES - LES GRANGES - code : 24;TROISIEME CATEGORIE;
+LE BALKANIA - RESTAURANT LE BALKANIA - code : 294;TROISIEME CATEGORIE;
+LE BAR A THYM - SARL EV LE BAR A THYM - code : 77;TROISIEME CATEGORIE;
+LE COMPTOIR ITALIEN - CASA PEPE - code : 120;TROISIEME CATEGORIE;
+MONSTRE - SAS AMOR - code : 78;TROISIEME CATEGORIE;
+SARL GABI-JO - LA PERGULA - code : 11;TROISIEME CATEGORIE;

Added: branches/1.x/tmp/export_stat_licence_type_fixe.csv
===================================================================
--- branches/1.x/tmp/export_stat_licence_type_fixe.csv (rev 0)
+++ branches/1.x/tmp/export_stat_licence_type_fixe.csv 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,8 @@
+type_licence;nombre_licence;
+DEUXIEME CATEGORIE;3;
+GRANDE LICENCE A EMPORTER;107;
+GRANDE LICENCE RESTAURATION;144;
+PETITE LICENCE A EMPORTER;79;
+PETITE LICENCE RESTAURATION;45;
+QUATRIEME CATEGORIE;117;
+TROISIEME CATEGORIE;7;

Added: branches/1.x/tmp/index.php
===================================================================
--- branches/1.x/tmp/index.php (rev 0)
+++ branches/1.x/tmp/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: index.php 14 2010-07-06 09:47:19Z fmichon $
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>
\ No newline at end of file

Added: branches/1.x/trs/index.php
===================================================================
--- branches/1.x/trs/index.php (rev 0)
+++ branches/1.x/trs/index.php 2019-04-25 09:39:11 UTC (rev 361)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: index.php 14 2010-07-06 09:47:19Z fmichon $
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>
\ No newline at end of file

Reply all
Reply to author
Forward
0 new messages