741 lines
25 KiB
PHP
741 lines
25 KiB
PHP
|
<?php
|
|||
|
//Enregistrement pour liste dernière recherche
|
|||
|
require_once 'recherche/session.php';
|
|||
|
$parametres = recherche_element(0);
|
|||
|
if( isset($parametres) && $parametres['info']['page']=='recherche' )
|
|||
|
{
|
|||
|
recherche_saveinfo( array('page' => $page) );
|
|||
|
recherche_saveinfo( array('siret' => $siret) );
|
|||
|
recherche_saveinfo( array('idEntreprise' => $idEntreprise) );
|
|||
|
}
|
|||
|
|
|||
|
function dRow($lib, $data, $title = '')
|
|||
|
{
|
|||
|
$html = '<tr>'."\n";
|
|||
|
$html.= ' <td width="30"> </td>'."\n";
|
|||
|
$html.= ' <td width="200" class="StyleInfoLib">'.$lib.'</td>'."\n";
|
|||
|
|
|||
|
if($title!='') $title = ' title="'.$title.'"';
|
|||
|
$html.= ' <td width="350" class="StyleInfoData"'.$title.'>'.$data.'</td>'."\n";
|
|||
|
$html.= '</tr>'."\n";
|
|||
|
return $html;
|
|||
|
}
|
|||
|
|
|||
|
function searchBlockAnnonces($annonces)
|
|||
|
{
|
|||
|
global $firephp, $tabAnnonces;
|
|||
|
// : => 2100:2199 Selection de toutes les annonces de 2100 à 2199
|
|||
|
// - => 2100-2102 Selection des annonces
|
|||
|
|
|||
|
$list_annonces = explode('-', $annonces);
|
|||
|
|
|||
|
$interAnnonces = array();
|
|||
|
foreach($list_annonces as $item)
|
|||
|
{
|
|||
|
$interAnnonces[] = explode(':', $item);
|
|||
|
}
|
|||
|
|
|||
|
//Remplissage du tableau pour les intervalles
|
|||
|
for($i=0;$i<count($interAnnonces);$i++)
|
|||
|
{
|
|||
|
if(count($interAnnonces[$i])>1)
|
|||
|
{
|
|||
|
$start = $interAnnonces[$i][0];
|
|||
|
$cpt = $start;
|
|||
|
$tabTemp = array();
|
|||
|
while($cpt<$interAnnonces[$i][1]){
|
|||
|
$tabTemp[] = $cpt;
|
|||
|
$cpt++;
|
|||
|
}
|
|||
|
$interAnnonces[$i] = $tabTemp;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
$output_annonces = array();
|
|||
|
//Parcours des annonces
|
|||
|
foreach($interAnnonces as $tabCodeEven)
|
|||
|
{
|
|||
|
foreach($tabCodeEven as $code_even)
|
|||
|
{
|
|||
|
if(array_key_exists($code_even, $tabAnnonces))
|
|||
|
{
|
|||
|
$output_annonces[] = $tabAnnonces[$code_even];
|
|||
|
unset($tabAnnonces[$code_even]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
return $output_annonces;
|
|||
|
}
|
|||
|
|
|||
|
function dAnnonces($annonces, $siret)
|
|||
|
{
|
|||
|
$output = '';
|
|||
|
if(is_array($annonces))
|
|||
|
{
|
|||
|
foreach($annonces as $annonce)
|
|||
|
{
|
|||
|
$output.= '<p class="libAnnonces">';
|
|||
|
switch($annonce['BodaccCode'])
|
|||
|
{
|
|||
|
case 'BALO': $vue = 'balo'; break;
|
|||
|
case 'ASSO': $vue = 'asso'; break;
|
|||
|
case 'BODA':
|
|||
|
case 'BODB':
|
|||
|
case 'BODC':
|
|||
|
default: $vue = 'bodacc'; break;
|
|||
|
}
|
|||
|
|
|||
|
$output.= '<a href="./?page=annonces&siret='.$siret.'&idan='.$annonce['id'].'&vue='.$vue.'">';
|
|||
|
$output.= html_entity_decode($annonce['evenements'][0]['LibEven']);
|
|||
|
$output.= '</a>';
|
|||
|
|
|||
|
if(!empty($annonce['dateJugement']) && substr($annonce['dateJugement'],0,4)!='0000') $output.= ', le '.WDate::dateT('Y-m-d','d/m/Y',$annonce['dateJugement']);
|
|||
|
elseif(!empty($annonce['dateEffet']) && substr($annonce['dateEffet'],0,4)!='0000') $output.= ', le '.WDate::dateT('Y-m-d','d/m/Y',$annonce['dateEffet']);
|
|||
|
|
|||
|
$output.= ', publié au ';
|
|||
|
$tabSource=explode('-', $annonce['BodaccCode']);
|
|||
|
$source=$tabSource[0];
|
|||
|
$idSource=@$tabSource[1];
|
|||
|
if ($source[0] == 'B'){
|
|||
|
$output.= 'BODACC n°'.$annonce['BodaccNum'].' '.substr($source,-1);
|
|||
|
}elseif ($source[0] == 'G' || $source[0] == 'T'){
|
|||
|
$output.= 'Greffe';
|
|||
|
}elseif ($source[0] == 'P'){
|
|||
|
$output.= 'RNCS';
|
|||
|
}else{
|
|||
|
$output.='JAL';
|
|||
|
}
|
|||
|
if(!empty($annonce['DateParution'])) $output.= ' le '.WDate::dateT('Y-m-d','d/m/Y',$annonce['DateParution']);
|
|||
|
$output.= '</p>';
|
|||
|
}
|
|||
|
}
|
|||
|
return $output;
|
|||
|
}
|
|||
|
|
|||
|
$dateJ = date('d/m/Y H:i');
|
|||
|
|
|||
|
?>
|
|||
|
<style>
|
|||
|
span.title { float:right; margin:0 10px; }
|
|||
|
</style>
|
|||
|
<div id="center">
|
|||
|
<h1 class="titre">FICHE PROCÉDURE COLLECTIVE</h1>
|
|||
|
|
|||
|
<span class="title"><?=$dateJ?></span>
|
|||
|
|
|||
|
<h2>Identité de l'entreprise</h2>
|
|||
|
<table>
|
|||
|
<?php
|
|||
|
$etab = scoresws_identite_ags($siret, $siren, $idEntreprise);
|
|||
|
|
|||
|
//Regroupement des annonces suivant le code even
|
|||
|
$tabAnnonces = array();
|
|||
|
if(count($etab['Annonces'])>0)
|
|||
|
{
|
|||
|
foreach ($etab['Annonces'] as $key => $annonce)
|
|||
|
{
|
|||
|
foreach($annonce['evenements'] as $even)
|
|||
|
{
|
|||
|
$tabAnnonces[$even['CodeEven']] = $annonce;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
//Siret
|
|||
|
$element = formatElement('identite', 'siret', array($etab['Siren'], $etab['Siret']));
|
|||
|
echo dRow($element['lib'], $element['data']);
|
|||
|
|
|||
|
//Siret siege
|
|||
|
$element = formatElement('identite', 'siretsiege', array($etab['SiretSiege']));
|
|||
|
echo dRow($element['lib'], $element['data']);
|
|||
|
|
|||
|
//Numéro tva intracommunautaire
|
|||
|
$element = formatElement('identite', 'tvanumero', array($etab['TvaNumero'], $etab['TvaAttribue'], $etab['Dept']));
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="200" class="StyleInfoLib"><?=$element['lib']?></td>
|
|||
|
<td width="350" class="StyleInfoData" valign="middle"><?=$element['data']?></td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
//Isin
|
|||
|
$element = formatElement('identite', 'isin', array($etab['Isin'], $etab['Siret']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Capitalisation
|
|||
|
$element = formatElement('identite', 'capitalisation', array($etab['Bourse'], $etab['Isin']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Ne pas afficher le logo si il n'existe pas OU si le siren est à 0 OU si le siren est inférieur a 100
|
|||
|
list($urlImg, $pathImg) = logo_exist($etab['Siren'], $etab['Isin'], $etab['Web']);
|
|||
|
if( ( ($siren*1!=0 ) || ($siren*1>100) ) && file_exists($pathImg) )
|
|||
|
{
|
|||
|
$tabTmp=@getimagesize($pathImg);
|
|||
|
$w=$tabTmp[0];
|
|||
|
$h=$tabTmp[1];
|
|||
|
if ($w>350) $strSize=@redimage($pathImg,350,150);
|
|||
|
else $strSize='';
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="200" class="StyleInfoLib">Logo</td>
|
|||
|
<td width="350" class="StyleInfoData"><img src="<?=$urlImg?>" <?=$strSize?>/></td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
}
|
|||
|
//Numéro RC
|
|||
|
$element = formatElement('identite', 'numrc', array($etab['NumRC'], $etab['TribunalLib']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Autre identifiant : Numéro WALDEC ou ancien numéro RC si le nouveau n'est pas disponible
|
|||
|
$element = formatElement('identite', 'autreid', array($etab['AutreId'], $etab['TribunalLib'], $etab['NumRC']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
$element = formatElement('identite', 'actif', array($etab['Siren'], $siret, $idEntreprise, $etab['Siege'], $etab['Actif'], $etab['DateClotEt']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Situation Juridique + affichage date de radiation
|
|||
|
$element = formatElement('identite', 'situationjuridique', array($etab['SituationJuridique'], $etab['DateRadiation'], $etab['EntActiveRCS'], $etab['Siret'], $idEntreprise));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Doublon
|
|||
|
$element = formatElement('identite', 'autresiren', array($etab['AutreSiren']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
?>
|
|||
|
</table>
|
|||
|
<h2>Raison sociale & Coordonnées</h2>
|
|||
|
<table>
|
|||
|
<?php
|
|||
|
//Nom
|
|||
|
$element = formatElement('identite', 'raisonsociale', array($etab['Nom'], $etab['Nom2'], $etab['NomLong']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data'], $element['title']); }
|
|||
|
|
|||
|
//Enseigne / Sigle
|
|||
|
$element = formatElement('identite', 'enseignesigle', array($etab['Enseigne'], $etab['Sigle'], $etab['SigleLong']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data'], $element['title']); }
|
|||
|
|
|||
|
//Forme juridique
|
|||
|
$element = formatElement('identite', 'fj', array($etab['FJ'], $etab['FJ_lib'], $etab['FJ2'], $etab['FJ2_Lib'] ));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Date d'immatriculation
|
|||
|
$element = formatElement('identite', 'dateimmat', array($etab['DateImmat']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Date de création de l'entreprise
|
|||
|
$element = formatElement('identite', 'datecreaen', array($etab['DateCreaEn']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Date de création de l'établissement
|
|||
|
$element = formatElement('identite', 'datecreaet', array($etab['DateCreaEt']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Adresse
|
|||
|
$element = formatElement('identite', 'adresse', array($etab['Adresse'], $etab['Adresse2'], $etab['AdresseNum'], $etab['AdresseRue'], $etab['CP'], $etab['Ville'], $etab['Pays']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Zones prioritaires
|
|||
|
$element = formatElement('identite', 'zones', array($etab['GeoInfos']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Téléphone
|
|||
|
$element = formatElement('identite', 'tel', array($etab['Tel'], $etab['Enseigne'], $etab['Nom'], $etab['Adresse'], $etab['CP'], $etab['Ville'] ));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Fax
|
|||
|
$element = formatElement('identite', 'fax', array($etab['Fax']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Site web
|
|||
|
$element = formatElement('identite', 'web', array($etab['Web']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Email
|
|||
|
$element = formatElement('identite', 'mail', array($etab['Mail']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
?>
|
|||
|
</table>
|
|||
|
|
|||
|
<h2>Activité(s) & Chiffre d'affaire</h2>
|
|||
|
<table>
|
|||
|
<?php
|
|||
|
//Activité de l'entreprise
|
|||
|
$element = formatElement('identite', 'activiteen', array($etab['Activite'], $etab['NafEnt'], $etab['NafEntLib']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Activité de l'établissement
|
|||
|
$element = formatElement('identite', 'activiteet', array($etab['NafEtab'], $etab['NafEtabLib']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//NAF4
|
|||
|
$element = formatElement('identite', 'naf4', array($etab['Naf4Ent'], $etab['Naf4EntLib'], $etab['Naf4Etab'], $etab['Naf4EtabLib']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Nature de l'activité
|
|||
|
$element = formatElement('identite', 'natureactivite', array($etab['NatureActivite'], $etab['Actif']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Origine du fond
|
|||
|
$element = formatElement('identite', 'originefond', array($etab['OrigineCreation']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Type d'exploitation
|
|||
|
$element = formatElement('identite', 'typeexploitation', array($etab['TypeExploitation']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Nombre d'établissements actif
|
|||
|
$element = formatElement('identite', 'nbetabactif', array($etab['NbEtab'], $etab['Siret'], $idEntreprise));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Capital
|
|||
|
$element = formatElement('identite', 'capital', array($etab['Capital'], $etab['CapitalDev'], $etab['CapitalLib'], $etab['CapitalType'], $etab['Bilan']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data'], $element['title']); }
|
|||
|
|
|||
|
//Chiffre d'affaire
|
|||
|
$element = formatElement('identite', 'ca', array($etab['Bilan'], $etab['TrancheCALib']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data'], $element['title']); }
|
|||
|
|
|||
|
//Principaux dirigeants
|
|||
|
$element = formatElement('identite', 'dirigeants', array($etab['dir1Titre'], $etab['dir1NomPrenom'], $etab['dir1DateNaiss'], $etab['dir1LieuNaiss'], $etab['dir2Titre'], $etab['dir2NomPrenom'], $etab['dir2DateNaiss'], $etab['dir2LieuNaiss']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Effectif
|
|||
|
$element = formatElement('identite', 'effectif', array($etab['Effectif'], $etab['Bilan']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data'], $element['title']); }
|
|||
|
|
|||
|
//LibTypeEtab
|
|||
|
$element = formatElement('identite', 'typeetab', array($etab['LibTypeEtab']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
//Statuts
|
|||
|
$element = formatElement('identite', 'statutsconst', array($etab['StatutsConst'],$etab['StatutsConstDepot']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
$element = formatElement('identite', 'statutsmodif', array($etab['StatutsModif'],$etab['StatutsModifDepot']));
|
|||
|
if($element!==false){ echo dRow($element['lib'], $element['data']); }
|
|||
|
|
|||
|
?>
|
|||
|
</table>
|
|||
|
<?php
|
|||
|
//Mention du conjoint collaborateur
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2400:2499');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Modification de la forme juridique
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2307');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
?>
|
|||
|
|
|||
|
<h2>Composition et répartition du capital social</h2>
|
|||
|
<table>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td colspan="2" width="550" class="StyleInfoData">
|
|||
|
<table>
|
|||
|
<?php
|
|||
|
if( ($_SESSION['tabInfo']['entrep']['fj']>=1000 && $_SESSION['tabInfo']['entrep']['fj']<=1999)
|
|||
|
|| ($_SESSION['tabInfo']['entrep']['fj']>=10 && $_SESSION['tabInfo']['entrep']['fj']<=19) )
|
|||
|
{
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="550" colspan="2" class="StyleInfoData">Cette entreprise est une personne physique.</td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
if (@count($etab['Actionnaires'])>0)
|
|||
|
{
|
|||
|
foreach ($etab['Actionnaires'] as $i=>$lien)
|
|||
|
{
|
|||
|
if ($lien['Actif']==0)
|
|||
|
{
|
|||
|
$font1='<font color="gray"><i>';
|
|||
|
$font2='</i></font>';
|
|||
|
} else
|
|||
|
$font1=$font2='';
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td class="StyleInfoData" width="100">
|
|||
|
<?php
|
|||
|
echo $font1;
|
|||
|
if ($lien['Pmin']*1>0) echo $lien['Pmin'].' %';
|
|||
|
elseif ($lien['MajMin']=='+') echo 'major.';
|
|||
|
elseif ($lien['MajMin']=='-') echo 'minor.';
|
|||
|
elseif ($lien['MajMin']=='C') echo 'major.';
|
|||
|
elseif ($lien['MajMin']=='S') echo 'minor.';
|
|||
|
else echo ' ';
|
|||
|
echo $font2;
|
|||
|
?>
|
|||
|
</td>
|
|||
|
<td class="StyleInfoLib" width="300">
|
|||
|
<?php
|
|||
|
echo $font1;
|
|||
|
echo utf8_decode($lien['RaisonSociale']);
|
|||
|
echo $font2;
|
|||
|
?>
|
|||
|
</td>
|
|||
|
<td class="StyleInfoData" width="150">
|
|||
|
<?php
|
|||
|
echo $font1;
|
|||
|
if ( $lien['Siren']<>'' && $lien['Siren']<>0) {
|
|||
|
echo 'Siren <a href="./?page=identite&siret='. $lien['Siren'] .'">'. $lien['Siren'].'</a>';
|
|||
|
}
|
|||
|
else ' ';
|
|||
|
|
|||
|
if ($lien['Pays']<>'France') echo '<b>'.utf8_decode($lien['Pays']).'</b>';
|
|||
|
echo $font2;
|
|||
|
?>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
} //Fin pour chaque actionnaire
|
|||
|
} else {
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="550" colspan="2" class="StyleInfoData">
|
|||
|
<a href="./?page=greffes&vue=actes&siret=<?=$siret?>">Information à vérifier dans les derniers statuts</a>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
}
|
|||
|
}//Fin test personne physique
|
|||
|
?>
|
|||
|
<tr><td colspan="3"> </td></tr>
|
|||
|
</table>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
|
|||
|
<?php
|
|||
|
//Changement d'adresse
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2300-2301');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Modification de capital
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2100:2102');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Modification sur l'exploitation
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2311');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Modification de date de début d'activité
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2304');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Modification de l'activité
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2313');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Mise en activité
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2316');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Poursuite de l'activité
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2314');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Modification de la durée de la société
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2306');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Cessation d'activité
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2200-2201');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Dissolution
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2202-2203');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Cessation d'activité
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2204');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Mise en someil de la société
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2206');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Location gérance
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2800:2899');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Tranfert de siège
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2901:2904');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Vente du fond
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('5500:5650-5900-599-2209');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Transfert divers
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('2620-2630-2635-2639');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
?>
|
|||
|
<br/>
|
|||
|
<h2>Organes de la procédure</h2>
|
|||
|
<table>
|
|||
|
<?php
|
|||
|
if($etab['SituationJuridique']=='P'){
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="200" valign="top" class="StyleInfoLib">Tribunal :</td>
|
|||
|
<td width="300" class="StyleInfoData"><a href="./?page=competences&siret=<?=$etab['Siret']?>&type=tri"><?=$etab['TribunalLib']?></a></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="200" valign="top" class="StyleInfoLib"> </td>
|
|||
|
<td width="300" class="StyleInfoData"> </td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
}
|
|||
|
?>
|
|||
|
<?php
|
|||
|
if(count($etab['Organes'])>0)
|
|||
|
{
|
|||
|
foreach($etab['Organes'] as $organe)
|
|||
|
{
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="200" valign="top" class="StyleInfoLib"><?=$organe['admfonction']?></td>
|
|||
|
<td width="300" class="StyleInfoData"><?=$organe['admnom']?><br/><?=$organe['admadrNum']?> <?=$organe['admadrVoie']?> <?=$organe['admadrCP']?> <?=$organe['admadrVille']?></td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
}
|
|||
|
}else{
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="200" valign="top" class="StyleInfoLib">Néant</td>
|
|||
|
<td width="300" class="StyleInfoData"></td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
}
|
|||
|
?>
|
|||
|
</table>
|
|||
|
<br/>
|
|||
|
<?php
|
|||
|
//Nominnation/Remplacement de commissaire à l'exécution du plan
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1403');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Prolongement de la mission du commissaire à l'exécution du plan :
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1404');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Jugement de désignation des organes de la procédure
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1215');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Nomination d'un administrateur judiciaire
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1400');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Nomination d'un mandataire judiciaire
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1401');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Nomination d'un représentant des créanciers
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1402');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Nomination d'un juge commissaire
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1405');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Changement de SYNDIC
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1406');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Nomination d'un liquidateur judiciaire
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1420');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Fin de mission d'administrateur judiciaire
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1470');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
?>
|
|||
|
|
|||
|
<br/>
|
|||
|
|
|||
|
<h2>Types de procédure</h2>
|
|||
|
<?php
|
|||
|
if(isset($etab['dateCessationPaiement']) && !empty($etab['dateCessationPaiement']) && $etab['dateCessationPaiement']!='0000-00-00')
|
|||
|
{
|
|||
|
$date = WDate::dateT('Y-m-d', 'd/m/Y',$etab['dateCessationPaiement']);
|
|||
|
?>
|
|||
|
<table>
|
|||
|
<tr>
|
|||
|
<td width="30"> </td>
|
|||
|
<td width="200" valign="top" class="StyleInfoLib">Cessation des paiements, le</td>
|
|||
|
<td width="300" class="StyleInfoData"><?=$date?></td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<?php
|
|||
|
}
|
|||
|
|
|||
|
$countTypesProcedure = 0;
|
|||
|
//Procédure de conciliation
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1050-1055');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Décision de conciliation
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1550');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Procédure de réglement amiable
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1207-1209');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Jugement d'ouverture d'une procédure de sauvegarde
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1100-1101-1407-1419-1513-1542-1545-1546');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Date cessation des paiements
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1450');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Jugement d'ouverture en redressement judiciaire / Jugement prononçant la liquidation judiciaire
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1200-1201-1418-1541-1543-1544-1545-1546-1202-1300-1301-1305-1308-1302-1306-1307-1304-1309-1312-1417-1212-1313');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Plan de redressement
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1414-1407-1509-1421');
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Plan de continuation
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1413-1409-1512');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Plan de cession
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1425-1411-1407-1408-1415-1416-1511-1412');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Homologation du plan
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1455');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Jugement arrêtant le plan d'apurement du passif
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1460');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Concordat
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1445');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Jugement autorisant la poursuite d'activité
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1430');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Suspension de l'exécution provisoire
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1435');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Suspension provisoire des poursuites
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1436');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Extrait d'arrêt de la cour d'appel
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1507');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Extinction du plan de sauvegarde
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1508');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Rejet du plan
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1510');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Arrêt divers
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1515');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Rectification d'une erreur matérielle
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1517');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Ordonnance
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1520');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
//Tout autre événement entre 1000 & 1999 non encore affiché
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1000:1999');
|
|||
|
$countTypesProcedure+=count($annonceSelect);
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
|
|||
|
if($countTypesProcedure==0) echo '<p class="libAnnonces">Néant</p>';
|
|||
|
?>
|
|||
|
<br/>
|
|||
|
<h2>Potentiel de récupération et réalisation d'actifs</h2>
|
|||
|
<?php
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1208-1540-1203-1214-1216-1204-1206-1205-3000:3999-1210-1530-1580-1440-2303');
|
|||
|
if(count($annonceSelect)>0) echo dAnnonces($annonceSelect, $siret);
|
|||
|
else echo '<p class="libAnnonces">Néant</p>';
|
|||
|
?>
|
|||
|
<br/>
|
|||
|
<h2>Jugements de clôture</h2>
|
|||
|
<?php
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1500:1506-1525-1605-6000:6700-1431-2000-2205-2210-2211-2212');
|
|||
|
if(count($annonceSelect)>0) echo dAnnonces($annonceSelect, $siret);
|
|||
|
else echo '<p class="libAnnonces">Néant</p>';
|
|||
|
?>
|
|||
|
<br/>
|
|||
|
<?php
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1620-1211-1311-1600-1610-1601-1611-1604');
|
|||
|
if(count($annonceSelect)>0){
|
|||
|
?>
|
|||
|
<h2>Sanctions</h2>
|
|||
|
<?php
|
|||
|
echo dAnnonces($annonceSelect, $siret);
|
|||
|
?><br/><?php
|
|||
|
}
|
|||
|
?>
|
|||
|
<?php
|
|||
|
$annonceSelect = array();
|
|||
|
$annonceSelect = searchBlockAnnonces('1346-1310');
|
|||
|
?>
|
|||
|
<h2>Autres événements</h2>
|
|||
|
<?php
|
|||
|
if(count($annonceSelect)>0) echo dAnnonces($tabAnnonces, $siret);
|
|||
|
else echo '<p class="libAnnonces">Néant</p>';
|
|||
|
?>
|
|||
|
<br/>
|
|||
|
<h2>Procédure d'insolvabilité européene</h2>
|
|||
|
<?php
|
|||
|
if(count($annonceSelect)>0) echo dAnnonces($annonceSelect, $siret);
|
|||
|
else echo '<p class="libAnnonces">Néant</p>';
|
|||
|
?>
|
|||
|
</div>
|