Merge export , diverses corrections dans tronc commun
This commit is contained in:
commit
4b21773785
@ -43,7 +43,7 @@ require_once FWK_PATH.'/common/ftp.php';
|
||||
function sendMail($commande, $nomCible){
|
||||
$subject = "Actes ou Statuts disponible pour ".$commande['siren'];
|
||||
$message = "Le document commandé pour le siren ".$commande['siren']." est disponible en téléchargement sur le site de Scores & Décisions à l'adresse suivante :\r\n\r\n";
|
||||
$message.= "http://extranet.scores-decisions.com/pdf/$nomCible\r\n";
|
||||
$message.= "http://extranet.scores-decisions.com/fichier/pdf/$nomCible\r\n";
|
||||
$headers = 'From: infoslegales@scores-decisions.com' . "\r\n" .
|
||||
'Reply-To: infoslegales@scores-decisions.com';
|
||||
if ( mail($commande['emailCommande'], $subject, $message, $headers) ){
|
||||
|
1
cache/etablissements-552144503-0.tpl
vendored
Normal file
1
cache/etablissements-552144503-0.tpl
vendored
Normal file
@ -0,0 +1 @@
|
||||
etabs = O:8:"stdClass":2:{s:10:"nbReponses";s:4:"OTQ=";s:6:"result";O:8:"stdClass":1:{s:4:"item";a:2:{i:0;O:8:"stdClass":15:{s:2:"id";s:12:"NjgzODMzMQ==";s:5:"Siege";s:4:"MQ==";s:8:"Enseigne";s:0:"";s:7:"Adresse";s:32:"MDA3NSBBViBMQSBHUkFOREUgQVJNRUU=";s:8:"Adresse2";s:0:"";s:2:"CP";s:8:"NzUxMTY=";s:5:"Ville";s:12:"UEFSSVMgMTY=";s:3:"Tel";s:20:"MDEuNDEuMTkuMzEuNTA=";s:3:"Fax";s:20:"MDEuNDAuNjYuNTQuMTQ=";s:3:"Nic";s:8:"MDAwMTg=";s:5:"Actif";s:4:"MQ==";s:7:"NafEtab";s:8:"MjkxMFo=";s:10:"NafEtabLib";s:52:"Q29uc3RydWN0aW9uIGRlIHbDqWhpY3VsZXMgYXV0b21vYmlsZXM=";s:7:"EffEtTr";s:4:"MA==";s:10:"EffEtTrLib";s:4:"Ti9D";}i:1;O:8:"stdClass":15:{s:2:"id";s:12:"MTEyNTI5ODU=";s:5:"Siege";s:4:"MQ==";s:8:"Enseigne";s:0:"";s:7:"Adresse";s:40:"MDA0NSBSVUUgSkVBTiBQSUVSUkUgVElNQkFVRA==";s:8:"Adresse2";s:0:"";s:2:"CP";s:8:"NzgzMDA=";s:5:"Ville";s:8:"UE9JU1NZ";s:3:"Tel";s:0:"";s:3:"Fax";s:0:"";s:3:"Nic";s:8:"MDA1MTM=";s:5:"Actif";s:4:"MA==";s:7:"NafEtab";s:8:"MzQxWg==";s:10:"NafEtabLib";s:52:"Q29uc3RydWN0aW9uIGRlIHbDqWhpY3VsZXMgYXV0b21vYmlsZXM=";s:7:"EffEtTr";s:4:"MA==";s:10:"EffEtTrLib";s:4:"Ti9D";}}}}
|
3
cache/etablissements-552144503.csv
vendored
Normal file
3
cache/etablissements-552144503.csv
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
id;Siege;Enseigne;Adresse;Adresse2;CP;Ville;Tel;Fax;Nic;Actif;NafEtab;NafEtabLib;EffEtTr;EffEtTrLib
|
||||
6838331;1;;"0075 AV LA GRANDE ARMEE";;75116;"PARIS 16";01.41.19.31.50;01.40.66.54.14;00018;1;2910Z;"Construction de véhicules automobiles";0;N/C
|
||||
11252985;1;;"0045 RUE JEAN PIERRE TIMBAUD";;78300;POISSY;;;00513;0;341Z;"Construction de véhicules automobiles";0;N/C
|
|
37
cache/etablissements-552144503.xml
vendored
Normal file
37
cache/etablissements-552144503.xml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<etablissements>
|
||||
<etablissement>
|
||||
<id>6838331</id>
|
||||
<Siege>1</Siege>
|
||||
<Enseigne />
|
||||
<Adresse>0075 AV LA GRANDE ARMEE</Adresse>
|
||||
<Adresse2 />
|
||||
<CP>75116</CP>
|
||||
<Ville>PARIS 16</Ville>
|
||||
<Tel>01.41.19.31.50</Tel>
|
||||
<Fax>01.40.66.54.14</Fax>
|
||||
<Nic>00018</Nic>
|
||||
<Actif>1</Actif>
|
||||
<NafEtab>2910Z</NafEtab>
|
||||
<NafEtabLib>Construction de véhicules automobiles</NafEtabLib>
|
||||
<EffEtTr>0</EffEtTr>
|
||||
<EffEtTrLib>N/C</EffEtTrLib>
|
||||
</etablissement>
|
||||
<etablissement>
|
||||
<id>11252985</id>
|
||||
<Siege>1</Siege>
|
||||
<Enseigne />
|
||||
<Adresse>0045 RUE JEAN PIERRE TIMBAUD</Adresse>
|
||||
<Adresse2 />
|
||||
<CP>78300</CP>
|
||||
<Ville>POISSY</Ville>
|
||||
<Tel />
|
||||
<Fax />
|
||||
<Nic>00513</Nic>
|
||||
<Actif>0</Actif>
|
||||
<NafEtab>341Z</NafEtab>
|
||||
<NafEtabLib>Construction de véhicules automobiles</NafEtabLib>
|
||||
<EffEtTr>0</EffEtTr>
|
||||
<EffEtTrLib>N/C</EffEtTrLib>
|
||||
</etablissement>
|
||||
</etablissements>
|
1
cache/evenements-341762573.tpl
vendored
Normal file
1
cache/evenements-341762573.tpl
vendored
Normal file
File diff suppressed because one or more lines are too long
2
cache/evenements-34176257300085.csv
vendored
Normal file
2
cache/evenements-34176257300085.csv
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
0|Nic;0|Siege;0|SiretAss;0|TypeSiretAss;0|EvenCode;0|EvenLib;0|EvenLibDet;0|EvenDate;0|DateInfo;1|Nic;1|Siege;1|SiretAss;1|TypeSiretAss;1|EvenCode;1|EvenLib;1|EvenLibDet;1|EvenDate;1|DateInfo;2|Nic;2|Siege;2|SiretAss;2|TypeSiretAss;2|EvenCode;2|EvenLib;2|EvenLibDet;2|EvenDate;2|DateInfo;3|Nic;3|Siege;3|SiretAss;3|TypeSiretAss;3|EvenCode;3|EvenLib;3|EvenLibDet;3|EvenDate;3|DateInfo;4|Nic;4|Siege;4|SiretAss;4|TypeSiretAss;4|EvenCode;4|EvenLib;4|EvenLibDet;4|EvenDate;4|DateInfo;5|Nic;5|Siege;5|SiretAss;5|TypeSiretAss;5|EvenCode;5|EvenLib;5|EvenLibDet;5|EvenDate;5|DateInfo;6|Nic;6|Siege;6|SiretAss;6|TypeSiretAss;6|EvenCode;6|EvenLib;6|EvenLibDet;6|EvenDate;6|DateInfo;7|Nic;7|Siege;7|SiretAss;7|TypeSiretAss;7|EvenCode;7|EvenLib;7|EvenLibDet;7|EvenDate;7|DateInfo;8|Nic;8|Siege;8|SiretAss;8|TypeSiretAss;8|EvenCode;8|EvenLib;8|EvenLibDet;8|EvenDate;8|DateInfo
|
||||
00085;1;00000000000000;"Prédécesseur ou Successeur";I780;"Modification de l'établissement";"Rappel des données de l'établissement du siège en cas de modification exclusive de l'entreprise";20100610;20100909051226;00085;1;00000000000000;"Prédécesseur ou Successeur";I780;"Modification de l'établissement";"Siège modifié (hors transfert) : autre modification de l'établissement";20100802;20100803085112;00085;1;00000000000000;"Prédécesseur ou Successeur";I631;"Modification d'activité du SIREN associé";"Modification de l'activité de l'entreprise : 2620Z - Fabrication d'ordinateurs et d'équipements périphériques (Précédent : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels), Modification de l'activité de l'établissement : 2620Z - Fabrication d'ordinateurs et d'équipements périphériques (Précédent : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels), Siège modifié (hors transfert) : modification de l'activité principale de l'établissement";20081231;20100319150907;00085;1;00000000000000;"Prédécesseur ou Successeur";I631;"Modification d'activité du SIREN associé";"Modification de l'activité de l'entreprise : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels, Modification de l'activité de l'établissement : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels, Siège modifié (hors transfert) : modification de l'activité principale de l'établissement";20081231;20091209015337;00085;1;00000000000000;"Prédécesseur ou Successeur";IM00;"Modification de l'établissement";"Modification de l'adresse : 43 AV DE L'EUROPE 95330 DOMONT , Modification de l'effectif : 000020 (Tranche 12), ";20090930;20090930000000;00069;0;34176257300051;"Prédécesseur ou Successeur";ITF;"Fermeture de l'établissement dans le cadre d'un transfert";"Modification du nic du siège : 00085, ";20071031;20071211110250;00085;1;00000000000000;"Prédécesseur ou Successeur";ITC;"Création de l'établissement dans le cadre d'un transfert";"Modification du nic du siège : 00085, ";20071031;20071211110250;00069;1;34176257300051;"Prédécesseur ou Successeur";I00;"Modification de l'établissement";;20070713;20070821065710;00069;1;00000000000000;"Prédécesseur ou Successeur";I00;"Modification de l'établissement";"Modification de l'activité de l'entreprise : 300C - Fabrication d'ordinateurs et d'autres équipements informatiques, Modification de l'activité de l'établissement : 300C - Fabrication d'ordinateurs et d'autres équipements informatiques, ";20051231;20060402223640
|
|
102
cache/evenements-34176257300085.xml
vendored
Normal file
102
cache/evenements-34176257300085.xml
vendored
Normal file
@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<evenements>
|
||||
<evenement>
|
||||
<Nic>00085</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>00000000000000</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>I780</EvenCode>
|
||||
<EvenLib>Modification de l'établissement</EvenLib>
|
||||
<EvenLibDet>Rappel des données de l'établissement du siège en cas de modification exclusive de l'entreprise</EvenLibDet>
|
||||
<EvenDate>20100610</EvenDate>
|
||||
<DateInfo>20100909051226</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00085</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>00000000000000</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>I780</EvenCode>
|
||||
<EvenLib>Modification de l'établissement</EvenLib>
|
||||
<EvenLibDet>Siège modifié (hors transfert) : autre modification de l'établissement</EvenLibDet>
|
||||
<EvenDate>20100802</EvenDate>
|
||||
<DateInfo>20100803085112</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00085</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>00000000000000</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>I631</EvenCode>
|
||||
<EvenLib>Modification d'activité du SIREN associé</EvenLib>
|
||||
<EvenLibDet>Modification de l'activité de l'entreprise : 2620Z - Fabrication d'ordinateurs et d'équipements périphériques (Précédent : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels), Modification de l'activité de l'établissement : 2620Z - Fabrication d'ordinateurs et d'équipements périphériques (Précédent : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels), Siège modifié (hors transfert) : modification de l'activité principale de l'établissement</EvenLibDet>
|
||||
<EvenDate>20081231</EvenDate>
|
||||
<DateInfo>20100319150907</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00085</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>00000000000000</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>I631</EvenCode>
|
||||
<EvenLib>Modification d'activité du SIREN associé</EvenLib>
|
||||
<EvenLibDet>Modification de l'activité de l'entreprise : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels, Modification de l'activité de l'établissement : 4651Z - Commerce de gros (commerce interentreprises) d'ordinateurs, d'équipements informatiques périphériques et de logiciels, Siège modifié (hors transfert) : modification de l'activité principale de l'établissement</EvenLibDet>
|
||||
<EvenDate>20081231</EvenDate>
|
||||
<DateInfo>20091209015337</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00085</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>00000000000000</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>IM00</EvenCode>
|
||||
<EvenLib>Modification de l'établissement</EvenLib>
|
||||
<EvenLibDet>Modification de l'adresse : 43 AV DE L'EUROPE 95330 DOMONT , Modification de l'effectif : 000020 (Tranche 12), </EvenLibDet>
|
||||
<EvenDate>20090930</EvenDate>
|
||||
<DateInfo>20090930000000</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00069</Nic>
|
||||
<Siege>0</Siege>
|
||||
<SiretAss>34176257300051</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>ITF</EvenCode>
|
||||
<EvenLib>Fermeture de l'établissement dans le cadre d'un transfert</EvenLib>
|
||||
<EvenLibDet>Modification du nic du siège : 00085, </EvenLibDet>
|
||||
<EvenDate>20071031</EvenDate>
|
||||
<DateInfo>20071211110250</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00085</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>00000000000000</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>ITC</EvenCode>
|
||||
<EvenLib>Création de l'établissement dans le cadre d'un transfert</EvenLib>
|
||||
<EvenLibDet>Modification du nic du siège : 00085, </EvenLibDet>
|
||||
<EvenDate>20071031</EvenDate>
|
||||
<DateInfo>20071211110250</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00069</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>34176257300051</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>I00</EvenCode>
|
||||
<EvenLib>Modification de l'établissement</EvenLib>
|
||||
<EvenLibDet />
|
||||
<EvenDate>20070713</EvenDate>
|
||||
<DateInfo>20070821065710</DateInfo>
|
||||
</evenement>
|
||||
<evenement>
|
||||
<Nic>00069</Nic>
|
||||
<Siege>1</Siege>
|
||||
<SiretAss>00000000000000</SiretAss>
|
||||
<TypeSiretAss>Prédécesseur ou Successeur</TypeSiretAss>
|
||||
<EvenCode>I00</EvenCode>
|
||||
<EvenLib>Modification de l'établissement</EvenLib>
|
||||
<EvenLibDet>Modification de l'activité de l'entreprise : 300C - Fabrication d'ordinateurs et d'autres équipements informatiques, Modification de l'activité de l'établissement : 300C - Fabrication d'ordinateurs et d'autres équipements informatiques, </EvenLibDet>
|
||||
<EvenDate>20051231</EvenDate>
|
||||
<DateInfo>20060402223640</DateInfo>
|
||||
</evenement>
|
||||
</evenements>
|
2
cache/identite-34176257300085.csv
vendored
Normal file
2
cache/identite-34176257300085.csv
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
id;Siret;SiretSiege;Siege;TribunalCode;TribunalLib;NumRC;Actif;EntActiveRCS;AutreId;Source;SourceId;Isin;Nom;Nom2;NomLong;NomCommercial;Sigle;SigleLong;Enseigne;EnseigneLong;Adresse;Adresse2;AdresseNum;AdresseBtq;AdresseVoie;AdresseRue;CP;Ville;Pays;PaysIso2;AdresseDom;AdresseDomNb;Civilite;NbEtab;Tel;Fax;Web;Mail;GeoLat;GeoLon;GeoPrecis;GeoInfos|CUCS;GeoInfos|ZRU;GeoInfos|ZFU;GeoInfos|ZUS;GeoInfos|AFR;GeoInfos|ZRR;TvaNumero;TvaAttribue;FJ;FJ_lib;FJ2;FJ2_Lib;Siren;Nic;NafEnt;NafEntLib;NafEtab;NafEtabLib;NaceEtab;NaceEnt;Nafa;NafaLib;NumRM;Activite;Capital;CapitalDev;CapitalLib;CapitalType;DateCreaEt;DateCreaEn;DateImmat;DateClotEt;DateRadiation;EffEnTr;EffEnTrLib;Effectif;EffEtTr;EffEtTrLib;EffectifEtab;Dept;codeCommune;AnneeEffEn;AnneeEffEt;AnneeTCA;TrancheCA;TrancheCALib;dir1Titre;dir1Code;dir1NomPrenom;dir1DateFct;dir1DateNaiss;dir1LieuNaiss;dir2Titre;dir2Code;dir2NomPrenom;dir2DateFct;dir2DateNaiss;dir2LieuNaiss;Rivoli;InfosIris|codIris;InfosIris|codComIris;InfosIris|libIris;InfosIris|typIris;InfosIris|evoIris;InfosIris|trIris;InfosIris|grdQuartier;NatureActivite;OrigineCreation;TypeExploitation;Auxiliaire;Saisonnalite;SituationJuridique;Bilan|Cloture;Bilan|Duree;Bilan|Devise;Bilan|Capital;Bilan|CA;Bilan|Resultat;Bilan|Effectif;Bourse|placeCotation;Bourse|capitalisation;Bourse|nombreTitres;Bourse|derCoursDate;Bourse|derCoursCloture;DateMajINSEE;DateMajRCS;DateMajBILAN;DateMajID;Naf4Ent;Naf4Etab;Naf4EntLib;Naf4EtabLib
|
||||
17553932;34176257300085;34176257300085;1;PONTOC;"TC PONTOISE";1987B01203;1;1;1987B01203;002;17577550;FR0000044943;"LOGIC INSTRUMENT";;;;;;;;"0043 AV DE L'EUROPE";;0043;;AV;"DE L'EUROPE";95330;DOMONT;;FR;;;0;1;01.34.28.35.24;01.34.28.00.50;http://www.logic-instrument.com;sales@logic-instrument.com;49.0275154;2.3446121;6;NON;NON;NON;NON;NON;NON;FR59341762573;1;5599;"Autre SA à conseil d'administration";5599;"Autre SA à conseil d'administration";341762573;00085;2620Z;"Fabrication d'ordinateurs et d'équipements périphériques";2620Z;"Fabrication d'ordinateurs et d'équipements périphériques";C2620;C2620;;;;" fabrication, distribution d'instrumentation scientifique et technique ";1149022;EUR;;S;2007-10-31;1987-07-01;1987-07-22;;0000-00-00;12;"de 20 à 49 salariés";0000020;12;"de 20 à 49 salariés";0000020;95;199;2008;2008;2007;5;"de 10 à 20 M€";"Président directeur Général";1301;"BAILLY Michel";;1952-03-10;"NEUILLY SUR SEINE";"Directeur général";0709;"GEBRAN JACQUES ";;1957-12-01;BEYROUTH(LIBAN);"0275 5";101;951990101;"Le Lycee";"IRIS d'habitat";0;950301;9519901;99;1;10;0;0;;20091231;12;EUR;957523;5732440;-1282149;;;0;;;;2010-09-30;2010-08-04;2010-09-22;2010-09-30;300C;300C;"Fabrication d'ordinateurs et d'autres équipements informatiques";"Fabrication d'ordinateurs et d'autres équipements informatiques"
|
|
1
cache/identite-34176257300085.tpl
vendored
Normal file
1
cache/identite-34176257300085.tpl
vendored
Normal file
File diff suppressed because one or more lines are too long
147
cache/identite-34176257300085.xml
vendored
Normal file
147
cache/identite-34176257300085.xml
vendored
Normal file
@ -0,0 +1,147 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<identite>
|
||||
<id>17553932</id>
|
||||
<Siret>34176257300085</Siret>
|
||||
<SiretSiege>34176257300085</SiretSiege>
|
||||
<Siege>1</Siege>
|
||||
<TribunalCode>PONTOC</TribunalCode>
|
||||
<TribunalLib>TC PONTOISE</TribunalLib>
|
||||
<NumRC>1987B01203</NumRC>
|
||||
<Actif>1</Actif>
|
||||
<EntActiveRCS>1</EntActiveRCS>
|
||||
<AutreId>1987B01203</AutreId>
|
||||
<Source>002</Source>
|
||||
<SourceId>17577550</SourceId>
|
||||
<Isin>FR0000044943</Isin>
|
||||
<Nom>LOGIC INSTRUMENT</Nom>
|
||||
<Nom2 />
|
||||
<NomLong />
|
||||
<NomCommercial />
|
||||
<Sigle />
|
||||
<SigleLong />
|
||||
<Enseigne />
|
||||
<EnseigneLong />
|
||||
<Adresse>0043 AV DE L'EUROPE</Adresse>
|
||||
<Adresse2 />
|
||||
<AdresseNum>0043</AdresseNum>
|
||||
<AdresseBtq />
|
||||
<AdresseVoie>AV</AdresseVoie>
|
||||
<AdresseRue>DE L'EUROPE</AdresseRue>
|
||||
<CP>95330</CP>
|
||||
<Ville>DOMONT</Ville>
|
||||
<Pays />
|
||||
<PaysIso2>FR</PaysIso2>
|
||||
<AdresseDom />
|
||||
<AdresseDomEnt />
|
||||
<AdresseDomNb />
|
||||
<Civilite>0</Civilite>
|
||||
<NbEtab>1</NbEtab>
|
||||
<Tel>01.34.28.35.24</Tel>
|
||||
<Fax>01.34.28.00.50</Fax>
|
||||
<Web>http://www.logic-instrument.com</Web>
|
||||
<Mail>sales@logic-instrument.com</Mail>
|
||||
<GeoLat>49.0275154</GeoLat>
|
||||
<GeoLon>2.3446121</GeoLon>
|
||||
<GeoPrecis>6</GeoPrecis>
|
||||
<GeoInfos>
|
||||
<CUCS>NON</CUCS>
|
||||
<ZRU>NON</ZRU>
|
||||
<ZFU>NON</ZFU>
|
||||
<ZUS>NON</ZUS>
|
||||
<AFR>NON</AFR>
|
||||
<ZRR>NON</ZRR>
|
||||
</GeoInfos>
|
||||
<TvaNumero>FR59341762573</TvaNumero>
|
||||
<TvaAttribue>1</TvaAttribue>
|
||||
<FJ>5599</FJ>
|
||||
<FJ_lib>Autre SA à conseil d'administration</FJ_lib>
|
||||
<FJ2>5599</FJ2>
|
||||
<FJ2_Lib>Autre SA à conseil d'administration</FJ2_Lib>
|
||||
<Siren>341762573</Siren>
|
||||
<Nic>00085</Nic>
|
||||
<NafEnt>2620Z</NafEnt>
|
||||
<NafEntLib>Fabrication d'ordinateurs et d'équipements périphériques</NafEntLib>
|
||||
<NafEtab>2620Z</NafEtab>
|
||||
<NafEtabLib>Fabrication d'ordinateurs et d'équipements périphériques</NafEtabLib>
|
||||
<NaceEtab>C2620</NaceEtab>
|
||||
<NaceEnt>C2620</NaceEnt>
|
||||
<Nafa />
|
||||
<NafaLib />
|
||||
<NumRM />
|
||||
<Activite> fabrication, distribution d'instrumentation scientifique et technique </Activite>
|
||||
<Capital>1149022</Capital>
|
||||
<CapitalDev>EUR</CapitalDev>
|
||||
<CapitalLib />
|
||||
<CapitalType>S</CapitalType>
|
||||
<DateCreaEt>2007-10-31</DateCreaEt>
|
||||
<DateCreaEn>1987-07-01</DateCreaEn>
|
||||
<DateImmat>1987-07-22</DateImmat>
|
||||
<DateClotEt />
|
||||
<DateRadiation>0000-00-00</DateRadiation>
|
||||
<EffEnTr>12</EffEnTr>
|
||||
<EffEnTrLib>de 20 à 49 salariés</EffEnTrLib>
|
||||
<Effectif>0000020</Effectif>
|
||||
<EffEtTr>12</EffEtTr>
|
||||
<EffEtTrLib>de 20 à 49 salariés</EffEtTrLib>
|
||||
<EffectifEtab>0000020</EffectifEtab>
|
||||
<Dept>95</Dept>
|
||||
<codeCommune>199</codeCommune>
|
||||
<AnneeEffEn>2008</AnneeEffEn>
|
||||
<AnneeEffEt>2008</AnneeEffEt>
|
||||
<AnneeTCA>2007</AnneeTCA>
|
||||
<TrancheCA>5</TrancheCA>
|
||||
<TrancheCALib>de 10 à 20 M€</TrancheCALib>
|
||||
<dir1Titre>Président directeur Général</dir1Titre>
|
||||
<dir1Code>1301</dir1Code>
|
||||
<dir1NomPrenom>BAILLY Michel</dir1NomPrenom>
|
||||
<dir1DateFct />
|
||||
<dir1DateNaiss>1952-03-10</dir1DateNaiss>
|
||||
<dir1LieuNaiss>NEUILLY SUR SEINE</dir1LieuNaiss>
|
||||
<dir2Titre>Directeur général</dir2Titre>
|
||||
<dir2Code>0709</dir2Code>
|
||||
<dir2NomPrenom>GEBRAN JACQUES </dir2NomPrenom>
|
||||
<dir2DateFct />
|
||||
<dir2DateNaiss>1957-12-01</dir2DateNaiss>
|
||||
<dir2LieuNaiss>BEYROUTH(LIBAN)</dir2LieuNaiss>
|
||||
<Rivoli>0275 5</Rivoli>
|
||||
<InfosIris>
|
||||
<codIris>101</codIris>
|
||||
<codComIris>951990101</codComIris>
|
||||
<libIris>Le Lycee</libIris>
|
||||
<typIris>IRIS d'habitat</typIris>
|
||||
<evoIris>0</evoIris>
|
||||
<trIris>950301</trIris>
|
||||
<grdQuartier>9519901</grdQuartier>
|
||||
</InfosIris>
|
||||
<NatureActivite>99</NatureActivite>
|
||||
<OrigineCreation>1</OrigineCreation>
|
||||
<TypeExploitation>10</TypeExploitation>
|
||||
<Auxiliaire>0</Auxiliaire>
|
||||
<Saisonnalite>0</Saisonnalite>
|
||||
<SituationJuridique />
|
||||
<Bilan>
|
||||
<Cloture>20091231</Cloture>
|
||||
<Duree>12</Duree>
|
||||
<Devise>EUR</Devise>
|
||||
<Capital>957523</Capital>
|
||||
<CA>5732440</CA>
|
||||
<Resultat>-1282149</Resultat>
|
||||
<Effectif />
|
||||
</Bilan>
|
||||
<Bourse>
|
||||
<placeCotation />
|
||||
<capitalisation>0</capitalisation>
|
||||
<nombreTitres />
|
||||
<derCoursDate />
|
||||
<derCoursCloture />
|
||||
</Bourse>
|
||||
<DateMajINSEE>2010-09-30</DateMajINSEE>
|
||||
<DateMajRCS>2010-08-04</DateMajRCS>
|
||||
<DateMajBILAN>2010-09-22</DateMajBILAN>
|
||||
<DateMajID>2010-09-30</DateMajID>
|
||||
<Naf4Ent>300C</Naf4Ent>
|
||||
<Naf4Etab>300C</Naf4Etab>
|
||||
<Naf4EntLib>Fabrication d'ordinateurs et d'autres équipements informatiques</Naf4EntLib>
|
||||
<Naf4EtabLib>Fabrication d'ordinateurs et d'autres équipements informatiques</Naf4EtabLib>
|
||||
<AutreSiren />
|
||||
</identite>
|
2
cache/identite-55214450300018.csv
vendored
Normal file
2
cache/identite-55214450300018.csv
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
id;Siret;SiretSiege;Siege;TribunalCode;TribunalLib;NumRC;Actif;EntActiveRCS;AutreId;Source;SourceId;Isin;Nom;Nom2;NomLong;NomCommercial;Sigle;SigleLong;Enseigne;EnseigneLong;Adresse;Adresse2;AdresseNum;AdresseBtq;AdresseVoie;AdresseRue;CP;Ville;Pays;PaysIso2;AdresseDom;AdresseDomNb;Civilite;NbEtab;Tel;Fax;Web;Mail;GeoLat;GeoLon;GeoPrecis;GeoInfos|CUCS;GeoInfos|ZRU;GeoInfos|ZFU;GeoInfos|ZUS;GeoInfos|AFR;GeoInfos|ZRR;TvaNumero;TvaAttribue;FJ;FJ_lib;FJ2;FJ2_Lib;Siren;Nic;NafEnt;NafEntLib;NafEtab;NafEtabLib;NaceEtab;NaceEnt;Nafa;NafaLib;NumRM;Activite;Capital;CapitalDev;CapitalLib;CapitalType;DateCreaEt;DateCreaEn;DateImmat;DateClotEt;DateRadiation;EffEnTr;EffEnTrLib;Effectif;EffEtTr;EffEtTrLib;EffectifEtab;Dept;codeCommune;AnneeEffEn;AnneeEffEt;AnneeTCA;TrancheCA;TrancheCALib;dir1Titre;dir1Code;dir1NomPrenom;dir1DateFct;dir1DateNaiss;dir1LieuNaiss;dir2Titre;dir2Code;dir2NomPrenom;dir2DateFct;dir2DateNaiss;dir2LieuNaiss;Rivoli;InfosIris|codIris;InfosIris|codComIris;InfosIris|libIris;InfosIris|typIris;InfosIris|evoIris;InfosIris|trIris;InfosIris|grdQuartier;NatureActivite;OrigineCreation;TypeExploitation;Auxiliaire;Saisonnalite;SituationJuridique;Bilan|Cloture;Bilan|Duree;Bilan|Devise;Bilan|Capital;Bilan|CA;Bilan|Resultat;Bilan|Effectif;Bourse|placeCotation;Bourse|capitalisation;Bourse|nombreTitres;Bourse|derCoursDate;Bourse|derCoursCloture;DateMajINSEE;DateMajRCS;DateMajBILAN;DateMajID;Naf4Ent;Naf4Etab;Naf4EntLib;Naf4EtabLib
|
||||
6838331;55214450300018;55214450300018;1;PARISC;"TC PARIS";1955B14450;1;1;1955B14450;002;6853244;;"AUTOMOBILES PEUGEOT";;;;;;;;"0075 AV LA GRANDE ARMEE";;0075;;AV;"LA GRANDE ARMEE";75116;"PARIS 16";;FR;;;0;23;01.41.19.31.50;01.40.66.54.14;http://www.peugeot.fr;wm@peugeot.com;48.8765259;2.2858214;8;NON;NON;NON;NON;NON;NON;FR23552144503;1;5599;"Autre SA à conseil d'administration";5599;"Autre SA à conseil d'administration";552144503;00018;2910Z;"Construction de véhicules automobiles";2910Z;"Construction de véhicules automobiles";C2910;C2910;;;;"Fabrication et vente de voitures et véhicules automobiles, moteurs et compresseurs, industrie mécanique, formation professionnelle continue";172711770;EUR;;S;1900-01-00;1955-01-01;1955-09-08;;0000-00-00;03;N/C;0000006;00;;0000000;75;116;0;0;0;0;N/C;"Président du conseil d'administration";1306;"GALES Jean-marc";;1962-08-16;"ESCH SUR ALZETTE(LUXEMBOURG)";"Directeur général";0709;"RAMBAUD Jacques";;1959-05-06;"PARIS (75016)";"4271 1";6413;751166413;"Chaillot 13";"IRIS d'activité";0;751761;7511664;4;9;0;0;0;;20081231;12;EUR;171285000;13069438000;87553000;8;;0;;;;2010-09-30;2010-08-19;2009-08-28;2010-09-30;341Z;741J;"Construction de véhicules automobiles";"Administration d'entreprises"
|
|
1
cache/identite-55214450300018.tpl
vendored
Normal file
1
cache/identite-55214450300018.tpl
vendored
Normal file
@ -0,0 +1 @@
|
||||
etab = O:8:"stdClass":115:{s:2:"id";s:12:"NjgzODMzMQ==";s:5:"Siret";s:20:"NTUyMTQ0NTAzMDAwMTg=";s:10:"SiretSiege";s:20:"NTUyMTQ0NTAzMDAwMTg=";s:5:"Siege";s:4:"MQ==";s:12:"TribunalCode";s:8:"UEFSSVND";s:11:"TribunalLib";s:12:"VEMgUEFSSVM=";s:5:"NumRC";s:16:"MTk1NUIxNDQ1MA==";s:5:"Actif";s:4:"MQ==";s:12:"EntActiveRCS";s:4:"MQ==";s:7:"AutreId";s:16:"MTk1NUIxNDQ1MA==";s:6:"Source";s:4:"MDAy";s:8:"SourceId";s:12:"Njg1MzI0NA==";s:4:"Isin";s:0:"";s:3:"Nom";s:28:"QVVUT01PQklMRVMgUEVVR0VPVA==";s:4:"Nom2";s:0:"";s:7:"NomLong";s:0:"";s:13:"NomCommercial";s:0:"";s:5:"Sigle";s:0:"";s:9:"SigleLong";s:0:"";s:8:"Enseigne";s:0:"";s:12:"EnseigneLong";s:0:"";s:7:"Adresse";s:32:"MDA3NSBBViBMQSBHUkFOREUgQVJNRUU=";s:8:"Adresse2";s:0:"";s:10:"AdresseNum";s:8:"MDA3NQ==";s:10:"AdresseBtq";s:0:"";s:11:"AdresseVoie";s:4:"QVY=";s:10:"AdresseRue";s:20:"TEEgR1JBTkRFIEFSTUVF";s:2:"CP";s:8:"NzUxMTY=";s:5:"Ville";s:12:"UEFSSVMgMTY=";s:4:"Pays";s:0:"";s:8:"PaysIso2";s:4:"RlI=";s:10:"AdresseDom";s:0:"";s:13:"AdresseDomEnt";O:8:"stdClass":0:{}s:12:"AdresseDomNb";s:0:"";s:8:"Civilite";s:4:"MA==";s:6:"NbEtab";s:4:"MjM=";s:3:"Tel";s:20:"MDEuNDEuMTkuMzEuNTA=";s:3:"Fax";s:20:"MDEuNDAuNjYuNTQuMTQ=";s:3:"Web";s:28:"aHR0cDovL3d3dy5wZXVnZW90LmZy";s:4:"Mail";s:20:"d21AcGV1Z2VvdC5jb20=";s:6:"GeoLat";s:16:"NDguODc2NTI1OQ==";s:6:"GeoLon";s:12:"Mi4yODU4MjE0";s:9:"GeoPrecis";s:4:"OA==";s:8:"GeoInfos";O:8:"stdClass":6:{s:4:"CUCS";s:4:"Tk9O";s:3:"ZRU";s:4:"Tk9O";s:3:"ZFU";s:4:"Tk9O";s:3:"ZUS";s:4:"Tk9O";s:3:"AFR";s:4:"Tk9O";s:3:"ZRR";s:4:"Tk9O";}s:9:"TvaNumero";s:20:"RlIyMzU1MjE0NDUwMw==";s:11:"TvaAttribue";s:4:"MQ==";s:2:"FJ";s:8:"NTU5OQ==";s:6:"FJ_lib";s:48:"QXV0cmUgU0Egw6AgY29uc2VpbCBkJ2FkbWluaXN0cmF0aW9u";s:3:"FJ2";s:8:"NTU5OQ==";s:7:"FJ2_Lib";s:48:"QXV0cmUgU0Egw6AgY29uc2VpbCBkJ2FkbWluaXN0cmF0aW9u";s:5:"Siren";s:12:"NTUyMTQ0NTAz";s:3:"Nic";s:8:"MDAwMTg=";s:6:"NafEnt";s:8:"MjkxMFo=";s:9:"NafEntLib";s:52:"Q29uc3RydWN0aW9uIGRlIHbDqWhpY3VsZXMgYXV0b21vYmlsZXM=";s:7:"NafEtab";s:8:"MjkxMFo=";s:10:"NafEtabLib";s:52:"Q29uc3RydWN0aW9uIGRlIHbDqWhpY3VsZXMgYXV0b21vYmlsZXM=";s:8:"NaceEtab";s:8:"QzI5MTA=";s:7:"NaceEnt";s:8:"QzI5MTA=";s:4:"Nafa";s:0:"";s:7:"NafaLib";s:0:"";s:5:"NumRM";s:0:"";s:8:"Activite";s:188:"RmFicmljYXRpb24gZXQgdmVudGUgZGUgdm9pdHVyZXMgZXQgdsOpaGljdWxlcyBhdXRvbW9iaWxlcywgbW90ZXVycyBldCBjb21wcmVzc2V1cnMsIGluZHVzdHJpZSBtw6ljYW5pcXVlLCBmb3JtYXRpb24gcHJvZmVzc2lvbm5lbGxlIGNvbnRpbnVl";s:7:"Capital";s:12:"MTcyNzExNzcw";s:10:"CapitalDev";s:4:"RVVS";s:10:"CapitalLib";s:0:"";s:11:"CapitalType";s:4:"Uw==";s:10:"DateCreaEt";s:16:"MTkwMC0wMS0wMA==";s:10:"DateCreaEn";s:16:"MTk1NS0wMS0wMQ==";s:9:"DateImmat";s:16:"MTk1NS0wOS0wOA==";s:10:"DateClotEt";s:0:"";s:13:"DateRadiation";s:16:"MDAwMC0wMC0wMA==";s:7:"EffEnTr";s:4:"MDM=";s:10:"EffEnTrLib";s:4:"Ti9D";s:8:"Effectif";s:12:"MDAwMDAwNg==";s:7:"EffEtTr";s:4:"MDA=";s:10:"EffEtTrLib";s:0:"";s:12:"EffectifEtab";s:12:"MDAwMDAwMA==";s:4:"Dept";s:4:"NzU=";s:11:"codeCommune";s:4:"MTE2";s:10:"AnneeEffEn";s:4:"MA==";s:10:"AnneeEffEt";s:4:"MA==";s:8:"AnneeTCA";s:4:"MA==";s:9:"TrancheCA";s:4:"MA==";s:12:"TrancheCALib";s:4:"Ti9D";s:9:"dir1Titre";s:52:"UHLDqXNpZGVudCBkdSBjb25zZWlsIGQnYWRtaW5pc3RyYXRpb24=";s:8:"dir1Code";s:8:"MTMwNg==";s:13:"dir1NomPrenom";s:20:"R0FMRVMgSmVhbi1tYXJj";s:11:"dir1DateFct";s:0:"";s:13:"dir1DateNaiss";s:16:"MTk2Mi0wOC0xNg==";s:13:"dir1LieuNaiss";s:40:"RVNDSCBTVVIgQUxaRVRURShMVVhFTUJPVVJHKQ==";s:9:"dir2Titre";s:28:"RGlyZWN0ZXVyIGfDqW7DqXJhbA==";s:8:"dir2Code";s:8:"MDcwOQ==";s:13:"dir2NomPrenom";s:20:"UkFNQkFVRCBKYWNxdWVz";s:11:"dir2DateFct";s:0:"";s:13:"dir2DateNaiss";s:16:"MTk1OS0wNS0wNg==";s:13:"dir2LieuNaiss";s:20:"UEFSSVMgKDc1MDE2KQ==";s:6:"Rivoli";s:8:"NDI3MSAx";s:9:"InfosIris";O:8:"stdClass":7:{s:7:"codIris";s:8:"NjQxMw==";s:10:"codComIris";s:12:"NzUxMTY2NDEz";s:7:"libIris";s:16:"Q2hhaWxsb3QgMTM=";s:7:"typIris";s:24:"SVJJUyBkJ2FjdGl2aXTDqQ==";s:7:"evoIris";s:4:"MA==";s:6:"trIris";s:8:"NzUxNzYx";s:11:"grdQuartier";s:12:"NzUxMTY2NA==";}s:14:"NatureActivite";s:4:"NA==";s:15:"OrigineCreation";s:4:"OQ==";s:16:"TypeExploitation";s:4:"MA==";s:10:"Auxiliaire";s:4:"MA==";s:12:"Saisonnalite";s:4:"MA==";s:18:"SituationJuridique";s:0:"";s:5:"Bilan";O:8:"stdClass":7:{s:7:"Cloture";s:12:"MjAwODEyMzE=";s:5:"Duree";s:4:"MTI=";s:6:"Devise";s:4:"RVVS";s:7:"Capital";s:12:"MTcxMjg1MDAw";s:2:"CA";s:16:"MTMwNjk0MzgwMDA=";s:8:"Resultat";s:12:"ODc1NTMwMDA=";s:8:"Effectif";s:4:"OA==";}s:6:"Bourse";O:8:"stdClass":5:{s:13:"placeCotation";s:0:"";s:14:"capitalisation";s:4:"MA==";s:12:"nombreTitres";s:0:"";s:12:"derCoursDate";s:0:"";s:15:"derCoursCloture";s:0:"";}s:12:"DateMajINSEE";s:16:"MjAxMC0wOS0zMA==";s:10:"DateMajRCS";s:16:"MjAxMC0wOC0xOQ==";s:12:"DateMajBILAN";s:16:"MjAwOS0wOC0yOA==";s:9:"DateMajID";s:16:"MjAxMC0wOS0zMA==";s:7:"Naf4Ent";s:8:"MzQxWg==";s:8:"Naf4Etab";s:8:"NzQxSg==";s:10:"Naf4EntLib";s:52:"Q29uc3RydWN0aW9uIGRlIHbDqWhpY3VsZXMgYXV0b21vYmlsZXM=";s:11:"Naf4EtabLib";s:40:"QWRtaW5pc3RyYXRpb24gZCdlbnRyZXByaXNlcw==";s:10:"AutreSiren";O:8:"stdClass":0:{}}
|
147
cache/identite-55214450300018.xml
vendored
Normal file
147
cache/identite-55214450300018.xml
vendored
Normal file
@ -0,0 +1,147 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<identite>
|
||||
<id>6838331</id>
|
||||
<Siret>55214450300018</Siret>
|
||||
<SiretSiege>55214450300018</SiretSiege>
|
||||
<Siege>1</Siege>
|
||||
<TribunalCode>PARISC</TribunalCode>
|
||||
<TribunalLib>TC PARIS</TribunalLib>
|
||||
<NumRC>1955B14450</NumRC>
|
||||
<Actif>1</Actif>
|
||||
<EntActiveRCS>1</EntActiveRCS>
|
||||
<AutreId>1955B14450</AutreId>
|
||||
<Source>002</Source>
|
||||
<SourceId>6853244</SourceId>
|
||||
<Isin />
|
||||
<Nom>AUTOMOBILES PEUGEOT</Nom>
|
||||
<Nom2 />
|
||||
<NomLong />
|
||||
<NomCommercial />
|
||||
<Sigle />
|
||||
<SigleLong />
|
||||
<Enseigne />
|
||||
<EnseigneLong />
|
||||
<Adresse>0075 AV LA GRANDE ARMEE</Adresse>
|
||||
<Adresse2 />
|
||||
<AdresseNum>0075</AdresseNum>
|
||||
<AdresseBtq />
|
||||
<AdresseVoie>AV</AdresseVoie>
|
||||
<AdresseRue>LA GRANDE ARMEE</AdresseRue>
|
||||
<CP>75116</CP>
|
||||
<Ville>PARIS 16</Ville>
|
||||
<Pays />
|
||||
<PaysIso2>FR</PaysIso2>
|
||||
<AdresseDom />
|
||||
<AdresseDomEnt />
|
||||
<AdresseDomNb />
|
||||
<Civilite>0</Civilite>
|
||||
<NbEtab>23</NbEtab>
|
||||
<Tel>01.41.19.31.50</Tel>
|
||||
<Fax>01.40.66.54.14</Fax>
|
||||
<Web>http://www.peugeot.fr</Web>
|
||||
<Mail>wm@peugeot.com</Mail>
|
||||
<GeoLat>48.8765259</GeoLat>
|
||||
<GeoLon>2.2858214</GeoLon>
|
||||
<GeoPrecis>8</GeoPrecis>
|
||||
<GeoInfos>
|
||||
<CUCS>NON</CUCS>
|
||||
<ZRU>NON</ZRU>
|
||||
<ZFU>NON</ZFU>
|
||||
<ZUS>NON</ZUS>
|
||||
<AFR>NON</AFR>
|
||||
<ZRR>NON</ZRR>
|
||||
</GeoInfos>
|
||||
<TvaNumero>FR23552144503</TvaNumero>
|
||||
<TvaAttribue>1</TvaAttribue>
|
||||
<FJ>5599</FJ>
|
||||
<FJ_lib>Autre SA à conseil d'administration</FJ_lib>
|
||||
<FJ2>5599</FJ2>
|
||||
<FJ2_Lib>Autre SA à conseil d'administration</FJ2_Lib>
|
||||
<Siren>552144503</Siren>
|
||||
<Nic>00018</Nic>
|
||||
<NafEnt>2910Z</NafEnt>
|
||||
<NafEntLib>Construction de véhicules automobiles</NafEntLib>
|
||||
<NafEtab>2910Z</NafEtab>
|
||||
<NafEtabLib>Construction de véhicules automobiles</NafEtabLib>
|
||||
<NaceEtab>C2910</NaceEtab>
|
||||
<NaceEnt>C2910</NaceEnt>
|
||||
<Nafa />
|
||||
<NafaLib />
|
||||
<NumRM />
|
||||
<Activite>Fabrication et vente de voitures et véhicules automobiles, moteurs et compresseurs, industrie mécanique, formation professionnelle continue</Activite>
|
||||
<Capital>172711770</Capital>
|
||||
<CapitalDev>EUR</CapitalDev>
|
||||
<CapitalLib />
|
||||
<CapitalType>S</CapitalType>
|
||||
<DateCreaEt>1900-01-00</DateCreaEt>
|
||||
<DateCreaEn>1955-01-01</DateCreaEn>
|
||||
<DateImmat>1955-09-08</DateImmat>
|
||||
<DateClotEt />
|
||||
<DateRadiation>0000-00-00</DateRadiation>
|
||||
<EffEnTr>03</EffEnTr>
|
||||
<EffEnTrLib>N/C</EffEnTrLib>
|
||||
<Effectif>0000006</Effectif>
|
||||
<EffEtTr>00</EffEtTr>
|
||||
<EffEtTrLib />
|
||||
<EffectifEtab>0000000</EffectifEtab>
|
||||
<Dept>75</Dept>
|
||||
<codeCommune>116</codeCommune>
|
||||
<AnneeEffEn>0</AnneeEffEn>
|
||||
<AnneeEffEt>0</AnneeEffEt>
|
||||
<AnneeTCA>0</AnneeTCA>
|
||||
<TrancheCA>0</TrancheCA>
|
||||
<TrancheCALib>N/C</TrancheCALib>
|
||||
<dir1Titre>Président du conseil d'administration</dir1Titre>
|
||||
<dir1Code>1306</dir1Code>
|
||||
<dir1NomPrenom>GALES Jean-marc</dir1NomPrenom>
|
||||
<dir1DateFct />
|
||||
<dir1DateNaiss>1962-08-16</dir1DateNaiss>
|
||||
<dir1LieuNaiss>ESCH SUR ALZETTE(LUXEMBOURG)</dir1LieuNaiss>
|
||||
<dir2Titre>Directeur général</dir2Titre>
|
||||
<dir2Code>0709</dir2Code>
|
||||
<dir2NomPrenom>RAMBAUD Jacques</dir2NomPrenom>
|
||||
<dir2DateFct />
|
||||
<dir2DateNaiss>1959-05-06</dir2DateNaiss>
|
||||
<dir2LieuNaiss>PARIS (75016)</dir2LieuNaiss>
|
||||
<Rivoli>4271 1</Rivoli>
|
||||
<InfosIris>
|
||||
<codIris>6413</codIris>
|
||||
<codComIris>751166413</codComIris>
|
||||
<libIris>Chaillot 13</libIris>
|
||||
<typIris>IRIS d'activité</typIris>
|
||||
<evoIris>0</evoIris>
|
||||
<trIris>751761</trIris>
|
||||
<grdQuartier>7511664</grdQuartier>
|
||||
</InfosIris>
|
||||
<NatureActivite>4</NatureActivite>
|
||||
<OrigineCreation>9</OrigineCreation>
|
||||
<TypeExploitation>0</TypeExploitation>
|
||||
<Auxiliaire>0</Auxiliaire>
|
||||
<Saisonnalite>0</Saisonnalite>
|
||||
<SituationJuridique />
|
||||
<Bilan>
|
||||
<Cloture>20081231</Cloture>
|
||||
<Duree>12</Duree>
|
||||
<Devise>EUR</Devise>
|
||||
<Capital>171285000</Capital>
|
||||
<CA>13069438000</CA>
|
||||
<Resultat>87553000</Resultat>
|
||||
<Effectif>8</Effectif>
|
||||
</Bilan>
|
||||
<Bourse>
|
||||
<placeCotation />
|
||||
<capitalisation>0</capitalisation>
|
||||
<nombreTitres />
|
||||
<derCoursDate />
|
||||
<derCoursCloture />
|
||||
</Bourse>
|
||||
<DateMajINSEE>2010-09-30</DateMajINSEE>
|
||||
<DateMajRCS>2010-08-19</DateMajRCS>
|
||||
<DateMajBILAN>2009-08-28</DateMajBILAN>
|
||||
<DateMajID>2010-09-30</DateMajID>
|
||||
<Naf4Ent>341Z</Naf4Ent>
|
||||
<Naf4Etab>741J</Naf4Etab>
|
||||
<Naf4EntLib>Construction de véhicules automobiles</Naf4EntLib>
|
||||
<Naf4EtabLib>Administration d'entreprises</Naf4EtabLib>
|
||||
<AutreSiren />
|
||||
</identite>
|
@ -16,6 +16,7 @@ data/log
|
||||
data/logos
|
||||
data/marques
|
||||
data/pdf
|
||||
data/bilanclient
|
||||
|
||||
Répertoire de stockage (cache)
|
||||
==============================
|
||||
@ -32,11 +33,12 @@ liasse => liasse au format excel
|
||||
portefeuille => portefeuille au format csv
|
||||
surveillance =>
|
||||
survliste =>
|
||||
pages => fichier pour l'affichage des données du site
|
||||
|
||||
Liens symbolique
|
||||
================
|
||||
ln -s PATH_DATA/logos PATH_SITE/cache/logos
|
||||
ln -s PATH_SITE/www/img PATH_SITE/cache/img
|
||||
ln -s PATH_DATA/logos PATH_SITE/cache/pages/logos
|
||||
ln -s PATH_SITE/www/img PATH_SITE/cache/pages/img
|
||||
ln -s PATH_DATA PATH_SITE/data
|
||||
|
||||
Sous windows, utiliser l'utilitaire junction de Sysinternal
|
||||
@ -80,9 +82,6 @@ Configuration vhost
|
||||
RewriteRule ^min/([a-z]=.*) ./min/index.php?$1 [L,NE]
|
||||
RewriteRule ^print/(.*)-(.*)-(.*)-(.*).pdf ./index.php?sortie=pdf&siret=$1&idEntreprise=$2&page=$3¶ms=$4 [L,NC]
|
||||
RewriteRule ^fichier/(.*)/(.*)$ ./servefile.php?q=$1/$2 [L,NC]
|
||||
RewriteRule ^imgcache/(.*)$ ./servefile.php?q=imgcache/$1 [L,NC]
|
||||
RewriteRule ^pdf/(.*)$ ./servefile.php?q=pdf/$1 [L,NC]
|
||||
RewriteRule ^logos/(.*)$ ./servefile.php?q=logos/$1 [L,NC]
|
||||
RewriteRule ^scripts/(.*)$ ./js/combine/$1 [L,NE]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
@ -115,10 +115,10 @@ function writeSymlinks(){
|
||||
passthru('ln -vs '.realpath(dirname(__FILE__).'/../../data').' '.PATH_SITE.'/data');
|
||||
}
|
||||
if( !file_exists(PATH_SITE.'/cache/logos') ) {
|
||||
passthru('ln -vs '.PATH_DATA.'/logos '.PATH_SITE.'/cache/logos');
|
||||
passthru('ln -vs '.PATH_DATA.'/logos '.PATH_SITE.'/cache/pages/logos');
|
||||
}
|
||||
if( !file_exists(PATH_SITE.'/cache/img') ) {
|
||||
passthru('ln -vs '.PATH_SITE.'/www/img '.PATH_SITE.'/cache/img');
|
||||
passthru('ln -vs '.PATH_SITE.'/www/img '.PATH_SITE.'/cache/pages/img');
|
||||
}
|
||||
}
|
||||
|
||||
|
2
includes/cache/cache.php
vendored
2
includes/cache/cache.php
vendored
@ -39,7 +39,7 @@ function cache_filename()
|
||||
//unset($filename);
|
||||
//static $filename;
|
||||
$args = func_get_args();
|
||||
$filename = PATH_SITE.'/cache/'.$args[0].CACHE_EXT;
|
||||
$filename = PATH_SITE.'/cache/pages/'.$args[0].CACHE_EXT;
|
||||
}
|
||||
return $filename;
|
||||
}
|
||||
|
@ -221,10 +221,10 @@ function commentaires_graphique($content){
|
||||
}
|
||||
|
||||
//Le fichier image existe
|
||||
if( file_exists(PATH_SITE.'/cache/imgcache/'.$image_file) ){
|
||||
if( file_exists(PATH_SITE.'/cache/pages/imgcache/'.$image_file) ){
|
||||
$content = str_replace(
|
||||
$matches[0],
|
||||
'<img src="./imgcache/'.$image_file.'" />',
|
||||
'<img src="./fichier/imgcache/'.$image_file.'" />',
|
||||
$content);
|
||||
}else{
|
||||
$content = str_replace(
|
||||
@ -239,7 +239,7 @@ function commentaires_graphique($content){
|
||||
function commentaires_graph_stacked($id, $titre, $strRatios) {
|
||||
global $bilansInfos, $ratiosEntrep, $ratiosSecteur, $ratiosInfos,
|
||||
$graphCouleurs;
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $id.'.png';
|
||||
if( cache_graph($path.$file) ){
|
||||
$output = $file;
|
||||
@ -361,7 +361,7 @@ function commentaires_graph_stacked($id, $titre, $strRatios) {
|
||||
function commentaires_graph_histo($id, $titre, $strRatios){
|
||||
global $graphCouleurs, $bilansInfos, $ratiosEntrep, $ratiosSecteur,
|
||||
$tabProjection, $ratiosInfos;
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $id.'.png';
|
||||
if( cache_graph($path.$file) ){
|
||||
$output = $file;
|
||||
@ -495,7 +495,7 @@ function commentaires_graph_histo($id, $titre, $strRatios){
|
||||
|
||||
function commentaires_graph_radar($id, $titre, $strRatios) {
|
||||
global $graphCouleurs;
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $id.'.png';
|
||||
if( cache_graph($path.$file) && 0 ){
|
||||
$output = $file;
|
||||
|
@ -1,199 +0,0 @@
|
||||
<?php
|
||||
// Include XML_Serializer
|
||||
require_once('XML/Serializer.php');
|
||||
/**
|
||||
* Export - Gère les différents format d'exportation
|
||||
* @package export
|
||||
* @author Michael RICOIS
|
||||
* @copyright Scores&Decisions
|
||||
*/
|
||||
class ExportXML {
|
||||
public $fileName = '';
|
||||
public $path = '';
|
||||
public $rootName = 'root';
|
||||
public $defaultTagName = 'element';
|
||||
public $records = array();
|
||||
public $encoding = 'UTF-8';
|
||||
public $serializer_options = array();
|
||||
public $content = '';
|
||||
|
||||
function __construct() {
|
||||
$this->path = realpath(dirname(__FILE__).'/../cache/');
|
||||
}
|
||||
|
||||
function setXMLOptions(){
|
||||
// An array of serializer options
|
||||
$this->serializer_options = array (
|
||||
'addDecl' => TRUE,
|
||||
'encoding' => $this->encoding,
|
||||
'indent' => ' ',
|
||||
'rootName' => $this->rootName,
|
||||
'defaultTagName' => $this->defaultTagName,
|
||||
);
|
||||
}
|
||||
|
||||
function serialize(){
|
||||
$this->setXMLOptions();
|
||||
// Instantiate the serializer with the options
|
||||
$err_rep = error_reporting();
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
||||
$Serializer = new XML_Serializer($this->serializer_options);
|
||||
// Serialize the data structure
|
||||
$status = $Serializer->serialize($this->records);
|
||||
// Check whether serialization worked
|
||||
if (PEAR::isError($status)) {
|
||||
//$status->getMessage()
|
||||
}
|
||||
$this->content = $Serializer->getSerializedData();
|
||||
error_reporting($err_rep);
|
||||
}
|
||||
|
||||
function writeXML($fileName){
|
||||
$fileName = str_replace('.php','',$fileName);
|
||||
$this->fileName = $this->path .'/'. $fileName . '.xml';
|
||||
$this->serialize();
|
||||
if( !file_put_contents($this->fileName, $this->content))
|
||||
{
|
||||
//TODO : Gestion des erreurs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class ExportCSV {
|
||||
|
||||
public $fileName = '';
|
||||
public $path = '';
|
||||
public $encoding = 'UTF-8';
|
||||
public $delimiter = ';';
|
||||
public $records = array();
|
||||
|
||||
function __construct() {
|
||||
$this->path = realpath(dirname(__FILE__).'/../cache/');
|
||||
}
|
||||
|
||||
/**
|
||||
* Ecrit un fichier csv à partir d'un tableau.
|
||||
* @param string $fileName
|
||||
* @param array $records
|
||||
* @param string $delimiter
|
||||
* @return void
|
||||
*/
|
||||
function writeCSV($fileName)
|
||||
{
|
||||
$fileName = str_replace('.php','',$fileName);
|
||||
$this->fileName = $this->path .'/'. $fileName . '.csv';
|
||||
|
||||
//Ouverture du fichier
|
||||
$fp = fopen($this->fileName, 'w');
|
||||
//On attribue le header
|
||||
$newRecords=array();
|
||||
$this->array_flatten($this->records[0],$newRecords);
|
||||
$headerKeys = array_keys($newRecords);
|
||||
if ($fp != FALSE){
|
||||
//Header du fichier csv
|
||||
fputcsv($fp, $headerKeys, $this->delimiter);
|
||||
}
|
||||
foreach( $this->records as $record ){
|
||||
$newRecords=array();
|
||||
$this->array_flatten($record,$newRecords);
|
||||
$values = array_values($newRecords);
|
||||
if ($fp != FALSE){
|
||||
//Contenu du fichier
|
||||
fputcsv($fp, $values, $this->delimiter);
|
||||
}else{
|
||||
//Erreur
|
||||
}
|
||||
}
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
function array_flatten($array, &$newArray = Array(),
|
||||
$prefix = '', $delimiter = '|') {
|
||||
foreach ($array as $key => $child) {
|
||||
if (is_object($child) == true ||
|
||||
is_array($child) == true) {
|
||||
$newPrefix = $prefix.$key.$delimiter;
|
||||
$newArray = $this->array_flatten($child, $newArray,
|
||||
$newPrefix, $delimiter);
|
||||
} else {
|
||||
$newArray[$prefix.$key] = $child;
|
||||
}
|
||||
}
|
||||
return $newArray;
|
||||
}
|
||||
}
|
||||
|
||||
class tabExport
|
||||
{
|
||||
public $tab = array();
|
||||
public $notdisplay = array();
|
||||
public $title = array();
|
||||
public $type = array();
|
||||
|
||||
public $convert = array();
|
||||
|
||||
function __construct() {}
|
||||
|
||||
function convertTable() {
|
||||
$this->convert = $this->rArray($this->tab);
|
||||
return $this->convert;
|
||||
}
|
||||
|
||||
function rArray($array) {
|
||||
foreach ($array as $key => $child) {
|
||||
if (is_array($child)) {
|
||||
if (!in_array($key, $this->notdisplay, TRUE)) {
|
||||
$newArray[$this->renameKey($key)] = $this->rArray($child);
|
||||
}
|
||||
} else {
|
||||
if (!in_array($key, $this->notdisplay, TRUE)) {
|
||||
$newArray[$this->renameKey($key)] =
|
||||
$this->convertValue($key, $child);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $newArray;
|
||||
}
|
||||
|
||||
function renameKey($key){
|
||||
$newKey = $key;
|
||||
if (array_key_exists($key, $this->title)) {
|
||||
$newKey = $this->title[$key];
|
||||
}
|
||||
return $newKey;
|
||||
}
|
||||
|
||||
function convertValue($key, $value){
|
||||
if (array_key_exists($key, $this->type)) {
|
||||
switch ($this->type[$key]) {
|
||||
case 'date':
|
||||
//Test des différents formats de value
|
||||
break;
|
||||
}
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
||||
class ExportPDF
|
||||
{
|
||||
function __construct() {}
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
// htmldecode
|
||||
// -------------------------------------------------------------------------- //
|
||||
function htmldecode(&$val)
|
||||
{
|
||||
if (is_object($val) == true ||
|
||||
is_array($val) == true) {
|
||||
$ret = array();
|
||||
foreach ($val as $i => $v) {
|
||||
$ret[$i] = htmldecode($v);
|
||||
}
|
||||
return $ret;
|
||||
} else {
|
||||
return html_entity_decode($val);
|
||||
}
|
||||
}
|
||||
?>
|
183
includes/export/export.php
Normal file
183
includes/export/export.php
Normal file
@ -0,0 +1,183 @@
|
||||
<?php
|
||||
// Include XML_Serializer
|
||||
require_once('XML/Serializer.php');
|
||||
/**
|
||||
* Export - Gère les différents format d'exportation
|
||||
* @package export
|
||||
* @author Michael RICOIS
|
||||
* @copyright Scores&Decisions
|
||||
*/
|
||||
class ExportXML {
|
||||
public $fileName = '';
|
||||
public $path = '';
|
||||
public $rootName = 'root';
|
||||
public $defaultTagName = 'element';
|
||||
public $records = array();
|
||||
public $encoding = 'UTF-8';
|
||||
public $serializer_options = array();
|
||||
public $content = '';
|
||||
|
||||
function __construct() {
|
||||
$this->path = realpath(dirname(__FILE__).'/../cache/pages/');
|
||||
}
|
||||
|
||||
function setXMLOptions(){
|
||||
// An array of serializer options
|
||||
$this->serializer_options = array (
|
||||
'addDecl' => TRUE,
|
||||
'encoding' => $this->encoding,
|
||||
'indent' => ' ',
|
||||
'rootName' => $this->rootName,
|
||||
'defaultTagName' => $this->defaultTagName,
|
||||
);
|
||||
}
|
||||
|
||||
function serialize(){
|
||||
$this->setXMLOptions();
|
||||
// Instantiate the serializer with the options
|
||||
$err_rep = error_reporting();
|
||||
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
|
||||
$Serializer = new XML_Serializer($this->serializer_options);
|
||||
// Serialize the data structure
|
||||
$status = $Serializer->serialize($this->records);
|
||||
// Check whether serialization worked
|
||||
if (PEAR::isError($status)) {
|
||||
//$status->getMessage()
|
||||
}
|
||||
$this->content = $Serializer->getSerializedData();
|
||||
error_reporting($err_rep);
|
||||
}
|
||||
|
||||
function writeXML($fileName){
|
||||
$fileName = str_replace('.php','',$fileName);
|
||||
$this->fileName = $this->path .'/'. $fileName . '.xml';
|
||||
$this->serialize();
|
||||
if( !file_put_contents($this->fileName, $this->content))
|
||||
{
|
||||
//TODO : Gestion des erreurs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class ExportCSV {
|
||||
|
||||
public $fileName = '';
|
||||
public $path = '';
|
||||
public $encoding = 'UTF-8';
|
||||
public $delimiter = ';';
|
||||
public $records = array();
|
||||
|
||||
function __construct() {
|
||||
$this->path = realpath(dirname(__FILE__).'/../cache/pages/');
|
||||
}
|
||||
|
||||
/**
|
||||
* Ecrit un fichier csv à partir d'un tableau.
|
||||
* @param string $fileName
|
||||
* @param array $records
|
||||
* @param string $delimiter
|
||||
* @return void
|
||||
*/
|
||||
function writeCSV($fileName)
|
||||
{
|
||||
$fileName = str_replace('.php','',$fileName);
|
||||
$this->fileName = $this->path .'/'. $fileName . '.csv';
|
||||
|
||||
//Ouverture du fichier
|
||||
$fp = fopen($this->fileName, 'w');
|
||||
//On attribue le header
|
||||
$newRecords=array();
|
||||
$this->array_flatten($this->records[0],$newRecords);
|
||||
$headerKeys = array_keys($newRecords);
|
||||
if ($fp != FALSE){
|
||||
//Header du fichier csv
|
||||
fputcsv($fp, $headerKeys, $this->delimiter);
|
||||
}
|
||||
foreach( $this->records as $record ){
|
||||
$newRecords=array();
|
||||
$this->array_flatten($record,$newRecords);
|
||||
$values = array_values($newRecords);
|
||||
if ($fp != FALSE){
|
||||
//Contenu du fichier
|
||||
fputcsv($fp, $values, $this->delimiter);
|
||||
}else{
|
||||
//Erreur
|
||||
}
|
||||
}
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
function array_flatten($array, &$newArray = Array(),
|
||||
$prefix = '', $delimiter = '|') {
|
||||
foreach ($array as $key => $child) {
|
||||
if (is_array($child)) {
|
||||
$newPrefix = $prefix.$key.$delimiter;
|
||||
$newArray = $this->array_flatten($child, $newArray,
|
||||
$newPrefix, $delimiter);
|
||||
} else {
|
||||
$newArray[$prefix.$key] = $child;
|
||||
}
|
||||
}
|
||||
return $newArray;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class tabExport
|
||||
{
|
||||
public $tab = array();
|
||||
public $notdisplay = array();
|
||||
public $title = array();
|
||||
public $type = array();
|
||||
|
||||
public $convert = array();
|
||||
|
||||
function __construct() {}
|
||||
|
||||
function convertTable() {
|
||||
$this->convert = $this->rArray($this->tab);
|
||||
return $this->convert;
|
||||
}
|
||||
|
||||
function rArray($array) {
|
||||
foreach ($array as $key => $child) {
|
||||
if (is_array($child)) {
|
||||
if (!in_array($key, $this->notdisplay, TRUE)) {
|
||||
$newArray[$this->renameKey($key)] = $this->rArray($child);
|
||||
}
|
||||
} else {
|
||||
if (!in_array($key, $this->notdisplay, TRUE)) {
|
||||
$newArray[$this->renameKey($key)] =
|
||||
$this->convertValue($key, $child);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $newArray;
|
||||
}
|
||||
|
||||
function renameKey($key){
|
||||
$newKey = $key;
|
||||
if (array_key_exists($key, $this->title)) {
|
||||
$newKey = $this->title[$key];
|
||||
}
|
||||
return $newKey;
|
||||
}
|
||||
|
||||
function convertValue($key, $value){
|
||||
if (array_key_exists($key, $this->type)) {
|
||||
switch ($this->type[$key]) {
|
||||
case 'date':
|
||||
//Test des différents formats de value
|
||||
break;
|
||||
}
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
||||
class ExportPDF
|
||||
{
|
||||
function __construct(){}
|
||||
|
||||
}
|
||||
?>
|
459
includes/export/genexport.php
Normal file
459
includes/export/genexport.php
Normal file
@ -0,0 +1,459 @@
|
||||
<?php
|
||||
|
||||
function htmldecode($value){
|
||||
$value = is_array($value) ?
|
||||
array_map('htmldecode', $value) :
|
||||
html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||
return $value;
|
||||
}
|
||||
|
||||
switch ($page)
|
||||
{
|
||||
case 'identite':
|
||||
if (($siret*1)==0 || ($siren*1)<100){
|
||||
$fileName = 'identite-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'identite-'.$siret;
|
||||
}
|
||||
$tabTemp = htmldecode($etab);
|
||||
$tabForExport[0] = $tabTemp;
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'etablissements':
|
||||
if (count($etabs>0)) {
|
||||
$tabForExport = htmldecode($etabs);
|
||||
//@TODO a tester
|
||||
if (($siret*1)==0 || ($siren*1)<100) {
|
||||
$fileName = 'etablissements-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'etablissements-'.$siret;
|
||||
}
|
||||
|
||||
if(count($tabForExport)>0) {
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'liens':
|
||||
if (($siret*1)==0 || ($siren*1)<100) {
|
||||
$fileName = 'liens-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'liens-'.$siret;
|
||||
}
|
||||
$tabForExport = htmldecode($liens['actionnaires']);
|
||||
|
||||
if(count($tabForExport)>0){
|
||||
require_once 'export.php';
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'evenements':
|
||||
if (count($evens)>0) {
|
||||
$tabForExport = htmldecode($evens);
|
||||
if (($siret*1)==0 && ($siren*1)<100){
|
||||
$fileName = $page2.'-'.$idEntreprise;
|
||||
}else{
|
||||
$fileName = $page2.'-'.$siret;
|
||||
}
|
||||
$tabForExport = htmldecode($evens);
|
||||
if(count($tabForExport)>0)
|
||||
{
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 'dirigeants':
|
||||
if (($siret*1)==0 && ($siren*1)<100) {
|
||||
$fileName = 'dirigeants-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'dirigeants-'.$siret;
|
||||
}
|
||||
if ( isset($_REQUEST['vue']) && $_REQUEST['vue']=='histo' ){
|
||||
$fileName .= '-histo';
|
||||
}
|
||||
$tabForExport = htmldecode($dirs);
|
||||
if(count($tabForExport)>0){
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
if ( isset($_REQUEST['vue']) && $_REQUEST['vue']=='histo'){
|
||||
$array2xml->rootName = 'historique'.$page.'s';
|
||||
$array2xml->defaultTagName = 'historique'.$page;
|
||||
}
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'annonces':
|
||||
if ( count($annonces)>0 )
|
||||
{
|
||||
if (($siret*1)==0 || ($siren*1)<100){
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = $page.'-'.$siret;
|
||||
}
|
||||
if($vue!=''){$fileName.= '-'.$idan;}
|
||||
|
||||
$parseTab = new tabExport();
|
||||
$parseTab->tab = $annonces;
|
||||
$parseTab->notdisplay = array('id');
|
||||
$parseTab->title = array('BodaccCode' => 'Code Bodacc',
|
||||
'BodaccNum' => 'Numéro Bodacc',
|
||||
'NumAnnonce' => 'Numéro annonce',
|
||||
'DateParution' => 'Date de parution',
|
||||
'TribunalSiret' => 'Siret du tribunal',
|
||||
'typeAnnonce' => 'Type annonce',
|
||||
'texteRectificatif' => 'Texte rectificatif',
|
||||
'texteAnnonce' => 'Texte annonce',
|
||||
'dateEffet' => 'Date effet',
|
||||
'dateJugement' => 'Date jugement',
|
||||
'dateInsertionSD' => 'Date insertion',
|
||||
'evenements' => 'Evenements');
|
||||
$parseTab->type = array();
|
||||
$tabForExport = $parseTab->convertTable();
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$tabForExport = $annonces;
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'synthese':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export = array('siren' => $siren,
|
||||
'raisonSociale' => $raisonSociale,
|
||||
'type' => $typeBilan);
|
||||
$tabRatio = syntheseRatio($ratio);
|
||||
foreach ($tabRatio as $ratio => $info) {
|
||||
$titre = str_replace(' ', '_', $info['titre']);
|
||||
$titre = str_replace('\'', '_', $titre);
|
||||
$export[$titre] =
|
||||
array(array('date' => $bilansInfos[2]['dateCloture'],
|
||||
'duree' => $bilansInfos[2]['duree'],
|
||||
'valeur' => dRatio(2, $ratio)),
|
||||
array('date' => $bilansInfos[1]['dateCloture'],
|
||||
'duree' => $bilansInfos[1]['duree'],
|
||||
'valeur' => dRatio(1, $ratio)),
|
||||
array('date' => $bilansInfos[0]['dateCloture'],
|
||||
'duree' => $bilansInfos[0]['duree'],
|
||||
'valeur' => dRatio(0, $ratio)));
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
$array2xml = new ExportXML;
|
||||
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = 'elem';
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'bilans':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export = array('siren' => $siren,
|
||||
'raisonSociale' => $raisonSociale,
|
||||
'type' => $typeBilan,
|
||||
'actif' => ajouteExport($actif),
|
||||
'passif' => ajouteExport($passif),
|
||||
'sig' => ajouteExport($sig));
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = 'elem';
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'ratios':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export = ratiosExport($siren, $raisonSociale,
|
||||
$_SESSION['tabInfo']['entrep']['nafEn'],
|
||||
$typeBilan,
|
||||
$bilansInfos[$bilan]['dateCloture'],
|
||||
$bilansInfos[$bilan]['duree'],
|
||||
$ratiosInfos, $bilan, $result['nbEntNaf'], $ratio);
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = 'elem';
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'liasse':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$liasse['Liasse']['raisonSociale'] = $raisonSociale;
|
||||
$liasse['Liasse']['type'] = $mil[0];
|
||||
$liasse['Liasse']['date'] = $annee;
|
||||
liasse2xml($tabLiasseN, $liasse, $tableTexteBilan);
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($liasse['Liasse']);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = 'elem';
|
||||
$array2xml->records = $liasse['Liasse'];
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'indiscore':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export = array('siren' => $etab['Siren'],
|
||||
'siretSiege' => $etab['Siret'],
|
||||
'raisonSociale' => $etab['Nom'],
|
||||
'analyseConformite' => $etab['AnalyseConfor'],
|
||||
'scoreConformite' => $etab['ScoreConfor'],
|
||||
'analyseDirigeance' => $etab['AnalyseDirigeance'],
|
||||
'scoreDirigeance' => $etab['ScoreDirigeance'],
|
||||
'analyseSolvabilite' => $etab['AnalyseSolvabilite'],
|
||||
'scoreSolvabilite' => $etab['ScoreSolvabilite'],
|
||||
'situationFinanciere' =>
|
||||
$etab['tabInfosNotations']['SituationFinanciere'],
|
||||
'probabiliteDefaut' =>
|
||||
$etab['tabInfosNotations']['ProbabiliteDefaut'],
|
||||
'conanHolder' => $etab['scores']['ConanH'],
|
||||
'afdcc2' => $etab['scores']['Afdcc2'],
|
||||
'scoreZ' => $etab['scores']['Z'],
|
||||
'paiement' => $etab['infoPaiement'],
|
||||
'classeRisque' => $etab['classeRisque'],
|
||||
'indiscore' => $indiscore,
|
||||
'indiscoreMax' => $maxIndiscore,
|
||||
'tendance' => $etab['TendanceIndiscore'],
|
||||
'encoursMaxConseille' => $etab['encours']);
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'bourse':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($etab);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $etab;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'banque':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($rbanque);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $rbanque;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'scorescf':
|
||||
//
|
||||
break;
|
||||
|
||||
case 'competences':
|
||||
if (empty($competences) == false) {
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret.'-'.$type;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise.'-'.$type;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($competences);
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page.$type;
|
||||
$array2xml->defaultTagName = substr($page, 0 , -1).$type;
|
||||
$array2xml->records = $competences;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'conventions':
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($conventions);
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0 , -1);
|
||||
$array2xml->records = $conventions;
|
||||
$array2xml->writeXML($fileName);
|
||||
break;
|
||||
|
||||
case 'marques':
|
||||
if ($id == 0 && count($marques)>0) {
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
for ($i = 0; $i < count($marques); ++$i) {
|
||||
unset($marques[$i]['IdLien']);
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($marques);
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0 , -1);
|
||||
$array2xml->records = $marques;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
break;
|
||||
}
|
25
includes/export/index.php
Normal file
25
includes/export/index.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
isset($_REQUEST['q']) ? $q = $_REQUEST['q'] : $q = '';
|
||||
$params = explode('/', $q);
|
||||
$action = $params[0];
|
||||
$elementFichier = $params[1];
|
||||
|
||||
function htmldecode($value){
|
||||
$value = is_array($value) ?
|
||||
array_map('htmldecode', $value) :
|
||||
html_entity_decode($value, ENT_QUOTES, 'UTF-8');
|
||||
return $value;
|
||||
}
|
||||
|
||||
require_once realpath(dirname(__FILE__)).'/export.php';
|
||||
$path = realpath(dirname(__FILE__).'/../cache/pages/');
|
||||
|
||||
//Traitement
|
||||
switch ( $action ) {
|
||||
case 'csv':
|
||||
|
||||
break;
|
||||
case 'xml':
|
||||
|
||||
break;
|
||||
}
|
@ -49,7 +49,7 @@ function cmdDernierStatut($siren, $acteS)
|
||||
{
|
||||
$lienCommande =
|
||||
'<br/>'.
|
||||
'<a href="./pdf/acte-'.$siren.'-'.$ref.'.pdf'.
|
||||
'<a href="./fichier/pdf/acte-'.$siren.'-'.$ref.'.pdf'.
|
||||
'" target="_blank">'.$lib.'</a>';
|
||||
}
|
||||
return $lienCommande;
|
||||
|
@ -489,7 +489,7 @@ function afficheCommande($commande, $type){
|
||||
'greffe');
|
||||
if (hasModeEdition()){
|
||||
if (file_exists(PATH_DATA.'/pdf/'.$filename)){
|
||||
$output.= '<div><a href="./pdf/'.$filename.'">'.
|
||||
$output.= '<div><a href="./fichier/pdf/'.$filename.'">'.
|
||||
'Document disponible</a></div>';
|
||||
}
|
||||
} elseif ($commande->dateReception != '0000-00-00 00:00:00'){
|
||||
@ -504,7 +504,7 @@ function afficheCommande($commande, $type){
|
||||
|
||||
if ($dateMoinsMoins>$dateReception){
|
||||
if (file_exists(PATH_DATA.'/pdf/'.$filename)){
|
||||
$output.= '<div><a href="./pdf/'.$filename.'">'.
|
||||
$output.= '<div><a href="./fichier/pdf/'.$filename.'">'.
|
||||
'Télécharger le fichier de votre commande</a></div>';
|
||||
} else {
|
||||
$output.= '<div>Erreur : Le fichier n\'a pas été trouvé.</div>';
|
||||
|
@ -7,7 +7,7 @@ case 'actes':
|
||||
$ws->setLog('greffe_'.$vue, $siren, 0, $ref);
|
||||
}
|
||||
$info = unserialize(urldecode($_REQUEST['info']));
|
||||
$message .= '<br/><a href="./pdf/acte-'.$siren.'-'.$ref.
|
||||
$message .= '<br/><a href="./fichier/pdf/acte-'.$siren.'-'.$ref.
|
||||
'.pdf" target="_blank">Ouvrir le fichier '.$info['type_lib'].' </a>';
|
||||
break;
|
||||
case 'bilans':
|
||||
@ -21,7 +21,7 @@ case 'bilans':
|
||||
} else if (file_exists(PATH_DATA.'/pdf/acte-'.$siren.'-'.$ref.'.pdf')) {
|
||||
$suffixe = 'acte';
|
||||
}
|
||||
$message .= '<br/><a href="./pdf/'.$suffixe.'-'.$siren.'-'.$ref.
|
||||
$message .= '<br/><a href="./fichier/pdf/'.$suffixe.'-'.$siren.'-'.$ref.
|
||||
'.pdf" target="_blank">Ouvrir le bilan millésime '.$info['type'].'</a>';
|
||||
break;
|
||||
}
|
||||
|
@ -9,10 +9,9 @@ case 'actes':
|
||||
$option = explode('-',$ref);
|
||||
$num_actes = explode('|',$option[7]);
|
||||
if (is_array($num_actes) && count($num_actes) > 1) {
|
||||
$date =
|
||||
substr($info['date_acte'], 6, 4).
|
||||
substr($info['date_acte'], 3, 2).
|
||||
substr($info['date_acte'], 0, 2);
|
||||
$date = substr($info['date_acte'], 6, 4).
|
||||
substr($info['date_acte'], 3, 2).
|
||||
substr($info['date_acte'], 0, 2);
|
||||
$option_reel = $info['type'].'-'.$date.'-'.
|
||||
$option[2].'-'.$option[3].'-'.
|
||||
$option[4].'-'.$option[5].'-'.
|
||||
@ -24,7 +23,7 @@ case 'actes':
|
||||
$ws = new WsScores();
|
||||
$ws->setLog('greffe_'.$vue, $siren, 0, $option_reel);
|
||||
}
|
||||
$message.= '<br/><a href="./pdf/'.$file.'" target="_blank">'.
|
||||
$message.= '<br/><a href="./fichier/pdf/'.$file.'" target="_blank">'.
|
||||
'Ouvrir le fichier '.$info['type_lib'].
|
||||
' </a>';
|
||||
echo $message;
|
||||
@ -46,12 +45,16 @@ case 'actes':
|
||||
if ($item['url_acces'] !== false) {
|
||||
if (!INFOGREFFE_DEBUG) {
|
||||
$ws = new WsScores();
|
||||
$ws->setLog('greffe_'.$vue, $siren, 0, $option_reel);
|
||||
$ws->setLog('greffe_'.$vue, $siren, 0, $ref);
|
||||
}
|
||||
$message .= '<br/><a href="./pdf/'.$item['url_acces'].
|
||||
$message .= '<br/><a href="./fichier/pdf/'.$item['url_acces'].
|
||||
'" target="_blank">Ouvrir le fichier '.
|
||||
$item['type_acte_libelle'].' </a>';
|
||||
} else {
|
||||
if(!INFOGREFFE_DEBUG) {
|
||||
$ws = new WsScores();
|
||||
$ws->setLog('greffe_'.$vue, $siren, 0, 'Erreur telechargement '.$ref);
|
||||
}
|
||||
$message .= '<br/>Impossible de télécharger le fichier '.
|
||||
$item['type_acte_libelle'].
|
||||
' auprès de notre partenaire.';
|
||||
@ -84,7 +87,7 @@ case 'bilans':
|
||||
$ws = new WsScores();
|
||||
$ws->setLog('greffe_'.$vue, $siren, 0, $ref);
|
||||
}
|
||||
$message .= '<br/><a href="./pdf/'.$item['url_acces'].
|
||||
$message .= '<br/><a href="./fichier/pdf/'.$item['url_acces'].
|
||||
'" target="_blank">Ouvrir le bilan millésime '.
|
||||
$item['millesime'].'</a>';
|
||||
} else {
|
||||
|
@ -12,7 +12,7 @@ if( ENVIRONNEMENT=='PRD' || ENVIRONNEMENT=='REC')
|
||||
{
|
||||
define('INFOGREFFE_DEBUG', false);
|
||||
}else{
|
||||
define('INFOGREFFE_DEBUG', true);
|
||||
define('INFOGREFFE_DEBUG', false);
|
||||
}
|
||||
|
||||
$infogreffe_ws_url = INFOGREFFE_WS_URL;
|
||||
@ -95,7 +95,10 @@ function infogreffe_requetexml($siren, $idCommande, $type, $vecteur, $option)
|
||||
|
||||
$fichierOption = $option;
|
||||
|
||||
infogreffe_logfile(array($siren, $idCommande, $type, $vecteur, $option));
|
||||
infogreffe_logfile(array(
|
||||
date('Ymd-H:i:s'),
|
||||
$_SESSION['tabInfo']['login'],
|
||||
$siren, $idCommande, $type, $vecteur, $option));
|
||||
|
||||
}
|
||||
// Commande de documents : actes
|
||||
@ -133,7 +136,10 @@ function infogreffe_requetexml($siren, $idCommande, $type, $vecteur, $option)
|
||||
$liste_actes->addChild('acte')->addAttribute('num', $ref[7]);
|
||||
$fichierOption = $option;
|
||||
}
|
||||
infogreffe_logfile(array($siren, $idCommande, $type, $vecteur, $option));
|
||||
infogreffe_logfile(array(
|
||||
date('Ymd-H:i:s'),
|
||||
$_SESSION['tabInfo']['login'],
|
||||
$siren, $idCommande, $type, $vecteur, $option));
|
||||
}
|
||||
|
||||
$xmlStr = str_replace('<?xml version="1.0"?>', '', $xml->asXML());
|
||||
@ -993,9 +999,9 @@ function infogreffe_dl($fichier, $url)
|
||||
}
|
||||
|
||||
function infogreffe_logfile($info){
|
||||
$file = PATH_DATA.'/log/infogreffe.log';
|
||||
$file = PATH_DATA.'/log/infogreffe-'.date('Ym').'.log';
|
||||
if( !file_exists($file) ){
|
||||
$entetes = array('siren', 'idCommande', 'type', 'vecteur', 'option');
|
||||
$entetes = array('date', 'login', 'siren', 'idCommande', 'type', 'vecteur', 'option');
|
||||
$fp = fopen($file, 'w');
|
||||
fputcsv($fp, $entetes);
|
||||
fclose($fp);
|
||||
|
@ -144,7 +144,7 @@ FB::log($fichierPDF, 'fichierPDF');
|
||||
if ( $fichierPDF!='') {
|
||||
?>
|
||||
<a title="Cliquez ici pour visualiser le kbis" target="_blank"
|
||||
href="./pdf/kbis/<?=basename($fichierPDF)?>">
|
||||
href="./fichier/pdf/kbis/<?=basename($fichierPDF)?>">
|
||||
<u>Visualiser le Kbis <img src="/img/icone_pdf.gif"/></u>
|
||||
</a>
|
||||
<?php
|
||||
|
@ -182,10 +182,16 @@ Instantané par le site : envoi du bilan au format numérique
|
||||
Par courrier
|
||||
<br/><br/>
|
||||
<span><i>
|
||||
Vous obtiendrez une référence à l'étape suivante avec au choix
|
||||
l'adresse de Scores & Décisions ou la possibilité d'envoyer votre bilan au
|
||||
format numérique (PDF, TIFF)
|
||||
Vous obtiendrez une référence à l'étape suivante avec au choix l'adresse du
|
||||
service Production de Scores & Décisions pour un envoi postal ou la possibilité
|
||||
de nous transmettre directement par Internet votre bilan au format numérique (PDF, TIFF)
|
||||
</i></span>
|
||||
<br/>
|
||||
<span><i>
|
||||
Si le bilan communiqué n'est pas conforme aux formulaires CERFA de la DGI des
|
||||
frais de traitement de 10€ vous seront facturés en sus.
|
||||
</i></span>
|
||||
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
$('#datepicker').datepicker( $.datepicker.regional['fr'] );
|
||||
|
@ -45,7 +45,7 @@ function logo_exist($siren, $isin = '', $web = '')
|
||||
{
|
||||
if( file_exists($locImg.'.'.$extension) )
|
||||
{
|
||||
$urlImg = './logos/'.$siren.'.'.$extension;
|
||||
$urlImg = './fichier/logos/'.$siren.'.'.$extension;
|
||||
$ext = '.'.$extension;
|
||||
break;
|
||||
}
|
||||
@ -58,7 +58,7 @@ function logo_exist($siren, $isin = '', $web = '')
|
||||
{
|
||||
if( file_exists($locImg.'.'.$extension) )
|
||||
{
|
||||
$urlImg = './logos/'.$isin.'.'.$extension;
|
||||
$urlImg = './fichier/logos/'.$isin.'.'.$extension;
|
||||
$ext = '.'.$extension;
|
||||
break;
|
||||
}
|
||||
@ -78,7 +78,7 @@ function logo_exist($siren, $isin = '', $web = '')
|
||||
$firephp->log($img, 'image');
|
||||
if($img!==false)
|
||||
{
|
||||
$urlImg = './logos/'.$img;
|
||||
$urlImg = './fichier/logos/'.$img;
|
||||
list($locImg, $ext) = explode('.', $img);
|
||||
$ext = '.'.$ext;
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ define('PRINT_FILETIME', 8);
|
||||
function print_page($filename, $type = 'pdf')
|
||||
{
|
||||
global $firephp;
|
||||
$path = PATH_SITE.'/cache';
|
||||
$path = PATH_SITE.'/cache/pages';
|
||||
$file = $path.'/'.$filename.'-'.$_SESSION['tabInfo']['login'].'.html';
|
||||
print_write_content($file);
|
||||
switch($type)
|
||||
|
@ -113,7 +113,7 @@ function afficheSynthese($numBilanN, $numBilanC, $numBilanB, $numBilanA,
|
||||
print 'Les informations sont insuffisantes'.
|
||||
' pour générer la courbe d\'évolution';
|
||||
} else {
|
||||
print '<img id="imgEvol" src="./imgcache/'.
|
||||
print '<img id="imgEvol" src="./fichier/imgcache/'.
|
||||
$fileName.'.png'.'" />';
|
||||
}
|
||||
} else {
|
||||
@ -428,7 +428,7 @@ function synthese_tablerowmin($bilansInfos, $ratiosInfos, $dataEvol)
|
||||
function synthese_graphEvol($data, $unite, $ratio, $filename){
|
||||
require_once 'phpchartdir/phpchartdir.php';
|
||||
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $filename.'-'.$ratio.'.png';
|
||||
|
||||
if( cache_graph($path.$file) ){
|
||||
@ -485,11 +485,11 @@ function synthese_graph_linecompare($data){
|
||||
}else{ $filename = 'synthese-'.$siret; }
|
||||
$filename.='-'.$typeBilan;
|
||||
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $filename.'-linecompare.png';
|
||||
|
||||
if( cache_graph($path.$file) ){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
} else {
|
||||
//Graphique style linecompare / CA / FR / BFR
|
||||
require_once 'phpchartdir/phpchartdir.php';
|
||||
@ -565,7 +565,7 @@ function synthese_graph_linecompare($data){
|
||||
$c->addInterLineLayer($layer0->getLine(0), $layer1->getLine(0), Transparent, 0x8044ff44);
|
||||
|
||||
if($c->makeChart($path.$file) === TRUE){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
}else{
|
||||
$return = 'Impossible de générer le graphique';
|
||||
}
|
||||
@ -812,10 +812,10 @@ function ratiosExport($siren, $raisonSociale, $secteur, $type, $date, $duree,
|
||||
* Retourne un message d'erreur ou le code HTML d'affichage.
|
||||
*/
|
||||
function bilans_graph_actif($data, $filename){
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $filename.'-graph-actif.png';
|
||||
if( cache_graph($path.$file) ){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
} else {
|
||||
require_once 'phpchartdir/phpchartdir.php';
|
||||
$w = 570;
|
||||
@ -844,7 +844,7 @@ function bilans_graph_actif($data, $filename){
|
||||
$c->setData($data, $labels);
|
||||
$c->set3D(20);
|
||||
if($c->makeChart($path.$file) === TRUE){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
}else{
|
||||
$return = 'Impossible de générer le graphique';
|
||||
}
|
||||
@ -863,10 +863,10 @@ function bilans_graph_actif($data, $filename){
|
||||
*/
|
||||
function bilans_graph_sig($data, $filename){
|
||||
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $filename.'-graph-sig.png';
|
||||
if( cache_graph($path.$file) ){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
} else {
|
||||
require_once 'phpchartdir/phpchartdir.php';
|
||||
$w = 570;
|
||||
@ -896,7 +896,7 @@ function bilans_graph_sig($data, $filename){
|
||||
$c->set3D(20);
|
||||
|
||||
if($c->makeChart($path.$file) === TRUE){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
}else{
|
||||
$return = 'Impossible de générer le graphique';
|
||||
}
|
||||
@ -914,10 +914,10 @@ function bilans_graph_sig($data, $filename){
|
||||
* Retourne un message d'erreur ou le code HTML d'affichage.
|
||||
*/
|
||||
function bilans_graph_passif($data, $filename){
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $filename.'-graph-passif.png';
|
||||
if( cache_graph($path.$file) ){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
} else {
|
||||
require_once 'phpchartdir/phpchartdir.php';
|
||||
$w = 570;
|
||||
@ -946,7 +946,7 @@ function bilans_graph_passif($data, $filename){
|
||||
$c->setData($data, $labels);
|
||||
$c->set3D(20);
|
||||
if($c->makeChart($path.$file) === TRUE){
|
||||
$return = '<img src="./imgcache/'.$file.'"/>';
|
||||
$return = '<img src="./fichier/imgcache/'.$file.'"/>';
|
||||
}else{
|
||||
$return = 'Impossible de générer le graphique';
|
||||
}
|
||||
@ -965,7 +965,7 @@ function bilans_graph_passif($data, $filename){
|
||||
*/
|
||||
function ratios_graph($ratio, $data, $filename)
|
||||
{
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
if($ratio != ''){
|
||||
$file = $filename.'-'.$ratio.'.png';
|
||||
}else{
|
||||
@ -1018,7 +1018,7 @@ function ratios_graph($ratio, $data, $filename)
|
||||
*/
|
||||
function flux_graph($labels, $data, $filename)
|
||||
{
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $filename.'-flux.png';
|
||||
$couleur = array(0xff8080, 0x80ff80, 0x8080ff);
|
||||
|
||||
@ -1050,4 +1050,4 @@ function flux_graph($labels, $data, $filename)
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -118,8 +118,8 @@ if ($_REQUEST['action']<>'envoyer')
|
||||
//TO
|
||||
array(
|
||||
0 => array(
|
||||
'email'=> 'contact@scores-decisions.com',
|
||||
'name' => 'Contact'
|
||||
'email'=> 'production@scores-decisions.com',
|
||||
'name' => 'Production'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -76,9 +76,9 @@ $info->siren =
|
||||
substr($siren, 0, 3).' '.
|
||||
substr($siren, 3, 3).' '.
|
||||
substr($siren, 6, 3);
|
||||
$info->nom = $etab->Nom;
|
||||
$info->nom = htmlspecialchars_decode($etab->Nom);
|
||||
$info->libTrib = $libTrib;
|
||||
$info->adresse = $etab->Adresse.' ';
|
||||
$info->adresse = htmlspecialchars_decode($etab->Adresse).' ';
|
||||
if (empty($etab->Adresse2) == false) {
|
||||
$info->adresse .= $etab->Adresse2.' ';
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ $siret = $_GET['siret'];
|
||||
$siren = substr($siret, 0, 9);
|
||||
|
||||
// Construire le titre du fichier PDF en fonction des paramètres fournis
|
||||
$path = realpath(dirname(__FILE__).'/../cache/');
|
||||
$path = realpath(dirname(__FILE__).'/../cache/pages/');
|
||||
if (($siret * 1) == 0 ||
|
||||
($siren * 1) < 100) {
|
||||
$fileName = $path.'/'.$page.'-'.$idEntreprise;
|
||||
|
@ -28,7 +28,7 @@ $siret = $_REQUEST['siret'];
|
||||
$siren = substr($siret,0,9);
|
||||
|
||||
//Construire le titre du fichier PDF en fonction des paramètres fournis
|
||||
$path = realpath(dirname(__FILE__).'/../cache/');
|
||||
$path = realpath(dirname(__FILE__).'/../cache/pages/');
|
||||
if (($siret*1)==0 || ($siren*1)<100){
|
||||
$fileName = $path.'/'.$page.'-'.$idEntreprise;
|
||||
}else{
|
||||
|
@ -5,7 +5,7 @@ $siret = $_REQUEST['siret'];
|
||||
$siren = substr($siret,0,9);
|
||||
|
||||
//Construire le titre du fichier PDF en fonction des paramètres fournis
|
||||
$path = realpath(dirname(__FILE__).'/../cache/');
|
||||
$path = realpath(dirname(__FILE__).'/../cache/pages/');
|
||||
if (($siret*1)==0 || ($siren*1)<100){
|
||||
$fileName = $path.'/'.$page.'-'.$_REQUEST['idEntreprise'];
|
||||
}else{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once '../config/prepend.php';
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
$file = $_REQUEST['q'];
|
||||
if(file_exists($path.$file)){
|
||||
header("Content-type: image/png");
|
||||
|
@ -1,11 +1,12 @@
|
||||
<?php
|
||||
function logAction($login, $page, $siret, $ip, $host, $resolution, $nbcolors,
|
||||
$user_agent, $referer, $date_login, $date_last_action, $request) {
|
||||
if (!file_exists(PATH_LOGS.'actions.log')) {
|
||||
$fp=fopen(PATH_LOGS.'actions.log', 'a');
|
||||
$file = PATH_LOGS.'actions-'.date('Ym').'.log';
|
||||
if (!file_exists($file)) {
|
||||
$fp=fopen($file, 'a');
|
||||
fwrite($fp, 'Date et Heure;Login;Page;Siret;Ip;Host;Resolution;Nbcolors;User Agent;Referer;Date login;Date last action;Request'."\n");
|
||||
} else {
|
||||
$fp=fopen(PATH_LOGS.'actions.log', 'a');
|
||||
$fp=fopen($file, 'a');
|
||||
}
|
||||
fwrite($fp, date('Y/m/d H:i:s').";$login;$page;$siret;$ip;$host;$resolution;$nbcolors;$user_agent;$referer;$date_login;$date_last_action;$request\n");
|
||||
fclose($fp);
|
||||
|
@ -127,6 +127,7 @@ case 'greffescmd':
|
||||
require_once '../includes/greffe/index.php';
|
||||
exit;
|
||||
}
|
||||
$raisonSociale = etabSession($siret, $idEntreprise);
|
||||
$title = 'Gestion des commandes INFOGREFFE';
|
||||
$page2 = 'greffescmd.php';
|
||||
require_once realpath(dirname(__FILE__)).'/pages/main.php';
|
||||
@ -497,6 +498,9 @@ case 'bdf':
|
||||
case 'bilanclient':
|
||||
require_once 'liasse/bilanclient.php';
|
||||
exit; break;
|
||||
case 'export':
|
||||
require_once 'export/index.php';
|
||||
exit; break;
|
||||
case 'main':
|
||||
require_once realpath(dirname(__FILE__)).'/pages/main.php';
|
||||
break;
|
||||
@ -530,4 +534,3 @@ if ($sortie == 'pdf') {
|
||||
}
|
||||
|
||||
require_once '../config/append.php';
|
||||
?>
|
||||
|
@ -283,46 +283,5 @@ if ($idan == false) {
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// Export
|
||||
if (count($annonces) > 0) {
|
||||
if ($siret == 0 || $siren < 100) {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = $page.'-'.$siret;
|
||||
}
|
||||
if ($vue != '') {
|
||||
$fileName .= '-'.$idan;
|
||||
}
|
||||
require_once 'export/genexport.php';
|
||||
|
||||
require_once 'export.php';
|
||||
$parseTab = new tabExport();
|
||||
$parseTab->tab = $annonces->item;
|
||||
$parseTab->notdisplay = array('id');
|
||||
$parseTab->title =
|
||||
array('BodaccCode' => 'Code Bodacc',
|
||||
'BodaccNum' => 'Numéro Bodacc',
|
||||
'NumAnnonce' => 'Numéro annonce',
|
||||
'DateParution' => 'Date de parution',
|
||||
'TribunalSiret' => 'Siret du tribunal',
|
||||
'typeAnnonce' => 'Type annonce',
|
||||
'texteRectificatif' => 'Texte rectificatif',
|
||||
'texteAnnonce' => 'Texte annonce',
|
||||
'dateEffet' => 'Date effet',
|
||||
'dateJugement' => 'Date jugement',
|
||||
'dateInsertionSD' => 'Date insertion',
|
||||
'evenements' => 'Evenements');
|
||||
$parseTab->type = array();
|
||||
$tabForExport = $parseTab->convertTable();
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$tabForExport = $annonces->item;
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0, -1);
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
?>
|
||||
|
@ -107,27 +107,7 @@ if ($rbanque === false) {
|
||||
}
|
||||
print '</ul>';
|
||||
|
||||
// Export
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($rbanque);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $rbanque;
|
||||
$array2xml->writeXML($fileName);
|
||||
require_once 'export/genexport.php';
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -44,37 +44,7 @@ list($bilansInfos, $ratiosSecteur, $dataActif, $dataPassif, $dataSIG) =
|
||||
$ratiosInfos = formatRatiosInfos($ratiosInfos);
|
||||
require_once 'ratios/bilans.php';
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Export
|
||||
// -------------------------------------------------------------------------- //
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export = array('siren' => $siren,
|
||||
'raisonSociale' => $raisonSociale,
|
||||
'type' => $typeBilan,
|
||||
'actif' => ajouteExport($actif),
|
||||
'passif' => ajouteExport($passif),
|
||||
'sig' => ajouteExport($sig));
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = 'elem';
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
|
||||
require_once 'export/genexport.php';
|
||||
require_once 'cgu/cgu.php';
|
||||
print '<p class="confidentiel blockh2">'.afficheCgu();
|
||||
?>
|
||||
|
@ -322,27 +322,7 @@ if (isset($etab->Isin) == false ||
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
// Export
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($etab);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page.'s';
|
||||
$array2xml->defaultTagName = $page;
|
||||
$array2xml->records = $etab;
|
||||
$array2xml->writeXML($fileName);
|
||||
require_once 'export/genexport.php';
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
@ -245,6 +245,7 @@ if ($type == 'tri') {
|
||||
} else if ($type == 'not') {
|
||||
print '<h2>Notaire(s)</h2>';
|
||||
}
|
||||
require_once 'export/genexport.php';
|
||||
?>
|
||||
|
||||
<p class="confidentiel blockh2">
|
||||
@ -253,32 +254,4 @@ if ($type == 'tri') {
|
||||
print afficheCgu();
|
||||
?>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Export
|
||||
// -------------------------------------------------------------------------- //
|
||||
if (empty($competences) == false) {
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret.'-'.$type;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise.'-'.$type;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($competences);
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page.$type;
|
||||
$array2xml->defaultTagName = substr($page, 0 , -1).$type;
|
||||
$array2xml->records = $competences;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
?>
|
||||
</div>
|
@ -109,28 +109,5 @@ if ( count($conventions->item) > 0 ) {
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Export
|
||||
// -------------------------------------------------------------------------- //
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($conventions);
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0 , -1);
|
||||
$array2xml->records = $conventions;
|
||||
$array2xml->writeXML($fileName);
|
||||
?>
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -101,33 +101,5 @@ if (isset($_REQUEST['vue']) && $_REQUEST['vue']=='histo') {
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// Exportation des données sous forme de fichier
|
||||
require_once 'export.php';
|
||||
$tabForExport = htmldecode($dirs->item);
|
||||
if (count($tabForExport) > 0) {
|
||||
if ($siret == 0 && $siren < 100) {
|
||||
$fileName = 'dirigeants-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'dirigeants-'.$siret;
|
||||
}
|
||||
if (isset($_REQUEST['vue']) == true && $_REQUEST['vue'] == 'histo') {
|
||||
$fileName .= '-histo';
|
||||
}
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = array($tabForExport);
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0, -1);
|
||||
if (isset($_REQUEST['vue']) == true && $_REQUEST['vue'] == 'histo') {
|
||||
$array2xml->rootName = 'historique'.$page;
|
||||
$array2xml->defaultTagName = 'historique'.substr($page, 0, -1);
|
||||
}
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
?>
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -169,26 +169,5 @@ function pagination($url, $position, $nbReponsesTotal, $nbParPage)
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// Exportation des données sous forme de fichier
|
||||
require_once 'export.php';
|
||||
$tabForExport = htmldecode($etabs);
|
||||
if (count($tabForExport) > 0) {
|
||||
if ($siret == 0 || $siren < 100) {
|
||||
$fileName = 'etablissements-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'etablissements-'.$siren;
|
||||
}
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = $tabForExport;
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0, -1);
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
?>
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -105,26 +105,5 @@ $evens = scoresws_evenements($siret, $siren, $idEntreprise);
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// Exportation des données sous forme de fichier
|
||||
if ($evens->nbReponses > 0) {
|
||||
require_once 'export.php';
|
||||
$tabForExport = htmldecode($evens->result->item);
|
||||
|
||||
if ($siret == 0 || $siren < 100) {
|
||||
$fileName = 'evenements-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'evenements-'.$siret;
|
||||
}
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = array($tabForExport);
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0, -1);
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
?>
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -10,48 +10,31 @@ if (isset($parametres) && $parametres['info']['page'] == 'recherche') {
|
||||
?>
|
||||
<div id="center">
|
||||
<?php
|
||||
if (isset($etab->id) == true && $etab->id != '') {
|
||||
|
||||
require_once 'identite/datemaj.php';
|
||||
require_once 'identite/content.php';
|
||||
?>
|
||||
<h2>Localisation géographique & Recherche presse</h2>
|
||||
<div class="blockh2 clearfix">
|
||||
<?php
|
||||
// Information géographique
|
||||
require_once 'identite/infogeo.php';
|
||||
?>
|
||||
<br/>
|
||||
<?php
|
||||
require_once 'identite/news.php';
|
||||
require_once 'surveillance/surveillance_identite.php';
|
||||
?>
|
||||
</div>
|
||||
<p class="confidentiel blockh2">
|
||||
<?php
|
||||
require_once 'cgu/cgu.php';
|
||||
echo afficheCgu();
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
// Exportation des données sous forme de fichier
|
||||
require_once 'export.php';
|
||||
$tabForExport = htmldecode($etab);
|
||||
|
||||
if (($siret*1)==0 || ($siren*1)<100) {
|
||||
$fileName = 'identite-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'identite-'.$siret;
|
||||
}
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = array($tabForExport);
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
if (isset($etab->id) == true && $etab->id != '')
|
||||
{
|
||||
require_once 'identite/datemaj.php';
|
||||
require_once 'identite/content.php';
|
||||
?>
|
||||
<h2>Localisation géographique & Recherche presse</h2>
|
||||
<div class="blockh2 clearfix">
|
||||
<?php
|
||||
// Information géographique
|
||||
require_once 'identite/infogeo.php';
|
||||
?>
|
||||
<br/>
|
||||
<?php
|
||||
require_once 'identite/news.php';
|
||||
require_once 'surveillance/surveillance_identite.php';
|
||||
?>
|
||||
</div>
|
||||
<p class="confidentiel blockh2">
|
||||
<?php
|
||||
require_once 'cgu/cgu.php';
|
||||
echo afficheCgu();
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
require_once 'export/genexport.php';
|
||||
} else {
|
||||
?>
|
||||
<div style="margin:5px; padding: 0pt 0.7em;"
|
||||
|
@ -16,52 +16,5 @@ require_once 'scoresws/indiscore.php'
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Export
|
||||
// -------------------------------------------------------------------------- //
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export =
|
||||
array('siren' => $etab->Siren,
|
||||
'siretSiege' => $etab->Siret,
|
||||
'raisonSociale' => $etab->Nom,
|
||||
'analyseConformite' => $etab->AnalyseConfor,
|
||||
'scoreConformite' => $etab->ScoreConfor,
|
||||
'analyseDirigeance' => $etab->AnalyseDirigeance,
|
||||
'scoreDirigeance' => $etab->ScoreDirigeance,
|
||||
'analyseSolvabilite' => $etab->AnalyseSolvabilite,
|
||||
'scoreSolvabilite' => $etab->ScoreSolvabilite,
|
||||
'situationFinanciere' =>
|
||||
$etab->tabInfosNotations['SituationFinanciere'],
|
||||
'probabiliteDefaut' =>
|
||||
$etab->tabInfosNotations['ProbabiliteDefaut'],
|
||||
'conanHolder' => $etab->scores['ConanH'],
|
||||
'afdcc2' => $etab->scores['Afdcc2'],
|
||||
'scoreZ' => $etab->scores['Z'],
|
||||
'paiement' => $etab->infoPaiement,
|
||||
'classeRisque' => $etab->classeRisque,
|
||||
'indiscore' => $indiscore,
|
||||
'indiscoreMax' => $maxIndiscore,
|
||||
'tendance' => $etab->TendanceIndiscore,
|
||||
'encoursMaxConseille' => $etab->encours);
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
?>
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -166,33 +166,7 @@ if (isset($_REQUEST['mil']) == true) {
|
||||
include 'liasse/bilan_banque.php';
|
||||
} else {
|
||||
include 'liasse/bilan_normal.php';
|
||||
|
||||
// Export
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$liasse['Liasse']['raisonSociale'] = $raisonSociale;
|
||||
$liasse['Liasse']['type'] = $mil[0];
|
||||
$liasse['Liasse']['date'] = $annee;
|
||||
liasse2xml($tabLiasseN, $liasse, $tableTexteBilan);
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($liasse['Liasse']);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = 'elem';
|
||||
$array2xml->records = $liasse['Liasse'];
|
||||
$array2xml->writeXML($fileName);
|
||||
require_once 'export/genexport.php';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -96,28 +96,5 @@ afficheParticipations($participations);
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// Exportation des données sous forme de fichier
|
||||
require_once 'export.php';
|
||||
$tabForExport = array();
|
||||
$tabForExport['actionnaires' ] = htmldecode($actionnaires);
|
||||
$tabForExport['participations'] = htmldecode($participations);
|
||||
if (count($tabForExport) > 0) {
|
||||
if ($siret == 0 || $siren < 100) {
|
||||
$fileName = 'liens-'.$idEntreprise;
|
||||
} else {
|
||||
$fileName = 'liens-'.$siret;
|
||||
}
|
||||
|
||||
$array2csv = new ExportCSV();
|
||||
$array2csv->records = array($tabForExport);
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML();
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0, -1);
|
||||
$array2xml->records = $tabForExport;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
?>
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -96,33 +96,5 @@ if (count($marques) == 0) {
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Export
|
||||
// -------------------------------------------------------------------------- //
|
||||
if ($id == 0 && $marques->nbReponses > 0) {
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
for ($i = 0; $i < count($marques); ++$i) {
|
||||
unset($marques[$i]['IdLien']);
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($marques);
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = substr($page, 0 , -1);
|
||||
$array2xml->records = $marques;
|
||||
$array2xml->writeXML($fileName);
|
||||
}
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -64,8 +64,7 @@ if ($page == 'identite' ||
|
||||
$page == 'competences' ||
|
||||
$page == 'conventions' ||
|
||||
$page == 'marques') {
|
||||
if (($page != 'competences' &&
|
||||
$page != 'marques') ||
|
||||
if (($page != 'competences' && $page != 'marques') ||
|
||||
($page == 'competences' && empty($_GET['vue']) == true) ||
|
||||
($page == 'marques' && empty($_GET['id']) == true)) {
|
||||
if ($page != 'scorescf') {
|
||||
|
@ -107,39 +107,7 @@ if ($numBilanN == 0 && $numBilanC == 0 &&
|
||||
<br/>
|
||||
<?php
|
||||
afficheGraphEvol($ratio, $bilan, $page, $siret, $siren, $idEntreprise);
|
||||
/*
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Export
|
||||
// -------------------------------------------------------------------------- //
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export =
|
||||
ratiosExport($siren, $raisonSociale,
|
||||
$_SESSION['tabInfo']['entrep']['nafEn'],
|
||||
$typeBilan,
|
||||
$bilansInfos[$bilan]['dateCloture'],
|
||||
$bilansInfos[$bilan]['duree'],
|
||||
$ratiosInfos, $bilan, $result['nbEntNaf'], $ratio);
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
|
||||
$array2xml = new ExportXML;
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->defaultTagName = 'elem';
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
*/
|
||||
require_once 'export/genexport.php';
|
||||
require_once 'cgu/cgu.php';
|
||||
print '<p class="confidentiel blockh2">'.afficheCgu();
|
||||
?>
|
||||
|
@ -71,49 +71,5 @@ afficheSynthese($numBilanN, $numBilanC, $numBilanB, $numBilanA,
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
/*
|
||||
// -------------------------------------------------------------------------- //
|
||||
// Export
|
||||
// -------------------------------------------------------------------------- //
|
||||
require_once 'export.php';
|
||||
if (isset($siret) == true) {
|
||||
$fileName = $page.'-'.$siret;
|
||||
} else {
|
||||
$fileName = $page.'-'.$idEntreprise;
|
||||
}
|
||||
|
||||
$export = array('siren' => $siren,
|
||||
'raisonSociale' => $raisonSociale,
|
||||
'type' => $typeBilan);
|
||||
$tabRatio = syntheseRatio($ratio);
|
||||
foreach ($tabRatio as $ratio => $info) {
|
||||
$titre = str_replace(' ', '_', $info['titre']);
|
||||
$titre = str_replace('\'', '_', $titre);
|
||||
$export[$titre] =
|
||||
array(array('date' => $bilansInfos[2]['dateCloture'],
|
||||
'duree' => $bilansInfos[2]['duree'],
|
||||
'valeur' => dRatio(2, $ratio)),
|
||||
array('date' => $bilansInfos[1]['dateCloture'],
|
||||
'duree' => $bilansInfos[1]['duree'],
|
||||
'valeur' => dRatio(1, $ratio)),
|
||||
array('date' => $bilansInfos[0]['dateCloture'],
|
||||
'duree' => $bilansInfos[0]['duree'],
|
||||
'valeur' => dRatio(0, $ratio)));
|
||||
}
|
||||
|
||||
$parseTab = new tabExport;
|
||||
$parseTab->tab = array($export);
|
||||
$parseTab->type = array();
|
||||
|
||||
$array2csv = new ExportCSV;
|
||||
$array2csv->records = $parseTab->convertTable();
|
||||
$array2csv->writeCSV($fileName);
|
||||
$array2xml = new ExportXML;
|
||||
|
||||
$array2xml->rootName = $page;
|
||||
$array2xml->records = $export;
|
||||
$array2xml->writeXML($fileName);
|
||||
*/
|
||||
?>
|
||||
require_once 'export/genexport.php';
|
||||
|
@ -22,8 +22,8 @@ if (!$_SESSION['connected']) {
|
||||
* Si on recharge la page
|
||||
*/
|
||||
if (isset($_SESSION['imgcache'])) { // Si la session exite
|
||||
if ((file_exists(PATH_SITE.'/cache/imgcache/'.$_SESSION['imgcache']))) {
|
||||
unlink(PATH_SITE.'/cache/imgcache/'.$_SESSION['imgcache']);
|
||||
if ((file_exists(PATH_SITE.'/cache/pages/imgcache/'.$_SESSION['imgcache']))) {
|
||||
unlink(PATH_SITE.'/cache/pages/imgcache/'.$_SESSION['imgcache']);
|
||||
}
|
||||
unset($_SESSION['imgcache']); // On détruit la session
|
||||
$_SESSION['graphperso']->init(); // On vide le graphe
|
||||
|
@ -42,9 +42,9 @@ switch($_REQUEST['mode']) {
|
||||
|
||||
if(isset($_SESSION['imgcache'])) { // Si la session exite
|
||||
|
||||
if ((file_exists(PATH_SITE.'/cache/imgcache/'.$_SESSION['imgcache']))) { // Si le fichier existe
|
||||
if ((file_exists(PATH_SITE.'/cache/pages/imgcache/'.$_SESSION['imgcache']))) { // Si le fichier existe
|
||||
|
||||
@unlink(PATH_SITE.'/cache/imgcache/'.$_SESSION['imgcache']); // On supprime le fichier
|
||||
@unlink(PATH_SITE.'/cache/pages/imgcache/'.$_SESSION['imgcache']); // On supprime le fichier
|
||||
}
|
||||
unset($_SESSION['imgcache']); // On détruit la session
|
||||
}
|
||||
@ -105,9 +105,9 @@ require_once "Graph_Step_Line.php";
|
||||
ob_start();
|
||||
$cacheImage = uniq_name("synthese_perso_img_".$_REQUEST['siret'].".png");
|
||||
|
||||
if ((file_exists(PATH_SITE.'/cache/imgcache/'.$_SESSION['imgcache']))) {
|
||||
if ((file_exists(PATH_SITE.'/cache/pages/imgcache/'.$_SESSION['imgcache']))) {
|
||||
|
||||
@unlink(PATH_SITE.'/cache/imgcache/'.$_SESSION['imgcache']);
|
||||
@unlink(PATH_SITE.'/cache/pages/imgcache/'.$_SESSION['imgcache']);
|
||||
}
|
||||
|
||||
# output the chart
|
||||
@ -116,7 +116,7 @@ print($c->makeChart2(PNG));
|
||||
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
file_put_contents(PATH_SITE.'/cache/imgcache/'.$cacheImage,$content);
|
||||
file_put_contents(PATH_SITE.'/cache/pages/imgcache/'.$cacheImage,$content);
|
||||
|
||||
echo '<img src="image.php?q='.$cacheImage.'" />';
|
||||
$_SESSION['imgcache'] = $cacheImage;
|
||||
|
@ -24,7 +24,7 @@ switch ( $type ) {
|
||||
break;
|
||||
case 'imgcache':
|
||||
$content_type = 'image/png';
|
||||
$path = PATH_SITE.'/cache/imgcache/';
|
||||
$path = PATH_SITE.'/cache/pages/imgcache/';
|
||||
break;
|
||||
case 'consommation':
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
|
Loading…
Reference in New Issue
Block a user