issue #0001423 : Get better structure for file
This commit is contained in:
commit
a210261771
@ -1,7 +1,14 @@
|
||||
<?php
|
||||
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
{
|
||||
//Initialisation global des paramètres de vue
|
||||
protected function _initConfig()
|
||||
{
|
||||
$config = new Zend_Config($this->getOptions());
|
||||
Zend_Registry::set('config', $config);
|
||||
return $config;
|
||||
}
|
||||
|
||||
//Initialisation global des paramètres de vue
|
||||
protected function _initViewSettings()
|
||||
{
|
||||
$this->bootstrap('view');
|
||||
@ -60,8 +67,8 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
$AppMailWriter->addFilter(Zend_Log::ERR);
|
||||
$AppLogger->addWriter($AppMailWriter);
|
||||
}
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = $configuration->path->data.'/'.$configuration->path->log;
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->data.'/log';
|
||||
$AppFileWriter = new Zend_Log_Writer_Stream($path.'/application.log');
|
||||
$AppFileWriter->addFilter(Zend_Log::ERR);
|
||||
$AppLogger->addWriter($AppFileWriter);
|
||||
@ -70,13 +77,13 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
|
||||
protected function _initDb()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$c = Zend_Registry::get('config');
|
||||
try {
|
||||
$db = Zend_Db::factory($configuration->databases->db->sdv1);
|
||||
$db = Zend_Db::factory($c->profil->db->sdv1);
|
||||
$db->getConnection();
|
||||
} catch ( Exception $e ) {
|
||||
if (APPLICATION_ENV == 'development') {
|
||||
print_r($e);
|
||||
echo '<pre>'; print_r($e); echo '</pre>';
|
||||
} else {
|
||||
echo "Le service rencontre actuellement un problème technique.";
|
||||
}
|
||||
|
@ -368,9 +368,8 @@ class DashboardController extends Zend_Controller_Action
|
||||
$document = $this->typeActes['a'.substr($listCommandes[$i]->refDocument,0,2)].$depot;
|
||||
}
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$refFile = realpath($configuration->path->data).'/'.
|
||||
$configuration->path->pdf.'/acte-'.
|
||||
$c = Zend_Registry::get('config');
|
||||
$refFile = realpath($c->profil->path->data).'/pdf/acte-'.
|
||||
$listCommandes[$i]->siren.'-'.
|
||||
trim($listCommandes[$i]->refDocument).'.pdf';
|
||||
|
||||
@ -750,8 +749,8 @@ class DashboardController extends Zend_Controller_Action
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
if ( isset($_FILES) && count($_FILES)==1 ) {
|
||||
$config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'path');
|
||||
$path = realpath($config->data).'/nouveautes';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/nouveautes';
|
||||
if(!file_exists($path)) mkdir($path);
|
||||
|
||||
$tmp_name = $_FILES['fichier']['tmp_name'];
|
||||
|
@ -49,10 +49,10 @@ class ErrorController extends Zend_Controller_Action
|
||||
|
||||
$message.= "Referer : ".$_SERVER['HTTP_REFERER']."\n";
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$c = Zend_Registry::get('config');
|
||||
require_once 'Scores/Mail.php';
|
||||
$mail = new Mail();
|
||||
$mail->setSubject('[ERREUR APPLICATIVE] - '.$configuration->server->name.' -'.date('Ymd'));
|
||||
$mail->setSubject('[ERREUR APPLICATIVE] - '.$c->profil->server->name.' -'.date('Ymd'));
|
||||
$mail->setBodyTexte($message);
|
||||
$mail->setFrom('supportdev');
|
||||
$mail->addToKey('supportdev');
|
||||
|
@ -371,11 +371,13 @@ class EvaluationController extends Zend_Controller_Action
|
||||
} else {
|
||||
$file = 'evaluation-indiscore3-'.$this->siret.'.html';
|
||||
}
|
||||
if (file_exists(APPLICATION_PATH.'/../cache/pages/'.$file))
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages;
|
||||
if (file_exists($path.'/'.$file))
|
||||
{
|
||||
$doc = new DOMDocument();
|
||||
$doc->preserveWhiteSpace = true;
|
||||
@$doc->loadHTMLFile(APPLICATION_PATH.'/../cache/pages/'.$file);
|
||||
@$doc->loadHTMLFile($path.'/'.$file);
|
||||
|
||||
//Générer style particulier pour le rapport
|
||||
$style.= 'body { background-color:#ffffff; }';
|
||||
@ -438,7 +440,8 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$item->parentNode->insertBefore($ajout, $item);
|
||||
$xml = $doc->saveXML();
|
||||
|
||||
$outfile = APPLICATION_PATH.'/../cache/pages/p'.$user->getIdClient().'-'.$file;
|
||||
$c = Zend_Registry::get('config');
|
||||
$outfile = $c->profil->path->pages.'/p'.$user->getIdClient().'-'.$file;
|
||||
file_put_contents($outfile, $xml);
|
||||
|
||||
//Génération du pdf
|
||||
@ -809,8 +812,8 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$mail->addToKey('contact');
|
||||
$mail->send();
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = $configuration->path->data.'/'.$configuration->path->log;
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->data.'/log';
|
||||
|
||||
$fp=fopen($path.'/surveillance_scf.csv', 'a');
|
||||
fwrite($fp, date('Y/m/d H:i:s').";$siren;".$email.';'.$login.';'.$user->getEmail().';'.$user->getIpAddress()."\n");
|
||||
|
@ -8,12 +8,7 @@ class FichierController extends Zend_Controller_Action
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
print_r($request->getParams());
|
||||
exit;
|
||||
}
|
||||
public function indexAction(){}
|
||||
|
||||
/**
|
||||
* Gestion du chargement des logos
|
||||
@ -28,22 +23,21 @@ class FichierController extends Zend_Controller_Action
|
||||
case 'jpeg':
|
||||
case 'jpg' : $content_type = 'image/jpeg'; break;
|
||||
}
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = realpath($configuration->path->data).'/'.$configuration->path->logos;
|
||||
if ( file_exists($path.'/'.$file) ) {
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/logos/';
|
||||
if ( file_exists($path.$file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.'/'.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.'/'.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.'/'.$file) . '"');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.'/'.$file);
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo 'Impossible de charger le logo.';
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -52,7 +46,8 @@ class FichierController extends Zend_Controller_Action
|
||||
public function imgcacheAction()
|
||||
{
|
||||
$content_type = 'image/png';
|
||||
$path = APPLICATION_PATH.'/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages.'/imgcache/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
if ( file_exists($path.$file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
@ -74,19 +69,21 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function marqueAction()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$directory = realpath($configuration->path->data).'/'.$configuration->path->marques;
|
||||
$content_type = 'application/pdf';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/marques/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
//On affiche le fichier en vérifiant qu'il existe
|
||||
if(file_exists($directory.'/'.$file) && filesize($directory.'/'.$file)>0) {
|
||||
//On affiche le fichier
|
||||
header("Pragma: public");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Cache-Control: must-revalidate");
|
||||
header("Content-type: application/pdf");
|
||||
header("Content-Disposition: inline; filename=\"$file\"");
|
||||
print file_get_contents($directory.'/'.$file);
|
||||
}else{
|
||||
if(file_exists($path.$file) && filesize($path.$file)>0) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Erreur lors de l'affichage du fichier.";
|
||||
}
|
||||
}
|
||||
@ -96,28 +93,29 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function pdfAction()
|
||||
{
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
//bilan
|
||||
if (preg_match('/^bilan-[0-9]{9}-(consolides|sociaux)-([0-9]{8})/', $file, $matches)) {
|
||||
$directory = realpath($configuration->path->data).
|
||||
'/'.'greffes/bilans/'.$matches[1].'/'.substr($matches[2],0,4);
|
||||
}
|
||||
//acte
|
||||
else {
|
||||
$directory = realpath($configuration->path->data).'/'.$configuration->path->pdf;
|
||||
}
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$content_type = 'application/pdf';
|
||||
$c = Zend_Registry::get('config');
|
||||
//bilan
|
||||
if (preg_match('/^bilan-[0-9]{9}-(consolides|sociaux)-([0-9]{8})/', $file, $matches)) {
|
||||
$path = realpath($c->profil->path->data).
|
||||
'/greffes/bilans/'.$matches[1].'/'.substr($matches[2],0,4);
|
||||
}
|
||||
//acte
|
||||
else {
|
||||
$path = realpath($c->profil->path->data).'/pdf/';
|
||||
}
|
||||
|
||||
if(file_exists($path.$file) && filesize($path.$file)>0) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Erreur lors de l'affichage du fichier.";
|
||||
}
|
||||
@ -128,21 +126,22 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function pdfassociationAction()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$directory = realpath($configuration->path->data).'/association';
|
||||
$content_type = 'application/pdf';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/association/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$type = $this->getRequest()->getParam('type');
|
||||
$output_file = $directory.'/'.$type.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
$file = $type.'/'.$file;
|
||||
if(file_exists($path.$file) && filesize($path.$file)>0) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Erreur lors de l'affichage du fichier.";
|
||||
}
|
||||
@ -153,9 +152,10 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function liasseAction()
|
||||
{
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$content_type = 'application/vnd.ms-excel';
|
||||
$path = APPLICATION_PATH.'/../cache/liasse/';
|
||||
$content_type = 'application/vnd.ms-excel';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($path.$file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
@ -179,7 +179,8 @@ class FichierController extends Zend_Controller_Action
|
||||
{
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
$path = APPLICATION_PATH.'/../cache/consommation/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($path.$file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
@ -203,7 +204,8 @@ class FichierController extends Zend_Controller_Action
|
||||
{
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
$path = APPLICATION_PATH.'/../cache/surveillance/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($path.$file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
@ -227,7 +229,8 @@ class FichierController extends Zend_Controller_Action
|
||||
{
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
$path = APPLICATION_PATH.'/../cache/surveillance/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($path.$file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
@ -249,24 +252,24 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function bilanclientAction()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$directory = realpath($configuration->path->data).'/bilanclient';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/bilanclient/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$explode = explode('.', $output_file);
|
||||
switch ($explode[1]) {
|
||||
case 'pdf' : $content_type = 'application/pdf'; break;
|
||||
case 'tiff' : $content_type = 'image/tiff'; break;
|
||||
}
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
$explode = explode('.', $file);
|
||||
switch ($explode[1]) {
|
||||
case 'pdf' : $content_type = 'application/pdf'; break;
|
||||
case 'tiff' : $content_type = 'image/tiff'; break;
|
||||
}
|
||||
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Erreur lors de l'affichage du fichier.";
|
||||
}
|
||||
@ -277,19 +280,20 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function kbisAction()
|
||||
{
|
||||
$directory = realpath(APPLICATION_PATH . '/../cache/kbis/');
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
$content_type = 'application/pdf';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Erreur lors de l'affichage du fichier.";
|
||||
}
|
||||
@ -300,19 +304,21 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function customrapportAction()
|
||||
{
|
||||
$directory = realpath(APPLICATION_PATH . '/../cache/pages/');
|
||||
$content_type = 'application/pdf';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->pages).'/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Impossible de charger le fichier.";
|
||||
}
|
||||
@ -323,23 +329,23 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function bodaccAction()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$directory = realpath($configuration->path->data).'/bodacc';
|
||||
$content_type = 'application/pdf';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/bodacc/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
//Construire le chemin du dossier
|
||||
preg_match('/BODACC_(A|B|C)_([0-9]{4})_(.*)\.pdf/', $file, $matches);
|
||||
$directory.= '/'.$matches[1].'/'.$matches[2];
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
$path.= $matches[1].'/'.$matches[2];
|
||||
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Impossible de charger le fichier.";
|
||||
}
|
||||
@ -350,20 +356,20 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function newAction()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$directory = realpath($configuration->path->data).'/nouveautes';
|
||||
$content_type = 'application/pdf';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/nouveautes/';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Impossible de charger le fichier.";
|
||||
}
|
||||
@ -374,68 +380,46 @@ class FichierController extends Zend_Controller_Action
|
||||
*/
|
||||
public function histopdfAction()
|
||||
{
|
||||
$directory = APPLICATION_PATH.'/../cache/histopdf';
|
||||
$content_type = 'application/pdf';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Impossible de charger le fichier.";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Bilan pdf file
|
||||
*/
|
||||
public function bilanAction()
|
||||
{
|
||||
$directory = APPLICATION_PATH.'/../cache/bilan';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
} else {
|
||||
echo "Impossible de charger le fichier.";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal files for groupes
|
||||
*/
|
||||
public function groupesAction()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$directory = realpath($configuration->path->data).'/groupes';
|
||||
$content_type = 'application/pdf';
|
||||
$file = $this->getRequest()->getParam('fichier');
|
||||
$output_file = $directory.'/'.$file;
|
||||
if (file_exists($output_file) && filesize($output_file)>0) {
|
||||
$content_type = 'application/pdf';
|
||||
header('Content-type: '.$content_type.'');
|
||||
header('Content-Length: '.filesize($output_file));
|
||||
header('Content-MD5: '.base64_encode(md5_file($output_file)));
|
||||
header('Content-Disposition: inline; filename="'.basename($output_file).'"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($output_file);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/groupes/';
|
||||
if ( file_exists($path.$file) && filesize($path.$file)>0 ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: ' . $content_type.'');
|
||||
header('Content-Length: ' . filesize($path.$file));
|
||||
header('Content-MD5: ' . base64_encode(md5_file($path.$file)));
|
||||
header('Content-Disposition: filename="' . basename($path.$file) . '"');
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$file);
|
||||
} else {
|
||||
echo "Impossible de charger le fichier.";
|
||||
echo "Impossible de charger le fichier.";
|
||||
}
|
||||
}
|
||||
}
|
@ -170,7 +170,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
$request = $this->getRequest();
|
||||
$ratio = $request->getParam('ratio');
|
||||
$path = APPLICATION_PATH . '/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$file = 'syntheseEvol-'.$this->siret.'-'.$this->id.'-'.$ratio.'.png';
|
||||
if (file_exists($path.$file)) {
|
||||
echo '<img src="/fichier/imgcache/'.$file.'" />';
|
||||
@ -188,7 +189,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
$request = $this->getRequest();
|
||||
$typeBilan = $request->getParam('typeBilan');
|
||||
$path = APPLICATION_PATH . '/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$file = 'synthese-linecompare-'.$this->siret.'-'.$this->id.'-'.$typeBilan.'.png';
|
||||
if (file_exists($path.$file)) {
|
||||
echo '<img src="/fichier/imgcache/'.$file.'" />';
|
||||
@ -427,7 +429,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
Zend_Registry::get('firebug')->info($request->getParams());
|
||||
|
||||
$path = APPLICATION_PATH . '/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
switch($type){
|
||||
case 'actif':
|
||||
$file = 'bilansgraphactif-'.$this->siret.'-'.$this->id.'-'.$typeBilan.$dateCloture.'.png';
|
||||
@ -620,7 +623,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
|
||||
$request = $this->getRequest();
|
||||
$ratio = $request->getParam('ratio');
|
||||
$path = APPLICATION_PATH . '/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$file = 'ratiosgraph-'.$this->siret.'-'.$this->id.'-'.$ratio.'.png';
|
||||
if (file_exists($path.$file)) {
|
||||
echo '<img src="/fichier/imgcache/'.$file.'" />';
|
||||
@ -666,7 +670,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
foreach ($liasses->POSTES->item as $element)
|
||||
$data[$element->id] = $element->val;
|
||||
|
||||
$path = APPLICATION_PATH . '/../cache/liasse/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files . '/';
|
||||
$file = 'liasse-'.substr($this->siret, 0, 9).'-'.$this->id.'-'.$type.$date.'.xls';
|
||||
|
||||
require_once 'Finance/LiasseXLS.php';
|
||||
@ -726,8 +731,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
//Lecture dans la bdd des informations
|
||||
$infos = $bilanSaisie->getInfosBilan($ref);
|
||||
$name = $infos['ref'].'-'.$infos['siren'].'.'.$extension;
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$file = realpath($configuration->path->data).'/bilanclient/'.$name;
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/bilanclient/'.$name;
|
||||
if ( move_uploaded_file($tmp_name, $file) ){
|
||||
$bilanSaisie->setFilename($ref, $name);
|
||||
switch($infos['format']){
|
||||
|
@ -43,7 +43,7 @@ class IndexController extends Zend_Controller_Action
|
||||
$ws = new WsScores();
|
||||
$reponse = $ws->getPortefeuilleCsv($login, $idClient);
|
||||
|
||||
$log = Zend_Registry::get('configuration')->path->data.'/log/altisys.log';
|
||||
$log = Zend_Registry::get('config')->profil->path->data.'/log/altisys.log';
|
||||
|
||||
if ($reponse === false){
|
||||
file_put_contents($log, date('Y-m-d H:i:s')." - URL = ERREUR\n", FILE_APPEND);
|
||||
|
@ -371,8 +371,8 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
echo 'Paramètres incorrects';
|
||||
exit;
|
||||
}
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$directory = realpath($configuration->path->data).'/'.$configuration->path->marques;
|
||||
$c = Zend_Registry::get('config');
|
||||
$directory = realpath($c->profil->path->data).'/marques';
|
||||
$file = $numdepot.'.pdf';
|
||||
|
||||
//Le fichier n'existe pas alors on le télécharger
|
||||
@ -408,8 +408,8 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
$num = '0'.$num;
|
||||
}
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$file = realpath($configuration->path->data)
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data)
|
||||
.'/bodacc/'.$type.'/'.$annee.'/'.
|
||||
'BODACC_'.$type.'_'.$annee.'_'.$num.'.pdf';
|
||||
|
||||
|
@ -1,13 +1,12 @@
|
||||
<?php
|
||||
<?php
|
||||
class LogoController extends Zend_Controller_Action
|
||||
{
|
||||
protected $pathLogo = '';
|
||||
|
||||
public function init()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = $configuration->path;
|
||||
$this->pathLogo = $path->data.'/'.$path->logos;
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathLogo = $c->profil->path->data.'/logos';
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
@ -15,7 +14,7 @@ class LogoController extends Zend_Controller_Action
|
||||
$this->_helper->layout->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
$siren = $request->getParam('siren', '');
|
||||
$isin = $request->getParam('isin', '');
|
||||
$isin = $request->getParam('isin', '');
|
||||
$logo = $this->_findlogo($siren, $isin);
|
||||
|
||||
$this->view->assign('siren', $siren);
|
||||
@ -23,7 +22,7 @@ class LogoController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
public function uploadAction()
|
||||
{
|
||||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
$request = $this->getRequest();
|
||||
|
||||
@ -31,7 +30,7 @@ class LogoController extends Zend_Controller_Action
|
||||
|
||||
if ($request->isPost()) {
|
||||
|
||||
if ( !empty($siren) && isset($_FILES['file']) && $_FILES['file']['error']!=UPLOAD_ERR_NO_FILE )
|
||||
if ( !empty($siren) && isset($_FILES['file']) && $_FILES['file']['error']!=UPLOAD_ERR_NO_FILE )
|
||||
{
|
||||
$logoFile = $_FILES['file'];
|
||||
$tmp_file = $logoFile['tmp_name'];
|
||||
@ -123,7 +122,7 @@ class LogoController extends Zend_Controller_Action
|
||||
$this->view->assign('isPost', true);
|
||||
} else {
|
||||
$this->view->assign('image', $image);
|
||||
}
|
||||
}
|
||||
$this->view->assign('siren', $siren);
|
||||
}
|
||||
|
||||
@ -228,11 +227,11 @@ class LogoController extends Zend_Controller_Action
|
||||
$name_file = $siren.'.'.$ext;
|
||||
$fp = fopen($this->pathLogo.'/'.$name_file, 'w');
|
||||
fwrite($fp, $body);
|
||||
fclose($fp);
|
||||
fclose($fp);
|
||||
$this->view->assign('image', $name_file);
|
||||
}
|
||||
$this->view->assign('isPost', true);
|
||||
}
|
||||
}
|
||||
$this->view->assign('siren', $siren);
|
||||
|
||||
}
|
||||
|
@ -45,8 +45,8 @@ class PiecesController extends Zend_Controller_Action
|
||||
if(!empty($email)) {
|
||||
|
||||
$erreur = false;
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$fp=fopen(realpath($configuration->path->data).'/'.$configuration->path->log.'/commande_asso.csv', 'a');
|
||||
$c = Zend_Registry::get('config');
|
||||
$fp=fopen(realpath($c->profil->path->data).'/log/commande_asso.csv', 'a');
|
||||
fwrite($fp, date('Y/m/d H:i:s').";$siren;".$email.';'.$login.';'.$user->getEmail().';'.$user->getIpAddress()."\n");
|
||||
fclose($fp);
|
||||
|
||||
@ -73,12 +73,12 @@ class PiecesController extends Zend_Controller_Action
|
||||
$ws = new WsScores();
|
||||
$reponse = $ws->setCmdAsso($infoAsso, $infoDemande); //@todo : vérfier les logs de facturation
|
||||
Zend_Registry::get('firebug')->info($reponse);
|
||||
$annee = substr($reponse->result->dateCommande,0,4);
|
||||
$mois = substr($reponse->result->dateCommande,4,2);
|
||||
$jour = substr($reponse->result->dateCommande,6,2);
|
||||
$heure = substr($reponse->result->dateCommande,8,2);
|
||||
$minutes = substr($reponse->result->dateCommande,10,2);
|
||||
$ref = $reponse->result->refCmd;
|
||||
$annee = substr($reponse->commande->dateCommande,0,4);
|
||||
$mois = substr($reponse->commande->dateCommande,4,2);
|
||||
$jour = substr($reponse->commande->dateCommande,6,2);
|
||||
$heure = substr($reponse->commande->dateCommande,8,2);
|
||||
$minutes = substr($reponse->commande->dateCommande,10,2);
|
||||
$ref = $reponse->commande->refCmd;
|
||||
if( isset($ref) && !empty($ref) )
|
||||
{
|
||||
$message = 'Votre demande à été prise en compte le '.$jour.'/'.$mois.'/'.$annee.' à '.$heure.' h '.$minutes.' sous la référence <b>'.$ref.'</b>.';
|
||||
@ -165,9 +165,9 @@ class PiecesController extends Zend_Controller_Action
|
||||
foreach($rows as $commande) {
|
||||
if(substr($commande->refDocument, 0, 3) == 'ST-') {
|
||||
$ref = trim($commande->refDocument);
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$refFile = realpath($configuration->path->data).'/'.
|
||||
$configuration->path->pdf.'/acte-'.$siren.'-'.trim($commande->refDocument).'.pdf';
|
||||
$c = Zend_Registry::get('config');
|
||||
$refFile = realpath($c->profil->path->data).'/pdf'.
|
||||
'/acte-'.$siren.'-'.trim($commande->refDocument).'.pdf';
|
||||
$checkFile = true;
|
||||
break;
|
||||
}
|
||||
@ -576,8 +576,8 @@ class PiecesController extends Zend_Controller_Action
|
||||
$login = $user->getLogin();
|
||||
$ip = $user->getIpAddress();
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$fp = fopen($configuration->path->data.'/'.$configuraiton->path->log.'/commande_greffe.csv', 'a');
|
||||
$c = Zend_Registry::get('config');
|
||||
$fp = fopen($c->profil->path->data.'/log/commande_greffe.csv', 'a');
|
||||
fwrite($fp,date('Y/m/d H:i:s').";$siren;".$ref.';'.$login.';'.$email.';'.$ip."\n");
|
||||
fclose($fp);
|
||||
|
||||
@ -597,7 +597,8 @@ class PiecesController extends Zend_Controller_Action
|
||||
$idCommande = $commande->insert($tabCommande);
|
||||
|
||||
//Suppression fichier de vérouillage
|
||||
$lockFile = APPLICATION_PATH.'/../cache/'.$siren.'-'.$ref.'.txt';
|
||||
$c = Zend_Registry::get('config');
|
||||
$lockFile = $c->profil->path->cache.'/'.$siren.'-'.$ref.'.txt';
|
||||
if (file_exists($lockFile)) {
|
||||
unlink($lockFile);
|
||||
}
|
||||
@ -1330,8 +1331,8 @@ class PiecesController extends Zend_Controller_Action
|
||||
|
||||
$siren = substr($this->siret, 0,9);
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = $configuration->path->data.'/association/actes';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->data.'/association/actes';
|
||||
|
||||
$actes = array();
|
||||
if ( !empty($siren) || intval($siren)==0 ){
|
||||
@ -1420,8 +1421,8 @@ class PiecesController extends Zend_Controller_Action
|
||||
|
||||
$siren = substr($this->siret,0,9);
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = $configuration->path->data.'/association/bilans';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->data.'/association/bilans';
|
||||
|
||||
$bilans = array();
|
||||
|
||||
@ -1562,8 +1563,8 @@ class PiecesController extends Zend_Controller_Action
|
||||
$start = $params['start'];
|
||||
$siren = substr($params['siret'],0,9);
|
||||
|
||||
$path = APPLICATION_PATH . '/../cache/kbis/';
|
||||
if (!is_dir($path)) mkdir($path);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files. '/';
|
||||
|
||||
if (file_exists($path.'kbis-'.$siren.'.pdf')
|
||||
&& date('Ymd', filemtime($path.'kbis-'.$siren.'.pdf'))==date('Ymd')
|
||||
|
@ -113,7 +113,9 @@ class PrintController extends Zend_Controller_Action
|
||||
}
|
||||
$fichier = str_replace('.pdf', '', $fichier);
|
||||
|
||||
if (!file_exists(APPLICATION_PATH.'/../cache/pages/'.$fichier.'.html'))
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->pages.'/'.$fichier.'.html';
|
||||
if (!file_exists($file))
|
||||
{
|
||||
echo 'Fichier introuvable';
|
||||
exit;
|
||||
@ -123,7 +125,7 @@ class PrintController extends Zend_Controller_Action
|
||||
$pdf = new wkhtmltopdf();
|
||||
$pdf->setOptions('footer-right', 'Page [page] sur [toPage]');
|
||||
$pdf->setOptions('header-right', date('d/m/Y H:i:s'));
|
||||
$output_file = $pdf->exec(APPLICATION_PATH.'/../cache/pages/'.$fichier.'.html');
|
||||
$output_file = $pdf->exec($file);
|
||||
|
||||
//Envoi au navigateur
|
||||
if(!file_exists($output_file))
|
||||
@ -210,7 +212,9 @@ class PrintController extends Zend_Controller_Action
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!file_exists(APPLICATION_PATH.'/../cache/pagesxml/'.$fichier)){
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->files.'/'.$fichier;
|
||||
if (!file_exists($file)){
|
||||
echo "Erreur lors de la génération du fichier.";
|
||||
exit;
|
||||
}
|
||||
@ -218,6 +222,6 @@ class PrintController extends Zend_Controller_Action
|
||||
header("Content-type: application/xml");
|
||||
header("Content-Disposition: attachement; filename=\"$fichier\"");
|
||||
flush();
|
||||
echo file_get_contents(APPLICATION_PATH.'/../cache/pagesxml/'.$fichier);
|
||||
echo file_get_contents($file);
|
||||
}
|
||||
}
|
@ -275,8 +275,8 @@ class RechercheController extends Zend_Controller_Action
|
||||
|
||||
Zend_Registry::get('firebug')->info($form->getValues());
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = realpath($configuration->path->data).'/'.$configuration->path->log;
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/log';
|
||||
$fp = fopen($path.'/enquetes.csv', 'a');
|
||||
fwrite($fp, date('Y/m/d H:i:s').' - '.print_r($form->getValues(),true)."\n");
|
||||
fclose($fp);
|
||||
@ -1047,7 +1047,8 @@ class RechercheController extends Zend_Controller_Action
|
||||
$user = new Scores_Utilisateur();
|
||||
//echo "<pre>"; print_r($etabs); echo "</pre>"; exit;
|
||||
|
||||
$file = APPLICATION_PATH . '/../cache/pages/'.$user->getIdClient().'-'.$user->getLogin().'-'.date('YmdHis').'.csv';
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->files . '/'.$user->getIdClient().'-'.$user->getLogin().'-'.date('YmdHis').'.csv';
|
||||
|
||||
require_once 'Scores/ExportCSV.php';
|
||||
$export = new ExportCSV($etabs, 'rechercheEntreprise');
|
||||
|
@ -1231,8 +1231,8 @@ class SaisieController extends Zend_Controller_Action
|
||||
echo "Pas d'identifiant!";
|
||||
} else {
|
||||
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = $configuration->path->data.'/association';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->data.'/association';
|
||||
|
||||
if ( $type=='bilan' ){
|
||||
$dateCloture = $request->getParam('dateCloture');
|
||||
@ -1914,8 +1914,9 @@ class SaisieController extends Zend_Controller_Action
|
||||
//Téléchargement du fichier
|
||||
elseif ( isset($_FILES) && count($_FILES)==1 )
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$path = $configuration->path->data.'/groupes';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/groupes';
|
||||
|
||||
if (!file_exists($path)) { mkdir($path); }
|
||||
|
||||
$date = WDate::dateT('d/m/Y', 'Ymd', $params['fileDate']);
|
||||
|
@ -658,8 +658,8 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$nomFic = $request->getParam('nomFic', '');
|
||||
$getCSV = $request->getParam('get', '');
|
||||
|
||||
$path = APPLICATION_PATH.'/../cache/survliste';
|
||||
if(!file_exists($path)) mkdir($path);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files;
|
||||
|
||||
//Lister les fichiers
|
||||
if (empty($nomFic)){
|
||||
@ -860,7 +860,6 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
$path = APPLICATION_PATH.'/../cache/survliste/';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
@ -871,7 +870,7 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
header('Cache-Control: private, max-age=0, must-revalidate');
|
||||
header('Pragma: public');
|
||||
ini_set('zlib.output_compression', '0');
|
||||
echo file_get_contents($path.$nomFic);
|
||||
echo file_get_contents($file);
|
||||
} else {
|
||||
echo 'Impossible de charger le fichier.';
|
||||
}
|
||||
@ -920,8 +919,8 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
default: $filtre = ''; break;
|
||||
}
|
||||
}
|
||||
$path = APPLICATION_PATH.'/../cache/survliste';
|
||||
if(!file_exists($path)) mkdir($path);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files;
|
||||
|
||||
//Récupération du fichier
|
||||
$file = $path.'/'.$nomFic;
|
||||
|
@ -72,6 +72,9 @@ class TelechargementController extends Zend_Controller_Action
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = $c->profil->path->files;
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
}
|
||||
|
||||
@ -80,7 +83,6 @@ class TelechargementController extends Zend_Controller_Action
|
||||
*/
|
||||
public function consommationAction()
|
||||
{
|
||||
$this->path = APPLICATION_PATH.'/../cache/consommation';
|
||||
$this->filetime = 1;
|
||||
|
||||
$request = $this->getRequest();
|
||||
@ -132,7 +134,6 @@ class TelechargementController extends Zend_Controller_Action
|
||||
*/
|
||||
public function surveillanceAction()
|
||||
{
|
||||
$this->path = APPLICATION_PATH.'/../cache/surveillance';
|
||||
$this->filetime = 4;
|
||||
|
||||
$request = $this->getRequest();
|
||||
@ -180,7 +181,6 @@ class TelechargementController extends Zend_Controller_Action
|
||||
*/
|
||||
public function portefeuilleAction()
|
||||
{
|
||||
$this->path = APPLICATION_PATH.'/../cache/surveillance';
|
||||
$this->filetime = 4;
|
||||
|
||||
$request = $this->getRequest();
|
||||
@ -225,8 +225,6 @@ class TelechargementController extends Zend_Controller_Action
|
||||
*/
|
||||
public function histopdfAction()
|
||||
{
|
||||
$this->path = APPLICATION_PATH.'/../cache/histopdf';
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
$q = $request->getParam('q', '');
|
||||
@ -258,7 +256,6 @@ class TelechargementController extends Zend_Controller_Action
|
||||
*/
|
||||
public function bilanAction()
|
||||
{
|
||||
$this->path = APPLICATION_PATH.'/../cache/bilan';
|
||||
$this->filetime = 40;
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
132
data/pages/themes/default/styles/comment.css
Normal file
132
data/pages/themes/default/styles/comment.css
Normal file
@ -0,0 +1,132 @@
|
||||
#commentaires h1 {
|
||||
clear:both;
|
||||
margin:20px 0 5px 0;
|
||||
padding:0;
|
||||
background:none;
|
||||
color:#000000;
|
||||
font:bold 1.2em Arial, Verdana, Sans-serif;
|
||||
border:0;
|
||||
}
|
||||
|
||||
#commentaires h2 {
|
||||
clear:both;
|
||||
margin:20px 0 5px 0;
|
||||
padding:0;
|
||||
background:none;
|
||||
color:#000000;
|
||||
font:italic 1.1em Arial, Verdana, Sans-serif;
|
||||
border:0;
|
||||
}
|
||||
|
||||
#commentaires h3 {
|
||||
clear:both;
|
||||
margin:10px 0;
|
||||
padding:0;
|
||||
background:none;
|
||||
color:#000000;
|
||||
font:normal 1em Arial, Verdana, Sans-serif;
|
||||
border:0;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
#commentaires h4 {
|
||||
clear:both;
|
||||
margin:10px 0;
|
||||
padding:0;
|
||||
background:none;
|
||||
color:#000000;
|
||||
font:normal 0.8em Arial, Verdana, Sans-serif;
|
||||
border:0;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
#commentaires table td, #commentaires table th {
|
||||
border:1px solid #000000;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
#commentaires table {
|
||||
border-collapse:collapse;
|
||||
margin:5px 0;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
#commentaires table td {
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
#commentaires table.TABLEAUDEFAUTPLUS {
|
||||
width:48%;
|
||||
float:left;
|
||||
margin:2px;
|
||||
}
|
||||
|
||||
#commentaires table.TABLEAUDEFAUTMOINS {
|
||||
width:48%;
|
||||
float:left;
|
||||
margin:2px;
|
||||
}
|
||||
|
||||
#commentaires table.TABLEAUDEFAUTNORME {
|
||||
clear:both;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
#commentaires table.TABLEAUDEFINANCIER {
|
||||
clear:both;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
#commentaires table.TABLEAUDEFINANCIER NORMAL {
|
||||
|
||||
}
|
||||
|
||||
|
||||
#commentaires table tr.TITRES {
|
||||
background:#000000;
|
||||
color:#ffffff;
|
||||
}
|
||||
|
||||
#commentaires table tr.VERT {
|
||||
background:#00ff99;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
#commentaires table tr.ROUGE {
|
||||
background:#ff3030;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
#commentaires table tr.JAUNE {
|
||||
background:#ffff66;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
#commentaires span{
|
||||
padding-left:15px;
|
||||
}
|
||||
|
||||
#commentaires span.plus{
|
||||
background: white url('./themes/default/images/comment/li-plus.gif') no-repeat left center;
|
||||
}
|
||||
|
||||
#commentaires span.moins{
|
||||
background: white url('./themes/default/images/comment/li-moins.gif') no-repeat left center;
|
||||
}
|
||||
|
||||
#commentaires span.point{
|
||||
background: white url('./themes/default/images/comment/li-point.gif') no-repeat left center;
|
||||
}
|
||||
|
||||
#commentaires div.texth1 {
|
||||
margin-left:2px;
|
||||
}
|
||||
#commentaires div.texth2 {
|
||||
margin-left:10px;
|
||||
}
|
||||
#commentaires div.texth3 {
|
||||
margin-left:10px;
|
||||
}
|
||||
#commentaires div.texth4 {
|
||||
margin-left:10px;
|
||||
}
|
140
data/pages/themes/default/styles/evaluation.css
Normal file
140
data/pages/themes/default/styles/evaluation.css
Normal file
@ -0,0 +1,140 @@
|
||||
h3
|
||||
{
|
||||
margin-top:10px;
|
||||
}
|
||||
h3 u
|
||||
{
|
||||
font-size:13px;
|
||||
color:#535353;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
div.stats ul {
|
||||
width: 400px;
|
||||
list-style: none;
|
||||
margin:10px;
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
div.stats .percent {
|
||||
display: block;
|
||||
height: 1.5em;
|
||||
line-height: 1.5em;
|
||||
margin: 5px 10px 0 10px;
|
||||
padding: 0 5px;
|
||||
text-align: right;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
font-family: monospace;
|
||||
-moz-border-radius: 5px;
|
||||
border-bottom: 1px solid #aaa;
|
||||
border-right: 1px solid #aaa;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Image dégradée */
|
||||
.blocdegrade {
|
||||
width:300px;
|
||||
}
|
||||
|
||||
.imgdegrade {
|
||||
width:310px;
|
||||
}
|
||||
|
||||
.textdegrade {
|
||||
position:absolute;
|
||||
overflow:hidden;
|
||||
margin-left:10px;
|
||||
line-height: 18px;
|
||||
color: #000;
|
||||
font-size:11px;
|
||||
font-weight: bold;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
div.blocdegrade div {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
div.blocdegrade .echelle
|
||||
{
|
||||
width:100%;
|
||||
}
|
||||
|
||||
div.blocdegrade .echelleleft
|
||||
{
|
||||
float:left;
|
||||
}
|
||||
|
||||
div.blocdegrade .echelleright
|
||||
{
|
||||
float:right;
|
||||
}
|
||||
|
||||
.textdegrademin {
|
||||
position:absolute;
|
||||
overflow:hidden;
|
||||
margin-left:10px;
|
||||
line-height: 20px;
|
||||
color: #000;
|
||||
font-size:11px;
|
||||
font-weight: bold;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.regle {
|
||||
clear:both;
|
||||
}
|
||||
.clearfix:after {
|
||||
clear: both;
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#synthese .head
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#synthese th
|
||||
{
|
||||
background: none repeat scroll 0 0 #B9C9FE;
|
||||
border: 1px solid #FFFFFF;
|
||||
color: #003399;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#synthese td.right
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#synthese
|
||||
{
|
||||
border-collapse: collapse;
|
||||
clear: both;
|
||||
font-size: 12px;
|
||||
margin: 10px 0px 0;
|
||||
padding: 2px;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
font-family: arial,sans-serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#synthese td
|
||||
{
|
||||
background: none repeat scroll 0 0 #E8EDFF;
|
||||
border: 1px solid #FFFFFF;
|
||||
color: #666699;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#synthese tr:hover td
|
||||
{
|
||||
background: none repeat scroll 0 0 #D0DAFD;
|
||||
}
|
215
data/pages/themes/default/styles/finance.css
Normal file
215
data/pages/themes/default/styles/finance.css
Normal file
@ -0,0 +1,215 @@
|
||||
.bilans {font-family:"Lucida Sans Unicode", "Lucida Grande", Sans-Serif; font-size:12px; margin: 10px 0 0 0; width:100%; text-align:left; border-collapse:collapse;}
|
||||
.bilans th {padding:4px; font-weight:normal; font-size:11px; border:1px solid #000; color:#000; background:#b9c9fe; text-align:center; font-weight:bold;}
|
||||
.bilans td {font-size:11px;padding:4px; border:1px solid #000; color:#000;}
|
||||
.bilans td.graph {padding:0; margin:0;}
|
||||
.bilans th.date {font-size:10px;cursor:pointer}
|
||||
.bilans td.right {text-align:right;}
|
||||
.bilans td.center {text-align: center;}
|
||||
.bilans td.italique {font-style:italic;}
|
||||
.bilans tr.subhead td {font-size:10px;padding:4px; background:#b9c9fe; border: 1px solid #000; font-weight:bold; color:#000;}
|
||||
.bilans tr.darkblue td {padding:4px; background:#00008c; border: 1px solid #000; font-weight:bold; color:#fff;}
|
||||
.bilans tr {font-size:10px};
|
||||
.entete {margin:1px;}
|
||||
.subentete {margin:2px;}
|
||||
.bilanDatas:hover td{background-color:#E5EBFF;}
|
||||
|
||||
#ratios { font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; width:100%; border-collapse:collapse; }
|
||||
#ratios a { color:#000000; cursor:help; }
|
||||
#ratios th { padding:8px; font-weight:normal; font-size:13px; color:#039; background:#b9c9fe; }
|
||||
#ratios td { padding:8px; border:1px solid #000; color:#000; }
|
||||
#ratios td.center { text-align:center; }
|
||||
#ratios td.italique { font-style:italic ; }
|
||||
#ratios td.right { text-align:right; }
|
||||
#ratios td.position { text-align:center; }
|
||||
#ratios td.position a { cursor:default; }
|
||||
#ratios tr.subhead td { padding:8px; background:#b9c9fe; border:1px solid #000; font-weight:bold; color:#000; }
|
||||
#ratios tr:hover td { background-color:#E5EBFF; }
|
||||
|
||||
#rowGraph:hover
|
||||
{
|
||||
background-color: silver;
|
||||
}
|
||||
|
||||
#ratio
|
||||
{
|
||||
clear: both;
|
||||
font-family: "Lucida Sans Unicode","Lucida Grande",Sans-Serif;
|
||||
font-size: 12px;
|
||||
margin: 10px 0 0;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#LiasseTable
|
||||
{
|
||||
border-collapse: collapse;
|
||||
color:#606060;
|
||||
}
|
||||
|
||||
#LiasseTable td
|
||||
{
|
||||
font-size:11px;
|
||||
font-family: arial,sans-serif;
|
||||
border:1px solid silver;
|
||||
padding:2px;
|
||||
min-width:50px;
|
||||
}
|
||||
|
||||
#liasseForm th
|
||||
{
|
||||
color:#606060;
|
||||
font-weight:bold;
|
||||
}
|
||||
#liasseForm
|
||||
{
|
||||
margin-left:30px;
|
||||
}
|
||||
#liasseForm td
|
||||
{
|
||||
color:#606060;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------------*/
|
||||
|
||||
#synthese .head
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#synthese th
|
||||
{
|
||||
background: none repeat scroll 0 0 #B9C9FE;
|
||||
border: 1px solid #FFFFFF;
|
||||
color: #003399;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#synthese td.right
|
||||
{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#synthese
|
||||
{
|
||||
border-collapse: collapse;
|
||||
clear: both;
|
||||
font-size: 12px;
|
||||
margin: 10px 0px 0;
|
||||
padding: 2px;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
font-family: arial,sans-serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#synthese td
|
||||
{
|
||||
background: none repeat scroll 0 0 #E8EDFF;
|
||||
border: 1px solid #FFFFFF;
|
||||
color: #666699;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#synthese tr:hover td
|
||||
{
|
||||
background: none repeat scroll 0 0 #D0DAFD;
|
||||
}
|
||||
|
||||
/*******/
|
||||
#tabbed_box {
|
||||
margin: 0px auto 0px auto;
|
||||
width:300px;
|
||||
}
|
||||
.tabbed_box h4 {
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:23px;
|
||||
color:#ffffff;
|
||||
letter-spacing:-1px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
.tabbed_box h4 small {
|
||||
color:#e3e9ec;
|
||||
font-weight:normal;
|
||||
font-size:9px;
|
||||
font-family:Verdana, Arial, Helvetica, sans-serif;
|
||||
text-transform:uppercase;
|
||||
position:relative;
|
||||
top:-4px;
|
||||
left:6px;
|
||||
letter-spacing:0px;
|
||||
}
|
||||
.tabbed_area {
|
||||
text-align:center;
|
||||
background-color:#636d76;
|
||||
padding:8px;
|
||||
}
|
||||
ul.tabs {
|
||||
margin:0px; padding:0px;
|
||||
margin-top:5px;
|
||||
margin-bottom:6px;
|
||||
}
|
||||
ul.tabs li {
|
||||
list-style:none;
|
||||
display:inline;
|
||||
line-height:32px;
|
||||
}
|
||||
ul.tabs li a {
|
||||
background-color:#464c54;
|
||||
color:#ffebb5;
|
||||
padding:8px 14px 8px 14px;
|
||||
text-decoration:none;
|
||||
font-size:9px;
|
||||
font-family:Verdana, Arial, Helvetica, sans-serif;
|
||||
font-weight:bold;
|
||||
text-transform:uppercase;
|
||||
border:1px solid #FFFFFF;
|
||||
}
|
||||
ul.tabs li a:hover {
|
||||
background-color:#2f343a;
|
||||
border-color:#2f343a;
|
||||
}
|
||||
ul.tabs li a.active {
|
||||
background-color:#ffffff;
|
||||
color:#282e32;
|
||||
border:1px solid #464c54;
|
||||
border-bottom: 1px solid #ffffff;
|
||||
}
|
||||
.content {
|
||||
background-color:#ffffff;
|
||||
margin:10px 0;
|
||||
padding:0;
|
||||
}
|
||||
.content a {
|
||||
font-size:1.5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.content ul {
|
||||
margin:0px;
|
||||
padding:0px 20px 0px 20px;
|
||||
}
|
||||
.content ul li {
|
||||
list-style:none;
|
||||
border-bottom:1px solid #d6dde0;
|
||||
padding-top:15px;
|
||||
padding-bottom:15px;
|
||||
font-size:13px;
|
||||
}
|
||||
.content ul li a {
|
||||
text-decoration:none;
|
||||
color:#3e4346;
|
||||
}
|
||||
.content ul li a small {
|
||||
color:#8b959c;
|
||||
font-size:9px;
|
||||
text-transform:uppercase;
|
||||
font-family:Verdana, Arial, Helvetica, sans-serif;
|
||||
position:relative;
|
||||
left:4px;
|
||||
top:0px;
|
||||
}
|
||||
.content ul li:last-child {
|
||||
border-bottom:none;
|
||||
}
|
17
data/pages/themes/default/styles/form.css
Normal file
17
data/pages/themes/default/styles/form.css
Normal file
@ -0,0 +1,17 @@
|
||||
.infoTitle {
|
||||
clear:both;
|
||||
float:left;
|
||||
width:180px;
|
||||
margin-left:30px;
|
||||
padding:0 10px 5px 0;
|
||||
}
|
||||
.infoData {
|
||||
float:left;
|
||||
width:320px;
|
||||
margin:2px 0;
|
||||
}
|
||||
|
||||
div.submit{
|
||||
clear:both;
|
||||
text-align:center;
|
||||
}
|
52
data/pages/themes/default/styles/geolocalisation.css
Normal file
52
data/pages/themes/default/styles/geolocalisation.css
Normal file
@ -0,0 +1,52 @@
|
||||
#infogeo_txt {
|
||||
float:left;
|
||||
width:250px;
|
||||
padding:10px 0;
|
||||
}
|
||||
|
||||
#infogeo_photo {
|
||||
float:left;
|
||||
margin:0;
|
||||
padding:0;
|
||||
width:340px;
|
||||
}
|
||||
|
||||
#legende-photo {
|
||||
display:none;
|
||||
width:278px;
|
||||
margin:5px 0 10px 0;
|
||||
padding:10px;
|
||||
border:1px solid #0000ff;
|
||||
color:#0000ff;
|
||||
}
|
||||
|
||||
#pp-cb-thumb {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#pp-cb-thumb div.left {
|
||||
float:left;
|
||||
position:relative;
|
||||
width:256px;
|
||||
height:128px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#pp-cb-thumb div.right {
|
||||
float:left;
|
||||
position:relative;
|
||||
width:44px;
|
||||
height:128px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#pp-cb-thumb div.left img{
|
||||
position:relative;
|
||||
left:-256px;
|
||||
top:-140px;
|
||||
}
|
||||
|
||||
#pp-cb-thumb div.right img{
|
||||
position:relative;
|
||||
top:-140px;
|
||||
}
|
256
data/pages/themes/default/styles/giant.css
Normal file
256
data/pages/themes/default/styles/giant.css
Normal file
@ -0,0 +1,256 @@
|
||||
.compteAnnuels .tdP{
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
.compteAnnuels table {
|
||||
width:645px;
|
||||
margin-left: 19px;
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
.compteAnnuels hr {
|
||||
border:1px dotted silver
|
||||
}
|
||||
|
||||
.compteAnnuels #tdP {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
.compteAnnuels .title {
|
||||
font-size:16px;
|
||||
color:#00008C;
|
||||
font-weight:800;
|
||||
}
|
||||
.compteAnnuels .center {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.compteAnnuels .bilansTAB td {
|
||||
font-size:11px; !important
|
||||
}
|
||||
|
||||
#AvisDeCredit {
|
||||
margin-left: 19px;
|
||||
width:97%;
|
||||
}
|
||||
#AvisDeCredit td {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
#AvisDeCredit .float {
|
||||
float:right;
|
||||
}
|
||||
#AvisDeCredit hr {
|
||||
border:1px dotted silver;
|
||||
}
|
||||
#AvisDeCredit div {
|
||||
padding:0.7em;
|
||||
}
|
||||
#AvisDeCredit div span {
|
||||
float: left; margin-right: 0.3em;
|
||||
}
|
||||
|
||||
#ComparisonValeurs span {
|
||||
font-size:16px;
|
||||
color:#00008C;
|
||||
font-weight:800;
|
||||
}
|
||||
#ComparisonValeurs .Variation {
|
||||
width:85px;
|
||||
text-align:right;
|
||||
}
|
||||
#ComparaisonValeurs hr {
|
||||
border:1px dotted silver;
|
||||
}
|
||||
#ComparisonValeurs div {
|
||||
padding:0.7em;
|
||||
}
|
||||
|
||||
.alignCenter {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#ComparaisonValeurs .align {
|
||||
align="right"
|
||||
}
|
||||
|
||||
#sommaire
|
||||
{
|
||||
margin:5px;
|
||||
}
|
||||
|
||||
#sommaire fieldset
|
||||
{
|
||||
padding: 10px;
|
||||
border:1px dotted silver;
|
||||
padding-bottom: 70px;
|
||||
}
|
||||
|
||||
#sommaire fieldset legend
|
||||
{
|
||||
font-size:25px;
|
||||
font-weight: bold;
|
||||
color:#000099;
|
||||
}
|
||||
|
||||
#sommaire h3
|
||||
{
|
||||
font-size:25px;
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#sommaire li
|
||||
{
|
||||
font-size:15px;
|
||||
list-style: none;
|
||||
font-weight: 800;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#sommaire li a
|
||||
{
|
||||
color:#000099;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#sommaire li a:hover
|
||||
{
|
||||
color:#9C093A;
|
||||
}
|
||||
|
||||
#sommaire span a:hover
|
||||
{
|
||||
color:#000099;
|
||||
}
|
||||
|
||||
#sommaire span a
|
||||
{
|
||||
color:#9C093A;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#comportementPaiement tr td
|
||||
{
|
||||
padding:5px;
|
||||
}
|
||||
.colorTr
|
||||
{
|
||||
background-color: #EDEEF7;
|
||||
}
|
||||
/** Giant rapport **/
|
||||
#ComparisonValeurs table
|
||||
{
|
||||
font-size:13px;
|
||||
margin-left: 19px;
|
||||
}
|
||||
.red
|
||||
{
|
||||
font-size:11px;
|
||||
background-color:#FFE8E8;
|
||||
}
|
||||
|
||||
.green
|
||||
{
|
||||
font-size:11px;
|
||||
background-color:#E8FFE8;
|
||||
}
|
||||
|
||||
#ComparisonValeurs table tr:hover
|
||||
{
|
||||
background-color: #E0E4F8;
|
||||
}
|
||||
|
||||
.hoverTr tr:hover
|
||||
{
|
||||
background-color: #E0E4F8;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.FR{background-image: url('/themes/default/images/giant/cartes/fr.png');background-repeat: no-repeat;background-position: top right;}
|
||||
.NL{ background-image: url('/themes/default/images/giant/cartes/nl.JPG');background-repeat: no-repeat;background-position: top right;}
|
||||
.BE{ background-image: url('/themes/default/images/giant/cartes/be.JPG');background-repeat: no-repeat;background-position: top right;}
|
||||
.UK{ background-image: url('/themes/default/images/giant/cartes/uk.JPG');background-repeat: no-repeat;background-position: top right;}
|
||||
.ES{ background-image: url('/themes/default/images/giant/cartes/es.JPG');background-repeat: no-repeat;background-position: top right;}
|
||||
|
||||
#carte
|
||||
{
|
||||
width:660px;
|
||||
background-position: right top;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #fcfdfe;
|
||||
}
|
||||
/** Giant Search **/
|
||||
#info td
|
||||
{
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.giant-search
|
||||
{
|
||||
font-family: Arial,Helvetica,sans-serif;
|
||||
color: #535353;
|
||||
}
|
||||
|
||||
.giant-search #Paginator
|
||||
{
|
||||
color:black;
|
||||
}
|
||||
|
||||
.giant-search ol
|
||||
{
|
||||
text-align:left;
|
||||
margin:10px;
|
||||
padding:0 20px;
|
||||
}
|
||||
|
||||
.giant-search #Paginator table
|
||||
{
|
||||
width:130px;
|
||||
}
|
||||
|
||||
.giant-search #contact
|
||||
{
|
||||
padding-left:5px;
|
||||
}
|
||||
#inDebug
|
||||
{
|
||||
float:left;
|
||||
}
|
||||
#debug
|
||||
{
|
||||
background-color:#FFFFCC;
|
||||
padding:10px;
|
||||
border:1px solid silver;
|
||||
width:590px;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#debug_menu
|
||||
{
|
||||
float:left;
|
||||
background-color:#FFFFCC;
|
||||
border:1px solid silver;
|
||||
width:150px;
|
||||
height:25px;
|
||||
margin-bottom:2px;
|
||||
padding-top:9px;
|
||||
}
|
||||
|
||||
#debug_menu:hover
|
||||
{
|
||||
background-color:#FFFF99;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.hide
|
||||
{
|
||||
background-color: silver;
|
||||
height: 455px;
|
||||
position: absolute;
|
||||
top:2%;
|
||||
left:35%;
|
||||
width: 691px;
|
||||
opacity:0.3;
|
||||
}
|
38
data/pages/themes/default/styles/identite.css
Normal file
38
data/pages/themes/default/styles/identite.css
Normal file
@ -0,0 +1,38 @@
|
||||
.datemaj {
|
||||
|
||||
}
|
||||
|
||||
.datemaj span {
|
||||
display:none;
|
||||
}
|
||||
|
||||
div.adresse {
|
||||
float:left;
|
||||
margin:5px 5px 0 0;
|
||||
}
|
||||
|
||||
div.adresse span {
|
||||
clear:both;
|
||||
float:left;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
div.domiciliation {
|
||||
float:left;
|
||||
margin:5px 0 0 5px;
|
||||
line-height:16px;
|
||||
}
|
||||
|
||||
div.domiciliation img {
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
|
||||
div.domiciliation span{
|
||||
display:none;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse:separate;
|
||||
border-spacing:4px;
|
||||
}
|
6
data/pages/themes/default/styles/ie6.css
Normal file
6
data/pages/themes/default/styles/ie6.css
Normal file
@ -0,0 +1,6 @@
|
||||
html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }
|
||||
|
||||
div.jgrowl { position:absolute; }
|
||||
|
||||
button { border:0; }
|
||||
|
565
data/pages/themes/default/styles/jquery-ui.css
vendored
Normal file
565
data/pages/themes/default/styles/jquery-ui.css
vendored
Normal file
@ -0,0 +1,565 @@
|
||||
/*
|
||||
* jQuery UI CSS Framework 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*/
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden { display: none; }
|
||||
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
||||
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
||||
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
|
||||
.ui-helper-clearfix:after { clear: both; }
|
||||
.ui-helper-clearfix { zoom: 1; }
|
||||
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled { cursor: default !important; }
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
||||
|
||||
|
||||
/*
|
||||
* jQuery UI CSS Framework 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
||||
*/
|
||||
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
||||
.ui-widget .ui-widget { font-size: 1em; }
|
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
||||
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(/themes/default/images/smoothness/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
|
||||
.ui-widget-content a { color: #222222; }
|
||||
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(/themes/default/images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
|
||||
.ui-widget-header a { color: #222222; }
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(/themes/default/images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
|
||||
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(/themes/default/images/smoothness/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
||||
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
|
||||
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(/themes/default/images/smoothness/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
||||
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
|
||||
.ui-widget :active { outline: none; }
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(/themes/default/images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
|
||||
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
||||
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(/themes/default/images/smoothness/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
|
||||
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { width: 16px; height: 16px; background-image: url(/themes/default/images/smoothness/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-content .ui-icon {background-image: url(/themes/default/images/smoothness/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-header .ui-icon {background-image: url(/themes/default/images/smoothness/ui-icons_222222_256x240.png); }
|
||||
.ui-state-default .ui-icon { background-image: url(/themes/default/images/smoothness/ui-icons_888888_256x240.png); }
|
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(/themes/default/images/smoothness/ui-icons_454545_256x240.png); }
|
||||
.ui-state-active .ui-icon {background-image: url(/themes/default/images/smoothness/ui-icons_454545_256x240.png); }
|
||||
.ui-state-highlight .ui-icon {background-image: url(/themes/default/images/smoothness/ui-icons_2e83ff_256x240.png); }
|
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(/themes/default/images/smoothness/ui-icons_cd0a0a_256x240.png); }
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-off { background-position: -96px -144px; }
|
||||
.ui-icon-radio-on { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { background: #aaaaaa url(/themes/default/images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
|
||||
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(/themes/default/images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
|
||||
* jQuery UI Resizable 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Resizable#theming
|
||||
*/
|
||||
.ui-resizable { position: relative;}
|
||||
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
|
||||
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
||||
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
||||
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
||||
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
|
||||
* jQuery UI Selectable 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Selectable#theming
|
||||
*/
|
||||
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
||||
/*
|
||||
* jQuery UI Accordion 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Accordion#theming
|
||||
*/
|
||||
/* IE/Win - Fix animation bug - #4615 */
|
||||
.ui-accordion { width: 100%; }
|
||||
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
||||
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
||||
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
||||
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
||||
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-content-active { display: block; }
|
||||
/*
|
||||
* jQuery UI Autocomplete 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Autocomplete#theming
|
||||
*/
|
||||
.ui-autocomplete { position: absolute; cursor: default; }
|
||||
|
||||
/* workarounds */
|
||||
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||
|
||||
/*
|
||||
* jQuery UI Menu 1.8.17
|
||||
*
|
||||
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Menu#theming
|
||||
*/
|
||||
.ui-menu {
|
||||
list-style:none;
|
||||
padding: 2px;
|
||||
margin: 0;
|
||||
display:block;
|
||||
float: left;
|
||||
}
|
||||
.ui-menu .ui-menu {
|
||||
margin-top: -3px;
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
margin:0;
|
||||
padding: 0;
|
||||
zoom: 1;
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
.ui-menu .ui-menu-item a {
|
||||
text-decoration:none;
|
||||
display:block;
|
||||
padding:.2em .4em;
|
||||
line-height:1.5;
|
||||
zoom:1;
|
||||
}
|
||||
.ui-menu .ui-menu-item a.ui-state-hover,
|
||||
.ui-menu .ui-menu-item a.ui-state-active {
|
||||
font-weight: normal;
|
||||
margin: -1px;
|
||||
}
|
||||
/*
|
||||
* jQuery UI Button 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Button#theming
|
||||
*/
|
||||
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
||||
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
||||
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
||||
.ui-button-icons-only { width: 3.4em; }
|
||||
button.ui-button-icons-only { width: 3.7em; }
|
||||
|
||||
/*button text element */
|
||||
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
||||
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
||||
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
||||
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
||||
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
||||
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
||||
/* no icon support for input elements, provide padding by default */
|
||||
input.ui-button { padding: .4em 1em; }
|
||||
|
||||
/*button icon element(s) */
|
||||
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
||||
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
||||
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
||||
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
|
||||
/*button sets*/
|
||||
.ui-buttonset { margin-right: 7px; }
|
||||
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
||||
|
||||
/* workarounds */
|
||||
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
||||
/*
|
||||
* jQuery UI Dialog 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Dialog#theming
|
||||
*/
|
||||
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
||||
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
||||
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
||||
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
||||
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
||||
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
||||
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
||||
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
||||
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
||||
/*
|
||||
* jQuery UI Slider 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Slider#theming
|
||||
*/
|
||||
.ui-slider { position: relative; text-align: left; }
|
||||
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
||||
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
||||
|
||||
.ui-slider-horizontal { height: .8em; }
|
||||
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
||||
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
||||
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
||||
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
||||
|
||||
.ui-slider-vertical { width: .8em; height: 100px; }
|
||||
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
||||
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
||||
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
||||
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
|
||||
* jQuery UI Tabs 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Tabs#theming
|
||||
*/
|
||||
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
||||
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
||||
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
||||
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
||||
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
||||
.ui-tabs .ui-tabs-hide { display: none !important; }
|
||||
/*
|
||||
* jQuery UI Datepicker 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Datepicker#theming
|
||||
*/
|
||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
||||
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
||||
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
||||
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
||||
.ui-datepicker .ui-datepicker-next { right:2px; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
||||
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
||||
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
||||
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
||||
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
||||
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
||||
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
||||
.ui-datepicker td { border: 0; padding: 1px; }
|
||||
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
||||
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
||||
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
||||
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl { direction: rtl; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
|
||||
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
||||
.ui-datepicker-cover {
|
||||
display: none; /*sorry for IE5*/
|
||||
display/**/: block; /*sorry for IE5*/
|
||||
position: absolute; /*must have*/
|
||||
z-index: -1; /*must have*/
|
||||
filter: mask(); /*must have*/
|
||||
top: -4px; /*must have*/
|
||||
left: -4px; /*must have*/
|
||||
width: 200px; /*must have*/
|
||||
height: 200px; /*must have*/
|
||||
}/*
|
||||
* jQuery UI Progressbar 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Progressbar#theming
|
||||
*/
|
||||
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
|
||||
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
|
35
data/pages/themes/default/styles/jquery.Jcrop.css
Normal file
35
data/pages/themes/default/styles/jquery.Jcrop.css
Normal file
@ -0,0 +1,35 @@
|
||||
/* Fixes issue here http://code.google.com/p/jcrop/issues/detail?id=1 */
|
||||
.jcrop-holder { text-align: left; }
|
||||
|
||||
.jcrop-vline, .jcrop-hline
|
||||
{
|
||||
font-size: 0;
|
||||
position: absolute;
|
||||
background: white url('../images/Jcrop.gif') top left repeat;
|
||||
}
|
||||
.jcrop-vline { height: 100%; width: 1px !important; }
|
||||
.jcrop-hline { width: 100%; height: 1px !important; }
|
||||
.jcrop-handle {
|
||||
font-size: 1px;
|
||||
width: 7px !important;
|
||||
height: 7px !important;
|
||||
border: 1px #eee solid;
|
||||
background-color: #333;
|
||||
*width: 9px;
|
||||
*height: 9px;
|
||||
}
|
||||
|
||||
.jcrop-tracker { width: 100%; height: 100%; }
|
||||
|
||||
.custom .jcrop-vline,
|
||||
.custom .jcrop-hline
|
||||
{
|
||||
background: yellow;
|
||||
}
|
||||
.custom .jcrop-handle
|
||||
{
|
||||
border-color: black;
|
||||
background-color: #C7BB00;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
}
|
25
data/pages/themes/default/styles/jquery.checkbox.css
Normal file
25
data/pages/themes/default/styles/jquery.checkbox.css
Normal file
@ -0,0 +1,25 @@
|
||||
.jquery-checkbox {display: inline; font-size: 20px; line-height: 20px; cursor: pointer; cursor: hand;}
|
||||
.jquery-checkbox .mark {display: inline;}
|
||||
|
||||
.jquery-checkbox img {vertical-align: middle; width: 60px; height: 20px;}
|
||||
.jquery-checkbox img{background: transparent url(/themes/default/images/checkbox/checkbox.png) no-repeat;}
|
||||
|
||||
.jquery-checkbox img{
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
.jquery-checkbox-hover img{
|
||||
background-position: 0px -20px;
|
||||
}
|
||||
.jquery-checkbox-checked img{
|
||||
background-position: 0px -40px;
|
||||
}
|
||||
.jquery-checkbox-checked .jquery-checkbox-hover img {
|
||||
background-position: 0px -60px;
|
||||
}
|
||||
|
||||
.jquery-checkbox-disabled img{
|
||||
background-position: 0px -80px;
|
||||
}
|
||||
.jquery-checkbox-checked .jquery-checkbox-disabled img{
|
||||
background-position: 0px -100px;
|
||||
}
|
577
data/pages/themes/default/styles/jquery.qtip.css
Normal file
577
data/pages/themes/default/styles/jquery.qtip.css
Normal file
@ -0,0 +1,577 @@
|
||||
/*
|
||||
* qTip2 - Pretty powerful tooltips
|
||||
* http://craigsworks.com/projects/qtip2/
|
||||
*
|
||||
* Version: 2.0.0pre
|
||||
* Copyright 2009-2010 Craig Michael Thompson - http://craigsworks.com
|
||||
*
|
||||
* Dual licensed under MIT or GPLv2 licenses
|
||||
* http://en.wikipedia.org/wiki/MIT_License
|
||||
* http://en.wikipedia.org/wiki/GNU_General_Public_License
|
||||
*
|
||||
* Date: Fri Jan 6 22:07:57 2012 +0000
|
||||
*/
|
||||
|
||||
/* Core qTip styles */
|
||||
.ui-tooltip, .qtip{
|
||||
position: absolute;
|
||||
left: -28000px;
|
||||
top: -28000px;
|
||||
display: none;
|
||||
|
||||
max-width: 500px;
|
||||
min-width: 50px;
|
||||
|
||||
font-size: 10.5px;
|
||||
line-height: 12px;
|
||||
}
|
||||
|
||||
/* Fluid class for determining actual width in IE */
|
||||
.ui-tooltip-fluid{
|
||||
display: block;
|
||||
visibility: hidden;
|
||||
position: static !important;
|
||||
float: left !important;
|
||||
}
|
||||
|
||||
.ui-tooltip-content{
|
||||
position: relative;
|
||||
padding: 5px 9px;
|
||||
overflow: hidden;
|
||||
|
||||
border: 1px solid #000001;
|
||||
|
||||
text-align: left;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ui-tooltip-titlebar{
|
||||
position: relative;
|
||||
min-height: 14px;
|
||||
padding: 5px 35px 5px 10px;
|
||||
overflow: hidden;
|
||||
|
||||
border: 1px solid #000001;
|
||||
border-width: 1px 1px 0;
|
||||
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ui-tooltip-titlebar + .ui-tooltip-content{ border-top-width: 0px !important; }
|
||||
|
||||
/*! Default close button class */
|
||||
.ui-tooltip-titlebar .ui-state-default{
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
top: 50%;
|
||||
margin-top: -9px;
|
||||
|
||||
cursor: pointer;
|
||||
outline: medium none;
|
||||
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
* html .ui-tooltip-titlebar .ui-state-default{ top: 16px; } /* IE fix */
|
||||
|
||||
.ui-tooltip-titlebar .ui-icon,
|
||||
.ui-tooltip-icon .ui-icon{
|
||||
display: block;
|
||||
text-indent: -1000em;
|
||||
}
|
||||
|
||||
.ui-tooltip-icon, .ui-tooltip-icon .ui-icon{
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.ui-tooltip-icon .ui-icon{
|
||||
width: 18px;
|
||||
height: 14px;
|
||||
|
||||
text-align: center;
|
||||
text-indent: 0;
|
||||
font: normal bold 10px/13px Tahoma,sans-serif;
|
||||
|
||||
color: inherit;
|
||||
background: transparent none no-repeat -100em -100em;
|
||||
}
|
||||
|
||||
|
||||
/* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */
|
||||
.ui-tooltip-focus{
|
||||
|
||||
}
|
||||
|
||||
/* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */
|
||||
.ui-tooltip-hover{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*! Default tooltip style */
|
||||
.ui-tooltip-default .ui-tooltip-titlebar,
|
||||
.ui-tooltip-default .ui-tooltip-content{
|
||||
border-color: #F1D031;
|
||||
background-color: #FFFFA3;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.ui-tooltip-default .ui-tooltip-titlebar{
|
||||
background-color: #FFEF93;
|
||||
}
|
||||
|
||||
.ui-tooltip-default .ui-tooltip-icon{
|
||||
border-color: #CCC;
|
||||
background: #F1F1F1;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.ui-tooltip-default .ui-tooltip-titlebar .ui-state-hover{
|
||||
border-color: #AAA;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
/* Modal plugin */
|
||||
#qtip-overlay{
|
||||
position: fixed;
|
||||
left: -10000em;
|
||||
top: -10000em;
|
||||
}
|
||||
|
||||
/* Applied to modals with show.modal.blur set to true */
|
||||
#qtip-overlay.blurs{ cursor: pointer; }
|
||||
|
||||
/* Change opacity of overlay here */
|
||||
#qtip-overlay div{
|
||||
position: absolute;
|
||||
left: 0; top: 0;
|
||||
width: 100%; height: 100%;
|
||||
|
||||
background-color: black;
|
||||
|
||||
opacity: 0.7;
|
||||
filter:alpha(opacity=70);
|
||||
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
||||
}
|
||||
|
||||
/* Tips plugin */
|
||||
.ui-tooltip .ui-tooltip-tip{
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.ui-tooltip .ui-tooltip-tip,
|
||||
.ui-tooltip .ui-tooltip-tip *{
|
||||
position: absolute;
|
||||
|
||||
line-height: 0.1px !important;
|
||||
font-size: 0.1px !important;
|
||||
color: #123456;
|
||||
|
||||
background: transparent;
|
||||
border: 0px dashed transparent;
|
||||
}
|
||||
|
||||
.ui-tooltip .ui-tooltip-tip canvas{ top: 0; left: 0; }
|
||||
|
||||
|
||||
/*! Light tooltip style */
|
||||
.ui-tooltip-light .ui-tooltip-titlebar,
|
||||
.ui-tooltip-light .ui-tooltip-content{
|
||||
border-color: #E2E2E2;
|
||||
color: #454545;
|
||||
}
|
||||
|
||||
.ui-tooltip-light .ui-tooltip-content{
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.ui-tooltip-light .ui-tooltip-titlebar{
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
|
||||
/*! Dark tooltip style */
|
||||
.ui-tooltip-dark .ui-tooltip-titlebar,
|
||||
.ui-tooltip-dark .ui-tooltip-content{
|
||||
border-color: #303030;
|
||||
color: #f3f3f3;
|
||||
}
|
||||
|
||||
.ui-tooltip-dark .ui-tooltip-content{
|
||||
background-color: #505050;
|
||||
}
|
||||
|
||||
.ui-tooltip-dark .ui-tooltip-titlebar{
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
.ui-tooltip-dark .ui-tooltip-icon{
|
||||
border-color: #444;
|
||||
}
|
||||
|
||||
.ui-tooltip-dark .ui-tooltip-titlebar .ui-state-hover{
|
||||
border-color: #303030;
|
||||
}
|
||||
|
||||
|
||||
/*! Cream tooltip style */
|
||||
.ui-tooltip-cream .ui-tooltip-titlebar,
|
||||
.ui-tooltip-cream .ui-tooltip-content{
|
||||
border-color: #F9E98E;
|
||||
color: #A27D35;
|
||||
}
|
||||
|
||||
.ui-tooltip-cream .ui-tooltip-content{
|
||||
background-color: #FBF7AA;
|
||||
}
|
||||
|
||||
.ui-tooltip-cream .ui-tooltip-titlebar{
|
||||
background-color: #F0DE7D;
|
||||
}
|
||||
|
||||
.ui-tooltip-cream .ui-state-default .ui-tooltip-icon{
|
||||
background-position: -82px 0;
|
||||
}
|
||||
|
||||
|
||||
/*! Red tooltip style */
|
||||
.ui-tooltip-red .ui-tooltip-titlebar,
|
||||
.ui-tooltip-red .ui-tooltip-content{
|
||||
border-color: #D95252;
|
||||
color: #912323;
|
||||
}
|
||||
|
||||
.ui-tooltip-red .ui-tooltip-content{
|
||||
background-color: #F78B83;
|
||||
}
|
||||
|
||||
.ui-tooltip-red .ui-tooltip-titlebar{
|
||||
background-color: #F06D65;
|
||||
}
|
||||
|
||||
.ui-tooltip-red .ui-state-default .ui-tooltip-icon{
|
||||
background-position: -102px 0;
|
||||
}
|
||||
|
||||
.ui-tooltip-red .ui-tooltip-icon{
|
||||
border-color: #D95252;
|
||||
}
|
||||
|
||||
.ui-tooltip-red .ui-tooltip-titlebar .ui-state-hover{
|
||||
border-color: #D95252;
|
||||
}
|
||||
|
||||
|
||||
/*! Green tooltip style */
|
||||
.ui-tooltip-green .ui-tooltip-titlebar,
|
||||
.ui-tooltip-green .ui-tooltip-content{
|
||||
border-color: #90D93F;
|
||||
color: #3F6219;
|
||||
}
|
||||
|
||||
.ui-tooltip-green .ui-tooltip-content{
|
||||
background-color: #CAED9E;
|
||||
}
|
||||
|
||||
.ui-tooltip-green .ui-tooltip-titlebar{
|
||||
background-color: #B0DE78;
|
||||
}
|
||||
|
||||
.ui-tooltip-green .ui-state-default .ui-tooltip-icon{
|
||||
background-position: -42px 0;
|
||||
}
|
||||
|
||||
|
||||
/*! Blue tooltip style */
|
||||
.ui-tooltip-blue .ui-tooltip-titlebar,
|
||||
.ui-tooltip-blue .ui-tooltip-content{
|
||||
border-color: #ADD9ED;
|
||||
color: #5E99BD;
|
||||
}
|
||||
|
||||
.ui-tooltip-blue .ui-tooltip-content{
|
||||
background-color: #E5F6FE;
|
||||
}
|
||||
|
||||
.ui-tooltip-blue .ui-tooltip-titlebar{
|
||||
background-color: #D0E9F5;
|
||||
}
|
||||
|
||||
.ui-tooltip-blue .ui-state-default .ui-tooltip-icon{
|
||||
background-position: -2px 0;
|
||||
}
|
||||
|
||||
/*! Blue tooltip style */
|
||||
.ui-tooltip-bluesd .ui-tooltip-titlebar,
|
||||
.ui-tooltip-bluesd .ui-tooltip-content{
|
||||
border-color: #00008C;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.ui-tooltip-bluesd .ui-tooltip-content{
|
||||
background-color: #000CFF;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.ui-tooltip-bluesd .ui-tooltip-titlebar{
|
||||
background-color: #00008C;
|
||||
}
|
||||
|
||||
.ui-tooltip-bluesd .ui-state-default .ui-tooltip-icon{
|
||||
background-position: -2px 0;
|
||||
}
|
||||
|
||||
/*! Add shadows to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE6+, Safari 2+ */
|
||||
.ui-tooltip-shadow{
|
||||
-webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
||||
-moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.ui-tooltip-shadow .ui-tooltip-titlebar,
|
||||
.ui-tooltip-shadow .ui-tooltip-content{
|
||||
filter: progid:DXImageTransform.Microsoft.Shadow(Color='gray', Direction=135, Strength=3);
|
||||
-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Color='gray', Direction=135, Strength=3)";
|
||||
|
||||
_margin-bottom: -3px; /* IE6 */
|
||||
.margin-bottom: -3px; /* IE7 */
|
||||
}
|
||||
|
||||
|
||||
/*! Add rounded corners to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */
|
||||
.ui-tooltip-rounded,
|
||||
.ui-tooltip-rounded .ui-tooltip-content,
|
||||
.ui-tooltip-tipsy,
|
||||
.ui-tooltip-tipsy .ui-tooltip-content,
|
||||
.ui-tooltip-youtube,
|
||||
.ui-tooltip-youtube .ui-tooltip-content{
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.ui-tooltip-rounded .ui-tooltip-titlebar,
|
||||
.ui-tooltip-tipsy .ui-tooltip-titlebar,
|
||||
.ui-tooltip-youtube .ui-tooltip-titlebar{
|
||||
-moz-border-radius: 5px 5px 0 0;
|
||||
-webkit-border-radius: 5px 5px 0 0;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.ui-tooltip-rounded .ui-tooltip-titlebar + .ui-tooltip-content,
|
||||
.ui-tooltip-tipsy .ui-tooltip-titlebar + .ui-tooltip-content,
|
||||
.ui-tooltip-youtube .ui-tooltip-titlebar + .ui-tooltip-content{
|
||||
-moz-border-radius: 0 0 5px 5px;
|
||||
-webkit-border-radius: 0 0 5px 5px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
|
||||
|
||||
/*! Youtube tooltip style */
|
||||
.ui-tooltip-youtube{
|
||||
-webkit-box-shadow: 0 0 3px #333;
|
||||
-moz-box-shadow: 0 0 3px #333;
|
||||
box-shadow: 0 0 3px #333;
|
||||
}
|
||||
|
||||
.ui-tooltip-youtube .ui-tooltip-titlebar,
|
||||
.ui-tooltip-youtube .ui-tooltip-content{
|
||||
_margin-bottom: 0; /* IE6 */
|
||||
.margin-bottom: 0; /* IE7 */
|
||||
|
||||
background: transparent;
|
||||
background: rgba(0, 0, 0, 0.85);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)";
|
||||
|
||||
color: white;
|
||||
border-color: #CCCCCC;
|
||||
}
|
||||
|
||||
.ui-tooltip-youtube .ui-tooltip-icon{
|
||||
border-color: #222;
|
||||
}
|
||||
|
||||
.ui-tooltip-youtube .ui-tooltip-titlebar .ui-state-hover{
|
||||
border-color: #303030;
|
||||
}
|
||||
|
||||
|
||||
/* jQuery TOOLS Tooltip style */
|
||||
.ui-tooltip-jtools{
|
||||
background: #232323;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
background-image: -moz-linear-gradient(top, #717171, #232323);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#717171), to(#232323));
|
||||
|
||||
border: 2px solid #ddd;
|
||||
border: 2px solid rgba(241,241,241,1);
|
||||
|
||||
-moz-border-radius: 2px;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
|
||||
-webkit-box-shadow: 0 0 12px #333;
|
||||
-moz-box-shadow: 0 0 12px #333;
|
||||
box-shadow: 0 0 12px #333;
|
||||
}
|
||||
|
||||
/* IE Specific */
|
||||
.ui-tooltip-jtools .ui-tooltip-titlebar{
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)";
|
||||
}
|
||||
.ui-tooltip-jtools .ui-tooltip-content{
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)";
|
||||
}
|
||||
|
||||
.ui-tooltip-jtools .ui-tooltip-titlebar,
|
||||
.ui-tooltip-jtools .ui-tooltip-content{
|
||||
background: transparent;
|
||||
color: white;
|
||||
border: 0 dashed transparent;
|
||||
}
|
||||
|
||||
.ui-tooltip-jtools .ui-tooltip-icon{
|
||||
border-color: #555;
|
||||
}
|
||||
|
||||
.ui-tooltip-jtools .ui-tooltip-titlebar .ui-state-hover{
|
||||
border-color: #333;
|
||||
}
|
||||
|
||||
|
||||
/* Cluetip style */
|
||||
.ui-tooltip-cluetip{
|
||||
-webkit-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
|
||||
-moz-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.ui-tooltip-cluetip .ui-tooltip-titlebar{
|
||||
background-color: #87876A;
|
||||
color: white;
|
||||
border: 0 dashed transparent;
|
||||
}
|
||||
|
||||
.ui-tooltip-cluetip .ui-tooltip-content{
|
||||
background-color: #D9D9C2;
|
||||
color: #111;
|
||||
border: 0 dashed transparent;
|
||||
}
|
||||
|
||||
.ui-tooltip-cluetip .ui-tooltip-icon{
|
||||
border-color: #808064;
|
||||
}
|
||||
|
||||
.ui-tooltip-cluetip .ui-tooltip-titlebar .ui-state-hover{
|
||||
border-color: #696952;
|
||||
color: #696952;
|
||||
}
|
||||
|
||||
|
||||
/* Tipsy style */
|
||||
.ui-tooltip-tipsy{
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipsy .ui-tooltip-titlebar,
|
||||
.ui-tooltip-tipsy .ui-tooltip-content{
|
||||
_margin-bottom: 0; /* IE6 */
|
||||
.margin-bottom: 0; /* IE7 */
|
||||
|
||||
background: transparent;
|
||||
background: rgba(0, 0, 0, .87);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)";
|
||||
|
||||
color: white;
|
||||
border: 0px transparent;
|
||||
|
||||
font-size: 11px;
|
||||
font-family: 'Lucida Grande', sans-serif;
|
||||
font-weight: bold;
|
||||
line-height: 16px;
|
||||
text-shadow: 0 1px black;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipsy .ui-tooltip-titlebar{
|
||||
padding: 6px 35px 0 10;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipsy .ui-tooltip-content{
|
||||
padding: 6px 10;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipsy .ui-tooltip-icon{
|
||||
border-color: #222;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipsy .ui-tooltip-titlebar .ui-state-hover{
|
||||
border-color: #303030;
|
||||
}
|
||||
|
||||
|
||||
/* Tipped style */
|
||||
.ui-tooltip-tipped{
|
||||
|
||||
}
|
||||
|
||||
.ui-tooltip-tipped .ui-tooltip-titlebar,
|
||||
.ui-tooltip-tipped .ui-tooltip-content{
|
||||
border: 3px solid #959FA9;
|
||||
|
||||
filter: none; -ms-filter: none;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipped .ui-tooltip-titlebar{
|
||||
background: #3A79B8;
|
||||
background-image: -moz-linear-gradient(top, #3A79B8, #2E629D);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3A79B8), to(#2E629D));
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)";
|
||||
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
font-family: serif;
|
||||
|
||||
border-bottom-width: 0;
|
||||
-moz-border-radius: 3px 3px 0 0;
|
||||
-webkit-border-radius: 3px 3px 0 0;
|
||||
border-radius: 3px 3px 0 0;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipped .ui-tooltip-content{
|
||||
background-color: #F9F9F9;
|
||||
color: #454545;
|
||||
|
||||
-moz-border-radius: 0 0 3px 3px;
|
||||
-webkit-border-radius: 0 0 3px 3px;
|
||||
border-radius: 0 0 3px 3px;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipped .ui-tooltip-icon{
|
||||
border: 2px solid #285589;
|
||||
background: #285589;
|
||||
}
|
||||
|
||||
.ui-tooltip-tipped .ui-tooltip-icon .ui-icon{
|
||||
background-color: #FBFBFB;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* IE9 fix - removes all filters */
|
||||
.ui-tooltip:not(.ie9haxors) div.ui-tooltip-content,
|
||||
.ui-tooltip:not(.ie9haxors) div.ui-tooltip-titlebar{
|
||||
filter: none;
|
||||
-ms-filter: none;
|
||||
}
|
||||
|
12
data/pages/themes/default/styles/juridique.css
Normal file
12
data/pages/themes/default/styles/juridique.css
Normal file
@ -0,0 +1,12 @@
|
||||
#annoncesDate {float:left;}
|
||||
#annoncesDate p {margin:0; line-height:16px; vertical-align:middle;}
|
||||
#annoncesImg { float:right; border:0; margin:0 20px 0 0;}
|
||||
#annoncesImg img {margin:0; border:0;}
|
||||
|
||||
.listeCompetences {
|
||||
margin:5px 5px 5px 50px;
|
||||
}
|
||||
|
||||
.listeCompetences li {
|
||||
margin:10px 5px 20px 5px;
|
||||
}
|
29
data/pages/themes/default/styles/kbis.css
Normal file
29
data/pages/themes/default/styles/kbis.css
Normal file
@ -0,0 +1,29 @@
|
||||
/* progress bar container */
|
||||
#progressbar {
|
||||
border:1px solid black;
|
||||
width:200px;
|
||||
height:20px;
|
||||
position:relative;
|
||||
color:black;
|
||||
}
|
||||
/* color bar */
|
||||
#progressbar div.progress {
|
||||
position:absolute;
|
||||
width:0;
|
||||
height:100%;
|
||||
overflow:hidden;
|
||||
background-color:#369;
|
||||
}
|
||||
/* text on bar */
|
||||
#progressbar div.progress .text {
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
color:white;
|
||||
}
|
||||
/* text off bar */
|
||||
#progressbar div.text {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
text-align:center;
|
||||
}
|
250
data/pages/themes/default/styles/main.css
Normal file
250
data/pages/themes/default/styles/main.css
Normal file
@ -0,0 +1,250 @@
|
||||
/* Reset
|
||||
----------------------------------*/
|
||||
*, html, body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0 }
|
||||
table { border-collapse:collapse; border-spacing:0 }
|
||||
fieldset, img { border:0 }
|
||||
address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
|
||||
caption, th { text-align:left }
|
||||
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal }
|
||||
q:before, q:after { content:''}
|
||||
|
||||
/* Global reset-RESET */
|
||||
/* The below restores some sensible defaults */
|
||||
strong { font-weight: bold }
|
||||
em { font-style: italic }
|
||||
a img { border:none } /* Gets rid of IE's blue borders */
|
||||
|
||||
/* Main
|
||||
----------------------------------*/
|
||||
body {
|
||||
background-color: #bebebe;
|
||||
font-family: Verdana, Arial, sans-serif;
|
||||
font-size: 11px;
|
||||
text-align: center; /* pour corriger le bug de centrage IE */
|
||||
}
|
||||
|
||||
#global {
|
||||
width:900px;
|
||||
margin:0 auto;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
#header {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
#center {
|
||||
background-color:#fff;
|
||||
padding:5px 0;
|
||||
}
|
||||
|
||||
.paragraph {
|
||||
margin:5px;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
#footer {
|
||||
clear:both;
|
||||
text-align:center;
|
||||
margin-top:15px;
|
||||
}
|
||||
|
||||
#footer p {
|
||||
font:0.9em Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
a:link {color: #9c093a; text-decoration:none;}
|
||||
a:visited {color: #0000CC; text-decoration:none;}
|
||||
a:hover {color: #000066; text-decoration:none;}
|
||||
|
||||
#center h1 {
|
||||
clear:both;
|
||||
margin:5px;
|
||||
padding:5px;
|
||||
background:#606060;
|
||||
color:#ffffff;
|
||||
font:600 1.4em Arial, Verdana, Sans-serif;
|
||||
letter-spacing:1px;
|
||||
line-height:1.2em;
|
||||
border:1px solid;
|
||||
}
|
||||
|
||||
#center h2 {
|
||||
clear:both;
|
||||
margin:5px;
|
||||
padding:5px;
|
||||
background:#00008c;
|
||||
color:#ffffff;
|
||||
font:bold 1.2em Arial, Verdana, Sans-serif;
|
||||
}
|
||||
|
||||
.StyleInfoLib {
|
||||
align: left;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color:#535353;
|
||||
}
|
||||
|
||||
.StyleInfoData {
|
||||
align: left;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 11px;
|
||||
color:#535353;
|
||||
}
|
||||
|
||||
table.identite {
|
||||
border-collapse:separate;
|
||||
border-spacing:4px;
|
||||
}
|
||||
|
||||
.confidentiel {
|
||||
border-top:1px solid;
|
||||
padding-top:5px;
|
||||
font-style:italic;
|
||||
font-size:9px;
|
||||
}
|
||||
|
||||
.ui-dialog {
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
input, select {
|
||||
border: 1px solid #999999;
|
||||
vertical-align: middle;
|
||||
font: 11px Arial,Helvetica,sans-serif;
|
||||
}
|
||||
|
||||
.ui-autocomplete-loading { background: white url('/themes/default/images/ui-anim_basic_16x16.gif') right center no-repeat; }
|
||||
|
||||
div.ui-state-highlight p {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
div.ui-state-highlight a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.noborder {
|
||||
border:0;
|
||||
}
|
||||
|
||||
/* Menu
|
||||
----------------------------------*/
|
||||
|
||||
div#menu {
|
||||
width:200px;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
div#menu .ui-widget {
|
||||
font-family:Arial, Sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
div#menu ul.navigation {
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li {
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li a {
|
||||
display:block;
|
||||
padding:0 20px;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
color:#fff;
|
||||
height:25px;
|
||||
line-height:25px;
|
||||
background:#808080 url(/themes/default/images/menu/title.gif);
|
||||
}
|
||||
|
||||
div#menu ul.navigation li ul {
|
||||
padding:0;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li {
|
||||
display:block;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li ul li a {
|
||||
display:block;
|
||||
padding:0 5px;
|
||||
margin:0;
|
||||
background:#eee;
|
||||
border-bottom:1px solid #ddd;
|
||||
text-decoration:none;
|
||||
color:#066;
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li ul li a:hover {
|
||||
background:#066 url(/themes/default/images/menu/linkarrow.gif) no-repeat right center;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li ul li a.inactif {
|
||||
color:gray;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li a .ui-icon-triangle-1-e {
|
||||
background:url(/themes/default/images/menu/collapsed.gif) no-repeat left center;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li a .ui-icon-triangle-1-s {
|
||||
background:url(/themes/default/images/menu/expanded.gif) no-repeat left center;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li ul li a .ui-icon {
|
||||
margin:0;
|
||||
padding:0;
|
||||
background:none;
|
||||
}
|
||||
|
||||
.ui-accordion-content {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li a.ui-corner-all {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li a.ui-corner-top {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li a.ui-accordion-header {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
div#menu ul.navigation li a.ui-state-default,
|
||||
div#menu ul.navigation li a.ui-state-hover,
|
||||
div#menu ul.navigation li a.ui-state-active {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div#menu div.icones {
|
||||
text-align:center;
|
||||
margin-top:5px;
|
||||
}
|
||||
|
||||
|
56
data/pages/themes/default/styles/pieces.css
Normal file
56
data/pages/themes/default/styles/pieces.css
Normal file
@ -0,0 +1,56 @@
|
||||
.marge {margin-left:30px;}
|
||||
#identite { margin-left:30px; }
|
||||
form { }
|
||||
form em { color:#FF0000;}
|
||||
fieldset {border:0; margin:0; padding:0;}
|
||||
fieldset legend{ padding:0 0 0 10px;}
|
||||
.fieldgrp{clear:both; margin:0 0 .5em 30px; overflow:hidden;}
|
||||
.fieldgrp:after{content:"."; display:block; clear:both; visibility:hidden; line-height:0; height:0; }
|
||||
.fieldgrp label{font-weight:bold; margin-left:30px; width:100px; clear:both; padding:0 10px 0 0; line-height:22px;_padding-top:3px; float:left; display:block; font-size:108%;}
|
||||
.fieldgrp label span{font-weight:normal;}
|
||||
.fieldgrp label abbr{color:#4B911C; font-size:120%; vertical-align:middle;}
|
||||
.field { float:left; padding:0 10px 0 0; line-height:22px; _padding-top:3px;}
|
||||
.field .longfield{width:215px;}
|
||||
.field .longfield-select{width:220px;}
|
||||
.field .smallfield{width:95px;}
|
||||
.field .medfield{width:110px;}
|
||||
.field span { display:block; }
|
||||
.field input, .field select{ font-size:110%; margin:2px 0; }
|
||||
.field input[type="radio"] { margin:0 5px 0 5px; border:0; }
|
||||
input[type="checkbox"] { margin:0 5px 0 5px; border:0; }
|
||||
.submit {text-align:center;}
|
||||
.noborder {border:none;}
|
||||
#message {margin:10px 0 10px 30px;}
|
||||
|
||||
|
||||
table.greffe {
|
||||
width:95%;
|
||||
margin:5px 10px;
|
||||
border-collapse:collapse;
|
||||
}
|
||||
|
||||
table.greffe th {
|
||||
border:1px solid #000000;
|
||||
padding:8px 4px 8px 4px;
|
||||
background-color:#eeeeee;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.greffe .date { text-align: center; }
|
||||
|
||||
table.greffe td.date {
|
||||
background-color:#2b2b8b;
|
||||
color:white;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
table.greffe td {
|
||||
border:1px solid #000000;
|
||||
padding:8px 4px 8px 4px;
|
||||
}
|
||||
|
||||
table.greffe td.decision { width:50%; }
|
||||
|
||||
table.greffe td.type {
|
||||
text-align:center;
|
||||
}
|
113
data/pages/themes/default/styles/recherche.css
Normal file
113
data/pages/themes/default/styles/recherche.css
Normal file
@ -0,0 +1,113 @@
|
||||
#center {
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
#center-recherche {
|
||||
text-align:center;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
#recherche {
|
||||
margin:78px auto 20px auto;
|
||||
}
|
||||
|
||||
#recherche h3 {
|
||||
color:#ffffff;
|
||||
font-size:medium;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
#recherche-info {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#recherche-page {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#recherche-page img {
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
|
||||
form.recherche {
|
||||
padding:20px 0;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
form.recherche label {
|
||||
clear:both;
|
||||
float:left;
|
||||
width:250px;
|
||||
line-height:20px;
|
||||
font-weight:bold;
|
||||
text-align:right;
|
||||
padding-right:5px;
|
||||
}
|
||||
|
||||
form.recherche div.field {
|
||||
float:left;
|
||||
}
|
||||
|
||||
form.recherche div.row {
|
||||
clear:both;
|
||||
padding:5px 0;
|
||||
}
|
||||
|
||||
form.recherche div.submit {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
form.recherche div.field input, form.recherche div.field select {
|
||||
margin:0 2px;
|
||||
}
|
||||
|
||||
form.recherche input {
|
||||
font-family: arial, sans-serif;
|
||||
border:1px solid #999999;
|
||||
}
|
||||
|
||||
form.recherche input#voie {
|
||||
margin-left:11px;
|
||||
}
|
||||
|
||||
form.recherche select {
|
||||
font-family: arial, sans-serif;
|
||||
border:1px solid #999999;
|
||||
}
|
||||
|
||||
ul.derniereRecherche {
|
||||
margin:5px;
|
||||
}
|
||||
|
||||
ul.derniereRecherche li {
|
||||
margin:5px;
|
||||
}
|
||||
|
||||
ul.derniereRecherche p {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
ol {
|
||||
text-align:left;
|
||||
margin:10px;
|
||||
padding:0 20px;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin:5px;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
.StyleInfoLib {
|
||||
align: left;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
color:#535353;
|
||||
}
|
||||
|
||||
.ui-autocomplete {
|
||||
text-align:left;
|
||||
}
|
||||
|
53
data/pages/themes/default/styles/saisie.css
Normal file
53
data/pages/themes/default/styles/saisie.css
Normal file
@ -0,0 +1,53 @@
|
||||
fieldset { clear:both; width:90%; margin:1.5em 1em 1em 1em; padding:0;}
|
||||
fieldset select { width:250px; }
|
||||
fieldset label {width:15em;}
|
||||
legend { margin-left:1em; color:#000000; font-weight:bold;}
|
||||
|
||||
label { clear:both; float:left; width:18em; margin-right:1em; text-align:right; font-weight:bold;}
|
||||
input, select, textarea { font:11px Arial,Helvetica,sans-serif; width:350px; float:left; margin-bottom:5px; }
|
||||
|
||||
input.widthauto {width:auto; }
|
||||
input.date {width:auto;}
|
||||
input.percent {width:auto;}
|
||||
|
||||
div.submit { clear:both; margin:10px 0; width:100%; text-align:center; }
|
||||
input[type="submit"] { float:none; width:auto; margin:0 auto;}
|
||||
|
||||
span.left { float:left; margin-left:0.5em; }
|
||||
span.right { float:right; }
|
||||
form p { clear:both; margin-left:18em; }
|
||||
form em {color:#FF0000;}
|
||||
|
||||
#subFormSaisie { clear:both; }
|
||||
#subFormSaisie p { clear:both; margin-bottom:5px; margin-left:19em; }
|
||||
#subFormSaisie select { width:350px; }
|
||||
|
||||
#NouveauDirigeant2 {display:none}
|
||||
#NouveauDirigeant3 {display:none}
|
||||
#formActionnaire {display:none}
|
||||
#formParticipation {display:none}
|
||||
|
||||
#frmCreateMandataires { font-size:0.8em; }
|
||||
#frmCreateMandataires label { font-size:1em; }
|
||||
#frmCreateMandataires select { width:200px; }
|
||||
|
||||
div.info {clear:both; margin-left:19em; margin-bottom:5px;}
|
||||
|
||||
.ui-widget .ui-widget { font-size:0.8em; }
|
||||
|
||||
.clearfix:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.lienMandataire {
|
||||
float:left;
|
||||
}
|
||||
|
||||
.ui-autocomplete {
|
||||
text-align:left;
|
||||
}
|
100
data/pages/themes/default/styles/surveillance.css
Normal file
100
data/pages/themes/default/styles/surveillance.css
Normal file
@ -0,0 +1,100 @@
|
||||
#surveillance {
|
||||
width:100%;
|
||||
border-collapse:collapse;
|
||||
border:1px solid;
|
||||
font:normal 11px Arial, Verdana, Sans-serif;
|
||||
letter-spacing:1px;
|
||||
line-height: 1em;
|
||||
}
|
||||
#surveillance tr {
|
||||
border:1px solid;
|
||||
}
|
||||
#surveillance th {
|
||||
border:1px solid;
|
||||
padding:5px;
|
||||
font-weight:bold;
|
||||
}
|
||||
#surveillance td {
|
||||
border:1px solid;
|
||||
text-align:center;
|
||||
padding:2px;
|
||||
}
|
||||
#surveillance .aleft {
|
||||
text-align:left;
|
||||
}
|
||||
#surveillance .action {
|
||||
clear:both;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
#surveillance td p {
|
||||
line-height:16px;
|
||||
}
|
||||
|
||||
#surveillance .action p {
|
||||
display:inline-block;
|
||||
float:left;
|
||||
line-height:16px;
|
||||
margin:0;
|
||||
font-size:11px;
|
||||
}
|
||||
#surveillance .action a {
|
||||
display:inline-block;
|
||||
float:right;
|
||||
}
|
||||
|
||||
#surveillance .action img {
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
#surveillance #type {
|
||||
width:120px;
|
||||
}
|
||||
|
||||
#tri li {
|
||||
list-style-type:none;
|
||||
margin-left:10px;
|
||||
display:inline;
|
||||
font-size:11px;
|
||||
}
|
||||
.options {
|
||||
margin-left:10px;
|
||||
margin-top:5px;
|
||||
font-size:11px;
|
||||
}
|
||||
|
||||
#telechargementjsMsg {
|
||||
margin-left:10px;
|
||||
margin-top:5px;
|
||||
}
|
||||
.valign img, .valign span {
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
}
|
||||
#surveillance td.encours {
|
||||
text-align:right;
|
||||
}
|
||||
#surveillance th.score {
|
||||
width:60px;
|
||||
}
|
||||
#surveillance td a.editencours {
|
||||
display:none;
|
||||
}
|
||||
|
||||
#recherche input.search {
|
||||
border:1px solid;
|
||||
padding:3px 5px;
|
||||
width:200px;
|
||||
}
|
||||
|
||||
#recherche input.search:focus {
|
||||
border:1px solid #4D90FE;
|
||||
}
|
||||
|
||||
#recherche input.submit {
|
||||
font-weight:bold;
|
||||
padding:2px 5px;
|
||||
background-color:#4D90FE;
|
||||
border:1px solid #3079ED;
|
||||
color:#ffffff;
|
||||
}
|
4
data/pages/themes/default/styles/user.css
Normal file
4
data/pages/themes/default/styles/user.css
Normal file
@ -0,0 +1,4 @@
|
||||
#dialog { display:none; }
|
||||
#utilisateur { width:100%; border-collapse:collapse; margin:0;}
|
||||
#utilisateur tr.titre td { background-color: #D9EEF1; font-weight:bold; }
|
||||
#utilisateur tr.border td { border:1px dashed #939393; padding:5px; margin:0;}
|
46
docs/INSTALL
Normal file
46
docs/INSTALL
Normal file
@ -0,0 +1,46 @@
|
||||
INSTALLATION
|
||||
============
|
||||
|
||||
|
||||
Apache configuration
|
||||
====================
|
||||
|
||||
|
||||
|
||||
PHP Configuration
|
||||
=================
|
||||
|
||||
File upload
|
||||
-----------
|
||||
post_max_size = 50M
|
||||
file_uploads = On
|
||||
upload_max_filesize = 40M
|
||||
max_file_uploads = 10
|
||||
|
||||
Session
|
||||
-------
|
||||
On sharing plateform, theses parameters must be specified to the best value for all web application
|
||||
|
||||
session.gc_maxlifetime = 86400
|
||||
session.cookie_lifetime = 86400
|
||||
|
||||
Application must override the session.save_path to define it's own path.
|
||||
|
||||
|
||||
WKHTMLTOPDF
|
||||
-----------
|
||||
|
||||
Configure your environment
|
||||
==========================
|
||||
|
||||
Temporary storage
|
||||
-----------------
|
||||
|
||||
|
||||
|
||||
Static storage
|
||||
--------------
|
||||
|
||||
|
||||
|
||||
|
18
docs/README
18
docs/README
@ -1,3 +1,21 @@
|
||||
SYSTEM REQUIREMENTS
|
||||
===================
|
||||
|
||||
- Apache 2.2
|
||||
- PHP 5.2.x
|
||||
- APC
|
||||
- Chartdir library
|
||||
|
||||
|
||||
|
||||
INSTALLATION
|
||||
============
|
||||
|
||||
See INSTALL
|
||||
|
||||
|
||||
|
||||
|
||||
Configuration local
|
||||
===================
|
||||
Voir Configuration vhost
|
||||
|
@ -4,7 +4,7 @@ class Application_Controller_Plugin_Pdf extends Zend_Controller_Plugin_Abstract
|
||||
public function dispatchLoopShutdown()
|
||||
{
|
||||
$layout = Zend_Layout::getMVCInstance();
|
||||
if ($layout->isEnabled()) {
|
||||
if ($layout->isEnabled()) {
|
||||
$controller = $this->_request->getControllerName();
|
||||
$action = $this->_request->getActionName();
|
||||
|
||||
@ -15,7 +15,9 @@ class Application_Controller_Plugin_Pdf extends Zend_Controller_Plugin_Abstract
|
||||
$filename = $page->filename('pdf', $this->_request->getParams());
|
||||
$content = preg_replace('@<link href="/@si','<link href="./',$layout);
|
||||
$content = preg_replace('@src="/@si','src="./',$content);
|
||||
file_put_contents(APPLICATION_PATH.'/../cache/pages/'.$filename.'.html', $content);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages;
|
||||
file_put_contents($c->profil->path->pages.'/'.$filename.'.html', $content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,8 @@ Class FinanceLib
|
||||
|
||||
public function __construct($siret, $idSC) {
|
||||
$this->dateFunction = new WDate();
|
||||
$this->graphique = new Graphique(APPLICATION_PATH . '/../cache/pages/imgcache/');
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->graphique = new Graphique($c->profil->path->pages . '/imgcache/');
|
||||
$this->siret = $siret;
|
||||
$this->idSC = $idSC;
|
||||
}
|
||||
@ -95,7 +96,7 @@ Class FinanceLib
|
||||
}
|
||||
}
|
||||
foreach ($bilan as $id => $val)
|
||||
ksort($bilan[$id]['item']);
|
||||
ksort($bilan[$id]['item']);
|
||||
return ($bilan);
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,8 @@ class LiasseXLS
|
||||
*/
|
||||
public function __construct($modele = '', $mode = 'Excel5')
|
||||
{
|
||||
$this->path = APPLICATION_PATH . '/../cache/liasse/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = $c->profil->path->files . '/';
|
||||
if (!is_dir($this->path)){
|
||||
mkdir($this->path);
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ require_once 'Vendors/ChartDirector/phpchartdir.php';
|
||||
require_once 'Vendors/ChartDirector/FinanceChart.php';
|
||||
|
||||
Class RatiosGraph
|
||||
{
|
||||
{
|
||||
private $siret;
|
||||
private $SCid;
|
||||
private $graphique;
|
||||
@ -13,7 +13,8 @@ Class RatiosGraph
|
||||
{
|
||||
$this->siret = $siret;
|
||||
$this->SCid = $SCid;
|
||||
$this->imageCachePath = APPLICATION_PATH . '/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->imageCachePath = $c->profil->path->pages . '/imgcache/';
|
||||
$this->graphique = new Graphique($this->imageCachePath);
|
||||
}
|
||||
|
||||
@ -253,10 +254,10 @@ Class RatiosGraph
|
||||
break;
|
||||
foreach($element->liste->item as $item) {
|
||||
if ($item->id == $id) {
|
||||
$dataX[$element->annee] = self::setUnite($item->val, $unite);$i++; } } } }
|
||||
$dataX[$element->annee] = self::setUnite($item->val, $unite);$i++; } } } }
|
||||
if (is_array($labelX)) sort($labelX);
|
||||
ksort($dataX);
|
||||
$dataX = self::initTableau($dataX);
|
||||
$dataX = self::initTableau($dataX);
|
||||
return ($dataX);
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,8 @@ class RatiosGraph
|
||||
{
|
||||
require_once 'Vendors/ChartDirector/phpchartdir.php';
|
||||
require_once 'Scores/Cache.php';
|
||||
$this->path = APPLICATION_PATH . '/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = $c->profil->path->pages . '/imgcache/';
|
||||
$this->siret = $siret;
|
||||
$this->id = $id;
|
||||
}
|
||||
@ -351,7 +352,7 @@ class RatiosGraph
|
||||
|
||||
if( $cache->exist($this->path.$file) ){
|
||||
$return = $this->path.$file;
|
||||
} else {
|
||||
} else {
|
||||
if (count($data)<=1) {
|
||||
$return = 0;
|
||||
} else {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
class GenCourrier
|
||||
class GenCourrier
|
||||
{
|
||||
protected $format = 'odt';
|
||||
protected $path = '';
|
||||
@ -7,8 +7,9 @@ class GenCourrier
|
||||
|
||||
public function __construct($numCommande)
|
||||
{
|
||||
$config = new Zend_Config_Ini(APPLICATION_PATH.'/configs/configuration.ini', 'path');
|
||||
$this->path = realpath($config->data).'/courrier/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = realpath($c->profil->path->data).'/courrier/';
|
||||
|
||||
$this->info = new stdClass();
|
||||
$this->info->ref = $numCommande;
|
||||
}
|
||||
@ -18,7 +19,7 @@ class GenCourrier
|
||||
$typeCommande = substr($this->info->ref, 0, 1);
|
||||
$id = substr($this->info->ref, 1);
|
||||
if ($typeCommande == 'C') {
|
||||
$commande = new Application_Model_Commandes();
|
||||
$commande = new Application_Model_Commandes();
|
||||
$sql = $commande->select()
|
||||
->where('idCommande = ?', $id)
|
||||
->where('typeCommande = ?', 'C');
|
||||
@ -33,11 +34,11 @@ class GenCourrier
|
||||
} else if ($typeCommande == 'K') {
|
||||
$commande = new Application_Model_CommandesKbis();
|
||||
$sql = $commande->select()
|
||||
->where('id = ?', $id);
|
||||
->where('id = ?', $id);
|
||||
$result = $commande->fetchRow($sql);
|
||||
$typeDocument = 'kbis';
|
||||
}
|
||||
//Assignation des variables
|
||||
//Assignation des variables
|
||||
$this->info->siren = $result->siren;
|
||||
$this->info->typeDocument = $typeDocument;
|
||||
|
||||
@ -45,14 +46,14 @@ class GenCourrier
|
||||
|
||||
public function setInfosIdentite()
|
||||
{
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'Scores/WsScores.php';
|
||||
$ws = new WsScores();
|
||||
$reponse = $ws->getIdentite($this->info->siren, 0);
|
||||
$this->info->commune = $reponse->codeCommune;
|
||||
$this->info->dept = $reponse->Dept;
|
||||
$this->info->siret = $reponse->Siret;
|
||||
$this->info->numRC = $reponse->NumRC;
|
||||
//$info->siren = substr($siren, 0, 3).' '.substr($siren, 3, 3).' '.substr($siren, 6, 3);
|
||||
$this->info->numRC = $reponse->NumRC;
|
||||
//$info->siren = substr($siren, 0, 3).' '.substr($siren, 3, 3).' '.substr($siren, 6, 3);
|
||||
$this->info->nom = htmlspecialchars_decode($reponse->Nom, ENT_QUOTES);
|
||||
$this->info->adresse = htmlspecialchars_decode($reponse->Adresse, ENT_QUOTES).' ';
|
||||
if (empty($reponse->Adresse2) == false) {
|
||||
@ -66,7 +67,7 @@ class GenCourrier
|
||||
// Adresse du tribunal de commerce
|
||||
require_once 'Scores/WsScores.php';
|
||||
$ws = new WsScores();
|
||||
$reponse = $ws->getListeCompetences($this->info->siret, 'tri', $this->info->dept.$this->info->commune);
|
||||
$reponse = $ws->getListeCompetences($this->info->siret, 'tri', $this->info->dept.$this->info->commune);
|
||||
$tribunalLib = $reponse->result->item[0]->Nom;
|
||||
if (preg_match('/(A|B|C|D)/i', $this->info->numRC)) {
|
||||
$libTrib = ' RCS '.
|
||||
@ -76,7 +77,7 @@ class GenCourrier
|
||||
preg_replace('/(^TC |^TI |^TGIcc |^TMX )/i', '', $tribunalLib);
|
||||
}
|
||||
$this->info->tribunalCode = $reponse->result->item[0]->Code;
|
||||
$this->info->libTrib = $libTrib;
|
||||
$this->info->libTrib = $libTrib;
|
||||
$this->info->tribunal = $reponse->result->item[0];
|
||||
}
|
||||
|
||||
@ -86,7 +87,7 @@ class GenCourrier
|
||||
|
||||
$sql = $tarifs->select()->where('codeTribunal = ?', $this->info->tribunalCode)
|
||||
->where('type = ?', $this->info->typeDocument)
|
||||
->where('annee = ?', date('Y'));
|
||||
->where('annee = ?', date('Y'));
|
||||
$result = $tarifs->fetchAll($sql)->toArray();
|
||||
|
||||
if (count($result) == 0) {
|
||||
@ -138,7 +139,7 @@ class GenCourrier
|
||||
{
|
||||
// Societe
|
||||
$this->info->societe = $this->info->nom."\n".'( '.$this->info->siren.$this->info->libTrib.' )'."\n";
|
||||
$this->info->societe .= $this->normaliseVoie($this->info->adresse);
|
||||
$this->info->societe .= $this->normaliseVoie($this->info->adresse);
|
||||
}
|
||||
|
||||
protected function setMontant()
|
||||
@ -151,7 +152,7 @@ class GenCourrier
|
||||
} else {
|
||||
$this->info->montant = 'Ci-joint un chèque d\'un montant de '.$this->info->prix.
|
||||
' euros en règlement de cette commande.';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function computeOdt()
|
||||
@ -165,7 +166,7 @@ class GenCourrier
|
||||
|
||||
$this->setInfosCommande();
|
||||
$this->setInfosIdentite();
|
||||
$this->setInfosTribunal();
|
||||
$this->setInfosTribunal();
|
||||
$this->setTarifs();
|
||||
$this->setDestinataire();
|
||||
$this->setSujet();
|
||||
@ -193,7 +194,7 @@ class GenCourrier
|
||||
ini_set('zlib.output_compression','0');
|
||||
echo file_get_contents($this->path.$file);
|
||||
} else {
|
||||
echo 'Erreur Génération du fichier';
|
||||
echo 'Erreur Génération du fichier';
|
||||
}
|
||||
}
|
||||
|
||||
@ -312,5 +313,5 @@ class GenCourrier
|
||||
'QU ' => 'QUAI '
|
||||
);
|
||||
return strtr($txt, $replace_pairs);
|
||||
}
|
||||
}
|
||||
}
|
@ -14,7 +14,8 @@ Class GiantControllerLib
|
||||
|
||||
public function __construct($companyId)
|
||||
{
|
||||
$this->pathImg = APPLICATION_PATH.'/../cache/pages/imgcache/'.$companyId;
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathImg = $c->profil->path->pages.'/imgcache/'.$companyId;
|
||||
}
|
||||
|
||||
|
||||
|
@ -213,14 +213,11 @@ class Infogreffe
|
||||
}
|
||||
if (!is_dir($this->pathCacheXML)){
|
||||
mkdir($this->pathCacheXML);
|
||||
}
|
||||
if (Zend_Registry::isRegistered('configuration')) {
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
} else {
|
||||
$configuration = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini');
|
||||
}
|
||||
$this->pathData = realpath($configuration->path->data);
|
||||
require_once 'common/curl.php';
|
||||
}
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathData = realpath($c->profil->path->data);
|
||||
require_once 'common/curl.php';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@ WS_URI = "https://webservices.infogreffe.fr/"
|
||||
WS_USER = "85000109"
|
||||
WS_PASS = "166"
|
||||
FILETIME = 8
|
||||
PATH = APPLICATION_PATH "/../cache/infogreffe/"
|
||||
PATH = APPLICATION_PATH "/../data/infogreffe/"
|
||||
|
||||
[DEBUG]
|
||||
WS_URL = "https://wsrcte.extelia.fr/WSContextInfogreffe/INFOGREFFE"
|
||||
@ -12,4 +12,4 @@ WS_URI = "https://wsrcte.extelia.fr/"
|
||||
WS_USER = "85000109"
|
||||
WS_PASS = "160409"
|
||||
FILETIME = 8
|
||||
PATH = APPLICATION_PATH "/../cache/infogreffe/"
|
||||
PATH = APPLICATION_PATH "/../data/infogreffe/"
|
||||
|
@ -11,9 +11,9 @@ class AvisSituation
|
||||
public function __construct($siret)
|
||||
{
|
||||
require_once 'common/curl.php';
|
||||
$this->pathAvisPdf = APPLICATION_PATH.'/../cache/avis';
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$this->pathLog = realpath($configuration->path->data).'/'.$configuration->path->log;
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathAvisPdf = $c->profil->path->files;
|
||||
$this->pathLog = realpath($c->profil->path->data).'/log';
|
||||
$this->fichierErreur = $this->pathLog.'/aviserreur.lock';
|
||||
$this->siret = $siret;
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
require_once 'common/curl.php';
|
||||
|
||||
class BDF
|
||||
class BDF
|
||||
{
|
||||
protected $host = 'http://protectel.scrypto.fr';
|
||||
protected $page = '/iBDF/RequeteLanceur.php';
|
||||
protected $filetime = 8;
|
||||
protected $filetime = 8;
|
||||
|
||||
public function __construct(){}
|
||||
public function __construct(){}
|
||||
|
||||
// --------------------------------------------------------------------------- //
|
||||
// enleveLiens
|
||||
@ -52,8 +52,6 @@ class BDF
|
||||
|
||||
$output = utf8_encode($output);
|
||||
|
||||
//file_put_contents(PATH_SITE.'/cache/bdf/test.html', $output);
|
||||
|
||||
$output = preg_replace('/(.*)\<html/', '<html', $output);
|
||||
|
||||
$output = $this->bdf_removeblock($output);
|
||||
@ -653,7 +651,7 @@ class BDF
|
||||
return $timeover;
|
||||
}
|
||||
|
||||
function displayModule($req, $module, $service, $listModules)
|
||||
function displayModule($req, $module, $service, $listModules)
|
||||
{
|
||||
//Vérifier que le module existe
|
||||
if(array_key_exists($module, $listModules))
|
||||
@ -670,8 +668,9 @@ class BDF
|
||||
|
||||
if($module=='07'){
|
||||
$filename = false;
|
||||
} else {
|
||||
$filename = APPLICATION_PATH.'/../cache/bdf/bdf_'.$service.'_'.$req.'_'.$module.'.html';
|
||||
} else {
|
||||
$c = Zend_Registry::get('config');
|
||||
$filename = $c->profil->path->cache.'/bdf_'.$service.'_'.$req.'_'.$module.'.html';
|
||||
}
|
||||
|
||||
//@todo : Ajouter timeover
|
||||
|
@ -14,7 +14,7 @@ class Cache
|
||||
*/
|
||||
public function __construct($name = null)
|
||||
{
|
||||
$this->filename = APPLICATION_PATH.'/../cache/pages/'.$name.$this->extension;
|
||||
$this->filename = Zend_Registry::get('config')->profil->path->cache.'/'.$name.$this->extension;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
class Iris
|
||||
class Iris
|
||||
{
|
||||
protected static $timeout = 10;
|
||||
protected $pathIrisPdf;
|
||||
@ -9,9 +9,9 @@ class Iris
|
||||
public function __construct($codeCommune)
|
||||
{
|
||||
require_once 'common/curl.php';
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$this->pathIrisPdf = realpath($configuration->path->data).'/iris';
|
||||
$this->codeCommune = $codeCommune;
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathIrisPdf = realpath($c->profil->path->data).'/iris';
|
||||
$this->codeCommune = $codeCommune;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -9,8 +9,8 @@ class Logo
|
||||
|
||||
public function __construct($siren, $isin = null)
|
||||
{
|
||||
$configuration = new Zend_Config_Ini(APPLICATION_PATH.'/configs/configuration.ini', 'path');
|
||||
$this->path = realpath($configuration->data).'/'.$configuration->logos;
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = realpath($c->profil->path->data).'/logos';
|
||||
$this->siren = $siren;
|
||||
$this->isin = $isin;
|
||||
}
|
||||
|
@ -9,7 +9,9 @@ class Mail
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'mail');
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->config = $c->profil->mail;
|
||||
|
||||
$this->mail = new Zend_Mail();
|
||||
if ($this->config->method == 'smtp') {
|
||||
$tr = new Zend_Mail_Transport_Smtp($this->config->smtp_host);
|
||||
@ -21,7 +23,7 @@ class Mail
|
||||
}
|
||||
|
||||
/**
|
||||
* Champ From en fonction de la clé de configuration (configuration.ini)
|
||||
* Champ From en fonction de la clé de configuration
|
||||
* @param string $configKey
|
||||
*/
|
||||
public function setFrom($configKey)
|
||||
@ -31,7 +33,7 @@ class Mail
|
||||
}
|
||||
|
||||
/**
|
||||
* Champ To en fonction de la clé de configuration (configuration.ini)
|
||||
* Champ To en fonction de la clé de configuration
|
||||
* @param string $configKey
|
||||
*/
|
||||
public function addToKey($configKey)
|
||||
|
@ -153,7 +153,9 @@ class PagePrint
|
||||
if($result === true) {
|
||||
$content = $Serializer->getSerializedData();
|
||||
$filename = $this->filename('xml', $params);
|
||||
file_put_contents(APPLICATION_PATH.'/../cache/pagesxml/'.$filename.'.xml', $content);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
file_put_contents($path.$filename.'.xml', $content);
|
||||
}
|
||||
}
|
||||
}
|
@ -22,7 +22,8 @@ class RapportComment
|
||||
|
||||
//Assignation
|
||||
$this->commentaires = $tabCommentaires;
|
||||
$this->pathImage = APPLICATION_PATH.'/../cache/pages/imgcache/';
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathImage = $c->profil->path->pages.'/imgcache/';
|
||||
|
||||
$this->idEntreprise = $id;
|
||||
$this->siret = $siret;
|
||||
|
@ -11,10 +11,11 @@ class WsScores
|
||||
|
||||
public function __construct($login = '', $password = '')
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$location = $configuration->webservice->location;
|
||||
$c = new Zend_Config_Ini(APPLICATION_PATH . '/configs/webservices.ini');
|
||||
$config = $c->toArray();
|
||||
$c = Zend_Registry::get('config');
|
||||
$location = $c->profil->webservice->location;
|
||||
|
||||
$cWS = new Zend_Config_Ini(realpath(dirname(__FILE__)) . '/webservices.ini');
|
||||
$config = $cWS->toArray();
|
||||
if (APPLICATION_ENV == 'staging' && array_key_exists($location.'-staging', $config)) {
|
||||
$location.= '-staging';
|
||||
}
|
||||
@ -783,10 +784,10 @@ class WsScores
|
||||
$params->idClient = $idClient;
|
||||
|
||||
//@todo : Seulement pour aider Altysis
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$location = $configuration->webservice->location;
|
||||
$c = new Zend_Config_Ini(APPLICATION_PATH . '/configs/webservices.ini');
|
||||
$config = $c->toArray();
|
||||
$c = Zend_Registry::get('config');
|
||||
$location = $c->profil->webservice->location;
|
||||
$cWS = new Zend_Config_Ini(APPLICATION_PATH . '/configs/webservices.ini');
|
||||
$config = $cWS->toArray();
|
||||
$this->webservices = $config[$location]['webservices'];
|
||||
//@todo
|
||||
|
||||
@ -2282,10 +2283,10 @@ class WsScores
|
||||
|
||||
$message.= "Requete :\n ".$requete."\n";
|
||||
$message.= "Reponse :\n ".$reponse."\n";
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$c = Zend_Registry::get('config');
|
||||
require_once 'Scores/Mail.php';
|
||||
$mail = new Mail();
|
||||
$mail->setSubject('[ERREUR SOAP] - '.$configuration->server->name.' -'.date('Ymd'));
|
||||
$mail->setSubject('[ERREUR SOAP] - '.$c->profil->server->name.' -'.date('Ymd'));
|
||||
$mail->setBodyTexte($message);
|
||||
$mail->setFrom('supportdev');
|
||||
$mail->addToKey('supportdev');
|
||||
|
@ -3,16 +3,15 @@ class wkhtmltopdf
|
||||
{
|
||||
protected $pathWkhtml;
|
||||
protected $pathIn = '';
|
||||
protected $pathOut = '';
|
||||
protected $pathOut = '';
|
||||
protected $options = array();
|
||||
protected $arch = 'amd64';
|
||||
protected $arch = 'amd64';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$configuration = Zend_Registry::get('configuration');
|
||||
$this->pathWkhtml = $configuration->path->data.'/wkhtml/';
|
||||
|
||||
$this->arch = $configuration->wkhtmltopdf->arch;
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathWkhtml = $c->profil->wkhtmltopdf->path;
|
||||
$this->arch = $c->profil->wkhtmltopdf->arch;
|
||||
|
||||
}
|
||||
|
||||
@ -29,7 +28,7 @@ class wkhtmltopdf
|
||||
*/
|
||||
public function setOptions($name, $value = '')
|
||||
{
|
||||
$this->options[$name] = $value;
|
||||
$this->options[$name] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -44,25 +43,25 @@ class wkhtmltopdf
|
||||
if(file_exists($fileOut)){ unlink($fileOut); }
|
||||
|
||||
$options = '--disable-internal-links';
|
||||
if ( count($this->options) )
|
||||
if ( count($this->options) )
|
||||
{
|
||||
foreach ( $this->options as $name => $value )
|
||||
foreach ( $this->options as $name => $value )
|
||||
{
|
||||
$options.= ' --'.$name;
|
||||
if ($value!= '') $options.= ' "'.$value.'"';
|
||||
if ($value!= '') $options.= ' "'.$value.'"';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( stristr(PHP_OS, 'WIN') ) {
|
||||
$wkhtmltopdf = 'windows/wkhtmltopdf.exe';
|
||||
} else {
|
||||
switch ( $this->arch ) {
|
||||
default:
|
||||
case 'amd64': $wkhtmltopdf = 'linux/wkhtmltopdf-amd64'; break;
|
||||
case 'amd64': $wkhtmltopdf = 'linux/wkhtmltopdf-amd64'; break;
|
||||
case 'i386': $wkhtmltopdf = 'linux/wkhtmltopdf-i386'; break;
|
||||
}
|
||||
}
|
||||
$cmd = $this->pathWkhtml.$wkhtmltopdf.' '.$options.' "'.$fileIn.'" "'.$fileOut.'"';
|
||||
$cmd = $this->pathWkhtml.'/'.$wkhtmltopdf.' '.$options.' "'.$fileIn.'" "'.$fileOut.'"';
|
||||
exec( $cmd );
|
||||
return $fileOut;
|
||||
}
|
||||
|
@ -22,8 +22,4 @@ $application = new Zend_Application(
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
$configuration = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini');
|
||||
Zend_Registry::set('configuration', $configuration);
|
||||
|
||||
$application->bootstrap()
|
||||
->run();
|
||||
$application->bootstrap()->run();
|
18
scripts/build/config/_sql/structure/aide.sql
Normal file
18
scripts/build/config/_sql/structure/aide.sql
Normal file
@ -0,0 +1,18 @@
|
||||
--
|
||||
-- Structure de la table `aide`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `aide` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`methode` varchar(20) NOT NULL,
|
||||
`champ` varchar(20) NOT NULL,
|
||||
`texte` text NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Contenu de la table `aide`
|
||||
--
|
||||
|
||||
INSERT INTO `aide` (`id`, `methode`, `champ`, `texte`) VALUES
|
||||
(1, 'Identite', 'Nom', 'Raison sociale / Nom de l''entreprise (format court avec\r\nabréviations)');
|
22
scripts/build/config/_sql/structure/bilansaisie.sql
Normal file
22
scripts/build/config/_sql/structure/bilansaisie.sql
Normal file
@ -0,0 +1,22 @@
|
||||
--
|
||||
-- Structure de la table `bilansaisie`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `bilansaisie` (
|
||||
`ref` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`clientId` int(11) NOT NULL,
|
||||
`utilisateurId` int(11) NOT NULL,
|
||||
`utilisateurLogin` varchar(50) NOT NULL,
|
||||
`utilisateurEmail` varchar(100) NOT NULL,
|
||||
`method` varchar(20) NOT NULL,
|
||||
`confidentiel` int(1) NOT NULL,
|
||||
`siren` varchar(9) NOT NULL,
|
||||
`bilanCloture` varchar(10) NOT NULL,
|
||||
`format` varchar(1) NOT NULL,
|
||||
`bilanDuree` int(2) NOT NULL,
|
||||
`fichier` varchar(50) NOT NULL,
|
||||
`env` varchar(20) NOT NULL,
|
||||
`dateInsert` datetime NOT NULL,
|
||||
`dateEnvoi` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`ref`)
|
||||
) DEFAULT CHARSET=utf8;
|
20
scripts/build/config/_sql/structure/commandes.sql
Normal file
20
scripts/build/config/_sql/structure/commandes.sql
Normal file
@ -0,0 +1,20 @@
|
||||
--
|
||||
-- Structure de la table `commandes`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes` (
|
||||
`idCommande` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idUser` int(11) NOT NULL DEFAULT '0',
|
||||
`login` varchar(32) NOT NULL DEFAULT '',
|
||||
`emailCommande` varchar(80) NOT NULL DEFAULT '',
|
||||
`siren` int(9) unsigned zerofill NOT NULL DEFAULT '000000000',
|
||||
`refDocument` varchar(255) NOT NULL DEFAULT '',
|
||||
`libDocument` varchar(255) NOT NULL DEFAULT '',
|
||||
`typeCommande` varchar(255) NOT NULL,
|
||||
`statutCommande` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`commentaire` varchar(255) NOT NULL DEFAULT '',
|
||||
`dateCommande` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`dateReception` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`idCommande`),
|
||||
KEY `dateReception` (`dateReception`)
|
||||
) DEFAULT CHARSET=utf8;
|
15
scripts/build/config/_sql/structure/commandes_erreur.sql
Normal file
15
scripts/build/config/_sql/structure/commandes_erreur.sql
Normal file
@ -0,0 +1,15 @@
|
||||
--
|
||||
-- Structure de la table `commandes_erreur`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes_erreur` (
|
||||
`siren` varchar(9) NOT NULL,
|
||||
`type` varchar(10) NOT NULL,
|
||||
`ref` varchar(50) NOT NULL,
|
||||
`dateCommande` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`dateReception` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`url` text NOT NULL,
|
||||
`erreur` text NOT NULL,
|
||||
`status` varchar(100) NOT NULL,
|
||||
KEY `siren` (`siren`)
|
||||
) DEFAULT CHARSET=utf8;
|
13
scripts/build/config/_sql/structure/commandes_giants.sql
Normal file
13
scripts/build/config/_sql/structure/commandes_giants.sql
Normal file
@ -0,0 +1,13 @@
|
||||
--
|
||||
-- Structure de la table `aide`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes_giants` (
|
||||
`id` int(8) NOT NULL AUTO_INCREMENT,
|
||||
`login` varchar(255) NOT NULL,
|
||||
`date` date NOT NULL,
|
||||
`typeReport` enum('FU','CO','CR','FL','NO','UR','FA') NOT NULL,
|
||||
`price` float NOT NULL,
|
||||
`pays` varchar(50) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
24
scripts/build/config/_sql/structure/commandes_kbis.sql
Normal file
24
scripts/build/config/_sql/structure/commandes_kbis.sql
Normal file
@ -0,0 +1,24 @@
|
||||
--
|
||||
-- Structure de la table `commandes_kbis`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes_kbis` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idUser` int(11) NOT NULL,
|
||||
`login` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`email` varchar(82) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`societe` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`nom` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`adresse` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`cp` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`ville` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`siren` int(9) NOT NULL,
|
||||
`raisonSociale` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`type` char(1) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
|
||||
`document` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`statutCommande` int(11) NOT NULL DEFAULT '0',
|
||||
`info` varchar(200) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`dateCommande` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`dateReception` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8 COMMENT='Kbis original courrier';
|
19
scripts/build/config/_sql/structure/commandes_pieces.sql
Normal file
19
scripts/build/config/_sql/structure/commandes_pieces.sql
Normal file
@ -0,0 +1,19 @@
|
||||
--
|
||||
-- Structure de la table `commandes_pieces`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes_pieces` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`idUser` int(11) NOT NULL,
|
||||
`login` varchar(32) NOT NULL,
|
||||
`email` varchar(80) NOT NULL,
|
||||
`raisonSociale` varchar(200) NOT NULL,
|
||||
`siren` varchar(9) NOT NULL,
|
||||
`type` char(1) NOT NULL,
|
||||
`document` varchar(200) NOT NULL,
|
||||
`info` text NOT NULL,
|
||||
`statutCommande` int(11) NOT NULL,
|
||||
`dateCommande` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`dateReception` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
11
scripts/build/config/_sql/structure/commandes_statut.sql
Normal file
11
scripts/build/config/_sql/structure/commandes_statut.sql
Normal file
@ -0,0 +1,11 @@
|
||||
--
|
||||
-- Structure de la table `commandes_statut`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes_statut` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`libStatut` varchar(200) NOT NULL,
|
||||
`typeCommande` char(1) NOT NULL,
|
||||
`ordre` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8 ;
|
61
scripts/build/config/_sql/structure/commandes_tarifs.sql
Normal file
61
scripts/build/config/_sql/structure/commandes_tarifs.sql
Normal file
@ -0,0 +1,61 @@
|
||||
--
|
||||
-- Structure de la table `commandes_tarifs`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `commandes_tarifs` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`type` varchar(20) NOT NULL,
|
||||
`codeTribunal` varchar(255) NOT NULL,
|
||||
`prix` float NOT NULL,
|
||||
`enveloppe` tinyint(1) NOT NULL,
|
||||
`ordre` varchar(255) NOT NULL,
|
||||
`annee` int(4) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Contenu de la table `commandes_tarifs`
|
||||
--
|
||||
|
||||
INSERT INTO `commandes_tarifs` (`id`, `type`, `codeTribunal`, `prix`, `enveloppe`, `ordre`, `annee`) VALUES
|
||||
(1, 'actes', 'CHARTC', 10.94, 0, '', 2010),
|
||||
(2, 'bilans', 'CHARTC', 10.94, 0, '', 2010),
|
||||
(3, 'actes', 'METZG', 10.94, 0, '', 2010),
|
||||
(4, 'bilans', 'METZG', 10.94, 0, '', 2010),
|
||||
(5, 'kbis', 'METZG', 3.11, 0, '', 2010),
|
||||
(6, 'actes', 'COLMAG', 10.94, 0, '', 2010),
|
||||
(7, 'bilans', 'COLMAG', 10.94, 0, '', 2010),
|
||||
(8, 'kbis', 'COLMAG', 3.11, 0, '', 2010),
|
||||
(9, 'privSecu', 'COLMAG', 3.11, 0, '', 2010),
|
||||
(10, 'privTres', 'COLMAG', 3.11, 0, '', 2010),
|
||||
(11, 'bilans', 'STRASG', 9.33, 1, 'Trésor Public', 2010),
|
||||
(12, 'bilans', 'MULHOG', 9.33, 1, 'Trésor Public', 2010),
|
||||
(13, 'bilans', 'COLMAG', 9.33, 1, 'Trésor Public', 2010),
|
||||
(14, 'bilans', 'CAYENM', 7.8, 0, 'Régisseur TGI Cayenne', 2010),
|
||||
(15, 'bilans', 'SARREI', 9.33, 1, 'Trésor Public', 2010),
|
||||
(16, 'kbis', 'STRASG', 3.11, 1, 'Trésor Public', 2010),
|
||||
(17, 'kbis', 'THIONG', 3.11, 1, 'Trésor Public', 2010),
|
||||
(18, 'kbis', 'SAVERG', 3.11, 1, 'Trésor Public', 2010),
|
||||
(19, 'kbis', 'SARREG', 3.11, 1, 'Trésor Public', 2010),
|
||||
(20, 'actes', 'CHARTC', 10.94, 0, '', 2011),
|
||||
(21, 'bilans', 'CHARTC', 10.94, 0, '', 2011),
|
||||
(22, 'actes', 'METZG', 10.94, 0, '', 2011),
|
||||
(23, 'bilans', 'METZG', 10.94, 0, '', 2011),
|
||||
(24, 'kbis', 'METZG', 3.11, 0, '', 2011),
|
||||
(25, 'actes', 'COLMAG', 10.94, 0, '', 2011),
|
||||
(26, 'bilans', 'COLMAG', 10.94, 0, '', 2011),
|
||||
(27, 'kbis', 'COLMAG', 3.11, 0, '', 2011),
|
||||
(28, 'privSecu', 'COLMAG', 3.11, 0, '', 2011),
|
||||
(29, 'privTres', 'COLMAG', 3.11, 0, '', 2011),
|
||||
(30, 'bilans', 'STRASG', 9.33, 1, 'Trésor Public', 2011),
|
||||
(31, 'bilans', 'MULHOG', 9.33, 1, 'Trésor Public', 2011),
|
||||
(32, 'bilans', 'COLMAG', 9.33, 1, 'Trésor Public', 2011),
|
||||
(33, 'bilans', 'CAYENM', 7.8, 0, 'Régisseur TGI Cayenne', 2011),
|
||||
(34, 'bilans', 'SARREI', 9.33, 1, 'Trésor Public', 2011),
|
||||
(35, 'kbis', 'STRASG', 3.11, 1, 'Trésor Public', 2011),
|
||||
(36, 'kbis', 'THIONG', 3.11, 1, 'Trésor Public', 2011),
|
||||
(37, 'kbis', 'SAVERG', 3.11, 1, 'Trésor Public', 2011),
|
||||
(38, 'kbis', 'SARREG', 3.11, 1, 'Trésor Public', 2011),
|
||||
(39, 'kbis', 'MULHOG', 3.11, 1, 'Trésor Public', 2011),
|
||||
(40, 'kbis', 'FORTFM', 3.11, 0, 'Trésor Public', 2011),
|
||||
(41, 'kbis', 'STDENM', 2.82, 1, 'TMX ST DENIS DE LA REUNION', 2011);
|
8
scripts/build/config/_sql/structure/nouveautes.sql
Normal file
8
scripts/build/config/_sql/structure/nouveautes.sql
Normal file
@ -0,0 +1,8 @@
|
||||
CREATE TABLE IF NOT EXISTS `nouveautes` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`categorie` varchar(100) NOT NULL,
|
||||
`intitule` varchar(100) NOT NULL,
|
||||
`date` date NOT NULL DEFAULT '0000-00-00',
|
||||
`fichier` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
13
scripts/build/config/_sql/structure/rapports_giants.sql
Normal file
13
scripts/build/config/_sql/structure/rapports_giants.sql
Normal file
@ -0,0 +1,13 @@
|
||||
--
|
||||
-- Structure de la table `rapports_giants`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `rapports_giants` (
|
||||
`id` int(8) NOT NULL AUTO_INCREMENT,
|
||||
`companyId` varchar(255) NOT NULL,
|
||||
`date` date NOT NULL,
|
||||
`pays` enum('FR','ES','BE','NL','UK','DE') NOT NULL,
|
||||
`type` enum('FU','CO','CR','FL') DEFAULT NULL,
|
||||
`report` blob NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) DEFAULT CHARSET=utf8;
|
754
scripts/build/config/_sql/structure/tabnaf5.sql
Normal file
754
scripts/build/config/_sql/structure/tabnaf5.sql
Normal file
@ -0,0 +1,754 @@
|
||||
--
|
||||
-- Structure de la table `tabnaf5`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `tabnaf5` (
|
||||
`codNaf5` char(5) NOT NULL DEFAULT '',
|
||||
`libNaf5` varchar(255) DEFAULT NULL,
|
||||
`codNaf4` char(4) DEFAULT NULL,
|
||||
`codNaf3` char(3) DEFAULT NULL,
|
||||
`codNaf2` char(2) DEFAULT NULL,
|
||||
`codNaf1` char(1) DEFAULT NULL,
|
||||
`poids` int(11) NOT NULL,
|
||||
PRIMARY KEY (`codNaf5`)
|
||||
) DEFAULT CHARSET=utf8 COMMENT='Code NAF rév 2 de 2008 (5 positions)';
|
||||
|
||||
--
|
||||
-- Contenu de la table `tabnaf5`
|
||||
--
|
||||
|
||||
INSERT INTO `tabnaf5` (`codNaf5`, `libNaf5`, `codNaf4`, `codNaf3`, `codNaf2`, `codNaf1`, `poids`) VALUES
|
||||
('0111Z', 'Culture de céréales (à l''exception du riz), de légumineuses et de graines oléagineuses', '0111', '011', '01', 'A', 182464),
|
||||
('0112Z', 'Culture du riz', '0112', '011', '01', 'A', 127),
|
||||
('0113Z', 'Culture de légumes, de melons, de racines et de tubercules', '0113', '011', '01', 'A', 22659),
|
||||
('0114Z', 'Culture de la canne à sucre', '0114', '011', '01', 'A', 7432),
|
||||
('0115Z', 'Culture du tabac', '0115', '011', '01', 'A', 294),
|
||||
('0116Z', 'Culture de plantes à fibres', '0116', '011', '01', 'A', 18),
|
||||
('0119Z', 'Autres cultures non permanentes', '0119', '011', '01', 'A', 6752),
|
||||
('0121Z', 'Culture de la vigne', '0121', '012', '01', 'A', 124397),
|
||||
('0122Z', 'Culture de fruits tropicaux et subtropicaux', '0122', '012', '01', 'A', 3291),
|
||||
('0123Z', 'Culture d''agrumes', '0123', '012', '01', 'A', 119),
|
||||
('0124Z', 'Culture de fruits à pépins et à noyau', '0124', '012', '01', 'A', 18943),
|
||||
('0125Z', 'Culture d''autres fruits d''arbres ou d''arbustes et de fruits à coque', '0125', '012', '01', 'A', 1523),
|
||||
('0126Z', 'Culture de fruits oléagineux', '0126', '012', '01', 'A', 859),
|
||||
('0127Z', 'Culture de plantes à boissons', '0127', '012', '01', 'A', 13),
|
||||
('0128Z', 'Culture de plantes à épices, aromatiques, médicinales et pharmaceutiques', '0128', '012', '01', 'A', 878),
|
||||
('0129Z', 'Autres cultures permanentes', '0129', '012', '01', 'A', 119),
|
||||
('0130Z', 'Reproduction de plantes', '0130', '013', '01', 'A', 4467),
|
||||
('0141Z', 'Élevage de vaches laitières', '0141', '014', '01', 'A', 80270),
|
||||
('0142Z', 'Élevage d''autres bovins et de buffles', '0142', '014', '01', 'A', 98383),
|
||||
('0143Z', 'Élevage de chevaux et d''autres équidés', '0143', '014', '01', 'A', 18515),
|
||||
('0144Z', 'Élevage de chameaux et d''autres camélidés', '0144', '014', '01', 'A', 35),
|
||||
('0145Z', 'Élevage d''ovins et de caprins', '0145', '014', '01', 'A', 28296),
|
||||
('0146Z', 'Élevage de porcins', '0146', '014', '01', 'A', 8801),
|
||||
('0147Z', 'Élevage de volailles', '0147', '014', '01', 'A', 14165),
|
||||
('0149Z', 'Élevage d''autres animaux', '0149', '014', '01', 'A', 14348),
|
||||
('0150Z', 'Culture et élevage associés', '0150', '015', '01', 'A', 59797),
|
||||
('0161Z', 'Activités de soutien aux cultures', '0161', '016', '01', 'A', 26329),
|
||||
('0162Z', 'Activités de soutien à la production animale', '0162', '016', '01', 'A', 3904),
|
||||
('0163Z', 'Traitement primaire des récoltes', '0163', '016', '01', 'A', 54),
|
||||
('0164Z', 'Traitement des semences', '0164', '016', '01', 'A', 12),
|
||||
('0170Z', 'Chasse, piégeage et services annexes', '0170', '017', '01', 'A', 253),
|
||||
('0210Z', 'Sylviculture et autres activités forestières', '0210', '021', '02', 'A', 13623),
|
||||
('0220Z', 'Exploitation forestière', '0220', '022', '02', 'A', 16878),
|
||||
('0230Z', 'Récolte de produits forestiers non ligneux poussant à l''état sauvage', '0230', '023', '02', 'A', 82),
|
||||
('0240Z', 'Services de soutien à l''exploitation forestière', '0240', '024', '02', 'A', 10196),
|
||||
('0311Z', 'Pêche en mer', '0311', '031', '03', 'A', 9276),
|
||||
('0312Z', 'Pêche en eau douce', '0312', '031', '03', 'A', 412),
|
||||
('0321Z', 'Aquaculture en mer', '0321', '032', '03', 'A', 4830),
|
||||
('0322Z', 'Aquaculture en eau douce', '0322', '032', '03', 'A', 1162),
|
||||
('0510Z', 'Extraction de houille', '0510', '051', '05', 'B', 40),
|
||||
('0520Z', 'Extraction de lignite', '0520', '052', '05', 'B', 0),
|
||||
('0610Z', 'Extraction de pétrole brut', '0610', '061', '06', 'B', 114),
|
||||
('0620Z', 'Extraction de gaz naturel', '0620', '062', '06', 'B', 12),
|
||||
('0710Z', 'Extraction de minerais de fer', '0710', '071', '07', 'B', 16),
|
||||
('0721Z', 'Extraction de minerais d''uranium et de thorium', '0721', '072', '07', 'B', 12),
|
||||
('0729Z', 'Extraction d''autres minerais de métaux non ferreux', '0729', '072', '07', 'B', 168),
|
||||
('0811Z', 'Extraction de pierres ornementales et de construction, de calcaire industriel, de gypse, de craie et d''ardoise', '0811', '081', '08', 'B', 1379),
|
||||
('0812Z', 'Exploitation de gravières et sablières, extraction d''argiles et de kaolin', '0812', '081', '08', 'B', 2979),
|
||||
('0891Z', 'Extraction des minéraux chimiques et d''engrais minéraux', '0891', '089', '08', 'B', 105),
|
||||
('0892Z', 'Extraction de tourbe', '0892', '089', '08', 'B', 38),
|
||||
('0893Z', 'Production de sel', '0893', '089', '08', 'B', 496),
|
||||
('0899Z', 'Autres activités extractives nca', '0899', '089', '08', 'B', 111),
|
||||
('0910Z', 'Activités de soutien à l''extraction d''hydrocarbures', '0910', '091', '09', 'B', 68),
|
||||
('0990Z', 'Activités de soutien aux autres industries extractives', '0990', '099', '09', 'B', 23),
|
||||
('1011Z', 'Transformation et conservation de la viande de boucherie', '1011', '101', '10', 'C', 2015),
|
||||
('1012Z', 'Transformation et conservation de la viande de volaille', '1012', '101', '10', 'C', 632),
|
||||
('1013A', 'Préparation industrielle de produits à base de viande', '1013', '101', '10', 'C', 1863),
|
||||
('1013B', 'Charcuterie', '1013', '101', '10', 'C', 7040),
|
||||
('1020Z', 'Transformation et conservation de poisson, de crustacés et de mollusques', '1020', '102', '10', 'C', 528),
|
||||
('1031Z', 'Transformation et conservation de pommes de terre', '1031', '103', '10', 'C', 499),
|
||||
('1032Z', 'Préparation de jus de fruits et légumes', '1032', '103', '10', 'C', 241),
|
||||
('1039A', 'Autre transformation et conservation de légumes', '1039', '103', '10', 'C', 450),
|
||||
('1039B', 'Transformation et conservation de fruits', '1039', '103', '10', 'C', 685),
|
||||
('1041A', 'Fabrication d''huiles et graisses brutes', '1041', '104', '10', 'C', 212),
|
||||
('1041B', 'Fabrication d''huiles et graisses raffinées', '1041', '104', '10', 'C', 114),
|
||||
('1042Z', 'Fabrication de margarine et graisses comestibles similaires', '1042', '104', '10', 'C', 7),
|
||||
('1051A', 'Fabrication de lait liquide et de produits frais', '1051', '105', '10', 'C', 287),
|
||||
('1051B', 'Fabrication de beurre', '1051', '105', '10', 'C', 45),
|
||||
('1051C', 'Fabrication de fromage', '1051', '105', '10', 'C', 1304),
|
||||
('1051D', 'Fabrication d''autres produits laitiers', '1051', '105', '10', 'C', 97),
|
||||
('1052Z', 'Fabrication de glaces et sorbets', '1052', '105', '10', 'C', 543),
|
||||
('1061A', 'Meunerie', '1061', '106', '10', 'C', 687),
|
||||
('1061B', 'Autres activités du travail des grains', '1061', '106', '10', 'C', 141),
|
||||
('1062Z', 'Fabrication de produits amylacés', '1062', '106', '10', 'C', 29),
|
||||
('1071A', 'Fabrication industrielle de pain et de pâtisserie fraîche', '1071', '107', '10', 'C', 1057),
|
||||
('1071B', 'Cuisson de produits de boulangerie', '1071', '107', '10', 'C', 6729),
|
||||
('1071C', 'Boulangerie et boulangerie-pâtisserie', '1071', '107', '10', 'C', 43677),
|
||||
('1071D', 'Pâtisserie', '1071', '107', '10', 'C', 5528),
|
||||
('1072Z', 'Fabrication de biscuits, biscottes et pâtisseries de conservation', '1072', '107', '10', 'C', 781),
|
||||
('1073Z', 'Fabrication de pâtes alimentaires', '1073', '107', '10', 'C', 365),
|
||||
('1081Z', 'Fabrication de sucre', '1081', '108', '10', 'C', 140),
|
||||
('1082Z', 'Fabrication de cacao, chocolat et de produits de confiserie', '1082', '108', '10', 'C', 1410),
|
||||
('1083Z', 'Transformation du thé et du café', '1083', '108', '10', 'C', 926),
|
||||
('1084Z', 'Fabrication de condiments et assaisonnements', '1084', '108', '10', 'C', 198),
|
||||
('1085Z', 'Fabrication de plats préparés', '1085', '108', '10', 'C', 1210),
|
||||
('1086Z', 'Fabrication d''aliments homogénéisés et diététiques', '1086', '108', '10', 'C', 237),
|
||||
('1089Z', 'Fabrication d''autres produits alimentaires nca', '1089', '108', '10', 'C', 1216),
|
||||
('1091Z', 'Fabrication d''aliments pour animaux de ferme', '1091', '109', '10', 'C', 868),
|
||||
('1092Z', 'Fabrication d''aliments pour animaux de compagnie', '1092', '109', '10', 'C', 105),
|
||||
('1101Z', 'Production de boissons alcooliques distillées', '1101', '110', '11', 'C', 1391),
|
||||
('1102A', 'Fabrication de vins effervescents', '1102', '110', '11', 'C', 562),
|
||||
('1102B', 'Vinification', '1102', '110', '11', 'C', 1488),
|
||||
('1103Z', 'Fabrication de cidre et de vins de fruits', '1103', '110', '11', 'C', 237),
|
||||
('1104Z', 'Production d''autres boissons fermentées non distillées', '1104', '110', '11', 'C', 56),
|
||||
('1105Z', 'Fabrication de bière', '1105', '110', '11', 'C', 325),
|
||||
('1106Z', 'Fabrication de malt', '1106', '110', '11', 'C', 29),
|
||||
('1107A', 'Industrie des eaux de table', '1107', '110', '11', 'C', 181),
|
||||
('1107B', 'Production de boissons rafraîchissantes', '1107', '110', '11', 'C', 194),
|
||||
('1200Z', 'Fabrication de produits à base de tabac', '1200', '120', '12', 'C', 75),
|
||||
('1310Z', 'Préparation de fibres textiles et filature', '1310', '131', '13', 'C', 471),
|
||||
('1320Z', 'Tissage', '1320', '132', '13', 'C', 684),
|
||||
('1330Z', 'Ennoblissement textile', '1330', '133', '13', 'C', 762),
|
||||
('1391Z', 'Fabrication d''étoffes à mailles', '1391', '139', '13', 'C', 152),
|
||||
('1392Z', 'Fabrication d''articles textiles, sauf habillement', '1392', '139', '13', 'C', 2483),
|
||||
('1393Z', 'Fabrication de tapis et moquettes', '1393', '139', '13', 'C', 124),
|
||||
('1394Z', 'Fabrication de ficelles, cordes et filets', '1394', '139', '13', 'C', 119),
|
||||
('1395Z', 'Fabrication de non-tissés, sauf habillement', '1395', '139', '13', 'C', 63),
|
||||
('1396Z', 'Fabrication d''autres textiles techniques et industriels', '1396', '139', '13', 'C', 233),
|
||||
('1399Z', 'Fabrication d''autres textiles nca', '1399', '139', '13', 'C', 1442),
|
||||
('1411Z', 'Fabrication de vêtements en cuir', '1411', '141', '14', 'C', 243),
|
||||
('1412Z', 'Fabrication de vêtements de travail', '1412', '141', '14', 'C', 181),
|
||||
('1413Z', 'Fabrication de vêtements de dessus', '1413', '141', '14', 'C', 14408),
|
||||
('1414Z', 'Fabrication de vêtements de dessous', '1414', '141', '14', 'C', 570),
|
||||
('1419Z', 'Fabrication d''autres vêtements et accessoires', '1419', '141', '14', 'C', 1891),
|
||||
('1420Z', 'Fabrication d''articles en fourrure', '1420', '142', '14', 'C', 231),
|
||||
('1431Z', 'Fabrication d''articles chaussants à mailles', '1431', '143', '14', 'C', 85),
|
||||
('1439Z', 'Fabrication d''autres articles à mailles', '1439', '143', '14', 'C', 519),
|
||||
('1511Z', 'Apprêt et tannage des cuirs ; préparation et teinture des fourrures', '1511', '151', '15', 'C', 190),
|
||||
('1512Z', 'Fabrication d''articles de voyage, de maroquinerie et de sellerie', '1512', '151', '15', 'C', 2077),
|
||||
('1520Z', 'Fabrication de chaussures', '1520', '152', '15', 'C', 707),
|
||||
('1610A', 'Sciage et rabotage du bois, hors imprégnation', '1610', '161', '16', 'C', 3547),
|
||||
('1610B', 'Imprégnation du bois', '1610', '161', '16', 'C', 910),
|
||||
('1621Z', 'Fabrication de placage et de panneaux de bois', '1621', '162', '16', 'C', 239),
|
||||
('1622Z', 'Fabrication de parquets assemblés', '1622', '162', '16', 'C', 48),
|
||||
('1623Z', 'Fabrication de charpentes et d''autres menuiseries', '1623', '162', '16', 'C', 3897),
|
||||
('1624Z', 'Fabrication d''emballages en bois', '1624', '162', '16', 'C', 1483),
|
||||
('1629Z', 'Fabrication d''objets divers en bois ; fabrication d''objets en liège, vannerie et sparterie', '1629', '162', '16', 'C', 3055),
|
||||
('1711Z', 'Fabrication de pâte à papier', '1711', '171', '17', 'C', 29),
|
||||
('1712Z', 'Fabrication de papier et de carton', '1712', '171', '17', 'C', 367),
|
||||
('1721A', 'Fabrication de carton ondulé', '1721', '172', '17', 'C', 291),
|
||||
('1721B', 'Fabrication de cartonnages', '1721', '172', '17', 'C', 659),
|
||||
('1721C', 'Fabrication d''emballages en papier', '1721', '172', '17', 'C', 133),
|
||||
('1722Z', 'Fabrication d''articles en papier à usage sanitaire ou domestique', '1722', '172', '17', 'C', 105),
|
||||
('1723Z', 'Fabrication d''articles de papeterie', '1723', '172', '17', 'C', 313),
|
||||
('1724Z', 'Fabrication de papiers peints', '1724', '172', '17', 'C', 25),
|
||||
('1729Z', 'Fabrication d''autres articles en papier ou en carton', '1729', '172', '17', 'C', 580),
|
||||
('1811Z', 'Imprimerie de journaux', '1811', '181', '18', 'C', 482),
|
||||
('1812Z', 'Autre imprimerie (labeur)', '1812', '181', '18', 'C', 8961),
|
||||
('1813Z', 'Activités de pré-presse', '1813', '181', '18', 'C', 14459),
|
||||
('1814Z', 'Reliure et activités connexes', '1814', '181', '18', 'C', 809),
|
||||
('1820Z', 'Reproduction d''enregistrements', '1820', '182', '18', 'C', 706),
|
||||
('1910Z', 'Cokéfaction', '1910', '191', '19', 'C', 3),
|
||||
('1920Z', 'Raffinage du pétrole', '1920', '192', '19', 'C', 1353),
|
||||
('2011Z', 'Fabrication de gaz industriels', '2011', '201', '20', 'C', 330),
|
||||
('2012Z', 'Fabrication de colorants et de pigments', '2012', '201', '20', 'C', 87),
|
||||
('2013A', 'Enrichissement et retraitement de matières nucléaires', '2013', '201', '20', 'C', 17),
|
||||
('2013B', 'Fabrication d''autres produits chimiques inorganiques de base nca', '2013', '201', '20', 'C', 200),
|
||||
('2014Z', 'Fabrication d''autres produits chimiques organiques de base', '2014', '201', '20', 'C', 746),
|
||||
('2015Z', 'Fabrication de produits azotés et d''engrais', '2015', '201', '20', 'C', 323),
|
||||
('2016Z', 'Fabrication de matières plastiques de base', '2016', '201', '20', 'C', 356),
|
||||
('2017Z', 'Fabrication de caoutchouc synthétique', '2017', '201', '20', 'C', 31),
|
||||
('2020Z', 'Fabrication de pesticides et d''autres produits agrochimiques', '2020', '202', '20', 'C', 230),
|
||||
('2030Z', 'Fabrication de peintures, vernis, encres et mastics', '2030', '203', '20', 'C', 720),
|
||||
('2041Z', 'Fabrication de savons, détergents et produits d''entretien', '2041', '204', '20', 'C', 582),
|
||||
('2042Z', 'Fabrication de parfums et de produits pour la toilette', '2042', '204', '20', 'C', 2019),
|
||||
('2051Z', 'Fabrication de produits explosifs', '2051', '205', '20', 'C', 100),
|
||||
('2052Z', 'Fabrication de colles', '2052', '205', '20', 'C', 84),
|
||||
('2053Z', 'Fabrication d''huiles essentielles', '2053', '205', '20', 'C', 314),
|
||||
('2059Z', 'Fabrication d''autres produits chimiques nca', '2059', '205', '20', 'C', 582),
|
||||
('2060Z', 'Fabrication de fibres artificielles ou synthétiques', '2060', '206', '20', 'C', 36),
|
||||
('2110Z', 'Fabrication de produits pharmaceutiques de base', '2110', '211', '21', 'C', 194),
|
||||
('2120Z', 'Fabrication de préparations pharmaceutiques', '2120', '212', '21', 'C', 1049),
|
||||
('2211Z', 'Fabrication et rechapage de pneumatiques', '2211', '221', '22', 'C', 201),
|
||||
('2219Z', 'Fabrication d''autres articles en caoutchouc', '2219', '221', '22', 'C', 676),
|
||||
('2221Z', 'Fabrication de plaques, feuilles, tubes et profilés en matières plastiques', '2221', '222', '22', 'C', 553),
|
||||
('2222Z', 'Fabrication d''emballages en matières plastiques', '2222', '222', '22', 'C', 1029),
|
||||
('2223Z', 'Fabrication d''éléments en matières plastiques pour la construction', '2223', '222', '22', 'C', 1219),
|
||||
('2229A', 'Fabrication de pièces techniques à base de matières plastiques', '2229', '222', '22', 'C', 2468),
|
||||
('2229B', 'Fabrication de produits de consommation courante en matières plastiques', '2229', '222', '22', 'C', 1329),
|
||||
('2311Z', 'Fabrication de verre plat', '2311', '231', '23', 'C', 47),
|
||||
('2312Z', 'Façonnage et transformation du verre plat', '2312', '231', '23', 'C', 678),
|
||||
('2313Z', 'Fabrication de verre creux', '2313', '231', '23', 'C', 580),
|
||||
('2314Z', 'Fabrication de fibres de verre', '2314', '231', '23', 'C', 39),
|
||||
('2319Z', 'Fabrication et façonnage d''autres articles en verre, y compris verre technique', '2319', '231', '23', 'C', 625),
|
||||
('2320Z', 'Fabrication de produits réfractaires', '2320', '232', '23', 'C', 121),
|
||||
('2331Z', 'Fabrication de carreaux en céramique', '2331', '233', '23', 'C', 154),
|
||||
('2332Z', 'Fabrication de briques, tuiles et produits de construction, en terre cuite', '2332', '233', '23', 'C', 281),
|
||||
('2341Z', 'Fabrication d''articles céramiques à usage domestique ou ornemental', '2341', '234', '23', 'C', 2459),
|
||||
('2342Z', 'Fabrication d''appareils sanitaires en céramique', '2342', '234', '23', 'C', 63),
|
||||
('2343Z', 'Fabrication d''isolateurs et pièces isolantes en céramique', '2343', '234', '23', 'C', 7),
|
||||
('2344Z', 'Fabrication d''autres produits céramiques à usage technique', '2344', '234', '23', 'C', 27),
|
||||
('2349Z', 'Fabrication d''autres produits céramiques', '2349', '234', '23', 'C', 118),
|
||||
('2351Z', 'Fabrication de ciment', '2351', '235', '23', 'C', 170),
|
||||
('2352Z', 'Fabrication de chaux et plâtre', '2352', '235', '23', 'C', 99),
|
||||
('2361Z', 'Fabrication d''éléments en béton pour la construction', '2361', '236', '23', 'C', 1504),
|
||||
('2362Z', 'Fabrication d''éléments en plâtre pour la construction', '2362', '236', '23', 'C', 69),
|
||||
('2363Z', 'Fabrication de béton prêt à l''emploi', '2363', '236', '23', 'C', 1988),
|
||||
('2364Z', 'Fabrication de mortiers et bétons secs', '2364', '236', '23', 'C', 140),
|
||||
('2365Z', 'Fabrication d''ouvrages en fibre-ciment', '2365', '236', '23', 'C', 35),
|
||||
('2369Z', 'Fabrication d''autres ouvrages en béton, en ciment ou en plâtre', '2369', '236', '23', 'C', 400),
|
||||
('2370Z', 'Taille, façonnage et finissage de pierres', '2370', '237', '23', 'C', 4739),
|
||||
('2391Z', 'Fabrication de produits abrasifs', '2391', '239', '23', 'C', 81),
|
||||
('2399Z', 'Fabrication d''autres produits minéraux non métalliques nca', '2399', '239', '23', 'C', 675),
|
||||
('2410Z', 'Sidérurgie', '2410', '241', '24', 'C', 266),
|
||||
('2420Z', 'Fabrication de tubes, tuyaux, profilés creux et accessoires correspondants en acier', '2420', '242', '24', 'C', 230),
|
||||
('2431Z', 'étirage à froid de barres', '2431', '243', '24', 'C', 30),
|
||||
('2432Z', 'Laminage à froid de feuillards', '2432', '243', '24', 'C', 17),
|
||||
('2433Z', 'Profilage à froid par formage ou pliage', '2433', '243', '24', 'C', 213),
|
||||
('2434Z', 'Tréfilage à froid', '2434', '243', '24', 'C', 47),
|
||||
('2441Z', 'Production de métaux précieux', '2441', '244', '24', 'C', 56),
|
||||
('2442Z', 'Métallurgie de l''aluminium', '2442', '244', '24', 'C', 192),
|
||||
('2443Z', 'Métallurgie du plomb, du zinc ou de l''étain', '2443', '244', '24', 'C', 41),
|
||||
('2444Z', 'Métallurgie du cuivre', '2444', '244', '24', 'C', 66),
|
||||
('2445Z', 'Métallurgie des autres métaux non ferreux', '2445', '244', '24', 'C', 134),
|
||||
('2446Z', 'élaboration et transformation de matières nucléaires', '2446', '244', '24', 'C', 48),
|
||||
('2451Z', 'Fonderie de fonte', '2451', '245', '24', 'C', 177),
|
||||
('2452Z', 'Fonderie d''acier', '2452', '245', '24', 'C', 68),
|
||||
('2453Z', 'Fonderie de métaux légers', '2453', '245', '24', 'C', 181),
|
||||
('2454Z', 'Fonderie d''autres métaux non ferreux', '2454', '245', '24', 'C', 248),
|
||||
('2511Z', 'Fabrication de structures métalliques et de parties de structures', '2511', '251', '25', 'C', 3569),
|
||||
('2512Z', 'Fabrication de portes et fenêtres en métal', '2512', '251', '25', 'C', 2686),
|
||||
('2521Z', 'Fabrication de radiateurs et de chaudières pour le chauffage central', '2521', '252', '25', 'C', 144),
|
||||
('2529Z', 'Fabrication d''autres réservoirs, citernes et conteneurs métalliques', '2529', '252', '25', 'C', 131),
|
||||
('2530Z', 'Fabrication de générateurs de vapeur, à l''exception des chaudières pour le chauffage central', '2530', '253', '25', 'C', 87),
|
||||
('2540Z', 'Fabrication d''armes et de munitions', '2540', '254', '25', 'C', 247),
|
||||
('2550A', 'Forge, estampage, matriçage ; métallurgie des poudres', '2550', '255', '25', 'C', 775),
|
||||
('2550B', 'Découpage, emboutissage', '2550', '255', '25', 'C', 1496),
|
||||
('2561Z', 'Traitement et revêtement des métaux', '2561', '256', '25', 'C', 2715),
|
||||
('2562A', 'Décolletage', '2562', '256', '25', 'C', 859),
|
||||
('2562B', 'Mécanique industrielle', '2562', '256', '25', 'C', 7383),
|
||||
('2571Z', 'Fabrication de coutellerie', '2571', '257', '25', 'C', 353),
|
||||
('2572Z', 'Fabrication de serrures et de ferrures', '2572', '257', '25', 'C', 755),
|
||||
('2573A', 'Fabrication de moules et modèles', '2573', '257', '25', 'C', 877),
|
||||
('2573B', 'Fabrication d''autres outillages', '2573', '257', '25', 'C', 1001),
|
||||
('2591Z', 'Fabrication de fûts et emballages métalliques similaires', '2591', '259', '25', 'C', 35),
|
||||
('2592Z', 'Fabrication d''emballages métalliques légers', '2592', '259', '25', 'C', 149),
|
||||
('2593Z', 'Fabrication d''articles en fils métalliques, de chaînes et de ressorts', '2593', '259', '25', 'C', 628),
|
||||
('2594Z', 'Fabrication de vis et de boulons', '2594', '259', '25', 'C', 222),
|
||||
('2599A', 'Fabrication d''articles métalliques ménagers', '2599', '259', '25', 'C', 241),
|
||||
('2599B', 'Fabrication d''autres articles métalliques', '2599', '259', '25', 'C', 1944),
|
||||
('2611Z', 'Fabrication de composants électroniques', '2611', '261', '26', 'C', 746),
|
||||
('2612Z', 'Fabrication de cartes électroniques assemblées', '2612', '261', '26', 'C', 824),
|
||||
('2620Z', 'Fabrication d''ordinateurs et d''équipements périphériques', '2620', '262', '26', 'C', 643),
|
||||
('2630Z', 'Fabrication d''équipements de communication', '2630', '263', '26', 'C', 1266),
|
||||
('2640Z', 'Fabrication de produits électroniques grand public', '2640', '264', '26', 'C', 356),
|
||||
('2651A', 'Fabrication d''équipements d''aide à la navigation', '2651', '265', '26', 'C', 338),
|
||||
('2651B', 'Fabrication d''instrumentation scientifique et technique', '2651', '265', '26', 'C', 1431),
|
||||
('2652Z', 'Horlogerie', '2652', '265', '26', 'C', 334),
|
||||
('2660Z', 'Fabrication d''équipements d''irradiation médicale, d''équipements électromédicaux et électrothérapeutiques', '2660', '266', '26', 'C', 219),
|
||||
('2670Z', 'Fabrication de matériels optique et photographique', '2670', '267', '26', 'C', 324),
|
||||
('2680Z', 'Fabrication de supports magnétiques et optiques', '2680', '268', '26', 'C', 34),
|
||||
('2711Z', 'Fabrication de moteurs, génératrices et transformateurs électriques', '2711', '271', '27', 'C', 439),
|
||||
('2712Z', 'Fabrication de matériel de distribution et de commande électrique', '2712', '271', '27', 'C', 979),
|
||||
('2720Z', 'Fabrication de piles et d''accumulateurs électriques', '2720', '272', '27', 'C', 78),
|
||||
('2731Z', 'Fabrication de câbles de fibres optiques', '2731', '273', '27', 'C', 34),
|
||||
('2732Z', 'Fabrication d''autres fils et câbles électroniques ou électriques', '2732', '273', '27', 'C', 255),
|
||||
('2733Z', 'Fabrication de matériel d''installation électrique', '2733', '273', '27', 'C', 301),
|
||||
('2740Z', 'Fabrication d''appareils d''éclairage électrique', '2740', '274', '27', 'C', 1227),
|
||||
('2751Z', 'Fabrication d''appareils électroménagers', '2751', '275', '27', 'C', 223),
|
||||
('2752Z', 'Fabrication d''appareils ménagers non électriques', '2752', '275', '27', 'C', 118),
|
||||
('2790Z', 'Fabrication d''autres matériels électriques', '2790', '279', '27', 'C', 911),
|
||||
('2811Z', 'Fabrication de moteurs et turbines, à l''exception des moteurs d''avions et de véhicules', '2811', '281', '28', 'C', 325),
|
||||
('2812Z', 'Fabrication d''équipements hydrauliques et pneumatiques', '2812', '281', '28', 'C', 681),
|
||||
('2813Z', 'Fabrication d''autres pompes et compresseurs', '2813', '281', '28', 'C', 319),
|
||||
('2814Z', 'Fabrication d''autres articles de robinetterie', '2814', '281', '28', 'C', 369),
|
||||
('2815Z', 'Fabrication d''engrenages et d''organes mécaniques de transmission', '2815', '281', '28', 'C', 204),
|
||||
('2821Z', 'Fabrication de fours et brûleurs', '2821', '282', '28', 'C', 225),
|
||||
('2822Z', 'Fabrication de matériel de levage et de manutention', '2822', '282', '28', 'C', 1484),
|
||||
('2823Z', 'Fabrication de machines et d''équipements de bureau (à l''exception des ordinateurs et équipements périphériques)', '2823', '282', '28', 'C', 56),
|
||||
('2824Z', 'Fabrication d''outillage portatif à moteur incorporé', '2824', '282', '28', 'C', 20),
|
||||
('2825Z', 'Fabrication d''équipements aérauliques et frigorifiques industriels', '2825', '282', '28', 'C', 2415),
|
||||
('2829A', 'Fabrication d''équipements d''emballage, de conditionnement et de pesage', '2829', '282', '28', 'C', 412),
|
||||
('2829B', 'Fabrication d''autres machines d''usage général', '2829', '282', '28', 'C', 1077),
|
||||
('2830Z', 'Fabrication de machines agricoles et forestières', '2830', '283', '28', 'C', 1107),
|
||||
('2841Z', 'Fabrication de machines-outils pour le travail des métaux', '2841', '284', '28', 'C', 539),
|
||||
('2849Z', 'Fabrication d''autres machines-outils', '2849', '284', '28', 'C', 252),
|
||||
('2891Z', 'Fabrication de machines pour la métallurgie', '2891', '289', '28', 'C', 123),
|
||||
('2892Z', 'Fabrication de machines pour l''extraction ou la construction', '2892', '289', '28', 'C', 188),
|
||||
('2893Z', 'Fabrication de machines pour l''industrie agro-alimentaire', '2893', '289', '28', 'C', 1021),
|
||||
('2894Z', 'Fabrication de machines pour les industries textiles', '2894', '289', '28', 'C', 269),
|
||||
('2895Z', 'Fabrication de machines pour les industries du papier et du carton', '2895', '289', '28', 'C', 100),
|
||||
('2896Z', 'Fabrication de machines pour le travail du caoutchouc ou des plastiques', '2896', '289', '28', 'C', 88),
|
||||
('2899A', 'Fabrication de machines d''imprimerie', '2899', '289', '28', 'C', 72),
|
||||
('2899B', 'Fabrication d''autres machines spécialisées', '2899', '289', '28', 'C', 845),
|
||||
('2910Z', 'Construction de véhicules automobiles', '2910', '291', '29', 'C', 582),
|
||||
('2920Z', 'Fabrication de carrosseries et remorques', '2920', '292', '29', 'C', 1779),
|
||||
('2931Z', 'Fabrication d''équipements électriques et électroniques automobiles', '2931', '293', '29', 'C', 138),
|
||||
('2932Z', 'Fabrication d''autres équipements automobiles', '2932', '293', '29', 'C', 1058),
|
||||
('3011Z', 'Construction de navires et de structures flottantes', '3011', '301', '30', 'C', 291),
|
||||
('3012Z', 'Construction de bateaux de plaisance', '3012', '301', '30', 'C', 585),
|
||||
('3020Z', 'Construction de locomotives et d''autre matériel ferroviaire roulant', '3020', '302', '30', 'C', 119),
|
||||
('3030Z', 'Construction aéronautique et spatiale', '3030', '303', '30', 'C', 364),
|
||||
('3040Z', 'Construction de véhicules militaires de combat', '3040', '304', '30', 'C', 4),
|
||||
('3091Z', 'Fabrication de motocycles', '3091', '309', '30', 'C', 108),
|
||||
('3092Z', 'Fabrication de bicyclettes et de véhicules pour invalides', '3092', '309', '30', 'C', 171),
|
||||
('3099Z', 'Fabrication d''autres équipements de transport nca', '3099', '309', '30', 'C', 51),
|
||||
('3101Z', 'Fabrication de meubles de bureau et de magasin', '3101', '310', '31', 'C', 838),
|
||||
('3102Z', 'Fabrication de meubles de cuisine', '3102', '310', '31', 'C', 1227),
|
||||
('3103Z', 'Fabrication de matelas', '3103', '310', '31', 'C', 437),
|
||||
('3109A', 'Fabrication de sièges d''ameublement d''intérieur', '3109', '310', '31', 'C', 434),
|
||||
('3109B', 'Fabrication d''autres meubles et industries connexes de l''ameublement', '3109', '310', '31', 'C', 16915),
|
||||
('3211Z', 'Frappe de monnaie', '3211', '321', '32', 'C', 36),
|
||||
('3212Z', 'Fabrication d''articles de joaillerie et bijouterie', '3212', '321', '32', 'C', 3894),
|
||||
('3213Z', 'Fabrication d''articles de bijouterie fantaisie et articles similaires', '3213', '321', '32', 'C', 2518),
|
||||
('3220Z', 'Fabrication d''instruments de musique', '3220', '322', '32', 'C', 1044),
|
||||
('3230Z', 'Fabrication d''articles de sport', '3230', '323', '32', 'C', 706),
|
||||
('3240Z', 'Fabrication de jeux et jouets', '3240', '324', '32', 'C', 850),
|
||||
('3250A', 'Fabrication de matériel médico-chirurgical et dentaire', '3250', '325', '32', 'C', 9552),
|
||||
('3250B', 'Fabrication de lunettes', '3250', '325', '32', 'C', 761),
|
||||
('3291Z', 'Fabrication d''articles de brosserie', '3291', '329', '32', 'C', 125),
|
||||
('3299Z', 'Autres activités manufacturières nca', '3299', '329', '32', 'C', 3449),
|
||||
('3311Z', 'Réparation d''ouvrages en métaux', '3311', '331', '33', 'C', 1009),
|
||||
('3312Z', 'Réparation de machines et équipements mécaniques', '3312', '331', '33', 'C', 10778),
|
||||
('3313Z', 'Réparation de matériels électroniques et optiques', '3313', '331', '33', 'C', 362),
|
||||
('3314Z', 'Réparation d''équipements électriques', '3314', '331', '33', 'C', 1448),
|
||||
('3315Z', 'Réparation et maintenance navale', '3315', '331', '33', 'C', 2884),
|
||||
('3316Z', 'Réparation et maintenance d''aéronefs et d''engins spatiaux', '3316', '331', '33', 'C', 434),
|
||||
('3317Z', 'Réparation et maintenance d''autres équipements de transport', '3317', '331', '33', 'C', 52),
|
||||
('3319Z', 'Réparation d''autres équipements', '3319', '331', '33', 'C', 300),
|
||||
('3320A', 'Installation de structures métalliques, chaudronnées et de tuyauterie', '3320', '332', '33', 'C', 7226),
|
||||
('3320B', 'Installation de machines et équipements mécaniques', '3320', '332', '33', 'C', 1769),
|
||||
('3320C', 'Conception d''ensemble et assemblage sur site industriel d''équipements de contrôle des processus industriels', '3320', '332', '33', 'C', 1950),
|
||||
('3320D', 'Installation d''équipements électriques, de matériels électroniques et optiques ou d''autres matériels', '3320', '332', '33', 'C', 1118),
|
||||
('3511Z', 'Production d''électricité', '3511', '351', '35', 'D', 15167),
|
||||
('3512Z', 'Transport d''électricité', '3512', '351', '35', 'D', 308),
|
||||
('3513Z', 'Distribution d''électricité', '3513', '351', '35', 'D', 1619),
|
||||
('3514Z', 'Commerce d''électricité', '3514', '351', '35', 'D', 171),
|
||||
('3521Z', 'Production de combustibles gazeux', '3521', '352', '35', 'D', 95),
|
||||
('3522Z', 'Distribution de combustibles gazeux par conduites', '3522', '352', '35', 'D', 568),
|
||||
('3523Z', 'Commerce de combustibles gazeux par conduites', '3523', '352', '35', 'D', 1111),
|
||||
('3530Z', 'Production et distribution de vapeur et d''air conditionné', '3530', '353', '35', 'D', 1107),
|
||||
('3600Z', 'Captage, traitement et distribution d''eau', '3600', '360', '36', 'E', 6205),
|
||||
('3700Z', 'Collecte et traitement des eaux usées', '3700', '370', '37', 'E', 2469),
|
||||
('3811Z', 'Collecte des déchets non dangereux', '3811', '381', '38', 'E', 2424),
|
||||
('3812Z', 'Collecte des déchets dangereux', '3812', '381', '38', 'E', 435),
|
||||
('3821Z', 'Traitement et élimination des déchets non dangereux', '3821', '382', '38', 'E', 1320),
|
||||
('3822Z', 'Traitement et élimination des déchets dangereux', '3822', '382', '38', 'E', 321),
|
||||
('3831Z', 'Démantèlement d''épaves', '3831', '383', '38', 'E', 1244),
|
||||
('3832Z', 'Récupération de déchets triés', '3832', '383', '38', 'E', 6080),
|
||||
('3900Z', 'Dépollution et autres services de gestion des déchets', '3900', '390', '39', 'E', 231),
|
||||
('4110A', 'Promotion immobilière de logements', '4110', '411', '41', 'F', 16132),
|
||||
('4110B', 'Promotion immobilière de bureaux', '4110', '411', '41', 'F', 738),
|
||||
('4110C', 'Promotion immobilière d''autres bâtiments', '4110', '411', '41', 'F', 1733),
|
||||
('4110D', 'Supports juridiques de programmes', '4110', '411', '41', 'F', 57501),
|
||||
('4120A', 'Construction de maisons individuelles', '4120', '412', '41', 'F', 30009),
|
||||
('4120B', 'Construction d''autres bâtiments', '4120', '412', '41', 'F', 10210),
|
||||
('4211Z', 'Construction de routes et autoroutes', '4211', '421', '42', 'F', 3306),
|
||||
('4212Z', 'Construction de voies ferrées de surface et souterraines', '4212', '421', '42', 'F', 168),
|
||||
('4213A', 'Construction d''ouvrages d''art', '4213', '421', '42', 'F', 320),
|
||||
('4213B', 'Construction et entretien de tunnels', '4213', '421', '42', 'F', 29),
|
||||
('4221Z', 'Construction de réseaux pour fluides', '4221', '422', '42', 'F', 1686),
|
||||
('4222Z', 'Construction de réseaux électriques et de télécommunications', '4222', '422', '42', 'F', 1338),
|
||||
('4291Z', 'Construction d''ouvrages maritimes et fluviaux', '4291', '429', '42', 'F', 419),
|
||||
('4299Z', 'Construction d''autres ouvrages de génie civil nca', '4299', '429', '42', 'F', 20274),
|
||||
('4311Z', 'Travaux de démolition', '4311', '431', '43', 'F', 682),
|
||||
('4312A', 'Travaux de terrassement courants et travaux préparatoires', '4312', '431', '43', 'F', 21490),
|
||||
('4312B', 'Travaux de terrassement spécialisés ou de grande masse', '4312', '431', '43', 'F', 1984),
|
||||
('4313Z', 'Forages et sondages', '4313', '431', '43', 'F', 684),
|
||||
('4321A', 'Travaux d''installation électrique dans tous locaux', '4321', '432', '43', 'F', 64485),
|
||||
('4321B', 'Travaux d''installation électrique sur la voie publique', '4321', '432', '43', 'F', 296),
|
||||
('4322A', 'Travaux d''installation d''eau et de gaz en tous locaux', '4322', '432', '43', 'F', 42538),
|
||||
('4322B', 'Travaux d''installation d''équipements thermiques et de climatisation', '4322', '432', '43', 'F', 24457),
|
||||
('4329A', 'Travaux d''isolation', '4329', '432', '43', 'F', 3878),
|
||||
('4329B', 'Autres travaux d''installation nca', '4329', '432', '43', 'F', 3635),
|
||||
('4331Z', 'Travaux de plâtrerie', '4331', '433', '43', 'F', 23681),
|
||||
('4332A', 'Travaux de menuiserie bois et pvc', '4332', '433', '43', 'F', 49353),
|
||||
('4332B', 'Travaux de menuiserie métallique et serrurerie', '4332', '433', '43', 'F', 18639),
|
||||
('4332C', 'Agencement de lieux de vente', '4332', '433', '43', 'F', 3189),
|
||||
('4333Z', 'Travaux de revêtement des sols et des murs', '4333', '433', '43', 'F', 24016),
|
||||
('4334Z', 'Travaux de peinture et vitrerie', '4334', '433', '43', 'F', 66025),
|
||||
('4339Z', 'Autres travaux de finition', '4339', '433', '43', 'F', 13790),
|
||||
('4391A', 'Travaux de charpente', '4391', '439', '43', 'F', 10129),
|
||||
('4391B', 'Travaux de couverture par éléments', '4391', '439', '43', 'F', 17404),
|
||||
('4399A', 'Travaux d''étanchéification', '4399', '439', '43', 'F', 3877),
|
||||
('4399B', 'Travaux de montage de structures métalliques', '4399', '439', '43', 'F', 2366),
|
||||
('4399C', 'Travaux de maçonnerie générale et gros œuvre de bâtiment', '4399', '439', '43', 'F', 105759),
|
||||
('4399D', 'Autres travaux spécialisés de construction', '4399', '439', '43', 'F', 7371),
|
||||
('4399E', 'Location avec opérateur de matériel de construction', '4399', '439', '43', 'F', 828),
|
||||
('4511Z', 'Commerce de voitures et de véhicules automobiles légers', '4511', '451', '45', 'G', 38384),
|
||||
('4519Z', 'Commerce d''autres véhicules automobiles', '4519', '451', '45', 'G', 1681),
|
||||
('4520A', 'Entretien et réparation de véhicules automobiles légers', '4520', '452', '45', 'G', 47571),
|
||||
('4520B', 'Entretien et réparation d''autres véhicules automobiles', '4520', '452', '45', 'G', 1542),
|
||||
('4531Z', 'Commerce de gros d''équipements automobiles', '4531', '453', '45', 'G', 5368),
|
||||
('4532Z', 'Commerce de détail d''équipements automobiles', '4532', '453', '45', 'G', 8075),
|
||||
('4540Z', 'Commerce et réparation de motocycles', '4540', '454', '45', 'G', 7398),
|
||||
('4611Z', 'Intermédiaires du commerce en matières premières agricoles, animaux vivants, matières premières textiles et produits semi-finis', '4611', '461', '46', 'G', 1169),
|
||||
('4612A', 'Centrales d''achat de carburant', '4612', '461', '46', 'G', 24),
|
||||
('4612B', 'Autres intermédiaires du commerce en combustibles, métaux, minéraux et produits chimiques', '4612', '461', '46', 'G', 755),
|
||||
('4613Z', 'Intermédiaires du commerce en bois et matériaux de construction', '4613', '461', '46', 'G', 1708),
|
||||
('4614Z', 'Intermédiaires du commerce en machines, équipements industriels, navires et avions', '4614', '461', '46', 'G', 1871),
|
||||
('4615Z', 'Intermédiaires du commerce en meubles, articles de ménage et quincaillerie', '4615', '461', '46', 'G', 1217),
|
||||
('4616Z', 'Intermédiaires du commerce en textiles, habillement, fourrures, chaussures et articles en cuir', '4616', '461', '46', 'G', 2245),
|
||||
('4617A', 'Centrales d''achat alimentaires', '4617', '461', '46', 'G', 456),
|
||||
('4617B', 'Autres intermédiaires du commerce en denrées, boissons et tabac', '4617', '461', '46', 'G', 3322),
|
||||
('4618Z', 'Intermédiaires spécialisés dans le commerce d''autres produits spécifiques', '4618', '461', '46', 'G', 22798),
|
||||
('4619A', 'Centrales d''achat non alimentaires', '4619', '461', '46', 'G', 1338),
|
||||
('4619B', 'Autres intermédiaires du commerce en produits divers', '4619', '461', '46', 'G', 38337),
|
||||
('4621Z', 'Commerce de gros (commerce interentreprises) de céréales, de tabac non manufacturé, de semences et d''aliments pour le bétail', '4621', '462', '46', 'G', 8231),
|
||||
('4622Z', 'Commerce de gros (commerce interentreprises) de fleurs et plantes', '4622', '462', '46', 'G', 1554),
|
||||
('4623Z', 'Commerce de gros (commerce interentreprises) d''animaux vivants', '4623', '462', '46', 'G', 4135),
|
||||
('4624Z', 'Commerce de gros (commerce interentreprises) de cuirs et peaux', '4624', '462', '46', 'G', 262),
|
||||
('4631Z', 'Commerce de gros (commerce interentreprises) de fruits et légumes', '4631', '463', '46', 'G', 5446),
|
||||
('4632A', 'Commerce de gros (commerce interentreprises) de viandes de boucherie', '4632', '463', '46', 'G', 1522),
|
||||
('4632B', 'Commerce de gros (commerce interentreprises) de produits à base de viande', '4632', '463', '46', 'G', 458),
|
||||
('4632C', 'Commerce de gros (commerce interentreprises) de volailles et gibier', '4632', '463', '46', 'G', 646),
|
||||
('4633Z', 'Commerce de gros (commerce interentreprises) de produits laitiers, œufs, huiles et matières grasses comestibles', '4633', '463', '46', 'G', 1510),
|
||||
('4634Z', 'Commerce de gros (commerce interentreprises) de boissons', '4634', '463', '46', 'G', 9875),
|
||||
('4635Z', 'Commerce de gros (commerce interentreprises) de produits à base de tabac', '4635', '463', '46', 'G', 103),
|
||||
('4636Z', 'Commerce de gros (commerce interentreprises) de sucre, chocolat et confiserie', '4636', '463', '46', 'G', 545),
|
||||
('4637Z', 'Commerce de gros (commerce interentreprises) de café, thé, cacao et épices', '4637', '463', '46', 'G', 490),
|
||||
('4638A', 'Commerce de gros (commerce interentreprises) de poissons, crustacés et mollusques', '4638', '463', '46', 'G', 1784),
|
||||
('4638B', 'Commerce de gros (commerce interentreprises) alimentaire spécialisé divers', '4638', '463', '46', 'G', 4941),
|
||||
('4639A', 'Commerce de gros (commerce interentreprises) de produits surgelés', '4639', '463', '46', 'G', 715),
|
||||
('4639B', 'Commerce de gros (commerce interentreprises) alimentaire non spécialisé', '4639', '463', '46', 'G', 3812),
|
||||
('4641Z', 'Commerce de gros (commerce interentreprises) de textiles', '4641', '464', '46', 'G', 4183),
|
||||
('4642Z', 'Commerce de gros (commerce interentreprises) d''habillement et de chaussures', '4642', '464', '46', 'G', 14888),
|
||||
('4643Z', 'Commerce de gros (commerce interentreprises) d''appareils électroménagers', '4643', '464', '46', 'G', 2728),
|
||||
('4644Z', 'Commerce de gros (commerce interentreprises) de vaisselle, verrerie et produits d''entretien', '4644', '464', '46', 'G', 1885),
|
||||
('4645Z', 'Commerce de gros (commerce interentreprises) de parfumerie et de produits de beauté', '4645', '464', '46', 'G', 3603),
|
||||
('4646Z', 'Commerce de gros (commerce interentreprises) de produits pharmaceutiques', '4646', '464', '46', 'G', 4779),
|
||||
('4647Z', 'Commerce de gros (commerce interentreprises) de meubles, de tapis et d''appareils d''éclairage', '4647', '464', '46', 'G', 799),
|
||||
('4648Z', 'Commerce de gros (commerce interentreprises) d''articles d''horlogerie et de bijouterie', '4648', '464', '46', 'G', 444),
|
||||
('4649Z', 'Commerce de gros (commerce interentreprises) d''autres biens domestiques', '4649', '464', '46', 'G', 26661),
|
||||
('4651Z', 'Commerce de gros (commerce interentreprises) d''ordinateurs, d''équipements informatiques périphériques et de logiciels', '4651', '465', '46', 'G', 9158),
|
||||
('4652Z', 'Commerce de gros (commerce interentreprises) de composants et d''équipements électroniques et de télécommunication', '4652', '465', '46', 'G', 5862),
|
||||
('4661Z', 'Commerce de gros (commerce interentreprises) de matériel agricole', '4661', '466', '46', 'G', 5386),
|
||||
('4662Z', 'Commerce de gros (commerce interentreprises) de machines-outils', '4662', '466', '46', 'G', 1290),
|
||||
('4663Z', 'Commerce de gros (commerce interentreprises) de machines pour l''extraction, la construction et le génie civil', '4663', '466', '46', 'G', 2563),
|
||||
('4664Z', 'Commerce de gros (commerce interentreprises) de machines pour l''industrie textile et l''habillement', '4664', '466', '46', 'G', 176),
|
||||
('4665Z', 'Commerce de gros (commerce interentreprises) de mobilier de bureau', '4665', '466', '46', 'G', 696),
|
||||
('4666Z', 'Commerce de gros (commerce interentreprises) d''autres machines et équipements de bureau', '4666', '466', '46', 'G', 2536),
|
||||
('4669A', 'Commerce de gros (commerce interentreprises) de matériel électrique', '4669', '466', '46', 'G', 4255),
|
||||
('4669B', 'Commerce de gros (commerce interentreprises) de fournitures et équipements industriels divers', '4669', '466', '46', 'G', 17352),
|
||||
('4669C', 'Commerce de gros (commerce interentreprises) de fournitures et équipements divers pour le commerce et les services', '4669', '466', '46', 'G', 6362),
|
||||
('4671Z', 'Commerce de gros (commerce interentreprises) de combustibles et de produits annexes', '4671', '467', '46', 'G', 4349),
|
||||
('4672Z', 'Commerce de gros (commerce interentreprises) de minerais et métaux', '4672', '467', '46', 'G', 2331),
|
||||
('4673A', 'Commerce de gros (commerce interentreprises) de bois et de matériaux de construction', '4673', '467', '46', 'G', 16214),
|
||||
('4673B', 'Commerce de gros (commerce interentreprises) d''appareils sanitaires et de produits de décoration', '4673', '467', '46', 'G', 4020),
|
||||
('4674A', 'Commerce de gros (commerce interentreprises) de quincaillerie', '4674', '467', '46', 'G', 2389),
|
||||
('4674B', 'Commerce de gros (commerce interentreprises) de fournitures pour la plomberie et le chauffage', '4674', '467', '46', 'G', 2936),
|
||||
('4675Z', 'Commerce de gros (commerce interentreprises) de produits chimiques', '4675', '467', '46', 'G', 4133),
|
||||
('4676Z', 'Commerce de gros (commerce interentreprises) d''autres produits intermédiaires', '4676', '467', '46', 'G', 2584),
|
||||
('4677Z', 'Commerce de gros (commerce interentreprises) de déchets et débris', '4677', '467', '46', 'G', 667),
|
||||
('4690Z', 'Commerce de gros (commerce interentreprises) non spécialisé', '4690', '469', '46', 'G', 21318),
|
||||
('4711A', 'Commerce de détail de produits surgelés', '4711', '471', '47', 'G', 1424),
|
||||
('4711B', 'Commerce d''alimentation générale', '4711', '471', '47', 'G', 28585),
|
||||
('4711C', 'Supérettes', '4711', '471', '47', 'G', 4664),
|
||||
('4711D', 'Supermarchés', '4711', '471', '47', 'G', 12999),
|
||||
('4711E', 'Magasins multi-commerces', '4711', '471', '47', 'G', 371),
|
||||
('4711F', 'Hypermarchés', '4711', '471', '47', 'G', 5105),
|
||||
('4719A', 'Grands magasins', '4719', '471', '47', 'G', 269),
|
||||
('4719B', 'Autres commerces de détail en magasin non spécialisé', '4719', '471', '47', 'G', 5741),
|
||||
('4721Z', 'Commerce de détail de fruits et légumes en magasin spécialisé', '4721', '472', '47', 'G', 7872),
|
||||
('4722Z', 'Commerce de détail de viandes et de produits à base de viande en magasin spécialisé', '4722', '472', '47', 'G', 21901),
|
||||
('4723Z', 'Commerce de détail de poissons, crustacés et mollusques en magasin spécialisé', '4723', '472', '47', 'G', 3467),
|
||||
('4724Z', 'Commerce de détail de pain, pâtisserie et confiserie en magasin spécialisé', '4724', '472', '47', 'G', 5644),
|
||||
('4725Z', 'Commerce de détail de boissons en magasin spécialisé', '4725', '472', '47', 'G', 7942),
|
||||
('4726Z', 'Commerce de détail de produits à base de tabac en magasin spécialisé', '4726', '472', '47', 'G', 6210),
|
||||
('4729Z', 'Autres commerces de détail alimentaires en magasin spécialisé', '4729', '472', '47', 'G', 12515),
|
||||
('4730Z', 'Commerce de détail de carburants en magasin spécialisé', '4730', '473', '47', 'G', 9247),
|
||||
('4741Z', 'Commerce de détail d''ordinateurs, d''unités périphériques et de logiciels en magasin spécialisé', '4741', '474', '47', 'G', 5741),
|
||||
('4742Z', 'Commerce de détail de matériels de télécommunication en magasin spécialisé', '4742', '474', '47', 'G', 3711),
|
||||
('4743Z', 'Commerce de détail de matériels audio et vidéo en magasin spécialisé', '4743', '474', '47', 'G', 2346),
|
||||
('4751Z', 'Commerce de détail de textiles en magasin spécialisé', '4751', '475', '47', 'G', 7120),
|
||||
('4752A', 'Commerce de détail de quincaillerie, peintures et verres en petites surfaces (moins de 400 m²)', '4752', '475', '47', 'G', 9570),
|
||||
('4752B', 'Commerce de détail de quincaillerie, peintures et verres en grandes surfaces (400 m² et plus)', '4752', '475', '47', 'G', 5700),
|
||||
('4753Z', 'Commerce de détail de tapis, moquettes et revêtements de murs et de sols en magasin spécialisé', '4753', '475', '47', 'G', 2441),
|
||||
('4754Z', 'Commerce de détail d''appareils électroménagers en magasin spécialisé', '4754', '475', '47', 'G', 8820),
|
||||
('4759A', 'Commerce de détail de meubles', '4759', '475', '47', 'G', 15541),
|
||||
('4759B', 'Commerce de détail d''autres équipements du foyer', '4759', '475', '47', 'G', 15597),
|
||||
('4761Z', 'Commerce de détail de livres en magasin spécialisé', '4761', '476', '47', 'G', 4821),
|
||||
('4762Z', 'Commerce de détail de journaux et papeterie en magasin spécialisé', '4762', '476', '47', 'G', 18135),
|
||||
('4763Z', 'Commerce de détail d''enregistrements musicaux et vidéo en magasin spécialisé', '4763', '476', '47', 'G', 952),
|
||||
('4764Z', 'Commerce de détail d''articles de sport en magasin spécialisé', '4764', '476', '47', 'G', 15835),
|
||||
('4765Z', 'Commerce de détail de jeux et jouets en magasin spécialisé', '4765', '476', '47', 'G', 3183),
|
||||
('4771Z', 'Commerce de détail d''habillement en magasin spécialisé', '4771', '477', '47', 'G', 75781),
|
||||
('4772A', 'Commerce de détail de la chaussure', '4772', '477', '47', 'G', 13300),
|
||||
('4772B', 'Commerce de détail de maroquinerie et d''articles de voyage', '4772', '477', '47', 'G', 3345),
|
||||
('4773Z', 'Commerce de détail de produits pharmaceutiques en magasin spécialisé', '4773', '477', '47', 'G', 27498),
|
||||
('4774Z', 'Commerce de détail d''articles médicaux et orthopédiques en magasin spécialisé', '4774', '477', '47', 'G', 5233),
|
||||
('4775Z', 'Commerce de détail de parfumerie et de produits de beauté en magasin spécialisé', '4775', '477', '47', 'G', 8518),
|
||||
('4776Z', 'Commerce de détail de fleurs, plantes, graines, engrais, animaux de compagnie et aliments pour ces animaux en magasin spécialisé', '4776', '477', '47', 'G', 22089),
|
||||
('4777Z', 'Commerce de détail d''articles d''horlogerie et de bijouterie en magasin spécialisé', '4777', '477', '47', 'G', 8845),
|
||||
('4778A', 'Commerces de détail d''optique', '4778', '477', '47', 'G', 13161),
|
||||
('4778B', 'Commerces de détail de charbons et combustibles', '4778', '477', '47', 'G', 3570),
|
||||
('4778C', 'Autres commerces de détail spécialisés divers', '4778', '477', '47', 'G', 43534),
|
||||
('4779Z', 'Commerce de détail de biens d''occasion en magasin', '4779', '477', '47', 'G', 20458),
|
||||
('4781Z', 'Commerce de détail alimentaire sur éventaires et marchés', '4781', '478', '47', 'G', 34467),
|
||||
('4782Z', 'Commerce de détail de textiles, d''habillement et de chaussures sur éventaires et marchés', '4782', '478', '47', 'G', 12198),
|
||||
('4789Z', 'Autres commerces de détail sur éventaires et marchés', '4789', '478', '47', 'G', 72354),
|
||||
('4791A', 'Vente à distance sur catalogue général', '4791', '479', '47', 'G', 5344),
|
||||
('4791B', 'Vente à distance sur catalogue spécialisé', '4791', '479', '47', 'G', 10584),
|
||||
('4799A', 'Vente à domicile', '4799', '479', '47', 'G', 11975),
|
||||
('4799B', 'Vente par automates et autres commerces de détail hors magasin, éventaires ou marchés nca', '4799', '479', '47', 'G', 3539),
|
||||
('4910Z', 'Transport ferroviaire interurbain de voyageurs', '4910', '491', '49', 'H', 2965),
|
||||
('4920Z', 'Transports ferroviaires de fret', '4920', '492', '49', 'H', 87),
|
||||
('4931Z', 'Transports urbains et suburbains de voyageurs', '4931', '493', '49', 'H', 1233),
|
||||
('4932Z', 'Transports de voyageurs par taxis', '4932', '493', '49', 'H', 46503),
|
||||
('4939A', 'Transports routiers réguliers de voyageurs', '4939', '493', '49', 'H', 5279),
|
||||
('4939B', 'Autres transports routiers de voyageurs', '4939', '493', '49', 'H', 3318),
|
||||
('4939C', 'Téléphériques et remontées mécaniques', '4939', '493', '49', 'H', 408),
|
||||
('4941A', 'Transports routiers de fret interurbains', '4941', '494', '49', 'H', 19487),
|
||||
('4941B', 'Transports routiers de fret de proximité', '4941', '494', '49', 'H', 31836),
|
||||
('4941C', 'Location de camions avec chauffeur', '4941', '494', '49', 'H', 1750),
|
||||
('4942Z', 'Services de déménagement', '4942', '494', '49', 'H', 2947),
|
||||
('4950Z', 'Transports par conduites', '4950', '495', '49', 'H', 302),
|
||||
('5010Z', 'Transports maritimes et côtiers de passagers', '5010', '501', '50', 'H', 1215),
|
||||
('5020Z', 'Transports maritimes et côtiers de fret', '5020', '502', '50', 'H', 227),
|
||||
('5030Z', 'Transports fluviaux de passagers', '5030', '503', '50', 'H', 227),
|
||||
('5040Z', 'Transports fluviaux de fret', '5040', '504', '50', 'H', 1280),
|
||||
('5110Z', 'Transports aériens de passagers', '5110', '511', '51', 'H', 1495),
|
||||
('5121Z', 'Transports aériens de fret', '5121', '512', '51', 'H', 58),
|
||||
('5122Z', 'Transports spatiaux', '5122', '512', '51', 'H', 5),
|
||||
('5210A', 'Entreposage et stockage frigorifique', '5210', '521', '52', 'H', 714),
|
||||
('5210B', 'Entreposage et stockage non frigorifique', '5210', '521', '52', 'H', 3347),
|
||||
('5221Z', 'Services auxiliaires des transports terrestres', '5221', '522', '52', 'H', 3384),
|
||||
('5222Z', 'Services auxiliaires des transports par eau', '5222', '522', '52', 'H', 664),
|
||||
('5223Z', 'Services auxiliaires des transports aériens', '5223', '522', '52', 'H', 472),
|
||||
('5224A', 'Manutention portuaire', '5224', '522', '52', 'H', 314),
|
||||
('5224B', 'Manutention non portuaire', '5224', '522', '52', 'H', 635),
|
||||
('5229A', 'Messagerie, fret express', '5229', '522', '52', 'H', 2688),
|
||||
('5229B', 'Affrètement et organisation des transports', '5229', '522', '52', 'H', 6425),
|
||||
('5310Z', 'Activités de poste dans le cadre d''une obligation de service universel', '5310', '531', '53', 'H', 24621),
|
||||
('5320Z', 'Autres activités de poste et de courrier', '5320', '532', '53', 'H', 2698),
|
||||
('5510Z', 'Hôtels et hébergement similaire', '5510', '551', '55', 'I', 43600),
|
||||
('5520Z', 'Hébergement touristique et autre hébergement de courte durée', '5520', '552', '55', 'I', 24174),
|
||||
('5530Z', 'Terrains de camping et parcs pour caravanes ou véhicules de loisirs', '5530', '553', '55', 'I', 7461),
|
||||
('5590Z', 'Autres hébergements', '5590', '559', '55', 'I', 1719),
|
||||
('5610A', 'Restauration traditionnelle', '5610', '561', '56', 'I', 136468),
|
||||
('5610B', 'Cafétérias et autres libres-services', '5610', '561', '56', 'I', 1291),
|
||||
('5610C', 'Restauration de type rapide', '5610', '561', '56', 'I', 62419),
|
||||
('5621Z', 'Services des traiteurs', '5621', '562', '56', 'I', 7719),
|
||||
('5629A', 'Restauration collective sous contrat', '5629', '562', '56', 'I', 8025),
|
||||
('5629B', 'Autres services de restauration nca', '5629', '562', '56', 'I', 10225),
|
||||
('5630Z', 'Débits de boissons', '5630', '563', '56', 'I', 47141),
|
||||
('5811Z', 'Édition de livres', '5811', '581', '58', 'J', 5424),
|
||||
('5812Z', 'Édition de répertoires et de fichiers d''adresses', '5812', '581', '58', 'J', 60),
|
||||
('5813Z', 'Édition de journaux', '5813', '581', '58', 'J', 4028),
|
||||
('5814Z', 'Édition de revues et périodiques', '5814', '581', '58', 'J', 7188),
|
||||
('5819Z', 'Autres activités d''édition', '5819', '581', '58', 'J', 2147),
|
||||
('5821Z', 'Édition de jeux électroniques', '5821', '582', '58', 'J', 136),
|
||||
('5829A', 'Édition de logiciels système et de réseau', '5829', '582', '58', 'J', 736),
|
||||
('5829B', 'Edition de logiciels outils de développement et de langages', '5829', '582', '58', 'J', 344),
|
||||
('5829C', 'Edition de logiciels applicatifs', '5829', '582', '58', 'J', 5618),
|
||||
('5911A', 'Production de films et de programmes pour la télévision', '5911', '591', '59', 'J', 4764),
|
||||
('5911B', 'Production de films institutionnels et publicitaires', '5911', '591', '59', 'J', 5620),
|
||||
('5911C', 'Production de films pour le cinéma', '5911', '591', '59', 'J', 5285),
|
||||
('5912Z', 'Post-production de films cinématographiques, de vidéo et de programmes de télévision', '5912', '591', '59', 'J', 2148);
|
||||
INSERT INTO `tabnaf5` (`codNaf5`, `libNaf5`, `codNaf4`, `codNaf3`, `codNaf2`, `codNaf1`, `poids`) VALUES
|
||||
('5913A', 'Distribution de films cinématographiques', '5913', '591', '59', 'J', 509),
|
||||
('5913B', 'Edition et distribution vidéo', '5913', '591', '59', 'J', 976),
|
||||
('5914Z', 'Projection de films cinématographiques', '5914', '591', '59', 'J', 2172),
|
||||
('5920Z', 'Enregistrement sonore et édition musicale', '5920', '592', '59', 'J', 5516),
|
||||
('6010Z', 'Édition et diffusion de programmes radio', '6010', '601', '60', 'J', 2184),
|
||||
('6020A', 'Edition de chaînes généralistes', '6020', '602', '60', 'J', 199),
|
||||
('6020B', 'Edition de chaînes thématiques', '6020', '602', '60', 'J', 272),
|
||||
('6110Z', 'Télécommunications filaires', '6110', '611', '61', 'J', 4393),
|
||||
('6120Z', 'Télécommunications sans fil', '6120', '612', '61', 'J', 1539),
|
||||
('6130Z', 'Télécommunications par satellite', '6130', '613', '61', 'J', 148),
|
||||
('6190Z', 'Autres activités de télécommunication', '6190', '619', '61', 'J', 5031),
|
||||
('6201Z', 'Programmation informatique', '6201', '620', '62', 'J', 21041),
|
||||
('6202A', 'Conseil en systèmes et logiciels informatiques', '6202', '620', '62', 'J', 39750),
|
||||
('6202B', 'Tierce maintenance de systèmes et d''applications informatiques', '6202', '620', '62', 'J', 1842),
|
||||
('6203Z', 'Gestion d''installations informatiques', '6203', '620', '62', 'J', 881),
|
||||
('6209Z', 'Autres activités informatiques', '6209', '620', '62', 'J', 3190),
|
||||
('6311Z', 'Traitement de données, hébergement et activités connexes', '6311', '631', '63', 'J', 7423),
|
||||
('6312Z', 'Portails internet', '6312', '631', '63', 'J', 827),
|
||||
('6391Z', 'Activités des agences de presse', '6391', '639', '63', 'J', 5043),
|
||||
('6399Z', 'Autres services d''information nca', '6399', '639', '63', 'J', 37290),
|
||||
('6411Z', 'Activités de banque centrale', '6411', '641', '64', 'K', 172),
|
||||
('6419Z', 'Autres intermédiations monétaires', '6419', '641', '64', 'K', 40859),
|
||||
('6420Z', 'Activités des sociétés holding', '6420', '642', '64', 'K', 87475),
|
||||
('6430Z', 'Fonds de placement et entités financières similaires', '6430', '643', '64', 'K', 19791),
|
||||
('6491Z', 'Crédit-bail', '6491', '649', '64', 'K', 1012),
|
||||
('6492Z', 'Autre distribution de crédit', '6492', '649', '64', 'K', 1941),
|
||||
('6499Z', 'Autres activités des services financiers, hors assurance et caisses de retraite, nca', '6499', '649', '64', 'K', 1401),
|
||||
('6511Z', 'Assurance vie', '6511', '651', '65', 'K', 1598),
|
||||
('6512Z', 'Autres assurances', '6512', '651', '65', 'K', 15644),
|
||||
('6520Z', 'Réassurance', '6520', '652', '65', 'K', 158),
|
||||
('6530Z', 'Caisses de retraite', '6530', '653', '65', 'K', 61),
|
||||
('6611Z', 'Administration de marchés financiers', '6611', '661', '66', 'K', 168),
|
||||
('6612Z', 'Courtage de valeurs mobilières et de marchandises', '6612', '661', '66', 'K', 1141),
|
||||
('6619A', 'Supports juridiques de gestion de patrimoine mobilier', '6619', '661', '66', 'K', 23729),
|
||||
('6619B', 'Autres activités auxiliaires de services financiers, hors assurance et caisses de retraite, nca', '6619', '661', '66', 'K', 8085),
|
||||
('6621Z', 'évaluation des risques et dommages', '6621', '662', '66', 'K', 1203),
|
||||
('6622Z', 'Activités des agents et courtiers d''assurances', '6622', '662', '66', 'K', 44372),
|
||||
('6629Z', 'Autres activités auxiliaires d''assurance et de caisses de retraite', '6629', '662', '66', 'K', 1334),
|
||||
('6630Z', 'Gestion de fonds', '6630', '663', '66', 'K', 10974),
|
||||
('6810Z', 'Activités des marchands de biens immobiliers', '6810', '681', '68', 'L', 35991),
|
||||
('6820A', 'Location de logements', '6820', '682', '68', 'L', 406793),
|
||||
('6820B', 'Location de terrains et d''autres biens immobiliers', '6820', '682', '68', 'L', 1205525),
|
||||
('6831Z', 'Agences immobilières', '6831', '683', '68', 'L', 80778),
|
||||
('6832A', 'Administration d''immeubles et autres biens immobiliers', '6832', '683', '68', 'L', 35267),
|
||||
('6832B', 'Supports juridiques de gestion de patrimoine immobilier', '6832', '683', '68', 'L', 1500),
|
||||
('6910Z', 'Activités juridiques', '6910', '691', '69', 'M', 89227),
|
||||
('6920Z', 'Activités comptables', '6920', '692', '69', 'M', 34157),
|
||||
('7010Z', 'Activités des sièges sociaux', '7010', '701', '70', 'M', 262867),
|
||||
('7021Z', 'Conseil en relations publiques et communication', '7021', '702', '70', 'M', 7065),
|
||||
('7022Z', 'Conseil pour les affaires et autres conseils de gestion', '7022', '702', '70', 'M', 126923),
|
||||
('7111Z', 'Activités d''architecture', '7111', '711', '71', 'M', 42022),
|
||||
('7112A', 'Activité des géomètres', '7112', '711', '71', 'M', 4275),
|
||||
('7112B', 'Ingénierie, études techniques', '7112', '711', '71', 'M', 54713),
|
||||
('7120A', 'Contrôle technique automobile', '7120', '712', '71', 'M', 6237),
|
||||
('7120B', 'Analyses, essais et inspections techniques', '7120', '712', '71', 'M', 9245),
|
||||
('7211Z', 'Recherche-développement en biotechnologie', '7211', '721', '72', 'M', 994),
|
||||
('7219Z', 'Recherche-développement en autres sciences physiques et naturelles', '7219', '721', '72', 'M', 91916),
|
||||
('7220Z', 'Recherche-développement en sciences humaines et sociales', '7220', '722', '72', 'M', 1762),
|
||||
('7311Z', 'Activités des agences de publicité', '7311', '731', '73', 'M', 27200),
|
||||
('7312Z', 'Régie publicitaire de médias', '7312', '731', '73', 'M', 7426),
|
||||
('7320Z', 'études de marché et sondages', '7320', '732', '73', 'M', 4653),
|
||||
('7410Z', 'Activités spécialisées de design', '7410', '741', '74', 'M', 6437),
|
||||
('7420Z', 'Activités photographiques', '7420', '742', '74', 'M', 14790),
|
||||
('7430Z', 'Traduction et interprétation', '7430', '743', '74', 'M', 14351),
|
||||
('7490A', 'Activité des économistes de la construction', '7490', '749', '74', 'M', 3121),
|
||||
('7490B', 'Activités spécialisées, scientifiques et techniques diverses', '7490', '749', '74', 'M', 8237),
|
||||
('7500Z', 'Activités vétérinaires', '7500', '750', '75', 'M', 14189),
|
||||
('7711A', 'Location de courte durée de voitures et de véhicules automobiles légers', '7711', '771', '77', 'N', 6357),
|
||||
('7711B', 'Location de longue durée de voitures et de véhicules automobiles légers', '7711', '771', '77', 'N', 3723),
|
||||
('7712Z', 'Location et location-bail de camions', '7712', '771', '77', 'N', 5429),
|
||||
('7721Z', 'Location et location-bail d''articles de loisirs et de sport', '7721', '772', '77', 'N', 2419),
|
||||
('7722Z', 'Location de vidéocassettes et disques vidéo', '7722', '772', '77', 'N', 2130),
|
||||
('7729Z', 'Location et location-bail d''autres biens personnels et domestiques', '7729', '772', '77', 'N', 7775),
|
||||
('7731Z', 'Location et location-bail de machines et équipements agricoles', '7731', '773', '77', 'N', 8012),
|
||||
('7732Z', 'Location et location-bail de machines et équipements pour la construction', '7732', '773', '77', 'N', 4454),
|
||||
('7733Z', 'Location et location-bail de machines de bureau et de matériel informatique', '7733', '773', '77', 'N', 568),
|
||||
('7734Z', 'Location et location-bail de matériels de transport par eau', '7734', '773', '77', 'N', 1123),
|
||||
('7735Z', 'Location et location-bail de matériels de transport aérien', '7735', '773', '77', 'N', 679),
|
||||
('7739Z', 'Location et location-bail d''autres machines, équipements et biens matériels nca', '7739', '773', '77', 'N', 14335),
|
||||
('7740Z', 'Location-bail de propriété intellectuelle et de produits similaires, à l''exception des œuvres soumises à copyright', '7740', '774', '77', 'N', 1335),
|
||||
('7810Z', 'Activités des agences de placement de main-d''œuvre', '7810', '781', '78', 'N', 1350),
|
||||
('7820Z', 'Activités des agences de travail temporaire', '7820', '782', '78', 'N', 11262),
|
||||
('7830Z', 'Autre mise à disposition de ressources humaines', '7830', '783', '78', 'N', 10184),
|
||||
('7911Z', 'Activités des agences de voyage', '7911', '791', '79', 'N', 11236),
|
||||
('7912Z', 'Activités des voyagistes', '7912', '791', '79', 'N', 884),
|
||||
('7990Z', 'Autres services de réservation et activités connexes', '7990', '799', '79', 'N', 3388),
|
||||
('8010Z', 'Activités de sécurité privée', '8010', '801', '80', 'N', 14953),
|
||||
('8020Z', 'Activités liées aux systèmes de sécurité', '8020', '802', '80', 'N', 1428),
|
||||
('8030Z', 'Activités d''enquête', '8030', '803', '80', 'N', 549),
|
||||
('8110Z', 'Activités combinées de soutien lié aux bâtiments', '8110', '811', '81', 'N', 158918),
|
||||
('8121Z', 'Nettoyage courant des bâtiments', '8121', '812', '81', 'N', 21807),
|
||||
('8122Z', 'Autres activités de nettoyage des bâtiments et nettoyage industriel', '8122', '812', '81', 'N', 6158),
|
||||
('8129A', 'Désinfection, désinsectisation, dératisation', '8129', '812', '81', 'N', 867),
|
||||
('8129B', 'Autres activités de nettoyage nca', '8129', '812', '81', 'N', 2287),
|
||||
('8130Z', 'Services d''aménagement paysager', '8130', '813', '81', 'N', 36430),
|
||||
('8211Z', 'Services administratifs combinés de bureau', '8211', '821', '82', 'N', 4022),
|
||||
('8219Z', 'Photocopie, préparation de documents et autres activités spécialisées de soutien de bureau', '8219', '821', '82', 'N', 33430),
|
||||
('8220Z', 'Activités de centres d''appels', '8220', '822', '82', 'N', 1339),
|
||||
('8230Z', 'Organisation de foires, salons professionnels et congrès', '8230', '823', '82', 'N', 8229),
|
||||
('8291Z', 'Activités des agences de recouvrement de factures et des sociétés d''information financière sur la clientèle', '8291', '829', '82', 'N', 546),
|
||||
('8292Z', 'Activités de conditionnement', '8292', '829', '82', 'N', 1817),
|
||||
('8299Z', 'Autres activités de soutien aux entreprises nca', '8299', '829', '82', 'N', 42056),
|
||||
('8411Z', 'Administration publique générale', '8411', '841', '84', 'O', 180141),
|
||||
('8412Z', 'Administration publique (tutelle) de la santé, de la formation, de la culture et des services sociaux, autre que sécurité sociale', '8412', '841', '84', 'O', 10312),
|
||||
('8413Z', 'Administration publique (tutelle) des activités économiques', '8413', '841', '84', 'O', 11796),
|
||||
('8421Z', 'Affaires étrangères', '8421', '842', '84', 'O', 276),
|
||||
('8422Z', 'Défense', '8422', '842', '84', 'O', 7),
|
||||
('8423Z', 'Justice', '8423', '842', '84', 'O', 3447),
|
||||
('8424Z', 'Activités d''ordre public et de sécurité', '8424', '842', '84', 'O', 1357),
|
||||
('8425Z', 'Services du feu et de secours', '8425', '842', '84', 'O', 593),
|
||||
('8430A', 'Activités générales de sécurité sociale', '8430', '843', '84', 'O', 3657),
|
||||
('8430B', 'Gestion des retraites complémentaires', '8430', '843', '84', 'O', 1216),
|
||||
('8430C', 'Distribution sociale de revenus', '8430', '843', '84', 'O', 1489),
|
||||
('8510Z', 'Enseignement pré-primaire', '8510', '851', '85', 'P', 132),
|
||||
('8520Z', 'Enseignement primaire', '8520', '852', '85', 'P', 5856),
|
||||
('8531Z', 'Enseignement secondaire général', '8531', '853', '85', 'P', 11670),
|
||||
('8532Z', 'Enseignement secondaire technique ou professionnel', '8532', '853', '85', 'P', 4536),
|
||||
('8541Z', 'Enseignement post-secondaire non supérieur', '8541', '854', '85', 'P', 182),
|
||||
('8542Z', 'Enseignement supérieur', '8542', '854', '85', 'P', 4945),
|
||||
('8551Z', 'Enseignement de disciplines sportives et d''activités de loisirs', '8551', '855', '85', 'P', 42217),
|
||||
('8552Z', 'Enseignement culturel', '8552', '855', '85', 'P', 7386),
|
||||
('8553Z', 'Enseignement de la conduite', '8553', '855', '85', 'P', 14939),
|
||||
('8559A', 'Formation continue d''adultes', '8559', '855', '85', 'P', 38029),
|
||||
('8559B', 'Autres enseignements', '8559', '855', '85', 'P', 67685),
|
||||
('8560Z', 'Activités de soutien à l''enseignement', '8560', '856', '85', 'P', 353),
|
||||
('8610Z', 'Activités hospitalières', '8610', '861', '86', 'Q', 13483),
|
||||
('8621Z', 'Activité des médecins généralistes', '8621', '862', '86', 'Q', 111422),
|
||||
('8622A', 'Activités de radiodiagnostic et de radiothérapie', '8622', '862', '86', 'Q', 7813),
|
||||
('8622B', 'Activités chirurgicales', '8622', '862', '86', 'Q', 5903),
|
||||
('8622C', 'Autres activités des médecins spécialistes', '8622', '862', '86', 'Q', 46403),
|
||||
('8623Z', 'Pratique dentaire', '8623', '862', '86', 'Q', 50086),
|
||||
('8690A', 'Ambulances', '8690', '869', '86', 'Q', 8680),
|
||||
('8690B', 'Laboratoires d''analyses médicales', '8690', '869', '86', 'Q', 7019),
|
||||
('8690C', 'Centres de collecte et banques d''organes', '8690', '869', '86', 'Q', 310),
|
||||
('8690D', 'Activités des infirmiers et des sages-femmes', '8690', '869', '86', 'Q', 108865),
|
||||
('8690E', 'Activités des professionnels de la rééducation, de l''appareillage et des pédicures-podologues', '8690', '869', '86', 'Q', 100129),
|
||||
('8690F', 'Activités de santé humaine non classées ailleurs', '8690', '869', '86', 'Q', 25216),
|
||||
('8710A', 'Hébergement médicalisé pour personnes âgées', '8710', '871', '87', 'Q', 4977),
|
||||
('8710B', 'Hébergement médicalisé pour enfants handicapés', '8710', '871', '87', 'Q', 1779),
|
||||
('8710C', 'Hébergement médicalisé pour adultes handicapés et autre hébergement médicalisé', '8710', '871', '87', 'Q', 369),
|
||||
('8720A', 'Hébergement social pour handicapés mentaux et malades mentaux', '8720', '872', '87', 'Q', 2353),
|
||||
('8720B', 'Hébergement social pour toxicomanes', '8720', '872', '87', 'Q', 229),
|
||||
('8730A', 'Hébergement social pour personnes âgées', '8730', '873', '87', 'Q', 2952),
|
||||
('8730B', 'Hébergement social pour handicapés physiques', '8730', '873', '87', 'Q', 172),
|
||||
('8790A', 'Hébergement social pour enfants en difficultés', '8790', '879', '87', 'Q', 2136),
|
||||
('8790B', 'Hébergement social pour adultes et familles en difficultés et autre hébergement social', '8790', '879', '87', 'Q', 2330),
|
||||
('8810A', 'Aide à domicile', '8810', '881', '88', 'Q', 10610),
|
||||
('8810B', 'Accueil ou accompagnement sans hébergement d''adultes handicapés ou de personnes âgées', '8810', '881', '88', 'Q', 647),
|
||||
('8810C', 'Aide par le travail', '8810', '881', '88', 'Q', 2747),
|
||||
('8891A', 'Accueil de jeunes enfants', '8891', '889', '88', 'Q', 5992),
|
||||
('8891B', 'Accueil ou accompagnement sans hébergement d''enfants handicapés', '8891', '889', '88', 'Q', 2144),
|
||||
('8899A', 'Autre accueil ou accompagnement sans hébergement d''enfants et d''adolescents', '8899', '889', '88', 'Q', 592),
|
||||
('8899B', 'Action sociale sans hébergement nca', '8899', '889', '88', 'Q', 266557),
|
||||
('9001Z', 'Arts du spectacle vivant', '9001', '900', '90', 'R', 111463),
|
||||
('9002Z', 'Activités de soutien au spectacle vivant', '9002', '900', '90', 'R', 14344),
|
||||
('9003A', 'Création artistique relevant des arts plastiques', '9003', '900', '90', 'R', 44122),
|
||||
('9003B', 'Autre création artistique', '9003', '900', '90', 'R', 88028),
|
||||
('9004Z', 'Gestion de salles de spectacles', '9004', '900', '90', 'R', 4261),
|
||||
('9101Z', 'Gestion des bibliothèques et des archives', '9101', '910', '91', 'R', 970),
|
||||
('9102Z', 'Gestion des musées', '9102', '910', '91', 'R', 560),
|
||||
('9103Z', 'Gestion des sites et monuments historiques et des attractions touristiques similaires', '9103', '910', '91', 'R', 3532),
|
||||
('9104Z', 'Gestion des jardins botaniques et zoologiques et des réserves naturelles', '9104', '910', '91', 'R', 1170),
|
||||
('9200Z', 'Organisation de jeux de hasard et d''argent', '9200', '920', '92', 'R', 1296),
|
||||
('9311Z', 'Gestion d''installations sportives', '9311', '931', '93', 'R', 6191),
|
||||
('9312Z', 'Activités de clubs de sports', '9312', '931', '93', 'R', 110724),
|
||||
('9313Z', 'Activités des centres de culture physique', '9313', '931', '93', 'R', 1073),
|
||||
('9319Z', 'Autres activités liées au sport', '9319', '931', '93', 'R', 187475),
|
||||
('9321Z', 'Activités des parcs d''attractions et parcs à thèmes', '9321', '932', '93', 'R', 3828),
|
||||
('9329Z', 'Autres activités récréatives et de loisirs', '9329', '932', '93', 'R', 129426),
|
||||
('9411Z', 'Activités des organisations patronales et consulaires', '9411', '941', '94', 'S', 8998),
|
||||
('9412Z', 'Activités des organisations professionnelles', '9412', '941', '94', 'S', 5376),
|
||||
('9420Z', 'Activités des syndicats de salariés', '9420', '942', '94', 'S', 10364),
|
||||
('9491Z', 'Activités des organisations religieuses', '9491', '949', '94', 'S', 32908),
|
||||
('9492Z', 'Activités des organisations politiques', '9492', '949', '94', 'S', 13597),
|
||||
('9499Z', 'Autres organisations fonctionnant par adhésion volontaire', '9499', '949', '94', 'S', 656160),
|
||||
('9511Z', 'Réparation d''ordinateurs et d''équipements périphériques', '9511', '951', '95', 'S', 9044),
|
||||
('9512Z', 'Réparation d''équipements de communication', '9512', '951', '95', 'S', 197),
|
||||
('9521Z', 'Réparation de produits électroniques grand public', '9521', '952', '95', 'S', 3263),
|
||||
('9522Z', 'Réparation d''appareils électroménagers et d''équipements pour la maison et le jardin', '9522', '952', '95', 'S', 2963),
|
||||
('9523Z', 'Réparation de chaussures et d''articles en cuir', '9523', '952', '95', 'S', 4295),
|
||||
('9524Z', 'Réparation de meubles et d''équipements du foyer', '9524', '952', '95', 'S', 2803),
|
||||
('9525Z', 'Réparation d''articles d''horlogerie et de bijouterie', '9525', '952', '95', 'S', 1027),
|
||||
('9529Z', 'Réparation d''autres biens personnels et domestiques', '9529', '952', '95', 'S', 9394),
|
||||
('9601A', 'Blanchisserie-teinturerie de gros', '9601', '960', '96', 'S', 1062),
|
||||
('9601B', 'Blanchisserie-teinturerie de détail', '9601', '960', '96', 'S', 14183),
|
||||
('9602A', 'Coiffure', '9602', '960', '96', 'S', 81123),
|
||||
('9602B', 'Soins de beauté', '9602', '960', '96', 'S', 27058),
|
||||
('9603Z', 'Services funéraires', '9603', '960', '96', 'S', 7422),
|
||||
('9604Z', 'Entretien corporel', '9604', '960', '96', 'S', 10483),
|
||||
('9609Z', 'Autres services personnels nca', '9609', '960', '96', 'S', 32934),
|
||||
('9700Z', 'Activités des ménages en tant qu''employeurs de personnel domestique', '9700', '970', '97', 'T', 0),
|
||||
('9810Z', 'Activités indifférenciées des ménages en tant que producteurs de biens pour usage propre', '9810', '981', '98', 'T', 0),
|
||||
('9820Z', 'Activités indifférenciées des ménages en tant que producteurs de services pour usage propre', '9820', '982', '98', 'T', 0),
|
||||
('9900Z', 'Activités des organisations et organismes extraterritoriaux', '9900', '990', '99', 'U', 845),
|
||||
('0000Z', 'En instance de chiffrement', '0000', '000', '00', 'Z', 31425);
|
266
scripts/build/config/_sql/structure/tabpays.sql
Normal file
266
scripts/build/config/_sql/structure/tabpays.sql
Normal file
@ -0,0 +1,266 @@
|
||||
--
|
||||
-- Structure de la table `tabpays`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `tabpays` (
|
||||
`codPays` char(2) NOT NULL COMMENT 'Code Pays ISO 3166-1 sur 2 caractères',
|
||||
`numPays` smallint(3) unsigned zerofill NOT NULL DEFAULT '000',
|
||||
`codPays3` char(3) NOT NULL,
|
||||
`libPaysEN` varchar(255) NOT NULL DEFAULT '',
|
||||
`libPays` varchar(255) NOT NULL,
|
||||
`dateInsert` datetime NOT NULL,
|
||||
`dateUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`codPays`),
|
||||
KEY `numPays` (`numPays`),
|
||||
KEY `codePays3` (`codPays3`)
|
||||
) DEFAULT CHARSET=utf8;
|
||||
|
||||
--
|
||||
-- Contenu de la table `tabpays`
|
||||
--
|
||||
|
||||
INSERT INTO `tabpays` (`codPays`, `numPays`, `codPays3`, `libPaysEN`, `libPays`, `dateInsert`, `dateUpdate`) VALUES
|
||||
('AD', 020, 'AND', 'Andorra', 'Andorre', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AE', 784, 'ARE', 'United Arab Emirates', 'Emirats Arabes Unis', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AF', 004, 'AFG', 'Afghanistan', 'Afghanistan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AG', 028, 'ATG', 'Antigua and Barbuda', 'Antigua', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AI', 660, 'AIA', 'Anguilla', 'Anguilla', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AL', 008, 'ALB', 'Albania', 'Albanie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AM', 051, 'ARM', 'Armenia', 'Arménie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AN', 532, 'ANT', 'Netherlands Antilles', 'Antilles Néerlandaises', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AO', 024, 'AGO', 'Angola', 'Angola', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AQ', 010, 'ATA', 'Antarctica', 'Antarctique', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AR', 032, 'ARG', 'Argentina', 'Argentine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AS', 016, 'ASM', 'American Samoa', 'Samoa Américaines', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AT', 040, 'AUT', 'Austria', 'Autriche', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AU', 036, 'AUS', 'Australia', 'Australie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AW', 533, 'ABW', 'Aruba', 'Aruba', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('AZ', 031, 'AZE', 'Azerbaijan', 'Azerbaïdjan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BA', 070, 'BIH', 'Bosnia and Herzegovina', 'Bosnie-Herzégovine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BB', 052, 'BRB', 'Barbados', 'Barbade', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BD', 050, 'BGD', 'Bangladesh', 'Bangladesh', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BE', 056, 'BEL', 'Belgium', 'Belgique', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BF', 854, 'BFA', 'Burkina Faso', 'Burkina Faso', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BG', 100, 'BGR', 'Bulgaria', 'Bulgarie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BH', 048, 'BHR', 'Bahrain', 'Bahreïn', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BI', 108, 'BDI', 'Burundi', 'Burundi', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BJ', 204, 'BEN', 'Benin', 'Bénin', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BM', 060, 'BMU', 'Bermuda', 'Bermudes', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BN', 096, 'BRN', 'Brunei Darussalam', 'Brunei', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BO', 068, 'BOL', 'Bolivia', 'Bolivie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BR', 076, 'BRA', 'Brazil', 'Brésil', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BS', 044, 'BHS', 'Bahamas', 'Bahamas', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BT', 064, 'BTN', 'Bhutan', 'Bhoutan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BV', 074, 'BVT', 'Bouvet Island', 'Iles Bouvet', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BW', 072, 'BWA', 'Botswana', 'Botswana', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BY', 112, 'BLR', 'Belarus', 'Biélorussie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('BZ', 084, 'BLZ', 'Belize', 'Bélize', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CA', 124, 'CAN', 'Canada', 'Canada', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CC', 166, 'CCK', 'Cocos (Keeling) Islands', 'Iles Cocos', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CF', 140, 'CAF', 'Central African Republic', 'République Centrafricaine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CG', 178, 'COG', 'Congo', 'Congo', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CH', 756, 'CHE', 'Switzerland', 'Suisse', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CI', 384, 'CIV', 'Cote d''Ivoire', 'Côte d''Ivoire', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CK', 184, 'COK', 'Cook Islands', 'Iles Cook', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CL', 152, 'CHL', 'Chile', 'Chili', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CM', 120, 'CMR', 'Cameroon', 'Cameroun', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CN', 156, 'CHN', 'China', 'Chine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CO', 170, 'COL', 'Colombia', 'Colombie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CR', 188, 'CRI', 'Costa Rica', 'Costa Rica', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CS', 200, 'CSK', 'Czechoslovakia', 'Tchécoslovaquie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CU', 192, 'CUB', 'Cuba', 'Cuba', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CV', 132, 'CPV', 'Cape Verde', 'Cap-Vert', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CX', 162, 'CXR', 'Christmas Island', 'Ile Christmas', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CY', 196, 'CYP', 'Cyprus', 'Chypre', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('CZ', 203, 'CZE', 'Czech Republic', 'Rébublique Tchèque', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('DD', 278, 'DDR', 'German Democratic Republic', 'République Démocratique Allemande', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('DE', 276, 'DEU', 'Germany', 'Allemagne', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('DJ', 262, 'DJI', 'Djibouti', 'Djibouti', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('DK', 208, 'DNK', 'Denmark', 'Danemark', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('DM', 212, 'DMA', 'Dominica', 'Dominique', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('DO', 214, 'DOM', 'Dominican Republic', 'République Dominicaine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('DZ', 012, 'DZA', 'Algeria', 'Algérie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('EC', 218, 'ECU', 'Ecuador', 'Equateur', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('EE', 233, 'EST', 'Estonia', 'Estonie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('EG', 818, 'EGY', 'Egypt', 'Egypte', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('EH', 732, 'ESH', 'Western Sahara', 'Sahara Occidental', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ER', 232, 'ERI', 'Eritrea', 'Eritrea', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ES', 724, 'ESP', 'Spain', 'Espagne', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ET', 231, 'ETH', 'Ethiopia', 'Ethiopie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('FI', 246, 'FIN', 'Finland', 'Finlande', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('FJ', 242, 'FJI', 'Fiji', 'Iles Fidji', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('FK', 238, 'FLK', 'Falkland Islands (Malvinas)', 'Iles Malouines', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('FM', 583, 'FSM', 'Micronesia, Federated States of', 'Etats Fédérés de Micronésie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('FO', 234, 'FRO', 'Faroe Islands', 'Iles Féroé', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('FR', 250, 'FRA', 'France', 'France', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GA', 266, 'GAB', 'Gabon', 'Gabon', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GB', 826, 'GBR', 'United Kingdom', 'Royaume-Uni', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GD', 308, 'GRD', 'Grenada', 'Grenade', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GE', 268, 'GEO', 'Georgia', 'Géorgie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GF', 254, 'GUF', 'French Guiana', 'Guinée française', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GH', 288, 'GHA', 'Ghana', 'Ghana', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GI', 292, 'GIB', 'Gibraltar', 'Gibraltar', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GL', 304, 'GRL', 'Greenland', 'Groënland', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GM', 270, 'GMB', 'Gambia', 'Gambie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GN', 324, 'GIN', 'Guinea', 'Guinée', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GP', 312, 'GLP', 'Guadeloupe', 'Guadeloupe', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GQ', 226, 'GNQ', 'Equatorial Guinea', 'Guinée Equatoriale', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GR', 300, 'GRC', 'Greece', 'Grèce', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GS', 239, 'SGS', 'South Georgia & The South Sandwich Islands', 'Géorgie du sud & Iles Sandwich', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GT', 320, 'GTM', 'Guatemala', 'Guatemala', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GU', 316, 'GUM', 'Guam', 'Guam', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GW', 624, 'GNB', 'Guinea-Bissau', 'Guinée-Bissau', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('GY', 328, 'GUY', 'Guyana', 'Guyane', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('HK', 344, 'HKG', 'Hong Kong', 'Hong Kong', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('HM', 334, 'HMD', 'Heard & Mc Donald Islands', 'Iles Heard et Mc Donald', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('HN', 340, 'HND', 'Honduras', 'Honduras', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('HR', 191, 'HRV', 'Croatia', 'Croatie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('HT', 332, 'HTI', 'Haiti', 'Haïti', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('HU', 348, 'HUN', 'Hungary', 'Hongrie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ID', 360, 'IDN', 'Indonesia', 'Indonésie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IE', 372, 'IRL', 'Ireland', 'Irlande', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IL', 376, 'ISR', 'Israel', 'Israël', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IN', 356, 'IND', 'India', 'Inde', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IO', 086, 'IOT', 'British Indian Ocean Territory', 'Iles Vierges Britanniques', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IQ', 368, 'IRQ', 'Iraq', 'Irak', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IR', 364, 'IRN', 'Iran, Islamic Republic of', 'Iran', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IS', 352, 'ISL', 'Iceland', 'Islande', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('IT', 380, 'ITA', 'Italy', 'Italie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('JM', 388, 'JAM', 'Jamaica', 'Jamaïque', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('JO', 400, 'JOR', 'Jordan', 'Jordanie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('JP', 392, 'JPN', 'Japan', 'Japon', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KE', 404, 'KEN', 'Kenya', 'Kenya', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KG', 417, 'KGZ', 'Kyrgyzstan', 'Kirghizistan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KH', 116, 'KHM', 'Cambodia', 'Cambodge', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KI', 296, 'KIR', 'Kiribati', 'Kiribati', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KM', 174, 'COM', 'Comoros', 'Comores', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KN', 659, 'KNA', 'Saint Kitts & Nevis', 'Saint-Kitts', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KP', 408, 'PRK', 'Korea, Democratic People''s Republic of', 'Corée', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KR', 410, 'KOR', 'Korea, Republic of', 'République de Corée', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KW', 414, 'KWT', 'Kuwait', 'Koweït', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KY', 136, 'CYM', 'Cayman Islands', 'Iles Caïman', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('KZ', 398, 'KAZ', 'Kazakstan', 'Kazakhstan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LA', 418, 'LAO', 'Lao, People''s Democratic Republic', 'Laos', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LB', 422, 'LBN', 'Lebanon', 'Liban', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LC', 662, 'LCA', 'Saint Lucia', 'Sainte-Lucie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LI', 438, 'LIE', 'Liechtenstein', 'Liechtenstein', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LK', 144, 'LKA', 'Sri Lanka', 'Sri Lanka', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LR', 430, 'LBR', 'Liberia', 'Libéria', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LS', 426, 'LSO', 'Lesotho', 'Lesotho', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LT', 440, 'LTU', 'Lithuania', 'Lithuanie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LU', 442, 'LUX', 'Luxembourg', 'Luxembourg', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LV', 428, 'LVA', 'Latvia', 'Lettonie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('LY', 434, 'LBY', 'Libyan Arab Jamahinya', 'Libye', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MA', 504, 'MAR', 'Morocco', 'Maroc', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MC', 492, 'MCO', 'Monaco', 'Monaco', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MD', 498, 'MDA', 'Moldova, Republic of', 'Moldavie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MG', 450, 'MDG', 'Madagascar', 'Madagascar', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MH', 584, 'MHL', 'Marshall Islands', 'Iles Marshall', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MK', 807, 'MKD', 'Macedonia, The Former Yugoslav Republic Of', 'Macédoine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ML', 466, 'MLI', 'Mali', 'Mali', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MM', 104, 'MMR', 'Myanmar', 'Myanmar', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MN', 496, 'MNG', 'Mongolia', 'Mongolie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MO', 446, 'MAC', 'Macau', 'Macao', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MP', 580, 'MNP', 'Northern Mariana Islands', 'Iles Mariannes', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MQ', 474, 'MTQ', 'Martinique', 'Martinique', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MR', 478, 'MRT', 'Mauritania', 'Mauritanie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MS', 500, 'MSR', 'Montserrat', 'Montserrat', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MT', 470, 'MLT', 'Malta', 'Malte', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MU', 480, 'MUS', 'Mauritius', 'Ile Maurice', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MV', 462, 'MDV', 'Maldives', 'Maldives', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MW', 454, 'MWI', 'Malawi', 'Malawi', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MX', 484, 'MEX', 'Mexico', 'Mexique', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MY', 458, 'MYS', 'Malaysia', 'Malaisie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('MZ', 508, 'MOZ', 'Mozambique', 'Mozambique', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NA', 516, 'NAM', 'Namibia', 'Namibie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NC', 000, 'NCL', 'New Caledonia', 'Nouvelle Calédonie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NE', 562, 'NER', 'Niger', 'Niger', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NF', 574, 'NFK', 'Norfolk Island', 'Iles Norfolk', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NG', 566, 'NGA', 'Nigeria', 'Nigeria', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NI', 558, 'NIC', 'Nicaragua', 'Nicaragua', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NL', 528, 'NLD', 'Netherlands', 'Pays-Bas', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NO', 578, 'NOR', 'Norway', 'Norvège', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NP', 524, 'NPL', 'Nepal', 'Népal', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NR', 520, 'NRU', 'Nauru', 'Nauru', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NT', 536, 'NTZ', 'Neutral Zone', 'Zone Neutre', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NU', 570, 'NIU', 'Niue', 'Niue', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('NZ', 554, 'NZL', 'New Zealand', 'Nouvelle Zélande', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('OM', 512, 'OMN', 'Oman', 'Oman', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PA', 591, 'PAN', 'Panama', 'Panama', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PE', 604, 'PER', 'Peru', 'Pérou', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PF', 258, 'PYF', 'French Polynesia', 'Polynésie Francaise', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PG', 598, 'PNG', 'Papua New Guinea', 'Papouasie Nouvelle-Guinée', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PH', 608, 'PHL', 'Philippines', 'Philippines', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PK', 586, 'PAK', 'Pakistan', 'Pakistan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PL', 616, 'POL', 'Poland', 'Pologne', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PM', 666, 'SPM', 'Saint Pierre and Miquelon', 'Saint Pierre et Miquelon', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PN', 612, 'PCN', 'Pitcairn', 'Pitcairn', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PR', 630, 'PRI', 'Puerto Rico', 'Porto Rico', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PT', 620, 'PRT', 'Portugal', 'Portugal', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PW', 585, 'PLW', 'Palau', 'Palau', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('PY', 600, 'PRY', 'Paraguay', 'Paraguay', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('QA', 634, 'QAT', 'Qatar', 'Qatar', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('RE', 638, 'REU', 'Reunion', 'Ile de la Réunion', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('RO', 642, 'ROM', 'Romania', 'Roumanie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('RU', 643, 'RUS', 'Russia Federation', 'Russie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('RW', 646, 'RWA', 'Rwanda', 'Rwanda', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SA', 682, 'SAU', 'Saudi Arabia', 'Arabie Saoudite', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SB', 090, 'SLB', 'Solomon Islands', 'Iles Salomon', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SC', 690, 'SYC', 'Seychelles', 'Seychelles', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SD', 736, 'SDN', 'Sudan', 'Soudan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SE', 752, 'SWE', 'Sweden', 'Suède', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SG', 702, 'SGP', 'Singapore', 'Singapour', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SH', 654, 'SHN', 'Saint Helena', 'Sainte-Hélène', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SI', 705, 'SVN', 'Slovenia', 'Slovénie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SJ', 744, 'SJM', 'Svalbard and Jan Mayen', 'Spitsberg et lle Jan Mayen', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SK', 703, 'SVK', 'Slovakia', 'Slovaquie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SL', 694, 'SLE', 'Sierra Leone', 'Sierra Leone', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SM', 674, 'SMR', 'San Marino', 'Saint-Marin', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SN', 686, 'SEN', 'Senegal', 'Sénégal', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SO', 706, 'SOM', 'Somalia', 'Somalie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SR', 740, 'SUR', 'Suriname', 'Surinam', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ST', 678, 'STP', 'Sao Tome and Principe', 'São Tomé et Principe', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SU', 810, 'SUN', 'USSR', 'URSS', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SV', 222, 'SLV', 'El Salvador', 'Salvador', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SY', 760, 'SYR', 'Syrian Arab Republic', 'Syrie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('SZ', 748, 'SWZ', 'Swaziland', 'Swaziland', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TC', 796, 'TCA', 'Turks & Caicos Islands', 'Iles Turques et Caïques', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TD', 148, 'TCD', 'Chad', 'Tchad', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TF', 260, 'ATF', 'French Southern Territories', 'Terres Australes Francaises', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TG', 768, 'TGO', 'Togo', 'Togo', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TH', 764, 'THA', 'Thailand', 'Thaïlande', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TJ', 762, 'TJK', 'Tajikistan', 'Tadjikistan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TK', 772, 'TKL', 'Tokelau', 'Iles Tokélaou', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TM', 795, 'TKM', 'Turkmenistan', 'Turkménistan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TN', 788, 'TUN', 'Tunisia', 'Tunisie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TO', 776, 'TON', 'Tonga', 'Tonga', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TP', 626, 'TMP', 'East Timor', 'Timor Oriental', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TR', 792, 'TUR', 'Turkey', 'Turquie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TT', 780, 'TTO', 'Trinidad and Tobago', 'Trinité-et-Tobago', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TV', 798, 'TUV', 'Tuvalu', 'Tuvalu', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TW', 158, 'TWN', 'Taiwan', 'Taïwan, République de Chine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('TZ', 834, 'TZA', 'Tanzania, United Republic of', 'Tanzanie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('UA', 804, 'UKR', 'Ukraine', 'Ukraine', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('UG', 800, 'UGA', 'Uganda', 'Ouganda', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('UM', 581, 'UMI', 'United States Minor Outlying Islands', 'Iles mineures éloignées des E.U', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('US', 840, 'USA', 'United States', 'Etats Unis', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('UY', 858, 'URY', 'Uruguay', 'Uruguay', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('UZ', 860, 'UZB', 'Uzbekistan', 'Ouzbékistan', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('VA', 336, 'VAT', 'Holy See (Vatican City State)', 'Vatican', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('VC', 670, 'VCT', 'Saint Vincent & the Grenadines', 'Saint Vincent et les Grenadines', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('VE', 862, 'VEN', 'Venezuela', 'Vénézuéla', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('VG', 092, 'VGB', 'Virgin Islands, British', 'Iles Vierges Britaniques', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('VI', 850, 'VIR', 'Virgin Islands, U.S.', 'Iles Vierges U.S', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('VN', 704, 'VNM', 'Vietnam', 'Vietnam', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('VU', 548, 'VUT', 'Vanuatu', 'Vanuatu', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('WF', 876, 'WLF', 'Wallis and Futuna', 'Wallis et Futuna', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('WS', 882, 'WSM', 'Samoa', 'Samoa Américaines', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('XB', 901, 'XBA', 'Turkish Republic of Northern Cyprus', 'Rép. Turque de Chypre', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('YD', 720, 'YMD', 'Yemen, Democratic', 'Yémen (République Démocratique)', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('YE', 887, 'YEM', 'Yemen', 'Yemen', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('YT', 175, 'MYT', 'Mayotte', 'Mayotte', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('YU', 890, 'YUG', 'Yugoslavia', 'Yougoslavie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ZA', 710, 'ZAF', 'South Africa', 'Afrique du sud', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ZM', 894, 'ZMB', 'Zambia', 'Zambie', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ZR', 180, 'ZAR', 'Zaire', 'Zaïre', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
|
||||
('ZW', 716, 'ZWE', 'Zimbabwe', 'Zimbabwe', '0000-00-00 00:00:00', '0000-00-00 00:00:00');
|
56
scripts/build/config/development/application.ini
Normal file
56
scripts/build/config/development/application.ini
Normal file
@ -0,0 +1,56 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf"
|
||||
resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "main"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
autoloaderNamespaces[] = "Application_"
|
||||
autoloaderNamespaces[] = "Form_"
|
||||
autoloaderNamespaces[] = "Scores_"
|
||||
|
||||
profil.server.name = development
|
||||
profil.webservice.location = sdsrvdev01
|
||||
profil.mail.method = smtp
|
||||
profil.mail.smtp_host = smtp.free.fr
|
||||
profil.mail.email.support = supportdev@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = supportdev@scores-decisions.com
|
||||
profil.mail.email.production = supportdev@scores-decisions.com
|
||||
profil.path.cache = APPLICATION_PATH "/../data/cache"
|
||||
profil.path.files = APPLICATION_PATH "/../data/files"
|
||||
profil.path.pages = APPLICATION_PATH "/../data/pages"
|
||||
profil.path.data = "/your/path/"
|
||||
profil.wkhtmltopdf.arch = "amd64"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=127.0.0.1
|
||||
profil.db.sdv1.params.username=root
|
||||
profil.db.sdv1.params.password=password
|
||||
profil.db.sdv1.params.dbname=sdv1
|
||||
profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
phpSettings.soap.wsdl_cache_enabled = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
phpSettings.soap.wsdl_cache_enabled = 0
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
56
scripts/build/config/ns359466.ovh.net/application.ini
Normal file
56
scripts/build/config/ns359466.ovh.net/application.ini
Normal file
@ -0,0 +1,56 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf"
|
||||
resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "main"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
autoloaderNamespaces[] = "Application_"
|
||||
autoloaderNamespaces[] = "Form_"
|
||||
autoloaderNamespaces[] = "Scores_"
|
||||
|
||||
profil.server.name = ns359466
|
||||
profil.webservice.location = celeste
|
||||
profil.mail.method = sendmail
|
||||
profil.mail.smtp_host =
|
||||
profil.mail.email.support = support@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = contact@scores-decisions.com
|
||||
profil.mail.email.production = production@scores-decisions.com
|
||||
profil.path.cache = APPLICATION_PATH "/../data/cache"
|
||||
profil.path.files = APPLICATION_PATH "/../data/files"
|
||||
profil.path.pages = APPLICATION_PATH "/../data/pages"
|
||||
profil.path.data = "/home/vhosts/data"
|
||||
profil.wkhtmltopdf.arch = "amd64"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=127.0.0.1
|
||||
profil.db.sdv1.params.username=extranet
|
||||
profil.db.sdv1.params.password=dMJNQwHER2A8jZFY
|
||||
profil.db.sdv1.params.dbname=sdv1
|
||||
profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
phpSettings.soap.wsdl_cache_enabled = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
phpSettings.soap.wsdl_cache_enabled = 0
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
56
scripts/build/config/sd-13408/application.ini
Normal file
56
scripts/build/config/sd-13408/application.ini
Normal file
@ -0,0 +1,56 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf"
|
||||
resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "main"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
autoloaderNamespaces[] = "Application_"
|
||||
autoloaderNamespaces[] = "Form_"
|
||||
autoloaderNamespaces[] = "Scores_"
|
||||
|
||||
profil.server.name = sd-13408
|
||||
profil.webservice.location = celeste
|
||||
profil.mail.method = sendmail
|
||||
profil.mail.smtp_host =
|
||||
profil.mail.email.support = support@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = contact@scores-decisions.com
|
||||
profil.mail.email.production = production@scores-decisions.com
|
||||
profil.path.cache = APPLICATION_PATH "/../data/cache"
|
||||
profil.path.files = APPLICATION_PATH "/../data/files"
|
||||
profil.path.pages = APPLICATION_PATH "/../data/pages"
|
||||
profil.path.data = "/sites/data"
|
||||
profil.wkhtmltopdf.arch = "i386"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=127.0.0.1
|
||||
profil.db.sdv1.params.username=extranet
|
||||
profil.db.sdv1.params.password=dMJNQwHER2A8jZFY
|
||||
profil.db.sdv1.params.dbname=sdv1
|
||||
profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
phpSettings.soap.wsdl_cache_enabled = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
phpSettings.soap.wsdl_cache_enabled = 0
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
56
scripts/build/config/sdsrvdev01/application.ini
Normal file
56
scripts/build/config/sdsrvdev01/application.ini
Normal file
@ -0,0 +1,56 @@
|
||||
[production]
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme"
|
||||
resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu"
|
||||
resources.frontController.plugins.Pdf = "Application_Controller_Plugin_Pdf"
|
||||
resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "main"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
autoloaderNamespaces[] = "Application_"
|
||||
autoloaderNamespaces[] = "Form_"
|
||||
autoloaderNamespaces[] = "Scores_"
|
||||
|
||||
profil.server.name = sdsrvdev01
|
||||
profil.webservice.location = sdsrvdev01
|
||||
profil.mail.method = smtp
|
||||
profil.mail.smtp_host = smtp.free.fr
|
||||
profil.mail.email.support = supportdev@scores-decisions.com
|
||||
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||||
profil.mail.email.contact = supportdev@scores-decisions.com
|
||||
profil.mail.email.production = supportdev@scores-decisions.com
|
||||
profil.path.cache = APPLICATION_PATH "/../data/cache"
|
||||
profil.path.files = APPLICATION_PATH "/../data/files"
|
||||
profil.path.pages = APPLICATION_PATH "/../data/pages"
|
||||
profil.path.data = "/sites/data"
|
||||
profil.wkhtmltopdf.arch = "amd64"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=127.0.0.1
|
||||
profil.db.sdv1.params.username=extranet
|
||||
profil.db.sdv1.params.password=dMJNQwHER2A8jZFY
|
||||
profil.db.sdv1.params.dbname=sdv1
|
||||
profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||||
|
||||
[staging : production]
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
phpSettings.soap.wsdl_cache_enabled = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
phpSettings.soap.wsdl_cache_enabled = 0
|
||||
resources.frontController.params.displayExceptions = 1
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
86
scripts/build/configure.php
Normal file
86
scripts/build/configure.php
Normal file
@ -0,0 +1,86 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
//error_reporting(E_ALL & ~E_NOTICE);
|
||||
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
/** Zend_Application */
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
// Create application, bootstrap, and run
|
||||
$application = new Zend_Application(
|
||||
APPLICATION_ENV,
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Affiche les informations d'utilisation",
|
||||
'check' => "Vérifie la configuration suivant le fichier de config installé",
|
||||
'install' => "Installe et configure",
|
||||
)
|
||||
);
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
//Usage
|
||||
if(isset($opts->help))
|
||||
{
|
||||
echo $opts->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
|
||||
$configDir = realpath(dirname(__FILE__)).'/config';
|
||||
$appconfigDir = APPLICATION_PATH.'/configs';
|
||||
$hostname = exec('echo $(hostname)');
|
||||
|
||||
if(isset($opts->check))
|
||||
{
|
||||
|
||||
}
|
||||
elseif(isset($opts->install))
|
||||
{
|
||||
//Copie de la configuration
|
||||
passthru('cp -fv '.
|
||||
$configDir.'/'.$hostname.'/application.ini' . ' ' .
|
||||
$appconfigDir.'/application.ini');
|
||||
|
||||
//Modification des permissions
|
||||
passthru('chown -R www-data: '.APPLICATION_PATH.'/../');
|
||||
|
||||
//Création des liens symboliques pour l'impression
|
||||
if (!file_exists($c->profil->path->pages.'/themes/default/images'))
|
||||
passthru('ln -vs '.APPLICATION_PATH.'/../public/themes/default/images '.
|
||||
$c->profil->path->pages.'/themes/default/images');
|
||||
|
||||
if (!file_exists($c->profil->path->pages.'/themes/default/scripts'))
|
||||
passthru('ln -vs '.APPLICATION_PATH.'/../public/themes/default/scripts '.
|
||||
$c->profil->path->pages.'/themes/default/scripts');
|
||||
|
||||
if (!file_exists($c->profil->path->pages.'/fichier/imgcache'))
|
||||
passthru('ln -vs '.APPLICATION_PATH.'/../data/pages/imgcache'.' '.
|
||||
$c->profil->path->pages.'/fichier/imgcache');
|
||||
|
||||
if (!file_exists($c->profil->path->pages.'/fichier/logo'))
|
||||
passthru('ln -vs '.$c->profil->path.'/logos '.$c->profil->path->pages.'/fichier/logo');
|
||||
|
||||
}
|
14
scripts/cron.php
Normal file
14
scripts/cron.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/*
|
||||
# Envoi des actes commandés par email
|
||||
30 13,18 * * * root php /var/www/extranetrec/batch/getActes.php --send >> /var/www/data/log/getActes.log
|
||||
|
||||
00 12 * * * root php /var/www/extranetrec/batch/sendBilanClient.php --send >> /var/www/data/log/sendBilanClient.log
|
||||
00 19 * * * root php /var/www/extranetrec/batch/sendBilanClient.php --send >> /var/www/data/log/sendBilanClient.log
|
||||
|
||||
# Reprise des actes en erreur infogreffe
|
||||
00 6,13 * * * root php /var/www/extranet/batch/greffeCmdTelechargement.php --reprise >> /var/www/data/log/greffeCmdTelechargement.log
|
||||
00 9 * * * root php /var/www/extranet/batch/greffeCmdTelechargement.php --rapport >> /var/www/data/log/greffeCmdTelechargement.log
|
||||
00 13 1 * * root php /var/www/extranet/batch/greffeCmdMois.php $(date +\%Y\%m -d "-2 month")
|
||||
|
||||
*/
|
272
scripts/jobs/getActes.php
Normal file
272
scripts/jobs/getActes.php
Normal file
@ -0,0 +1,272 @@
|
||||
#!/usr/bin/php -q
|
||||
<?php
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
/** Zend_Application */
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
// Create application, bootstrap, and run
|
||||
$application = new Zend_Application(
|
||||
APPLICATION_ENV,
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Affiche l'aide.",
|
||||
'list' => "Liste les actes en attente disponible sur le FTP et affiche les informations",
|
||||
'get-s' => "Recupère seulement les actes du FTP (un seul document si la référence est spécifier G<NNN> )",
|
||||
'send-s' => "Récupère les actes et envoi un mail à chaque client (un seul acte si la référence est spécifier G<NNN>)",
|
||||
)
|
||||
);
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
//Usage
|
||||
if(count($opts->getOptions())==0 || isset($opts->help))
|
||||
{
|
||||
echo "Vérifie les actes numérisés reçus en provenance des Greffes.";
|
||||
echo "\n\n";
|
||||
echo $opts->getUsageMessage();
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
Zend_Registry::set('config', $c);
|
||||
|
||||
$test = false;
|
||||
if (isset($opts->list)){
|
||||
$test = true;
|
||||
}
|
||||
|
||||
//Configuration FTP
|
||||
define ('ACTES_IGNUM_FTP_URL', 'ftp2.scores-decisions.com');
|
||||
define ('ACTES_IGNUM_FTP_USER', 'mpc2500');
|
||||
define ('ACTES_IGNUM_FTP_PASS', 'passmpc78');
|
||||
|
||||
define ('PATH_DATA', $c->profil->path->data);
|
||||
define ('ACTES_IGNUM_LOCAL_DIR', PATH_DATA.'/pdf/scan/');
|
||||
define ('ACTES_IG_LOCAL_DIR', PATH_DATA.'/pdf/');
|
||||
|
||||
$report_email = $c->profil->mail->email->support;
|
||||
$report_subject = 'Traitement des actes '.date('Y-m-d H:i:s');
|
||||
$report_txt = '';
|
||||
|
||||
require_once '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/fichier/pdf/$nomCible\r\n";
|
||||
$headers = 'From: infoslegales@scores-decisions.com' . "\r\n" .
|
||||
'Reply-To: infoslegales@scores-decisions.com';
|
||||
if ( mail($commande['emailCommande'], $subject, utf8_decode($message), $headers) ){
|
||||
echo date ('Y/m/d - H:i:s').' - Un email a été envoyé à '.$commande['emailCommande']." pour la commande $nomCible.\n";
|
||||
return true;
|
||||
} else {
|
||||
echo date ('Y/m/d - H:i:s').' - ERREUR : Impossible d\'envoyer l\'email à '.$commande['emailCommande']." pour la commande $nomCible.\n";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
set_time_limit(0);
|
||||
|
||||
/**
|
||||
* Connexion à la base de données
|
||||
*/
|
||||
$db = Zend_Db::factory($c->profil->db->sdv1);
|
||||
Zend_Db_Table_Abstract::setDefaultAdapter($db);
|
||||
|
||||
/**
|
||||
* Liste des commandes non traités depuis la base de données
|
||||
*/
|
||||
$sql = "SELECT idCommande, idUser, login, emailCommande, siren, refDocument, typeCommande, dateCommande FROM commandes WHERE dateReception=0";
|
||||
$tabCommandes = $db->fetchAssoc($sql);
|
||||
|
||||
$nbCommandes = count($tabCommandes);
|
||||
$tabTmp = array();
|
||||
foreach ($tabCommandes as $commande) {
|
||||
if ($commande['typeCommande']=='C'){
|
||||
$tabTmp['c'.$commande['idCommande']] = $commande;
|
||||
} elseif ($commande['typeCommande']=='G' || $commande['typeCommande']==''){
|
||||
$tabTmp['g'.$commande['idCommande']] = $commande;
|
||||
}
|
||||
}
|
||||
$tabCommandes = $tabTmp;
|
||||
unset($tabTmp);
|
||||
echo date('Y/m/d - H:i:s') ." - Il y a $nbCommandes commandes en attente de réception courrier ou numérisation !\n";
|
||||
|
||||
/**
|
||||
* Connexion au site FTP pour la récupération de la liste des fichiers au format pdf
|
||||
*/
|
||||
$conn_id = ftp_connect(ACTES_IGNUM_FTP_URL);
|
||||
if (!$conn_id) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR : Impossible de se connecter au serveur FTP (".ACTES_IGNUM_FTP_URL.") !\n";
|
||||
exit;
|
||||
}
|
||||
$login_result = ftp_login($conn_id, ACTES_IGNUM_FTP_USER, ACTES_IGNUM_FTP_PASS);
|
||||
if (!$login_result) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR : Impossible de s'authentifier sur le serveur FTP (".ACTES_IGNUM_FTP_URL.")!\n";
|
||||
exit;
|
||||
}
|
||||
$contents = ftp_nlist($conn_id, "*.pdf");
|
||||
|
||||
/**
|
||||
* Liste de tout les fichiers disponible dans le repertoire
|
||||
* et associe une clé pour faciliter le tri
|
||||
*/
|
||||
$tabFichiersFtp = array();
|
||||
foreach ($contents as $filename){
|
||||
$indice = 0;
|
||||
if (preg_match('/[g|c][0-9]+\.pdf/', $filename)
|
||||
|| preg_match('/[g|c][0-9]+-[0-9]{1,2}\.pdf/', $filename)){
|
||||
|
||||
list($ref, $indice) = explode('-', str_replace(array('.pdf', 'g', 'c'), array('','',''), $filename));
|
||||
if(empty($indice)) $indice = 0;
|
||||
$tabFichiersFtp[$ref.'-'.$indice] = strtolower($filename);
|
||||
// Fichiers en anomalies
|
||||
} else {
|
||||
if ($test){
|
||||
echo "Erreur : Anomalie fichier numérisé $filename\n";
|
||||
} else {
|
||||
$subject = "Erreur : Anomalie fichier numérisé";
|
||||
$message = "Le fichier $filename a été trouvé et ne correspond pas au format attendu";
|
||||
$headers = 'From: supportdev@scores-decisions.com' . "\r\n" .
|
||||
'Reply-To: supportdev@scores-decisions.com';
|
||||
mail('supportdev@scores-decisions.com', $subject, $message, $headers);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Tri des fichiers par ordre décroissant
|
||||
* Les noms des fichiers sont incrémenté par 1
|
||||
*/
|
||||
krsort($tabFichiersFtp);
|
||||
|
||||
/**
|
||||
* Dans le cas ou il y a eu une erreur de scan, la production passe a nouveau le
|
||||
* document dans le scanner et le fichier est envoyé sur le ftp
|
||||
* Le document est nommé G[ref],G[ref]-1,G[ref]-2,.....pdf.
|
||||
* On garde donc le dernier document scanné.
|
||||
*/
|
||||
$lastRef = '';
|
||||
$tabFichiersTemp = array();
|
||||
foreach($tabFichiersFtp as $k => $val)
|
||||
{
|
||||
list($ref, $indice) = explode('-',$k);
|
||||
if( $lastRef != $ref ) {
|
||||
$tabFichiersTemp[$ref] = $val;
|
||||
}
|
||||
$lastRef = $ref;
|
||||
}
|
||||
$tabFichiers = $tabFichiersTemp;
|
||||
unset($tabFichiersTemp);
|
||||
|
||||
/**
|
||||
* Pour chaque commande, test de la présence d'un fichier associé
|
||||
* Si le fichier correspond téléchargement du fichier
|
||||
*/
|
||||
foreach ($tabCommandes as $ref => $commande){
|
||||
foreach ($tabFichiers as $refAssocie => $fichier){
|
||||
if (substr($ref,1) == $refAssocie){
|
||||
echo date ('Y/m/d - H:i:s')." - Traitement de la commande $ref\n";
|
||||
if ($test){
|
||||
echo date ('Y/m/d - H:i:s')." - Fichier $fichier \n";
|
||||
} else {
|
||||
|
||||
//Récupération du fichier depuis le FTP (s'il n'existe pas déjà)
|
||||
if (!file_exists(ACTES_IGNUM_LOCAL_DIR.$fichier)){
|
||||
if (ftp_get($conn_id, ACTES_IGNUM_LOCAL_DIR.$fichier, $fichier, FTP_BINARY, 0)) {
|
||||
echo date ('Y/m/d - H:i:s')." - Fichier $fichier téléchargé depuis le serveur FTP.\n";
|
||||
} else {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR : Impossible de télécharger le fichier $fichier !\n";
|
||||
}
|
||||
}
|
||||
|
||||
//Copie et renommage du fichier suivant la ref infogreffe (s'il n'existe pas déjà)
|
||||
$sirenC = $commande['siren'];
|
||||
$refC = $commande['refDocument'];
|
||||
|
||||
require_once 'Infogreffe/Infogreffe.php';
|
||||
$infogreffe = new Infogreffe();
|
||||
if (preg_match('/^([0-9]{4}_).*?$/', $refC, $matches)){
|
||||
$path = $infogreffe->bilanPath($refC);
|
||||
$nomCible = $infogreffe->bilanFilename($sirenC, $refC);
|
||||
} else {
|
||||
$path = $infogreffe->actePath($refC);
|
||||
$nomCible = $infogreffe->acteFilename($sirenC, $refC);
|
||||
|
||||
}
|
||||
|
||||
if (file_exists(ACTES_IGNUM_LOCAL_DIR.$fichier) &&
|
||||
!file_exists(PATH_DATA.$path.$nomCible)) {
|
||||
if (rename(ACTES_IGNUM_LOCAL_DIR.$fichier, PATH_DATA.$path.$nomCible)){
|
||||
echo date ('Y/m/d - H:i:s')." - Fichier ".ACTES_IGNUM_LOCAL_DIR.$fichier." déplacé en ".PATH_DATA.$path.$nomCible.".\n";
|
||||
} else {
|
||||
echo date ('Y/m/d - H:i:s')." ERREUR - Impossible de déplacer ".ACTES_IGNUM_LOCAL_DIR.$fichier." en ".PATH_DATA.$path.$nomCible." !\n";
|
||||
}
|
||||
}
|
||||
|
||||
//Envoi du mail et Mise à jour de la commande
|
||||
$testMail = false;
|
||||
if (file_exists(PATH_DATA.$path.$nomCible)){
|
||||
if ($testMail){
|
||||
echo "Envoi fichier $nomCible ($ref) à ".$commande['emailCommande'];
|
||||
} else {
|
||||
$report_txt.= "$ref intégré à l'extranet";
|
||||
$isMailSent = false;
|
||||
if (trim($commande['emailCommande'])!=''){
|
||||
$isMailSent = sendMail($commande, $nomCible);
|
||||
} else {
|
||||
$isMailSent = true;
|
||||
}
|
||||
if ($isMailSent){
|
||||
echo date ('Y/m/d - H:i:s')." - Commande $ref mise à jour\n";
|
||||
$commandesM = new Application_Model_Commandes();
|
||||
$data = array( 'dateReception' => date('YmdHis'));
|
||||
$commandesM->update($data, 'idCommande='.$commande['idCommande']);
|
||||
$report_txt.= ' - Email envoyé à '.$commande['emailCommande'];
|
||||
} else {
|
||||
$report_txt.= ' - Email non envoyé !';
|
||||
echo date ('Y/m/d - H:i:s')." ERREUR - Email non envoyé et commande $ref non mise à jour\n";
|
||||
}
|
||||
$report_txt.= "\n";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
ftp_close($conn_id);
|
||||
|
||||
//Envoi du mail de rapport
|
||||
if (!$test && !$testMail){
|
||||
if (mail($report_email, $report_subject, utf8_decode($report_txt))){
|
||||
echo date ('Y/m/d - H:i:s')." - Rapport envoyé.\n";
|
||||
} else {
|
||||
echo date ('Y/m/d - H:i:s')." - Erreur lors de l'envoir du rapport !\n";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
106
scripts/jobs/getBodaccPdf.php
Normal file
106
scripts/jobs/getBodaccPdf.php
Normal file
@ -0,0 +1,106 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
if ($argc != 4){
|
||||
echo $argv[0].' type annee num';
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$type = strtoupper($argv[1]);
|
||||
$annee = $argv[2];
|
||||
|
||||
$num = $argv[3];
|
||||
$c = strlen($num);
|
||||
for($i=0;$i<4-$c;$i++){
|
||||
$num = '0'.$num;
|
||||
}
|
||||
$annonce = 1;
|
||||
|
||||
function getPage($url, $curl_data = '', $verbose=false)
|
||||
{
|
||||
global $ckfile;
|
||||
|
||||
//$user_agent = 'Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1';
|
||||
//$user_agent = 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)';
|
||||
$user_agent = 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)';
|
||||
|
||||
$post = false;
|
||||
$fields = '';
|
||||
if (is_array($curl_data) && count($curl_data)>0) {
|
||||
foreach($curl_data as $key=>$value) {
|
||||
$fields .= $key.'='.$value.'&';
|
||||
}
|
||||
rtrim($fields,'&');
|
||||
$post = true;
|
||||
}
|
||||
|
||||
$options = array(
|
||||
CURLOPT_RETURNTRANSFER => true, // return web page
|
||||
CURLOPT_HEADER => false, // don't return headers
|
||||
CURLOPT_FOLLOWLOCATION => true, // follow redirects
|
||||
CURLOPT_ENCODING => "", // handle all encodings
|
||||
CURLOPT_USERAGENT => $user_agent, // who am i
|
||||
CURLOPT_AUTOREFERER => true, // set referer on redirect
|
||||
CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect
|
||||
CURLOPT_TIMEOUT => 120, // timeout on response
|
||||
CURLOPT_MAXREDIRS => 10, // stop after 10 redirects
|
||||
CURLOPT_POST => $post, // i am sending post data
|
||||
CURLOPT_POSTFIELDS => $fields, // this are my post vars
|
||||
CURLOPT_SSL_VERIFYHOST => 0, // don't verify ssl
|
||||
CURLOPT_SSL_VERIFYPEER => false, //
|
||||
CURLOPT_VERBOSE => $verbose , //
|
||||
//CURLOPT_COOKIESESSION => true,
|
||||
CURLOPT_COOKIEFILE => $ckfile,
|
||||
CURLOPT_COOKIEJAR => $ckfile, // Stockage du cookie de session
|
||||
);
|
||||
|
||||
$ch = curl_init($url);
|
||||
curl_setopt_array($ch,$options);
|
||||
$content = curl_exec($ch);
|
||||
$err = curl_errno($ch);
|
||||
$errmsg = curl_error($ch) ;
|
||||
$header = curl_getinfo($ch);
|
||||
curl_close($ch);
|
||||
|
||||
// $header['errno'] = $err;
|
||||
// $header['errmsg'] = $errmsg;
|
||||
// $header['content'] = $content;
|
||||
return array('header'=>$header, 'content'=>$content);
|
||||
}
|
||||
|
||||
//==> Start
|
||||
$debug = false;
|
||||
|
||||
$config = parse_ini_file(dirname(__FILE__).'/../../application/configs/application.ini', true);
|
||||
$directory = $config['production']['path']['data'].'/bodacc';
|
||||
//Ajout du type de bodacc
|
||||
$directory.= '/'.$type;
|
||||
if ( !file_exists($directory) ) mkdir($directory);
|
||||
//Ajout de l'annee
|
||||
$directory.= '/'.$annee;
|
||||
if ( !file_exists($directory) ) mkdir($directory);
|
||||
|
||||
//Define cookie file for storage
|
||||
$ckfile = dirname(__FILE__).'/'.uniqid('cookies-');
|
||||
|
||||
echo $url = "http://www.bodacc.fr/index.php?action=voir&p=$type&n=$annee$num&a=$annonce";
|
||||
echo "\n";
|
||||
$result = getPage($url);
|
||||
if ($debug) file_put_contents('bodacc1.html', $result['content']);
|
||||
preg_match('/\<a href="index\.php\?action=pdf&index=([0-9]{1,})"\>/', $result['content'], $matches);
|
||||
echo $url = "http://www.bodacc.fr/index.php?action=pdf&index=".$matches[1];
|
||||
echo "\n";
|
||||
$result = getPage($url);
|
||||
|
||||
if (substr($result['content'],0,4)!='%PDF'){
|
||||
if ($debug) file_put_contents('bodacc2.html', $result['content']);
|
||||
echo "Erreur téléchargement du PDF.";
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
file_put_contents($directory."/BODACC_".$type."_".$annee."_".$num.".pdf", $result['content']);
|
||||
echo "\n";
|
||||
if (file_exists($ckfile)) unlink($ckfile);
|
162
scripts/jobs/greffeCmdCourrier.php
Normal file
162
scripts/jobs/greffeCmdCourrier.php
Normal file
@ -0,0 +1,162 @@
|
||||
#!/usr/bin/php -q
|
||||
<?php
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
/** Zend_Application */
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
// Create application, bootstrap, and run
|
||||
$application = new Zend_Application(
|
||||
APPLICATION_ENV,
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Affiche l'aide.",
|
||||
));
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
//Usage
|
||||
if(isset($opts->help))
|
||||
{
|
||||
echo "Liste les commandes courrier traités";
|
||||
echo "\n\n";
|
||||
echo $opts->getUsageMessage();
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
Zend_Registry::set('config', $c);
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
require_once 'Scores/Mail.php';
|
||||
|
||||
define('LOGIN', 'mricois');
|
||||
define('PASSWORD', '');
|
||||
|
||||
function listeCmd($statut)
|
||||
{
|
||||
$commandes = new Application_Model_Commandes();
|
||||
$sql = $commandes->select()
|
||||
->where('typeCommande = ?', 'C')
|
||||
->where('statutCommande = ?', $statut);
|
||||
$listeCmd = $commandes->fetchAll($sql);
|
||||
|
||||
if(count($listeCmd)>0){
|
||||
$output = "<table border=\"1\" style=\"border:1px solid; margin:5px; border-collapse:collapse;\">";
|
||||
$output.= "<thead>";
|
||||
$output.= "<tr>";
|
||||
$output.= "<th>Ref.</th>";
|
||||
$output.= "<th>Siren</th>";
|
||||
$output.= "<th>Ref. Document</th>";
|
||||
$output.= "<th>Date de commande</th>";
|
||||
$output.= "</tr>";
|
||||
$output.= "</thead>";
|
||||
$output.= "<tbody>";
|
||||
foreach($listeCmd as $cmd){
|
||||
$output.= "<tr>";
|
||||
$output.= "<td style=\"padding:5px\">C".$cmd->idCommande."</td>";
|
||||
$output.= "<td style=\"padding:5px\">".
|
||||
"<a href=\"http://extranetrec.scores-decisions.com/".
|
||||
"?page=competences&idEntreprise=0&siret=".
|
||||
$cmd->siren."&type=tri\" >".
|
||||
$cmd->siren.
|
||||
"</a></td>";
|
||||
$output.= "<td style=\"padding:5px\">".$cmd->refDocument."</td>";
|
||||
$output.= "<td style=\"padding:5px\">".$cmd->dateCommande."</td>";
|
||||
$output.= "</tr>";
|
||||
|
||||
if( preg_match('/^([0-9]{4}_).*?$/', $cmd->refDocument, $matches) ){
|
||||
$type = 'bilans';
|
||||
}else{
|
||||
$type = 'actes';
|
||||
}
|
||||
|
||||
$tribunalCode = codeTribunal($cmd->siren);
|
||||
$infoPaiement = infoPaiement($tribunalCode, $type);
|
||||
$txtInfo = "Pas d'information de paiement enregistré dans la base.";
|
||||
if($infoPaiement!==false){
|
||||
$txtInfo =
|
||||
"Chéque de ".$infoPaiement['prix']." ".
|
||||
"à l'ordre de ".$infoPaiement['ordre'];
|
||||
|
||||
if($infoPaiement['enveloppe'])
|
||||
$txtInfo.= ", fournir une enveloppe timbré";
|
||||
}
|
||||
$output.= "<tr>";
|
||||
$output.= "<td> </td>";
|
||||
$output.= "<td colspan=\"3\">".$txtInfo."</td>";
|
||||
$output.= "</tr>";
|
||||
}
|
||||
$output.= "</tbody>";
|
||||
$output.= "</table>";
|
||||
}else{
|
||||
$output.= "Aucune commande<br/>";
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
function codeTribunal($siren)
|
||||
{
|
||||
$ws = new WsScores(LOGIN, PASSWORD);
|
||||
$identite = $ws->getIdentite($siren, 0);
|
||||
return $identite->TribunalCode;
|
||||
}
|
||||
|
||||
function infoPaiement($codeTribunal, $type)
|
||||
{
|
||||
$tarifs = new Application_Model_CommandesTarifs();
|
||||
$sql = $tarifs->select()
|
||||
->where('annee = ?', date('Y'))
|
||||
->where('type = ?', $type)
|
||||
->where('codeTribunal = ?', $codeTribunal);
|
||||
$rows = $tarifs->fetchAll($sql);
|
||||
if(count($rows)>0) {
|
||||
return array(
|
||||
'prix'=> $rows[0]->prix,
|
||||
'enveloppe' => $rows[0]->enveloppe,
|
||||
'ordre' => $rows[0]->ordre
|
||||
);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
$emailTxt = "";
|
||||
//Liste commandes non-traites
|
||||
$emailTxt.= "<b><u>Liste des commandes courrier non-traités</u></b>";
|
||||
$emailTxt.= "<br/>";
|
||||
$emailTxt.= listeCmd(0);
|
||||
$emailTxt.= "<br/>";
|
||||
//Liste des commandes en attente de cheques
|
||||
$emailTxt.= "<b><u>Liste des commandes courrier en attente de chèque</u></b>";
|
||||
$emailTxt.= "<br/>";
|
||||
$emailTxt.= listeCmd(1);
|
||||
|
||||
//Envoi mail
|
||||
$mail = new Mail();
|
||||
$mail->setFrom('production');
|
||||
$mail->addTo('support@scores-decisions.com', 'Pieces');
|
||||
$mail->setSubject("[COMMANDES PIECES COURRIER] - ".date('d')."/".date('m')."/".date('Y'));
|
||||
$mail->setBodyHtml($emailTxt);
|
||||
$mail->send();
|
128
scripts/jobs/greffeCmdMois.php
Normal file
128
scripts/jobs/greffeCmdMois.php
Normal file
@ -0,0 +1,128 @@
|
||||
#!/usr/bin/php -q
|
||||
<?php
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
/** Zend_Application */
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
// Create application, bootstrap, and run
|
||||
$application = new Zend_Application(
|
||||
APPLICATION_ENV,
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Affiche l'aide.",
|
||||
));
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
//Usage
|
||||
if(isset($opts->help))
|
||||
{
|
||||
echo "Liste les commandes non envoyées du mois dernier";
|
||||
echo "\n\n";
|
||||
echo $opts->getUsageMessage();
|
||||
echo "\n";
|
||||
echo $argv[0] . ' [AAAAMM] >> /vers/fichier.log';
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
$args = $opts->getRemainingArgs();
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
Zend_Registry::set('config', $c);
|
||||
|
||||
/**
|
||||
* Connexion à la base de données
|
||||
*/
|
||||
$db = Zend_Db::factory($c->profil->db->sdv1);
|
||||
Zend_Db_Table_Abstract::setDefaultAdapter($db);
|
||||
|
||||
require_once 'Scores/Mail.php';
|
||||
|
||||
function listCmdMois($statut, $date)
|
||||
{
|
||||
$commandes = new Application_Model_Commandes();
|
||||
$sql = $commandes->select()
|
||||
->where('typeCommande = ?', 'G')
|
||||
->where('statutCommande = ?', $statut)
|
||||
->where('dateCommande LIKE ?', $date.'%')
|
||||
->where('dateReception = ?', '0000-00-00 00:00:00');
|
||||
return $commandes->fetchAll($sql);
|
||||
}
|
||||
|
||||
//=> Debut
|
||||
if (count($args)>1){
|
||||
echo "Erreur\n";
|
||||
exit;
|
||||
} elseif (count($args)==0){
|
||||
$timeMoisPrecedent = mktime(0, 0, 0, date('m')-1, 1, date('Y'));
|
||||
$moisPrecedent = date('Y-m', $timeMoisPrecedent);
|
||||
} else {
|
||||
$moisPrecedent = substr($args[0],0,4).'-'.substr($args[0],4,2);
|
||||
}
|
||||
|
||||
$listeCmd = listCmdMois(0, $moisPrecedent);
|
||||
|
||||
$emailTxt = '';
|
||||
//Liste commandes non-traites
|
||||
$emailTxt.= '<b><u>Commandes greffe non receptionné</u></b>';
|
||||
$emailTxt.= '<br/>';
|
||||
if(count($listeCmd)>0){
|
||||
$emailTxt.= '<table border="1" style="border:1px solid; margin:5px; border-collapse:collapse;">';
|
||||
$emailTxt.= '<thead>';
|
||||
$emailTxt.= '<tr>';
|
||||
$emailTxt.= '<th>Ref.</th>';
|
||||
$emailTxt.= '<th>Siren</th>';
|
||||
$emailTxt.= '<th>Ref. Document</th>';
|
||||
$emailTxt.= '<th>Date de commande</th>';
|
||||
$emailTxt.= '</tr>';
|
||||
$emailTxt.= '</thead>';
|
||||
$emailTxt.= '<tbody>';
|
||||
foreach($listeCmd as $cmd){
|
||||
$emailTxt.= '<tr>';
|
||||
$emailTxt.= '<td style="padding:5px">G'.$cmd->idCommande.'</td>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->siren.'</a></td>';
|
||||
if( preg_match('/^([0-9]{4}_).*?$/', $cmd->refDocument, $matches) ){
|
||||
$type = 'bilans';
|
||||
}else{
|
||||
$type = 'actes';
|
||||
}
|
||||
$emailTxt.= '<td style="padding:5px"><a href="/pieces/'.$type.'/siret/'.$cmd->siren.'">'.$cmd->refDocument.'</a></td>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->dateCommande.'</td>';
|
||||
$emailTxt.= '</tr>';
|
||||
}
|
||||
$emailTxt.= '</tbody>';
|
||||
$emailTxt.= '</table>';
|
||||
}else{
|
||||
$emailTxt.= "Aucune commande<br/>";
|
||||
}
|
||||
$emailTxt.= '<br/>';
|
||||
|
||||
//Envoi mail
|
||||
$mail = new Mail();
|
||||
$mail->setSubject("[Commandes greffe non receptionné] - ".date('d')."/".date('m')."/".date('Y'));
|
||||
$mail->setFrom('production');
|
||||
$mail->addTo('support@scores-decisions.com', 'Support');
|
||||
$mail->addTo('supportdev@scores-decisions.com', 'SupportDev');
|
||||
$mail->setBodyHtml($emailTxt);
|
||||
$mail->send();
|
171
scripts/jobs/greffeCmdTelechargement.php
Normal file
171
scripts/jobs/greffeCmdTelechargement.php
Normal file
@ -0,0 +1,171 @@
|
||||
#!/usr/bin/php -q
|
||||
<?php
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
/** Zend_Application */
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
// Create application, bootstrap, and run
|
||||
$application = new Zend_Application(
|
||||
APPLICATION_ENV,
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Affiche l'aide.",
|
||||
'reprise' => "Reprise des actes en erreur de moins de 120 heures",
|
||||
'rapport' => "Envoi d'un email listant les commandes en erreur à J-1",
|
||||
'rapportcomplet' => "Envoi d'un email listant toutes les commandes en erreur",
|
||||
));
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Usage
|
||||
*/
|
||||
if(count($opts->getOptions())==0 || isset($opts->help))
|
||||
{
|
||||
echo "Reprise de commande InfoGreffe par le WebService.";
|
||||
echo "\n\n";
|
||||
echo $opts->getUsageMessage();
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
Zend_Registry::set('config', $c);
|
||||
|
||||
define ('PATH_DATA', $c->profil->path->data);
|
||||
|
||||
/**
|
||||
* Connexion à la base de données
|
||||
*/
|
||||
$db = Zend_Db::factory($c->profil->db->sdv1);
|
||||
Zend_Db_Table_Abstract::setDefaultAdapter($db);
|
||||
$db->setFetchMode(Zend_Db::FETCH_OBJ);
|
||||
|
||||
if ( isset($opts->reprise) )
|
||||
{
|
||||
$commandesM = new Application_Model_CommandesErreur();
|
||||
$sql = $commandesM->select()->where("erreur!='' AND dateCommande > DATE_SUB(NOW(),INTERVAL 120 HOUR)");
|
||||
$repErreur = $commandesM->fetchAll($sql);
|
||||
|
||||
if (count($repErreur)==0) exit;
|
||||
|
||||
foreach($repErreur as $cmd)
|
||||
{
|
||||
require_once 'Infogreffe/Infogreffe.php';
|
||||
$infogreffe = new Infogreffe();
|
||||
switch($cmd->type){
|
||||
case 'acte':
|
||||
$fichier = $infogreffe->acteFilename($cmd->siren, $cmd->ref);
|
||||
break;
|
||||
case 'bilan':
|
||||
$fichier = $infogreffe->bilanFilename($cmd->siren, $cmd->ref);
|
||||
break;
|
||||
}
|
||||
$dl = $infogreffe->dl($fichier, $cmd->url, false);
|
||||
if( $dl ) {
|
||||
$data = array('erreur' => '', 'dateReception' => date('Y-m-d H:i:s'));
|
||||
$where = "siren='".$cmd->siren."' AND type='".$cmd->type."' AND ref='".$cmd->ref."' AND dateCommande='".$cmd->dateCommande."'";
|
||||
$commandesM->update($data, $where);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ( isset($opts->rapport) || isset($opts->rapportcomplet) )
|
||||
{
|
||||
$commandesM = new Application_Model_CommandesErreur();
|
||||
if (isset($opts->rapportcomplet)) {
|
||||
$sql = $commandesM->select()->where("erreur!='' AND dateReception='0000-00-00 00:00:00' ORDER BY dateCommande ASC");
|
||||
$sujet = "[Commandes Greffe - Erreur WebService] - Rapport Complet";
|
||||
} else {
|
||||
$timestamp = mktime(0, 0, 0, date("m"), date("d")-1, date("Y"));
|
||||
$hier = date('Y-m-d', $timestamp);
|
||||
$sujet = "[Commandes Greffe - Erreur WebService] - ".$hier;
|
||||
$sql = $commandesM->select()->where("(dateCommande BETWEEN '".$hier." 00:00:00' AND '".$hier." 23:59:59') AND erreur!='' AND dateReception='0000-00-00 00:00:00' ORDER BY dateCommande ASC");
|
||||
}
|
||||
$repErreur = $commandesM->fetchAll($sql);
|
||||
|
||||
$emailTxt = '<b><u>Commandes Greffe - Erreur WebService</u></b>';
|
||||
$emailTxt.= '<br/>';
|
||||
if (count($repErreur)==0) {
|
||||
|
||||
$emailtTxt.= "Aucune commande en erreur !";
|
||||
|
||||
} else {
|
||||
$emailTxt.= '<table border="1" style="border:1px solid; margin:5px; border-collapse:collapse;">';
|
||||
$emailTxt.= '<thead>';
|
||||
$emailTxt.= '<tr>';
|
||||
$emailTxt.= '<th>Siren</th>';
|
||||
$emailTxt.= '<th>Type</th>';
|
||||
$emailTxt.= '<th>Ref</th>';
|
||||
$emailTxt.= '<th>Date de commande</th>';
|
||||
$emailTxt.= '<th>URL</th>';
|
||||
$emailTxt.= '<th>Erreur</th>';
|
||||
$emailTxt.= '</tr>';
|
||||
$emailTxt.= '</thead>';
|
||||
$emailTxt.= '<tbody>';
|
||||
foreach($repErreur as $cmd)
|
||||
{
|
||||
require_once 'Infogreffe/Infogreffe.php';
|
||||
$infogreffe = new Infogreffe();
|
||||
switch($cmd->type){
|
||||
case 'acte':
|
||||
$fichier = $infogreffe->acteFilename($cmd->siren, $cmd->ref);
|
||||
break;
|
||||
case 'bilan':
|
||||
$fichier = $infogreffe->bilanFilename($cmd->siren, $cmd->ref);
|
||||
break;
|
||||
}
|
||||
//Le fichier existe, alors on a résolu le problème (mauellement ?)
|
||||
if( file_exists(PATH_DATA . '/pdf/' . $fichier) ) {
|
||||
$data = array('erreur' => '', 'dateReception' => date('Y-m-d H:i:s'));
|
||||
$where = "siren='".$cmd->siren."' AND type='".$cmd->type."' AND ref='".$cmd->ref."' AND dateCommande='".$cmd->dateCommande."'";
|
||||
$commandesM->update($data, $where);
|
||||
} else {
|
||||
//Lister les fichier en erreur
|
||||
$emailTxt.= '<tr>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->siren.'</td>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->type.'</a></td>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->ref.'</a></td>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->dateCommande.'</td>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->url.'</td>';
|
||||
$emailTxt.= '<td style="padding:5px">'.$cmd->erreur.'</td>';
|
||||
$emailTxt.= '</tr>';
|
||||
}
|
||||
}
|
||||
$emailTxt.= '</tbody>';
|
||||
$emailTxt.= '</table>';
|
||||
$emailTxt.= '<br/>';
|
||||
$emailTxt = utf8_encode($emailTxt);
|
||||
}
|
||||
//Envoi mail
|
||||
require_once 'Scores/Mail.php';
|
||||
$mail = new Mail();
|
||||
$mail->setFrom('production');
|
||||
$mail->addTo('support@scores-decisions.com', 'Support');
|
||||
$mail->addTo('supportdev@scores-decisions.com', 'Support Dev');
|
||||
$mail->setSubject($sujet);
|
||||
$mail->setBodyTexte($emailTxt);
|
||||
$mail->send();
|
||||
}
|
120
scripts/jobs/removeTempFile.php
Normal file
120
scripts/jobs/removeTempFile.php
Normal file
@ -0,0 +1,120 @@
|
||||
<?php
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
/** Zend_Application */
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
// Create application, bootstrap, and run
|
||||
$application = new Zend_Application(
|
||||
APPLICATION_ENV,
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Display help.",
|
||||
'options|o' => " all: All files, [directory_name]: Files in this directory",
|
||||
)
|
||||
);
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
//Usage
|
||||
if(count($opts->getOptions())==0 || isset($opts->help))
|
||||
{
|
||||
echo "Delete temporary files";
|
||||
echo "\n\n";
|
||||
echo $opts->getUsageMessage();
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
|
||||
define('PATH_TEMPFILE', realpath(dirname(__FILE__).'/../cache'));
|
||||
|
||||
//Liste des Repertoires
|
||||
$tempDirs = array(
|
||||
'cache' => array(
|
||||
'path' => 'cache',
|
||||
'files' => array('*.tpl', '*.xml')
|
||||
),
|
||||
'files' => array(
|
||||
'path' => 'files',
|
||||
'files' => array('*.pdf', '*.jpeg', '*.jpg', '*.csv', '*.xls','*.xml')
|
||||
),
|
||||
'pages' => array(
|
||||
'path' => 'pages',
|
||||
'files' => array('*.html')
|
||||
),
|
||||
'imgcache' => array(
|
||||
'path' => 'pages/imgcache',
|
||||
'files' => array('*.png', '*.gif')
|
||||
),
|
||||
'sessions' => array(
|
||||
'path' => 'sessions',
|
||||
'files' => array('sess_*')
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Suppression des fichiers dans un repertoire
|
||||
* @param string $path
|
||||
* @param string $filePattern
|
||||
*/
|
||||
function removeFile($path, $filePattern)
|
||||
{
|
||||
$dir = PATH_TEMPFILE.DIRECTORY_SEPARATOR.$path;
|
||||
if (is_dir($dir)) {
|
||||
if (stristr(PHP_OS, 'WIN')) {
|
||||
$cmd = 'del '.$dir.DIRECTORY_SEPARATOR.$filePattern;
|
||||
} else {
|
||||
/**
|
||||
* To avoid too args error from rm command
|
||||
*/
|
||||
$cmd = 'find '.$dir.'/ -name "'.$filePattern.'" -exec rm {} \;';
|
||||
}
|
||||
return shell_exec($cmd);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function removePatternInDir($path, $tabPattern)
|
||||
{
|
||||
foreach($tabPattern as $pattern) {
|
||||
echo "Suppression fichiers ".$path." : ";
|
||||
$result = removeFile($path, $pattern);
|
||||
if ($result === false){
|
||||
echo "Erreur";
|
||||
} else {
|
||||
echo $result;
|
||||
}
|
||||
echo "\n";
|
||||
}
|
||||
}
|
||||
|
||||
foreach($tempDirs as $dir => $options) {
|
||||
if ($opts->options == 'all') {
|
||||
removePatternInDir($options['path'], $options['files']);
|
||||
} elseif ($opts->options == $dir) {
|
||||
removePatternInDir($options['path'], $options['files']);
|
||||
break;
|
||||
}
|
||||
}
|
151
scripts/jobs/sendBilanClient.php
Normal file
151
scripts/jobs/sendBilanClient.php
Normal file
@ -0,0 +1,151 @@
|
||||
#!/usr/bin/php -q
|
||||
<?php
|
||||
// Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
|
||||
|
||||
// Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// Ensure library/ is on include_path
|
||||
set_include_path(implode(PATH_SEPARATOR, array(
|
||||
realpath(APPLICATION_PATH . '/../library'),
|
||||
get_include_path(),
|
||||
)));
|
||||
|
||||
/** Zend_Application */
|
||||
require_once 'Zend/Application.php';
|
||||
|
||||
// Create application, bootstrap, and run
|
||||
$application = new Zend_Application(
|
||||
APPLICATION_ENV,
|
||||
APPLICATION_PATH . '/configs/application.ini'
|
||||
);
|
||||
|
||||
try {
|
||||
$opts = new Zend_Console_Getopt(
|
||||
//Options
|
||||
array(
|
||||
'help|?' => "Affiche l'aide.",
|
||||
'list' => "Liste les bilans à saisir",
|
||||
'send' => "Envoi les fichiers par FTP.",
|
||||
));
|
||||
$opts->parse();
|
||||
} catch (Zend_Console_Getopt_Exception $e) {
|
||||
echo $e->getUsageMessage();
|
||||
exit;
|
||||
}
|
||||
|
||||
//Usage
|
||||
if(count($opts->getOptions())==0 || isset($opts->help))
|
||||
{
|
||||
echo "Envoi les bilans saisie par les clients";
|
||||
echo "\n\n";
|
||||
echo $opts->getUsageMessage();
|
||||
echo "\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
$test = false;
|
||||
if ( isset($opts->list) ) {
|
||||
$test = true;
|
||||
}
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
Zend_Registry::set('config', $c);
|
||||
|
||||
define ('PATH_DATA', $c->profil->path->data);
|
||||
|
||||
define('FTP_HOST', 'ftp.scores-decisions.com');
|
||||
define('FTP_USER', 'bilansext');
|
||||
define('FTP_PASS', 'j12azt78');
|
||||
define('FTP_DIR', 'send');
|
||||
|
||||
require_once 'common/dates.php';
|
||||
|
||||
//==> Functions
|
||||
|
||||
function getRemoteFilename($infos)
|
||||
{
|
||||
$date = WDate::dateT('d/m/Y', 'Ymd', $infos['bilanCloture']);
|
||||
$file = $infos['siren'].'_'.
|
||||
$infos['format'].$date.'_'.
|
||||
$infos['bilanDuree'].'_'.
|
||||
$infos['confidentiel'].'_'.
|
||||
$infos['utilisateurId'].'_'.$infos['ref'];
|
||||
|
||||
if ($infos['env']=='PRD') {
|
||||
return $file;
|
||||
}
|
||||
return $file.'_'.$infos['env'];
|
||||
}
|
||||
|
||||
function sendToFtp($localFile, $remoteFile)
|
||||
{
|
||||
$conn_id = ftp_connect(FTP_HOST);
|
||||
$login_result = ftp_login($conn_id, FTP_USER, FTP_PASS);
|
||||
ftp_chdir($conn_id, FTP_DIR);
|
||||
if (ftp_put($conn_id, $remoteFile, $localFile, FTP_BINARY)) {
|
||||
return true;
|
||||
}
|
||||
ftp_close($conn_id);
|
||||
return false;
|
||||
}
|
||||
|
||||
//==> Début programme
|
||||
/**
|
||||
* Connexion à la base de données
|
||||
*/
|
||||
$db = Zend_Db::factory($c->profil->databases->db->sdv1);
|
||||
Zend_Db_Table_Abstract::setDefaultAdapter($db);
|
||||
|
||||
/**
|
||||
* Liste les fichiers qui peuvent être traités
|
||||
*/
|
||||
$bilans = new Application_Model_BilanSaisie();
|
||||
$listBilans = $bilans->listBilans();
|
||||
$tabFichier = array();
|
||||
foreach ($listBilans as $infos)
|
||||
{
|
||||
$filename = $infos['ref'].'-'.$infos['siren'];
|
||||
$extValide = array('pdf', 'tiff');
|
||||
$fileExist = false;
|
||||
foreach ($extValide as $ext) {
|
||||
if (file_exists(PATH_DATA.'/bilanclient/'.$filename.'.'.$ext)) {
|
||||
$fileExist = true;
|
||||
$tabFichier[] = array(
|
||||
'ref' => $infos['ref'],
|
||||
'localFile' => $filename.'.'.$ext,
|
||||
'remoteFile' => getRemoteFilename($infos).'.'.$ext,
|
||||
);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
//Erreur fichier inexistant
|
||||
if (!$fileExist) {
|
||||
echo "Fichier manquant, Ref:".$infos['ref']."\n";
|
||||
}
|
||||
}
|
||||
|
||||
if ($test) {
|
||||
print_r($tabFichier);
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Envoi sur le FTP
|
||||
*/
|
||||
foreach ($tabFichier as $fichier)
|
||||
{
|
||||
echo "Envoi du fichier ".$fichier['localFile']." => ".
|
||||
$fichier['remoteFile'].
|
||||
" (".$fichier['ref'].")\n";
|
||||
if ( sendToFtp(PATH_DATA.'/bilanclient/'.$fichier['localFile'], $fichier['remoteFile']) ) {
|
||||
$bilans->setDateEnvoi($fichier['ref']);
|
||||
echo "Envoi terminé.\n";
|
||||
} else {
|
||||
echo "Erreur d'envoi !\n";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user