Merge from 2.9 - ready to release
This commit is contained in:
commit
040abaf47a
@ -446,7 +446,7 @@ class DashboardController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$refFile = realpath($c->profil->path->data).'/pdf/acte-'.
|
||||
$refFile = $c->profil->path->shared.'/pdf/acte-'.
|
||||
$listCommandes[$i]->siren.'-'.
|
||||
trim($listCommandes[$i]->refDocument).'.pdf';
|
||||
|
||||
@ -891,7 +891,7 @@ class DashboardController extends Zend_Controller_Action
|
||||
|
||||
if ( isset($_FILES) && count($_FILES)==1 ) {
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/nouveautes';
|
||||
$path = $c->profil->path->shared.'/persist/nouveautes';
|
||||
if(!file_exists($path)) mkdir($path);
|
||||
|
||||
$tmp_name = $_FILES['fichier']['tmp_name'];
|
||||
|
@ -122,7 +122,7 @@ class EvaluationController extends Zend_Controller_Action
|
||||
require_once 'Vendors/ChartDirector/phpchartdir.php';
|
||||
require_once 'Scores/Cache.php';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$path = $c->profil->path->shared . '/temp/pages/imgcache/';
|
||||
$file = 'indiscorehisto-'.$this->siret.'-'.$this->id.'-'.$type.'.png';
|
||||
$cache = new Cache();
|
||||
$return = null;
|
||||
@ -533,7 +533,7 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$file = 'evaluation-indiscore3-'.$this->siret.'.html';
|
||||
}
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages;
|
||||
$path = $c->profil->path->shared.'/temp/pages';
|
||||
if (file_exists($path.'/'.$file))
|
||||
{
|
||||
$doc = new DOMDocument();
|
||||
@ -606,7 +606,7 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$xml = $doc->saveXML();
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$outfile = $c->profil->path->pages.'/p'.$user->getIdClient().'-'.$file;
|
||||
$outfile = $c->profil->path->shared.'/temp/pages/p'.$user->getIdClient().'-'.$file;
|
||||
file_put_contents($outfile, $xml);
|
||||
|
||||
//Génération du pdf
|
||||
@ -886,9 +886,10 @@ class EvaluationController extends Zend_Controller_Action
|
||||
'</body>'.
|
||||
'</xmlrequest>';
|
||||
|
||||
$date = date('Ymd');
|
||||
$url = 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx/GetData?RequestXmlStr='.$req;
|
||||
$file = APPLICATION_PATH.'/../../data/creditsafe/'.$this->siret.'.xml';
|
||||
$date = date('Ymd');
|
||||
$url = 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx/GetData?RequestXmlStr='.$req;
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->shared.'/temp/creditsafe/'.$this->siret.'.xml';
|
||||
|
||||
try {
|
||||
$client = new Zend_Http_Client($url);
|
||||
@ -988,7 +989,7 @@ class EvaluationController extends Zend_Controller_Action
|
||||
$mail->execute();
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->data.'/log';
|
||||
$path = $c->profil->path->shared.'/persist/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");
|
||||
|
@ -172,7 +172,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$request = $this->getRequest();
|
||||
$ratio = $request->getParam('ratio');
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$path = $c->profil->path->shared . '/temp/pages/imgcache/';
|
||||
$file = 'syntheseEvol-'.$this->siret.'-'.$this->id.'-'.$ratio.'.png';
|
||||
if (file_exists($path.$file)) {
|
||||
echo '<img src="/file/image/cache/q/'.$file.'" />';
|
||||
@ -191,7 +191,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$request = $this->getRequest();
|
||||
$typeBilan = $request->getParam('typeBilan');
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$path = $c->profil->path->shared . '/temp/pages/imgcache/';
|
||||
$file = 'synthese-linecompare-'.$this->siret.'-'.$this->id.'-'.$typeBilan.'.png';
|
||||
if (file_exists($path.$file)) {
|
||||
echo '<img src="/file/image/cache/q/'.$file.'" />';
|
||||
@ -434,7 +434,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$dateCloture = $request->getParam('dateCloture');
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$path = $c->profil->path->shared . '/temp/pages/imgcache/';
|
||||
switch($type){
|
||||
case 'actif':
|
||||
$file = 'bilansgraphactif-'.$this->siret.'-'.$this->id.'-'.$typeBilan.$dateCloture.'.png';
|
||||
@ -630,7 +630,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$request = $this->getRequest();
|
||||
$ratio = $request->getParam('ratio');
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages . '/imgcache/';
|
||||
$path = $c->profil->path->shared . '/temp/pages/imgcache/';
|
||||
$file = 'ratiosgraph-'.$this->siret.'-'.$this->id.'-'.$ratio.'.png';
|
||||
if (file_exists($path.$file)) {
|
||||
echo '<img src="/file/image/cache/q/'.$file.'" />';
|
||||
@ -677,7 +677,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
$data[$element->id] = $element->val;
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files . '/';
|
||||
$path = $c->profil->path->shared . '/temp/files/';
|
||||
$file = 'liasse-'.substr($this->siret, 0, 9).'-'.$this->id.'-'.$type.$date.'.xls';
|
||||
|
||||
$liasse = new Scores_Finance_Liasse_XLS($model);
|
||||
@ -783,7 +783,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
if ( in_array($extension, $extValide) ) {
|
||||
$name = $fileref.'.'.$extension;
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/bilanclient/'.$name;
|
||||
$file = $c->profil->path->shared.'/persist/bilanclient/'.$name;
|
||||
if ( move_uploaded_file($tmp_name, $file) ) {
|
||||
$ws = new Scores_Ws_Client('order', '0.1');
|
||||
$parameters = new stdClass();
|
||||
|
@ -2032,7 +2032,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
|
||||
// --- Création du PDF
|
||||
$c = Zend_Registry::get('config');
|
||||
$filepdf = $c->profil->path->files.'/avisrncs-'.$siren.'.pdf';
|
||||
$filepdf = $c->profil->path->shared.'/temp/files/avisrncs-'.$siren.'.pdf';
|
||||
try {
|
||||
$pdf = new Scores_Pdf_Tcpdf();
|
||||
$pdf->SetBackgroundImage('libs/modeles/avisrncs.jpg');
|
||||
|
@ -55,7 +55,7 @@ class IndexController extends Zend_Controller_Action
|
||||
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
$path = $c->profil->path->shared.'/temp/files/';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($path.$file) ) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
|
@ -383,7 +383,7 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
exit;
|
||||
}
|
||||
$c = Zend_Registry::get('config');
|
||||
$directory = realpath($c->profil->path->data).'/marques';
|
||||
$directory = $c->profil->path->shared.'/persist/marques';
|
||||
$file = $numdepot.'.pdf';
|
||||
|
||||
//Le fichier n'existe pas alors on le télécharger
|
||||
@ -421,7 +421,7 @@ class JuridiqueController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/bodacc/'.$type.'/'.$annee.'/'.
|
||||
$file = $c->profil->path->shared.'/persist/bodacc/'.$type.'/'.$annee.'/'.
|
||||
'BODACC_'.$type.'_'.$annee.'_'.$num.'.pdf';
|
||||
|
||||
if ( !file_exists($file) ) {
|
||||
|
@ -10,7 +10,7 @@ class LogoController extends Zend_Controller_Action
|
||||
$this->theme = Zend_Registry::get('theme');
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathLogo = $c->profil->path->data.'/logos';
|
||||
$this->pathLogo = $c->profil->path->shared.'/persist/logos';
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
|
@ -489,7 +489,7 @@ class PiecesController extends Zend_Controller_Action
|
||||
if ( $stream->isSuccessful() && substr($stream->getBody(),0,4)=='%PDF' ) {
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = 'bilan-'.$siren.'-'.$type.'-'.$dateCloture.'.pdf';
|
||||
if (copy($stream->getStreamName(), $c->profil->path->files . '/' . $file)) {
|
||||
if (copy($stream->getStreamName(), $c->profil->path->shared . '/temp/files/' . $file)) {
|
||||
$this->view->assign('url', $this->view->url(array('module'=>'file',
|
||||
'controller'=>'greffe', 'action'=>'bilan', 'q'=>$file), 'default', true));
|
||||
} else {
|
||||
@ -617,7 +617,7 @@ class PiecesController extends Zend_Controller_Action
|
||||
if ( $stream->isSuccessful() && substr($stream->getBody(),0,4)=='%PDF' ) {
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = 'acte-'.$siren.'-'.$depotNum.'-'.$acteNum.'.pdf';
|
||||
if (copy($stream->getStreamName(), $c->profil->path->files . '/' . $file)) {
|
||||
if (copy($stream->getStreamName(), $c->profil->path->shared . '/temp/files/' . $file)) {
|
||||
$this->view->assign('url', $this->view->url(array('module'=>'file',
|
||||
'controller'=>'greffe', 'action'=>'acte', 'q'=>$file), 'default', true));
|
||||
} else {
|
||||
@ -889,7 +889,7 @@ class PiecesController extends Zend_Controller_Action
|
||||
if ( $stream->isSuccessful() && substr($stream->getBody(),0,4)=='%PDF' ) {
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = 'ST-'.$siren.'-'.$date.'.pdf';
|
||||
if (copy($stream->getStreamName(), $c->profil->path->files . '/' . $file)) {
|
||||
if (copy($stream->getStreamName(), $c->profil->path->shared . '/temp/files/' . $file)) {
|
||||
$this->view->assign('url', $this->view->url(array('module'=>'file', 'controller'=>'greffe',
|
||||
'action'=>'association', 'q'=>$file), 'default', true));
|
||||
} else {
|
||||
@ -998,11 +998,9 @@ class PiecesController extends Zend_Controller_Action
|
||||
if ( $stream->isSuccessful() && substr($stream->getBody(),0,4)=='%PDF' ) {
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = 'bilan-'.$siren.'-'.$type.'-'.$dateCloture.'.pdf';
|
||||
if (copy($stream->getStreamName(), $c->profil->path->files . '/' . $file)) {
|
||||
$this->view->assign('url', $this->view->url(array(
|
||||
'controller' => 'fichier',
|
||||
'action' => 'greffe',
|
||||
), 'default', true).'/'.$file);
|
||||
if (copy($stream->getStreamName(), $c->profil->path->shared . '/temp/files/' . $file)) {
|
||||
$this->view->assign('url', $this->view->url(array('module'=>'file', 'controller'=>'fichier',
|
||||
'action' => 'greffe', 'q'=>$file), 'default', true));
|
||||
} else {
|
||||
$this->view->assign('msg', "Impossible de distribuer le fichier.");
|
||||
}
|
||||
@ -1047,7 +1045,7 @@ class PiecesController extends Zend_Controller_Action
|
||||
case 'T':
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files. '/';
|
||||
$path = $c->profil->path->shared. '/temp/files/';
|
||||
|
||||
//Le fichier est déjà présent sur le serveur
|
||||
if ( file_exists($path.'kbis-'.$siren.'.pdf')
|
||||
|
@ -130,7 +130,7 @@ class PrintController extends Zend_Controller_Action
|
||||
$fichier = str_replace('.pdf', '', $fichier);
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->pages.'/'.$fichier.'.html';
|
||||
$file = $c->profil->path->shared.'/temp/pages/'.$fichier.'.html';
|
||||
if (!file_exists($file))
|
||||
{
|
||||
echo 'Fichier introuvable';
|
||||
@ -229,7 +229,7 @@ class PrintController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->files.'/'.$fichier;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$fichier;
|
||||
if (!file_exists($file)){
|
||||
echo "Erreur lors de la génération du fichier.";
|
||||
exit;
|
||||
|
@ -289,7 +289,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
Zend_Registry::get('firebug')->info($form->getValues());
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/log';
|
||||
$path = $c->profil->path->shared.'/persist/log';
|
||||
$fp = fopen($path.'/enquetes.csv', 'a');
|
||||
fwrite($fp, date('Y/m/d H:i:s').' - '.print_r($form->getValues(),true)."\n");
|
||||
fclose($fp);
|
||||
@ -1196,7 +1196,7 @@ class RechercheController extends Zend_Controller_Action
|
||||
//echo "<pre>"; print_r($etabs); echo "</pre>"; exit;
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->files . '/'.$user->getIdClient().'-'.$user->getLogin().'-'.date('YmdHis').'.csv';
|
||||
$file = $c->profil->path->shared . '/temp/files/'.$user->getIdClient().'-'.$user->getLogin().'-'.date('YmdHis').'.csv';
|
||||
|
||||
$export = new Scores_Export_ArrayCsv($etabs, 'rechercheEntreprise');
|
||||
$export->writeFile($file);
|
||||
|
@ -924,7 +924,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
} else {
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->data.'/association';
|
||||
$path = $c->profil->path->shared.'/persist/association';
|
||||
|
||||
if ( $type=='bilan' ){
|
||||
$dateCloture = $request->getParam('dateCloture');
|
||||
@ -2085,7 +2085,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
elseif ( isset($_FILES) && count($_FILES)==1 )
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->data).'/groupes';
|
||||
$path = $c->profil->path->shared.'/persist/groupes';
|
||||
|
||||
if (!file_exists($path)) { mkdir($path); }
|
||||
|
||||
|
@ -699,7 +699,7 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$getCSV = $request->getParam('get', '');
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files;
|
||||
$path = $c->profil->path->shared.'/temp/files';
|
||||
|
||||
// --- Lister les fichiers
|
||||
if (empty($nomFic)) {
|
||||
@ -971,7 +971,7 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->files;
|
||||
$path = $c->profil->path->shared.'/temp/files';
|
||||
|
||||
//Récupération du fichier
|
||||
$file = $path.'/'.$nomFic;
|
||||
|
@ -19,7 +19,7 @@ class TelechargementController extends Zend_Controller_Action
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = $c->profil->path->files;
|
||||
$this->path = $c->profil->path->shared.'/temp/files';
|
||||
|
||||
require_once 'Scores/WsScores.php';
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ if ( empty($this->source) ){
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>Liste des surveillances</h2>
|
||||
@ -49,7 +49,7 @@ if ( empty($this->source) ){
|
||||
<th width="75">Count</th>
|
||||
<th width="150">Event Type</th>
|
||||
<th width="110">Last Change</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><pre><? //print_r($this->val_siren);?></pre>
|
||||
@ -66,7 +66,7 @@ if ( empty($this->source) ){
|
||||
}
|
||||
endforeach;
|
||||
?>
|
||||
|
||||
|
||||
<? foreach ($merged as $MonitoringEv):
|
||||
//STORE BY type
|
||||
$merged_type = Array();
|
||||
@ -80,7 +80,7 @@ if ( empty($this->source) ){
|
||||
?>
|
||||
<?$resultDB=unserialize($this->action('ret', 'giant',null,array('date_st'=>current($merged_type)[0]->ProviderOrderId)));?>
|
||||
<? $frontendOptions = array('lifetime' => $this->configVal->cache->lifetime,'automatic_serialization' => true);
|
||||
$backendOptions = array('cache_dir' => '../data/cache/giant/');
|
||||
$backendOptions = array('cache_dir' => $c->profil->path->shared . '/giant/');
|
||||
$cache = Zend_Cache::factory('Output','File',$frontendOptions,$backendOptions);
|
||||
if(($lang = $cache->load('Pays_'.$resultDB['Pays'])) === false) {
|
||||
$lang = 'en';
|
||||
@ -112,10 +112,10 @@ if ( empty($this->source) ){
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
|
||||
|
||||
foreach ($merged_type as $monitor_type) {
|
||||
echo "<p>".count($monitor_type).'</p>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td style='text-align: left'>
|
||||
@ -125,7 +125,7 @@ if ( empty($this->source) ){
|
||||
echo "<a class='ev_code' title='".$monitor_type[0]->Company->Event[0]->EventCode."' href='/giant/retevents/Type/".$monitor_type[0]->Company->Event[0]->EventCode."/Id/".$monitor_type[0]->ProviderOrderId."'><p>".$name[1]."</p></a>";
|
||||
} //Fin foreach?>
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<?php
|
||||
foreach ($merged_type as $monitor_type) {
|
||||
|
@ -30,6 +30,8 @@
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php if ($this->facade) {?>
|
||||
|
||||
<?php if ($this->source == 'google') {?>
|
||||
|
||||
<div id="infogeo_photo">
|
||||
@ -61,6 +63,7 @@
|
||||
</script>
|
||||
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
</div>
|
||||
</div>
|
@ -9,7 +9,7 @@ Tri par date - Tri par catégorie
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Intitulé</th>
|
||||
<th>Intitulé</th>
|
||||
<th>Catégore</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
@ -19,10 +19,9 @@ Tri par date - Tri par catégorie
|
||||
<?php foreach ( $this->nouveautes as $nouveau) {?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?=$this->url(array('controller'=>'fichier',
|
||||
'action'=>'new', 'fichier'=>$nouveau->fichier))?>">
|
||||
<a href="<?=$this->url(array('module'=>'file','controller'=>'index', 'action'=>'new', 'q'=>$nouveau->fichier))?>">
|
||||
<?=$nouveau->intitule?></a>
|
||||
</td>
|
||||
</td>
|
||||
<td><?=$nouveau->categorie?></td>
|
||||
<td><?=$nouveau->date?></td>
|
||||
</tr>
|
||||
|
@ -12,11 +12,11 @@ class File_BodaccController extends Zend_Controller_Action
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
preg_match('/BODACC_(A|B|C)_([0-9]{4})_(.*)\.pdf/', $filename, $matches);
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/bodacc/'.$matches[1].'/'.$matches[2].'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/bodacc/'.$matches[1].'/'.$matches[2].'/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -43,11 +43,11 @@ class File_BodaccController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->files).'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
|
@ -11,11 +11,11 @@ class File_GreffeController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/association/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/association/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -42,11 +42,11 @@ class File_GreffeController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->files.'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -73,11 +73,11 @@ class File_GreffeController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->files.'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -107,11 +107,11 @@ class File_GreffeController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->files).'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
|
@ -14,7 +14,7 @@ class File_ImageController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/logos/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/logos/'.$filename;
|
||||
$explode = explode('.', $file);
|
||||
switch ($explode[1]) {
|
||||
case 'png' : $content_type = 'image/png'; break;
|
||||
@ -24,7 +24,7 @@ class File_ImageController extends Zend_Controller_Action
|
||||
}
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -54,11 +54,11 @@ class File_ImageController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = $c->profil->path->pages.'/imgcache/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/pages/imgcache/'.$filename;
|
||||
$content_type = 'image/png';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
|
@ -16,11 +16,11 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/marques/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/marques/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -50,11 +50,11 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->files).'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/vnd.ms-excel';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -84,11 +84,11 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->files).'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -118,11 +118,11 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->files).'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -152,11 +152,11 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->files).'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/files/'.$filename;
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -186,7 +186,7 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/bilanclient/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/bilanclient/'.$filename;
|
||||
$explode = explode('.', $file);
|
||||
switch ($explode[1]) {
|
||||
case 'pdf' : $content_type = 'application/pdf'; break;
|
||||
@ -194,7 +194,7 @@ class File_IndexController extends Zend_Controller_Action
|
||||
}
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -224,11 +224,11 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->pages).'/'.$filename;
|
||||
$file = $c->profil->path->shared.'/temp/pages/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -258,11 +258,11 @@ class File_IndexController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/nouveautes/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/nouveautes/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
|
@ -14,11 +14,11 @@ class File_LienController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/groupes/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/groupes/'.$filename;
|
||||
$content_type = 'application/pdf';
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
|
@ -11,12 +11,12 @@ class File_StreetviewController extends Zend_Controller_Action
|
||||
{
|
||||
$filename = $this->getRequest()->getParam('q');
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/streetview/'.$filename;
|
||||
$file = $c->profil->path->shared.'/persist/streetview/'.$filename;
|
||||
$content_type = 'application/csv-tab-delimited-table';
|
||||
|
||||
//Envoi du fichier sur la sortie standard
|
||||
if ( file_exists($file) ) {
|
||||
$modules = apache_get_modules();
|
||||
$modules = array(); //apache_get_modules();
|
||||
if (in_array('mod_xsendfile', $modules)) {
|
||||
header ('X-Sendfile: ' . $file);
|
||||
header ('Content-Type: ' . $content_type);
|
||||
@ -46,7 +46,7 @@ class File_StreetviewController extends Zend_Controller_Action
|
||||
$pos = strpos($base64, $removePart);
|
||||
$data = substr($base64, $pos + strlen($removePart));
|
||||
$c = Zend_Registry::get('config');
|
||||
$file = realpath($c->profil->path->data).'/streetview/'.$name;
|
||||
$file = $c->profil->path->shared.'/persist/streetview/'.$name;
|
||||
$result = file_put_contents($file, base64_decode($data));
|
||||
if ($result === false) {
|
||||
echo "Error";
|
||||
|
@ -1,17 +0,0 @@
|
||||
.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;
|
||||
}
|
@ -1,423 +0,0 @@
|
||||
.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;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 16px;
|
||||
color: #2599E7;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.minTitle {
|
||||
background: none repeat scroll 0 0 #B9C9FE;
|
||||
border: 1px solid #FFF;
|
||||
color: #039;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.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: #2599E7;
|
||||
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 **/
|
||||
.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%;
|
||||
width: 691px;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.hide_monitor {
|
||||
background-color: #C0C0C0;
|
||||
height: 497px;
|
||||
position: absolute;
|
||||
top: 0%;
|
||||
width: 714px;
|
||||
margin-left: -14px;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.radio_but {
|
||||
width: 295px;
|
||||
}
|
||||
|
||||
.lang_img {
|
||||
display: none;
|
||||
float: right;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.lang_select {
|
||||
float: right;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.brsr {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: red;
|
||||
}
|
||||
|
||||
.all_select {
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
.acord {
|
||||
width: 671px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.gen_div {
|
||||
width: 600px;
|
||||
margin-left: 41px;
|
||||
}
|
||||
|
||||
.left_div {
|
||||
float: left;
|
||||
width: 300px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.right_div {
|
||||
float: left;
|
||||
width: 300px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.radius {
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
-khtml-border-radius: 4px;
|
||||
-o-border-radius: 4px;
|
||||
-ms-border-radius: 4px;
|
||||
-icab-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.monitor_but {
|
||||
width: 448px;
|
||||
}
|
||||
|
||||
.monitor_but a {
|
||||
margin: 7px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.monitor_resp {
|
||||
height: 16px;
|
||||
clear: both;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
background: #eee;
|
||||
width: 601px;
|
||||
}
|
||||
|
||||
.dialog-form {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mon_type {
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
.testSearch a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.testSearch a {
|
||||
color: #008000;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.line {
|
||||
background: none repeat scroll 0 0 #E8EDFF;
|
||||
border: 1px solid #FFF;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.tooltipFont {
|
||||
color: black;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
#giant_synthese .head {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#giant_synthese th {
|
||||
background: none repeat scroll 0 0 #B9C9FE;
|
||||
border: 1px solid #FFFFFF;
|
||||
color: #003399;
|
||||
font-size: 13px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#giant_synthese td.right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#giant_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;
|
||||
}
|
||||
|
||||
#giant_synthese td {
|
||||
background: none repeat scroll 0 0 #E8EDFF;
|
||||
border: 1px solid #FFFFFF;
|
||||
color: #666699;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#giant_synthese tr:hover td {
|
||||
background: none repeat scroll 0 0 #D0DAFD;
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }
|
||||
button { border:0; }
|
||||
.pagination {border:1px solid #CDCDCD;border-radius:3px;width:231px;margin:0 auto;}
|
@ -1,751 +0,0 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||
* and Firefox.
|
||||
* Correct `block` display not defined for `main` in IE 11.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9/10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow not hidden in IE 9/10/11.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
* `font-size` values of the `input`, it causes the cursor style of the
|
||||
* decrement button to change from `default` to `text`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* 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;}
|
||||
#content {float:right;clear:both;width:680px;padding:0;margin:0;padding-top:20px;}
|
||||
#center {background-color:#fff;padding:5px 0;}
|
||||
#footer {clear:both;text-align:center;margin-top:15px;}
|
||||
#footer p {font:0.9em Arial, Helvetica, sans-serif; }
|
||||
#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;}
|
||||
#center h2 {clear:both; margin:5px; padding:5px;background:#00008c;color:#ffffff;font:bold 1.2em Arial, Verdana, Sans-serif; }
|
||||
div.paragraph {margin:5px;padding:5px;}
|
||||
.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;}
|
||||
.StyleInfoLib {font-family: Arial, Helvetica, sans-serif;font-size:11px;font-weight:bold;color:#535353; vertical-align:top;line-height:18px;}
|
||||
.StyleInfoData {font-family: Arial, Helvetica, sans-serif;font-size:11px;color:#535353;line-height:18px;}
|
||||
.StyleInfoDataActif {font-family: Arial, Helvetica, sans-serif;font-size:11px;line-height:16px;}
|
||||
table.identite {border-collapse:separate;border-spacing:4px;}
|
||||
table.data {width:100%;}
|
||||
table.data td {border:1px solid #ccc; padding:5px;}
|
||||
table.data th {border:1px solid #ccc; padding:5px;}
|
||||
.confidentiel {border-top:1px solid; padding-top:5px; font-style:italic; font-size:9px;}
|
||||
.ui-dialog {text-align:left;}
|
||||
.ui-widget {font-size: 1em;}
|
||||
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;}
|
||||
img {vertical-align:middle;}
|
||||
.pagination {border:1px solid #CDCDCD;border-radius:3px;width:224px;margin:0 auto;}
|
||||
.pagination span {
|
||||
border: medium none;
|
||||
float: left;
|
||||
height: 26px;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
outline: medium none;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
width: 120px;
|
||||
}
|
||||
.pagination a:first-child {border: medium none;border-radius: 2px 0 0 2px;}
|
||||
.pagination a:last-child {border:medium none;border-radius:0 2px 2px 0;}
|
||||
.pagination a {border-left: 1px solid #CDCDCD; border-right: 1px solid #CDCDCD;}
|
||||
.pagination a {
|
||||
background: -moz-linear-gradient(center top , #F3F3F3 0%, #D3D3D3 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
|
||||
color: #555555;
|
||||
display: block;
|
||||
float: left;
|
||||
font-family: Times,'Times New Roman',Georgia,Palatino;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
height: 26px;
|
||||
outline: medium none;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
width: 25px;
|
||||
}
|
||||
|
||||
/* Menu
|
||||
----------------------------------*/
|
||||
div#menu {position: absolute;width:200px;}
|
||||
div#menu .ui-widget {font-family:Arial, Sans-serif;font-size:12px;}
|
||||
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 ul li a {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;}
|
||||
|
||||
/* Recherche
|
||||
----------------------------------*/
|
||||
#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: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 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;}
|
||||
.ui-autocomplete {text-align:left;}
|
||||
|
||||
/* Identite
|
||||
----------------------------------*/
|
||||
.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; }
|
||||
a.AncienSiege { background-color: #4D90FE; border: 1px solid #3079ED; color: #FFFFFF; font-weight: bold; padding: 2px 5px; }
|
||||
|
||||
/* Finance
|
||||
----------------------------------*/
|
||||
.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;margin:5px 0 10px 0;}
|
||||
#LiasseTable td {font-size:11px;font-family: arial,sans-serif;border:1px solid silver;padding:2px;}
|
||||
#LiasseTable td.amount-value {min-width:70px;}
|
||||
#liasseForm th {color:#606060;font-weight:bold;}
|
||||
#liasseForm {margin-left:30px;}
|
||||
#liasseForm td {color:#606060;}
|
||||
#synthese {border-collapse: collapse;clear: both;font-size: 12px;padding: 2px;text-align: left;width: 100%;font-family: arial,sans-serif;font-size: 11px;}
|
||||
#synthese .head {font-weight: bold;}
|
||||
#synthese th {background-color:#B9C9FE; border:1px solid #FFFFFF; color:#003399; font-size:13px; font-weight:normal; padding:4px;}
|
||||
#synthese td.right {text-align: right;}
|
||||
#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;}
|
||||
table.liasse {width:100%;border-collapse:collapse;}
|
||||
table.liasse th {border:1px solid #000000;padding:8px 4px 8px 4px;background-color:#eeeeee;text-align:center; }
|
||||
table.liasse td.date {text-align:center;background-color:#2b2b8b;color:white;font-weight:bold;width:90px;}
|
||||
table.liasse td {padding:8px 4px 8px 4px;border:1px solid #000000;vertical-align:top;}
|
||||
table.liasse td.decision {min-width:150px;}
|
||||
table.liasse td.type {min-width:250px;}
|
||||
|
||||
/* Géolocalisation
|
||||
----------------------------------*/
|
||||
#infogeo_txt {float:left;width:320px;padding:10px 0;}
|
||||
#infogeo_photo {float:left;margin:0;padding:0;width:320px;}
|
||||
#legende-photo {margin:5px 0; padding:10px;border:1px solid #0000ff;color:#0000ff;}
|
||||
#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;}
|
||||
|
||||
/* Juridique
|
||||
----------------------------------*/
|
||||
#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 li {margin:10px 5px 20px 5px;}
|
||||
tr.deleted {text-decoration:line-through;}
|
||||
|
||||
/* Evaluation
|
||||
----------------------------------*/
|
||||
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;}
|
||||
.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; }
|
||||
|
||||
/* Comment
|
||||
----------------------------------*/
|
||||
#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;}
|
||||
|
||||
/* Surveillances
|
||||
----------------------------------*/
|
||||
#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;margin: 0; }
|
||||
#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; }
|
||||
#formSurveillance input.search { border:1px solid; padding:3px 5px;width:200px; }
|
||||
#formSurveillance input.search:focus { border:1px solid #4D90FE; }
|
||||
#formSurveillance input.submit { font-weight:bold;padding:2px 5px; background-color:#4D90FE; border:1px solid #3079ED;color:#ffffff; }
|
||||
|
||||
/* Pieces
|
||||
----------------------------------*/
|
||||
.marge { margin-left:30px; }
|
||||
/*#identite { margin-left:30px; }*/
|
||||
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 5px 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:100%;border-collapse:collapse; }
|
||||
table.greffe th { border:1px solid #000000;padding:8px 4px 8px 4px;background-color:#eeeeee;text-align:center; }
|
||||
table.greffe td.date { text-align:center;background-color:#2b2b8b;color:white;font-weight:bold;width:90px; }
|
||||
table.greffe td { padding:8px 4px 8px 4px;border:1px solid #000000;border-bottom: 1px dashed; vertical-align:top; }
|
||||
table.greffe td.decision { min-width:150px; }
|
||||
table.greffe td.type { min-width:250px; }
|
||||
table.greffe td.saisie { border-top: 1px dashed; }
|
||||
|
||||
|
||||
/* Print
|
||||
----------------------------------*/
|
||||
@media print {
|
||||
@page {
|
||||
size: portrait;
|
||||
margin: 1cm;
|
||||
};
|
||||
h1 {
|
||||
page-break-before: always;
|
||||
}
|
||||
table {
|
||||
page-break-before: avoid;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
body { background-color:#ffffff; font-family:Verdana, Arial, sans-serif; font-size:11px; }
|
||||
global { width:100% !important; margin:0; }
|
||||
#content { float:none; clear:none; width:100% !important; padding:0; margin:0; }
|
||||
div#menu { display:none; }
|
||||
#center { padding:0; }
|
||||
h1 { letter-spacing:none; }
|
||||
#footer { clear:both; text-align:center; margin-top:15px; }
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
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;
|
||||
}
|
17
docs/README
17
docs/README
@ -8,7 +8,6 @@ README
|
||||
- Translate
|
||||
|
||||
Note : Project are define to be use on Linux Server, so take care about path and file name.
|
||||
Also some script (CLI) don't work on Windows.
|
||||
|
||||
|
||||
PROJECT
|
||||
@ -16,15 +15,15 @@ PROJECT
|
||||
|
||||
This application is a frontend for the WebService and it's display information graphically.
|
||||
|
||||
|
||||
SYSTEM REQUIREMENTS
|
||||
===================
|
||||
|
||||
- Apache 2.2
|
||||
- PHP 5.3.x
|
||||
- APC
|
||||
- Apache 2.4
|
||||
- PHP 5.5.x
|
||||
- Chartdir library
|
||||
- browscap.ini (http://tempdownloads.browserscap.com/, http://browscap.org/)
|
||||
- wkhtmltopdf (http://code.google.com/p/wkhtmltopdf/)
|
||||
- wkhtmltopdf (http://wkhtmltopdf.org/)
|
||||
|
||||
|
||||
INSTALLATION
|
||||
@ -50,7 +49,7 @@ Environment configuration
|
||||
SetEnv APPLICATION_ENV "staging" => Recette
|
||||
SetEnv APPLICATION_ENV "development" => Developpement
|
||||
|
||||
- Static/Global Storage
|
||||
- Persistent Storage
|
||||
|
||||
data/asso
|
||||
data/association
|
||||
@ -65,18 +64,14 @@ Environment configuration
|
||||
data/logos
|
||||
data/marques
|
||||
data/nouveautes
|
||||
data/wkhtml
|
||||
|
||||
data/wkhtml
|
||||
|
||||
- Temporary storage
|
||||
|
||||
[projet]/data/
|
||||
cache
|
||||
files
|
||||
infogreffe
|
||||
log
|
||||
pages
|
||||
rss
|
||||
sessions
|
||||
wsdl
|
||||
|
||||
|
84
docs/VHOST
84
docs/VHOST
@ -1,87 +1,3 @@
|
||||
APACHE 2.2
|
||||
==========
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName extranet.scores-decisions.com
|
||||
AddDefaultCharset utf-8
|
||||
DocumentRoot /var/www/extranet/public
|
||||
|
||||
SetEnv APPLICATION_ENV "production"
|
||||
|
||||
<Directory /var/www/extranet/public/>
|
||||
AllowOverride none
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
#RewriteCond %{REQUEST_URI} ^/favicon.ico$ [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -s [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -d
|
||||
RewriteRule ^.*$ - [NC,L]
|
||||
RewriteRule ^.*$ index.php [NC,L]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
<Location />
|
||||
AddOutputFilterByType DEFLATE text/plain
|
||||
AddOutputFilterByType DEFLATE text/html
|
||||
AddOutputFilterByType DEFLATE text/xml
|
||||
AddOutputFilterByType DEFLATE text/css
|
||||
AddOutputFilterByType DEFLATE application/xml
|
||||
AddOutputFilterByType DEFLATE application/xhtml+xml
|
||||
AddOutputFilterByType DEFLATE application/rss+xml
|
||||
AddOutputFilterByType DEFLATE application/javascript
|
||||
AddOutputFilterByType DEFLATE application/x-javascript
|
||||
AddOutputFilterByType DEFLATE application/x-http-php
|
||||
|
||||
SetOutputFilter DEFLATE
|
||||
|
||||
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
||||
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
||||
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
|
||||
|
||||
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
|
||||
SetEnvIfNoCase Request_URI \.(?:ext|t?gz|zip|bz2|sit|tar)$ no-gzip dont-vary
|
||||
SetEnvIfNoCase Request_URI \.(?:pdf|avi|mov|mp3|mp4|rm)$ no-gzip dont-vary
|
||||
|
||||
Header append Vary User-Agent env=!dont-vary
|
||||
</Location>
|
||||
</IfModule>
|
||||
|
||||
ExpiresActive On
|
||||
|
||||
<FilesMatch "\.(ico|flv|jpg|jpeg|png|gif|swf)$">
|
||||
Header unset Cookie
|
||||
Header unset Set-Cookie
|
||||
#Header set Cache-Control "max-age=432000, public"
|
||||
Header set vary "Accept-Encoding"
|
||||
Header append vary "User-Agent"
|
||||
ExpiresDefault "modification plus 5 days"
|
||||
FileEtag None
|
||||
</FilesMatch>
|
||||
|
||||
<FilesMatch "\.(js|css)$">
|
||||
Header unset Cookie
|
||||
Header unset Set-Cookie
|
||||
#Header set Cache-Control "max-age=432000, public"
|
||||
Header set vary "Accept-Encoding"
|
||||
Header append vary "User-Agent"
|
||||
ExpiresDefault "modification plus 5 days"
|
||||
FileEtag None
|
||||
</FilesMatch>
|
||||
|
||||
BrowserMatch "MSIE" force-no-vary
|
||||
|
||||
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
|
||||
LogLevel error
|
||||
ErrorLog /var/log/apache2/extranet-error.log
|
||||
CustomLog /var/log/apache2/extranet-access.log combined
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
APACHE 2.4
|
||||
==========
|
||||
|
||||
|
@ -15,8 +15,7 @@ class Application_Controller_Plugin_Pdf extends Zend_Controller_Plugin_Abstract
|
||||
$content = preg_replace('@<link href="/@si','<link href="./',$layout);
|
||||
$content = preg_replace('@src="/@si','src="./',$content);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = $c->profil->path->pages;
|
||||
file_put_contents($c->profil->path->pages.'/'.$filename.'.html', $content);
|
||||
file_put_contents($c->profil->path->shared.'/temp/pages/'.$filename.'.html', $content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,12 +4,12 @@ class GenCourrier
|
||||
protected $format = 'odt';
|
||||
protected $path = '';
|
||||
protected $info = null;
|
||||
|
||||
|
||||
public function __construct($numCommande)
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = realpath($c->profil->path->data).'/courrier/';
|
||||
|
||||
$this->path = $c->profil->path->shared.'/courrier/';
|
||||
|
||||
$this->info = new stdClass();
|
||||
$this->info->ref = $numCommande;
|
||||
}
|
||||
@ -44,9 +44,9 @@ class GenCourrier
|
||||
//Assignation des variables
|
||||
$this->info->siren = $result->siren;
|
||||
$this->info->typeDocument = $typeDocument;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function setInfosIdentite()
|
||||
{
|
||||
require_once 'Scores/WsScores.php';
|
||||
@ -64,7 +64,7 @@ class GenCourrier
|
||||
}
|
||||
$this->info->adresse .= "\n".$reponse->CP.' '.$reponse->Ville;
|
||||
}
|
||||
|
||||
|
||||
public function setInfosTribunal()
|
||||
{
|
||||
// Adresse du tribunal de commerce
|
||||
@ -83,16 +83,16 @@ class GenCourrier
|
||||
$this->info->libTrib = $libTrib;
|
||||
$this->info->tribunal = $reponse->result->item[0];
|
||||
}
|
||||
|
||||
|
||||
public function setTarifs()
|
||||
{
|
||||
$tarifs = new Application_Model_CommandesTarifs();
|
||||
|
||||
|
||||
$sql = $tarifs->select()->where('codeTribunal = ?', $this->info->tribunalCode)
|
||||
->where('type = ?', $this->info->typeDocument)
|
||||
->where('annee = ?', date('Y'));
|
||||
$result = $tarifs->fetchAll($sql)->toArray();
|
||||
|
||||
|
||||
if (count($result) == 0) {
|
||||
echo 'Commande '.$this->info->ref.' - Pas de tarifs défini pour le tribunal '.
|
||||
$this->info->tribunal->Nom.' ('.$this->info->tribunalCode.')';
|
||||
@ -110,7 +110,7 @@ class GenCourrier
|
||||
$this->normaliseVoie($this->info->tribunal->AdrComp)."\n".
|
||||
$this->info->tribunal->CP.' '.$this->info->tribunal->Ville."\n";
|
||||
}
|
||||
|
||||
|
||||
protected function setSujet()
|
||||
{
|
||||
// Type de document demandé (actes ou bilans pour l'instant)
|
||||
@ -122,10 +122,10 @@ class GenCourrier
|
||||
substr($matches[1], 4, 2).'/'.
|
||||
substr($matches[1], 0, 4);
|
||||
} else if ($this->info->typeDocument == 'actes') {
|
||||
|
||||
|
||||
$this->info->sujet = 'une copie de l\'acte '.
|
||||
$typeActes['a'.substr($this->info->refDocument,0,2)];
|
||||
|
||||
|
||||
if (empty($this->info->libDocument) == false) {
|
||||
$this->info->sujet .= ' ('.$this->info->libDocument.')';
|
||||
}
|
||||
@ -137,14 +137,14 @@ class GenCourrier
|
||||
$this->info->sujet = 'un extrait RCS';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected function setSociete()
|
||||
{
|
||||
// Societe
|
||||
$this->info->societe = $this->info->nom."\n".'( '.$this->info->siren.$this->info->libTrib.' )'."\n";
|
||||
$this->info->societe .= $this->normaliseVoie($this->info->adresse);
|
||||
}
|
||||
|
||||
|
||||
protected function setMontant()
|
||||
{
|
||||
// Piece jointe et montant
|
||||
@ -157,16 +157,16 @@ class GenCourrier
|
||||
' euros en règlement de cette commande.';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function computeOdt()
|
||||
{
|
||||
$config = array(
|
||||
'ZIP_PROXY' => 'PhpZipProxy',
|
||||
);
|
||||
|
||||
|
||||
require_once 'Vendors/odtphp/library/odf.php';
|
||||
$odf = new odf(realpath(dirname(__FILE__).'/modeleLettreGreffe.odt'), $config);
|
||||
|
||||
|
||||
$this->setInfosCommande();
|
||||
$this->setInfosIdentite();
|
||||
$this->setInfosTribunal();
|
||||
@ -175,9 +175,9 @@ class GenCourrier
|
||||
$this->setSujet();
|
||||
$this->setSociete();
|
||||
$this->setMontant();
|
||||
|
||||
|
||||
$file = $this->info->siren.'-'.$this->info->ref.'.odt';
|
||||
|
||||
|
||||
$odf->setVars('destinataire', $this->info->destinataire, true, 'UTF-8');
|
||||
$odf->setVars('date', date('d/m/Y'), true, 'UTF-8');
|
||||
$odf->setVars('ref', $this->info->ref, true, 'UTF-8');
|
||||
@ -186,9 +186,9 @@ class GenCourrier
|
||||
$odf->setVars('montant', $this->info->montant, true, 'UTF-8');
|
||||
if ($this->info->type == 'MAIL') {
|
||||
$odf->setVars('bymail',"ou à votre convenance par mail à : support@scores-decisions.com", true, 'UTF-8');
|
||||
}
|
||||
}
|
||||
$odf->saveToDisk($this->path.$file);
|
||||
|
||||
|
||||
if (file_exists($this->path.$file) == true) {
|
||||
header('Content-Transfer-Encoding: none');
|
||||
header('Content-type: application/vnd.oasis.opendocument.text');
|
||||
@ -203,7 +203,7 @@ class GenCourrier
|
||||
echo 'Erreur Génération du fichier';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function computePdf()
|
||||
{
|
||||
$this->setInfosCommande();
|
||||
@ -214,7 +214,7 @@ class GenCourrier
|
||||
$this->setSujet();
|
||||
$this->setSociete();
|
||||
$this->setMontant();
|
||||
|
||||
|
||||
// initiate PDF
|
||||
require_once realpath(dirname(__FILE__)).'/PDF.php';
|
||||
$pdf = new PDF();
|
||||
@ -228,21 +228,21 @@ class GenCourrier
|
||||
// add a page
|
||||
$pdf->AddPage();
|
||||
$pdf->SetFont("times", "", 10);
|
||||
|
||||
|
||||
//Position de départ
|
||||
$pdf->SetY(50);
|
||||
|
||||
|
||||
//Bloc Addresse destinataire
|
||||
$largeur = 80;
|
||||
$positionX = 105;
|
||||
$pdf->MultiCell($largeur, 5, $this->info->destinataire, $border, 'L', 0, 1, $positionX);
|
||||
|
||||
|
||||
//Bloc Lieu, date
|
||||
$date = date('d/m/Y');
|
||||
$txt = "Rambouillet, le $date";
|
||||
$positionY = $pdf->GetY()+5;
|
||||
$pdf->MultiCell($largeur, 5, $txt, $border, 'L', 0, 1, $positionX, $positionY);
|
||||
|
||||
|
||||
//Bloc objet
|
||||
$positionY = $pdf->GetY()+5;
|
||||
$pdf->MultiCell(20, 5, "Objet:", $border, 'L', 0, 0, '', $positionY, true);
|
||||
@ -253,26 +253,26 @@ class GenCourrier
|
||||
//Bloc titre
|
||||
$positionY = $pdf->GetY()+5;
|
||||
$pdf->MultiCell(0, 5, "Madame, Monsieur,", $border, 'L', 0, 1, '', $positionY, true);
|
||||
|
||||
|
||||
//Type de document demandé (actes ou bilans pour l'instant)
|
||||
//[un Kbis / l'état d'endettement / la copie de jugement de XXX en date du XXX ]
|
||||
$positionY = $pdf->GetY()+2;
|
||||
$pdf->MultiCell(0, 5, "Nous vous prions de nous faire parvenir $this->info->sujet concernant la société:", $border, 'L', 0, 1, '', $positionY, true);
|
||||
|
||||
|
||||
//Bloc société
|
||||
$positionY = $pdf->GetY()+2;
|
||||
$pdf->MultiCell(0, 5, $this->info->societe, $border, 'L', 0, 1, '', $positionY, true);
|
||||
|
||||
|
||||
//Bloc pièce jointe
|
||||
$positionY = $pdf->GetY()+5;
|
||||
$pdf->MultiCell(0, 5, $this->info->montant, $border, 'L', 0, 1, '', $positionY, true);
|
||||
|
||||
|
||||
//Bloc intitulé adresse reception
|
||||
$positionY = $pdf->GetY()+2;
|
||||
$pdf->MultiCell(0, 5,
|
||||
"Veuillez nous renvoyer le(s) document(s) par retour à l'adresse suivante:",
|
||||
$border, 'L', 0, 1, '', $positionY, true);
|
||||
|
||||
|
||||
//Bloc adresse s&d
|
||||
$positionY = '';
|
||||
$pdf->MultiCell(0, 5,
|
||||
@ -280,18 +280,18 @@ class GenCourrier
|
||||
"19 rue Clairefontaine". "\n" .
|
||||
"78120 RAMBOUILLET" . "\n"
|
||||
, $border, 'L', 0, 1, '', $positionY, true);
|
||||
|
||||
|
||||
if ($this->info->type == 'MAIL') {
|
||||
$positionY = $pdf->GetY()+2;
|
||||
$pdf->MultiCell(0, 5,
|
||||
"ou à votre convenance par mail à : support@scores-decisions.com",
|
||||
$border, 'L', 0, 1, '', $positionY, true);
|
||||
}
|
||||
|
||||
|
||||
//Bloc formule politesse
|
||||
$positionY = $pdf->GetY()+2;
|
||||
$pdf->MultiCell(0, 5, "Dans l'attente de notre prochain échange, nous vous prions de recevoir, Madame, Monsieur, l'expression de nos plus sincères salutations.", $border, 'L', 0, 1, '', $positionY, true);
|
||||
|
||||
|
||||
$file = $this->info->siren.'-'.$this->info->ref.'.pdf';
|
||||
$pdf->Output($this->path.$file, 'F');
|
||||
if(file_exists($path.$file))
|
||||
@ -308,7 +308,7 @@ class GenCourrier
|
||||
echo file_get_contents($this->path.$file);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected function normaliseVoie($txt)
|
||||
{
|
||||
$replace_pairs = array(
|
||||
|
@ -19,12 +19,12 @@ Class GiantControllerLib
|
||||
{
|
||||
$this->configVal = new Zend_Config_Ini( realpath(dirname(__FILE__)).'/giant.ini' );
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathImg = $c->profil->path->pages.'/imgcache/'.$companyId;
|
||||
$this->pathImg = $c->profil->path->shared.'/temp/pages/imgcache/'.$companyId;
|
||||
}
|
||||
|
||||
public function getCache($pays){
|
||||
$frontendOptions = array('lifetime' => $this->configVal->cache->lifetime,'automatic_serialization' => true);
|
||||
$backendOptions = array('cache_dir' => '../data/cache/giant/');
|
||||
$backendOptions = array('cache_dir' => $c->profil->path->shared . '/giant/');
|
||||
$cache = Zend_Cache::factory('Output','File',$frontendOptions,$backendOptions);
|
||||
$result = $cache->load('Pays_'.$pays);
|
||||
return ($result);
|
||||
@ -37,7 +37,7 @@ Class GiantControllerLib
|
||||
$Rapport = new Rapports($Pays, $TestIndication);
|
||||
$CommandeP = new stdClass();
|
||||
$setLog = new WsScores();
|
||||
|
||||
|
||||
switch ($Utilisateur->getIdClient()) {
|
||||
case '0':
|
||||
$price = $this->configVal->price->test;
|
||||
@ -89,11 +89,11 @@ Class GiantControllerLib
|
||||
'lifetime' => $this->configVal->cache->lifetime,
|
||||
'automatic_serialization' => true
|
||||
);
|
||||
$path = '../data/cache/giant/';
|
||||
$path = $c->profil->path->shared .'/giant/';
|
||||
if (!is_dir($path)) mkdir($path, 0777, true)
|
||||
;
|
||||
//No, create it
|
||||
$backendOptions = array('cache_dir' => '../data/cache/giant/');
|
||||
$backendOptions = array('cache_dir' => $c->profil->path->shared . '/giant/');
|
||||
$cache = Zend_Cache::factory('Output','File',$frontendOptions,$backendOptions);
|
||||
if(($result = $cache->load('Pays_'.$Pays)) === false) {
|
||||
$rapport = new GiantRechercheController($Pays, $TestIndication);
|
||||
|
@ -216,7 +216,7 @@ class Infogreffe
|
||||
}
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathData = realpath($c->profil->path->data);
|
||||
$this->pathData = $c->profil->path->shared;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -672,7 +672,7 @@ class BDF
|
||||
$filename = false;
|
||||
} else {
|
||||
$c = Zend_Registry::get('config');
|
||||
$filename = $c->profil->path->cache.'/bdf_'.$service.'_'.$req.'_'.$module.'.html';
|
||||
$filename = $c->profil->path->shared.'/temp/cache/bdf_'.$service.'_'.$req.'_'.$module.'.html';
|
||||
}
|
||||
|
||||
//@todo : Ajouter timeover
|
||||
|
@ -7,16 +7,16 @@ class Cache
|
||||
protected $cache_loaded = false;
|
||||
protected $file_loaded;
|
||||
protected $cache = array();
|
||||
|
||||
|
||||
/**
|
||||
* Initialise le cache avec un nom
|
||||
* @param string $name
|
||||
*/
|
||||
public function __construct($name = null)
|
||||
{
|
||||
$this->filename = Zend_Registry::get('config')->profil->path->cache.'/'.$name.$this->extension;
|
||||
$this->filename = Zend_Registry::get('config')->profil->path->shared.'/temp/cache/'.$name.$this->extension;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Détermine si le fichier de cache existe et qu'il n'est pas périmé
|
||||
*/
|
||||
@ -32,7 +32,7 @@ class Cache
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Encode les données pour les placer dans le cache
|
||||
* @param unknown_type $array
|
||||
@ -48,7 +48,7 @@ class Cache
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Récupére les données du cache et les décode
|
||||
*/
|
||||
@ -63,7 +63,7 @@ class Cache
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Détermine suivant la date de fichier si celui-ci est périmé
|
||||
*/
|
||||
@ -83,7 +83,7 @@ class Cache
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Supprime le fichier de cache
|
||||
*/
|
||||
@ -94,7 +94,7 @@ class Cache
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Lit une ligne dans le fichier
|
||||
*/
|
||||
@ -112,7 +112,7 @@ class Cache
|
||||
}
|
||||
return $cache;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Ecrit une ligne dans le fichier
|
||||
* @param string $line
|
||||
@ -124,7 +124,7 @@ class Cache
|
||||
fclose($fp);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Caching WorldCheck Data using Zend_cache
|
||||
*
|
||||
@ -136,18 +136,18 @@ class Cache
|
||||
* @return mixed (array object)
|
||||
*/
|
||||
public function wcCache($config, $class, $function, $param, $file_name)
|
||||
{
|
||||
{
|
||||
//caching
|
||||
$cache_dir = $config['path'].$config['name'];
|
||||
if (!is_dir($cache_dir)) mkdir($cache_dir, 0777, true);
|
||||
|
||||
|
||||
$frontendOptions = array(
|
||||
'lifetime' => $config['lifetime'],
|
||||
'automatic_serialization' => true
|
||||
);
|
||||
$backendOptions = array('cache_dir' => $cache_dir);
|
||||
$cache = Zend_Cache::factory('Output','File',$frontendOptions,$backendOptions);
|
||||
|
||||
|
||||
if(!($cache_data = $cache->load($file_name))) {
|
||||
$cache_data = new stdClass();
|
||||
$cache_data = call_user_func_array(array($class, $function), array($param));
|
||||
|
@ -159,7 +159,7 @@ class Scores_Export_Print
|
||||
$content = $serializer->serialize($object);
|
||||
$filename = $this->filename('xml', $params);
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = realpath($c->profil->path->files).'/';
|
||||
$path = $c->profil->path->shared.'/temp/files/';
|
||||
file_put_contents($path.$filename.'.xml', $content);
|
||||
} catch (Zend_Serializer_Exception $e) {
|
||||
//Error
|
||||
|
@ -22,7 +22,7 @@ class Scores_Finance_Liasse_XLS
|
||||
public function __construct($modele = '', $mode = 'Excel5')
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = $c->profil->path->files . '/';
|
||||
$this->path = $c->profil->path->shared . '/temp/files/';
|
||||
if (!is_dir($this->path)){
|
||||
mkdir($this->path);
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ class Scores_Finance_Ratios_Graph
|
||||
require_once 'Vendors/ChartDirector/phpchartdir.php';
|
||||
require_once 'Scores/Cache.php';
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = $c->profil->path->pages . '/imgcache/';
|
||||
$this->path = $c->profil->path->shared . '/temp/pages/imgcache/';
|
||||
$this->siret = $siret;
|
||||
$this->id = $id;
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ class Scores_Google_Streetview
|
||||
$this->siret = $siret;
|
||||
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = realpath($c->profil->path->data).'/streetview';
|
||||
$this->path = $c->profil->path->shared.'/persist/streetview';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -396,7 +396,7 @@ class IdentiteEntreprise
|
||||
public function getSituationJuridiqueTexte()
|
||||
{
|
||||
$data = false;
|
||||
if ( in_array(substr($this->identite->SituationJuridique,0,1), array('P', 'R')) ) {
|
||||
if ( in_array($this->identite->SituationJuridique, array('P', 'PL', 'R', 'RR', 'RP', 'CL')) ) {
|
||||
$dateRad = '';
|
||||
if($this->identite->DateRadiation!='' && $this->identite->DateRadiation!='0000-00-00'){
|
||||
$date = new Zend_Date(str_replace('-','',$this->identite->DateRadiation),'yyyyMMdd');
|
||||
@ -417,10 +417,20 @@ class IdentiteEntreprise
|
||||
'action'=>'annonces',
|
||||
'siret'=>$this->identite->Siret,
|
||||
'id'=>$this->identite->id), 'default', true).'">'.
|
||||
'<font color="red"><b>En procédure collective</b></font>'.
|
||||
'<font color="red"><b>En procédure collective</b></font>'.
|
||||
'</a>';
|
||||
if($dateRad!=''){ $data.= '<br/>Radié du RCS le '.$dateRad; }
|
||||
} elseif ($this->identite->SituationJuridique=='CL') {
|
||||
$data = '<a href="'.$this->view->url(array(
|
||||
'controller'=>'juridique',
|
||||
'action'=>'annonces',
|
||||
'siret'=>$this->identite->Siret,
|
||||
'id'=>$this->identite->id), 'default', true).'">'.
|
||||
'<font color="red">Clôture de la procédure</font>'.
|
||||
'</a>';
|
||||
if($dateRad!=''){ $data.= '<br/>Radié du RCS le '.$dateRad; }
|
||||
}
|
||||
|
||||
//Radiation
|
||||
if ($this->identite->SituationJuridique=='RR') {
|
||||
$data.= 'Radié du RCS';
|
||||
|
@ -11,8 +11,8 @@ class Scores_Insee_AvisSituation
|
||||
public function __construct($siret)
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathAvisPdf = $c->profil->path->files;
|
||||
$this->pathLog = realpath($c->profil->path->data).'/log';
|
||||
$this->pathAvisPdf = $c->profil->path->shared.'/temp/files';
|
||||
$this->pathLog = $c->profil->path->shared.'/persist/log';
|
||||
$this->fichierErreur = $this->pathLog.'/aviserreur.lock';
|
||||
$this->siret = $siret;
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ class Scores_Insee_Iris
|
||||
public function __construct($codeCommune)
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathIrisPdf = realpath($c->profil->path->data).'/iris';
|
||||
$this->pathIrisPdf = $c->profil->path->shared.'/persist/iris';
|
||||
$this->codeCommune = $codeCommune;
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ class Logo
|
||||
public function __construct($siren, $isin = null)
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->path = realpath($c->profil->path->data).'/logos';
|
||||
$this->path = $c->profil->path->shared.'/persist/logos';
|
||||
$this->siren = $siren;
|
||||
$this->isin = $isin;
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ class RapportComment
|
||||
//Assignation
|
||||
$this->commentaires = $tabCommentaires;
|
||||
$c = Zend_Registry::get('config');
|
||||
$this->pathImage = $c->profil->path->pages.'/imgcache/';
|
||||
$this->pathImage = $c->profil->path->shared.'/temp/pages/imgcache/';
|
||||
|
||||
$this->idEntreprise = $id;
|
||||
$this->siret = $siret;
|
||||
|
@ -126,7 +126,7 @@ class Scores_Ws_Client extends Zend_Soap_Client
|
||||
'automatic_seralization' => true
|
||||
);
|
||||
$backend = array(
|
||||
'cache_dir' => APPLICATION_PATH . '/../data/cache',
|
||||
'cache_dir' => $c->profil->path->shared . '/temp/cache',
|
||||
);
|
||||
$this->cache = Zend_Cache::factory('Core', 'File', $frontend, $backend);
|
||||
}
|
||||
|
@ -8,6 +8,6 @@ wsworldcheck.assigneeIdentifier = cnu_so_77
|
||||
wsworldcheck.response.limit = 200
|
||||
wsworldcheck.response.start = 0
|
||||
worldcheck.page.items = 15
|
||||
worldcheck.cachedir.path = ../data/cache/
|
||||
worldcheck.cachedir.path = "/home/vhosts/data/extranet/temp/cache/"
|
||||
worldcheck.cachedir.name = worldcheck
|
||||
worldcheck.cachedir.lifetime = 86400
|
@ -56,22 +56,23 @@ if(isset($opts->install))
|
||||
$application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini');
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
|
||||
//Create data directory and all his children
|
||||
// --- Create data directory and all his children
|
||||
$path = $c->profil->path->shared;
|
||||
$dirToCreate = array(
|
||||
APPLICATION_PATH.'/../data',
|
||||
APPLICATION_PATH.'/../data/cache',
|
||||
APPLICATION_PATH.'/../data/cache/giant',
|
||||
APPLICATION_PATH.'/../data/files',
|
||||
APPLICATION_PATH.'/../data/infogreffe',
|
||||
APPLICATION_PATH.'/../data/log',
|
||||
APPLICATION_PATH.'/../data/rss',
|
||||
APPLICATION_PATH.'/../data/sessions',
|
||||
APPLICATION_PATH.'/../data/wsdl',
|
||||
$path.'/temp/cache',
|
||||
$path.'/temp/files',
|
||||
$path.'/temp/pages/file/image/logo/q',
|
||||
$path.'/temp/pages/file/streetview/img/q',
|
||||
$path.'/temp/pages/imgcache',
|
||||
$path.'/temp/sessions',
|
||||
$path.'/temp/wsdl',
|
||||
);
|
||||
foreach ($dirToCreate as $dir) {
|
||||
if ( !file_exists($dir) ) {
|
||||
mkdir($dir);
|
||||
}
|
||||
if ( ! file_exists($dir) ) {
|
||||
mkdir($dir, 0777, true);
|
||||
// --- Modification des permissions
|
||||
passthru('chown -Rv www-data: '.$dir);
|
||||
}
|
||||
}
|
||||
|
||||
if ( substr(strtoupper(PHP_OS),0,3) == 'WIN' ) {
|
||||
@ -81,13 +82,31 @@ if(isset($opts->install))
|
||||
|
||||
} else {
|
||||
|
||||
//Création des liens symboliques pour l'impression
|
||||
passthru('ln -vsf '.APPLICATION_PATH.'/../public/themes/default/images '.$c->profil->path->pages.'/themes/default/images');
|
||||
passthru('ln -vsf '.APPLICATION_PATH.'/../public/themes/default/scripts '.$c->profil->path->pages.'/themes/default/scripts');
|
||||
passthru('ln -vsf '.APPLICATION_PATH.'/../data/pages/imgcache'.' '.$c->profil->path->pages.'/fichier/imgcache');
|
||||
passthru('ln -vsf '.$c->profil->path->data.'/logos '.$c->profil->path->pages.'/fichier/logo');
|
||||
// Préparation et vérification
|
||||
$dirToCheck = array(
|
||||
$path.'/persist/association',
|
||||
$path.'/persist/bilanclient',
|
||||
$path.'/persist/bodacc',
|
||||
$path.'/persist/groupes',
|
||||
$path.'/persist/iris',
|
||||
$path.'/persist/log',
|
||||
$path.'/persist/logos',
|
||||
$path.'/persist/marques',
|
||||
$path.'/persist/nouveautes',
|
||||
$path.'/persist/streetview',
|
||||
);
|
||||
foreach ($dirToCheck as $dir) {
|
||||
if ( ! file_exists($dir) ) {
|
||||
echo "Lien data manquant : ".$dir."\n";
|
||||
}
|
||||
}
|
||||
|
||||
//Modification des permissions
|
||||
// Création des liens symboliques pour l'impression
|
||||
passthru('ln -vsf '.APPLICATION_PATH.'/../public/themes '.$c->profil->path->shared.'/temp/pages/themes');
|
||||
passthru('ln -vsf '.$c->profil->path->shared.'/persist/streetview '.$c->profil->path->shared.'/temp/pages/file/streetview/img/q');
|
||||
passthru('ln -vsf '.$c->profil->path->shared.'/persist/logos '.$c->profil->path->shared.'/temp/pages/file/image/logo/q');
|
||||
|
||||
// Modification des permissions
|
||||
passthru('chown -R www-data: '.APPLICATION_PATH.'/../');
|
||||
}
|
||||
|
||||
@ -104,7 +123,7 @@ if ( $opts->incron ) {
|
||||
}
|
||||
|
||||
//Send bilanclient
|
||||
file_put_contents('/etc/incron.d/bilanclient', $c->profil->path->data . "/bilanclient IN_CLOSE_WRITE php /home/vhosts/extranet/scripts/jobs/sendBilanClient.php --file $#");
|
||||
file_put_contents('/etc/incron.d/bilanclient', "/home/vhosts/data/bilanclient IN_CLOSE_WRITE php /home/vhosts/extranet/scripts/jobs/sendBilanClient.php --file $#");
|
||||
|
||||
echo "Don't forget to restart incron. sudo service incron restart.\n";
|
||||
echo "Fin de la configuration.\n";
|
||||
|
@ -2,11 +2,11 @@
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
phpSettings.soap.wsdl_cache_dir = APPLICATION_PATH "/../data/wsdl"
|
||||
phpSettings.soap.wsdl_cache_dir = "/home/vhosts/data/extranet/temp/wsdl"
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.session.save_path = "/home/vhosts/data/extranet/temp/sessions"
|
||||
resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php"
|
||||
resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
@ -19,12 +19,13 @@ resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/layouts/default"
|
||||
resources.view.helperPath = APPLICATION_PATH "/layouts/helpers"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
|
||||
; Scores configuration
|
||||
profil.server.name = sdsrvdev01
|
||||
profil.webservice.url = "http://webservice-2.8.sd.lan";
|
||||
profil.webservice.url = "http://webservice.sd.lan";
|
||||
profil.mail.method = smtp
|
||||
profil.mail.smtp_host = smtp.free.fr
|
||||
profil.mail.username = yourusername
|
||||
@ -33,11 +34,8 @@ 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 = "/home/vhosts/data/extranet"
|
||||
profil.wkhtmltopdf.path = "/home/vhosts/data/wkhtml/wkhtmltopdf-amd64"
|
||||
profil.path.shared = "/home/vhosts/data/extranet"
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=localhost
|
||||
profil.db.sdv1.params.username=extranet
|
||||
|
@ -2,11 +2,11 @@
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
phpSettings.soap.wsdl_cache_dir = APPLICATION_PATH "/../data/wsdl"
|
||||
phpSettings.soap.wsdl_cache_dir = "/your/persistent/path/temp/wsdl"
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.session.save_path = "/your/persistent/path/temp/sessions"
|
||||
resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php"
|
||||
resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
@ -19,7 +19,8 @@ resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/layouts/default"
|
||||
resources.view.helperPath = APPLICATION_PATH "/layouts/helpers"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
|
||||
; Scores configuration
|
||||
@ -31,10 +32,7 @@ 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/persistent/path/"
|
||||
profil.path.shared = "/your/persistent/path/"
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=127.0.0.1
|
||||
|
@ -2,13 +2,14 @@
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
phpSettings.soap.wsdl_cache_dir = APPLICATION_PATH "/../data/wsdl"
|
||||
phpSettings.soap.wsdl_cache_dir = "/home/vhosts/extranet/shared/temp/wsdl"
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.session.save_path = "/home/vhosts/extranet/shared/temp/sessions"
|
||||
resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php"
|
||||
resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap"
|
||||
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme"
|
||||
@ -19,7 +20,8 @@ resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/layouts/default"
|
||||
resources.view.helperPath = APPLICATION_PATH "/layouts/helpers"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
|
||||
; Scores configuration
|
||||
@ -30,11 +32,8 @@ 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.path = "/home/vhosts/data/wkhtml/linux/wkhtmltopdf-amd64"
|
||||
profil.path.shared = "/home/vhosts/extranet/shared"
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=localhost
|
||||
profil.db.sdv1.params.username=extranet
|
||||
|
@ -2,13 +2,14 @@
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
phpSettings.soap.wsdl_cache_dir = APPLICATION_PATH "/../data/wsdl"
|
||||
phpSettings.soap.wsdl_cache_dir = "/home/vhosts/extranet/shared/temp/wsdl"
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.session.save_path = "/home/vhosts/extranet/shared/temp/sessions"
|
||||
resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php"
|
||||
resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap"
|
||||
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme"
|
||||
@ -19,7 +20,8 @@ resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/layouts/default"
|
||||
resources.view.helperPath = APPLICATION_PATH "/layouts/helpers"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
|
||||
; Scores configuration
|
||||
@ -30,11 +32,8 @@ 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.path = "/home/vhosts/data/wkhtml/linux/wkhtmltopdf-amd64"
|
||||
profil.path.shared = "/home/vhosts/extranet/shared"
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=127.0.0.1
|
||||
profil.db.sdv1.params.username=extranet
|
||||
|
@ -2,13 +2,14 @@
|
||||
phpSettings.date.timezone = "Europe/Paris"
|
||||
phpSettings.display_startup_errors = 0
|
||||
phpSettings.display_errors = 0
|
||||
phpSettings.soap.wsdl_cache_dir = APPLICATION_PATH "/../data/wsdl"
|
||||
phpSettings.soap.wsdl_cache_dir = "/home/vhosts/extranet-ng/shared/temp/wsdl"
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
appnamespace = "Application"
|
||||
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||||
resources.session.save_path = "/home/vhosts/extranet-ng/shared/temp/sessions"
|
||||
resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php"
|
||||
resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap"
|
||||
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||||
resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme"
|
||||
@ -19,7 +20,8 @@ resources.frontController.plugins.Xml = "Application_Controller_Plugin_Xml"
|
||||
resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu"
|
||||
resources.frontController.params.displayExceptions = 0
|
||||
resources.layout.layout = "layout"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/layouts/default"
|
||||
resources.view.helperPath = APPLICATION_PATH "/layouts/helpers"
|
||||
resources.view.basePath = APPLICATION_PATH "/views/default"
|
||||
|
||||
; Scores configuration
|
||||
@ -30,11 +32,8 @@ 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.path = "/home/vhosts/data/wkhtml/linux/wkhtmltopdf-amd64"
|
||||
profil.path.shared = "/home/vhosts/extranet-ng/shared"
|
||||
profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf"
|
||||
profil.db.sdv1.adapter=mysqli
|
||||
profil.db.sdv1.params.host=localhost
|
||||
profil.db.sdv1.params.username=extranet
|
||||
|
@ -52,7 +52,7 @@ if ( isset($opts->list) ) {
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
Zend_Registry::set('config', $c);
|
||||
|
||||
define ('PATH_DATA', $c->profil->path->data);
|
||||
define ('PATH_DATA', $c->profil->path->shared);
|
||||
|
||||
define('FTP_HOST', 'ftp.scores-decisions.com');
|
||||
define('FTP_USER', 'bilansext');
|
||||
@ -87,7 +87,7 @@ if ( $opts->delete ) {
|
||||
$result = $model->fetchAll($sql);
|
||||
if (count($result) > 0) {
|
||||
foreach ($result as $item) {
|
||||
if( unlink(PATH_DATA . '/bilanclient/' . $item->file) ){
|
||||
if( unlink(PATH_DATA . '/persist/bilanclient/' . $item->file) ){
|
||||
$model->delete("file='".$item->file."'");
|
||||
}
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ foreach ($logins as $login => $hash ) {
|
||||
echo " URL = " . $url;
|
||||
|
||||
$file = basename($url);
|
||||
$path = $c->profil->path->files;
|
||||
$path = $c->profil->path->shared.'/temp/files';
|
||||
|
||||
//Télécharger le fichier
|
||||
try {
|
||||
|
@ -76,7 +76,7 @@ function getPage($url, $curl_data = '', $verbose=false)
|
||||
$debug = false;
|
||||
|
||||
$config = parse_ini_file(dirname(__FILE__).'/../../application/configs/application.ini', true);
|
||||
$directory = $config['production']['profil.path.data'].'/bodacc/'.$type.'/'.$annee;
|
||||
$directory = $config['production']['profil.path.shared'].'/persist/bodacc/'.$type.'/'.$annee;
|
||||
if ( !file_exists($directory) ) mkdir($directory, 0777, true);
|
||||
|
||||
//Define cookie file for storage
|
||||
|
@ -66,7 +66,7 @@ function getPage($url, $curl_data = '', $verbose=false)
|
||||
$debug = false;
|
||||
|
||||
$config = parse_ini_file(dirname(__FILE__).'/../../application/configs/application.ini', true);
|
||||
$directory = $config['production']['profil.path.data'].'/marques/';
|
||||
$directory = $config['production']['profil.path.shared'].'/persist/marques/';
|
||||
if ( !file_exists($directory) ) {
|
||||
echo "Erreur : Répertoire inexistant.\n";
|
||||
exit;
|
||||
|
@ -39,28 +39,26 @@ if(count($opts->getOptions())==0 || isset($opts->help))
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
|
||||
define('PATH_TEMPFILE', realpath(dirname(__FILE__).'/../cache'));
|
||||
|
||||
//Liste des Repertoires
|
||||
$tempDirs = array(
|
||||
'cache' => array(
|
||||
'path' => $c->profil->path->cache,
|
||||
'path' => $c->profil->path->shared.'/temp/cache',
|
||||
'files' => array('*.tpl')
|
||||
),
|
||||
'files' => array(
|
||||
'path' => $c->profil->path->files,
|
||||
'path' => $c->profil->path->shared.'/temp/files',
|
||||
'files' => array('*.pdf', '*.jpeg', '*.jpg', '*.csv', '*.csv.bz2', '*.xls','*.xml')
|
||||
),
|
||||
'pages' => array(
|
||||
'path' => $c->profil->path->pages,
|
||||
'path' => $c->profil->path->shared.'/temp/pages',
|
||||
'files' => array('*.html')
|
||||
),
|
||||
'imgcache' => array(
|
||||
'path' => $c->profil->path->pages . '/imgcache',
|
||||
'path' => $c->profil->path->shared . '/temp/pages/imgcache',
|
||||
'files' => array('*.png', '*.gif', '*.jpeg', '*.jpg')
|
||||
),
|
||||
'sessions' => array(
|
||||
'path' => $c->profil->path->data . '/sessions',
|
||||
'path' => $c->profil->path->shared . '/temp/sessions',
|
||||
'files' => array('sess_*')
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user