260 lines
13 KiB
PHP
260 lines
13 KiB
PHP
<div id="floatMenu">
|
|
<div id="logo"><img src="./img/logo_menu.gif" width="200" height="65"></div>
|
|
<div id="Menu">
|
|
<h3><a href="#">RECHERCHE</a></h3>
|
|
<div>
|
|
<ul>
|
|
<li><a href="/?page=recherche&vue=ent">Rechercher une entreprise</a></li>
|
|
<li><a href="/?page=recherche&vue=dir">Rechercher par dirigeant</a></li>
|
|
<?php
|
|
if ($_SESSION['tabInfo']['login']=='mricois' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='fzicaro' || $_SESSION['tabInfo']['login']=='mcochet' || $_SESSION['tabInfo']['login']=='olecce' ){
|
|
?>
|
|
<li><a href="/?page=international_recherche">Recherche internationale</a></li>
|
|
<?php }
|
|
if (isset($_SESSION['list_pre']) || $_SESSION['list_pre']!=''){ ?>
|
|
<li><a href="/?page=recherche&vue=list_pre">Dernière recherche</a></li>
|
|
<?php }else{ ?>
|
|
<li><a href="#"><font color="gray">Dernière recherche</font></a></li>
|
|
<?php }
|
|
if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits'])) {
|
|
if ($siret*1<>0) { ?>
|
|
<li><a href="<?=IPARI_URL?>?siret=<?=$siret?>" target="_blank">Centrale IparI ©</a></li>
|
|
<?php }else{ ?>
|
|
<li><a href="<?=IPARI_URL?>" target="_blank">Centrale IparI ©</a></li>
|
|
<?php }
|
|
} ?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">IDENTITÉ</a></h3>
|
|
<div>
|
|
<ul>
|
|
<?php if ($siret*1==0 && $idEntreprise*1==0) {?>
|
|
<li><a href="#"><font color="Gray">Fiche d'identité</font></a></li>
|
|
<?php } else { ?>
|
|
<li><a href="/?page=identite&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Fiche d'identité</a></li>
|
|
<?php }
|
|
if ($siret*1<>0) {?>
|
|
<li><a href="/?page=etablissements&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liste des établisssements</a></li>
|
|
<li><a href="/?page=liens&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liens inter-entreprise</a></li>
|
|
<?php } else { ?>
|
|
<li><a href="#"><font color="Gray">Liste des établisssements</font></a></li>
|
|
<li><a href="#"><font color="Gray">Liens inter-entreprise</font></a></li>
|
|
<?php }
|
|
if (preg_match('/EVENINSEE/i', $_SESSION['tabInfo']['droits'])) {
|
|
if ($siret*1<>0) { ?>
|
|
<li><a href="/?page=evenements&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Modifications Insee</a></li>
|
|
<?php } else { ?>
|
|
<li><a href="#"><font color="Gray">Modifications Insee</font></a></li>
|
|
<?php }
|
|
}?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">DIRIGEANTS</a></h3>
|
|
<div>
|
|
<ul>
|
|
<?php if ($siret*1<>0) {?>
|
|
<li><a href="/?page=dirigeants&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liste des dirigeants</a></li>
|
|
<li><a href="/?page=dirigeants&vue=histo&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Historique des dirigeants</a></li>
|
|
<?php }else{ ?>
|
|
<li><a href="#"><font color="Gray">Liste des dirigeants</font></a></li>
|
|
<li><a href="#"><font color="Gray">Historique des dirigeants</font></a></li>
|
|
<?php } ?>
|
|
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">ÉLEMENTS FINANCIERS</a></h3>
|
|
<div>
|
|
<ul>
|
|
<?php if ($siret*1<>0) {?>
|
|
<li><a href="/?page=synthese&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Synthèse</a></li>
|
|
<li><a href="/?page=bilans&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Bilans, Compte de résultat</a></li>
|
|
<li><a href="/?page=ratios&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Ratios</a></li>
|
|
<li><a href="/?page=liasse&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liasse fiscale</a></li>
|
|
<li><a href="/?page=bourse&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Bourse & Cotations</a></li>
|
|
<?php }else{ ?>
|
|
<li><a href=""><font color="Gray">Synthèse</font></a></li>
|
|
<li><a href=""><font color="Gray">Bilans, Compte de résultat</font></a></li>
|
|
<li><a href=""><font color="Gray">Ratios</font></a></li>
|
|
<li><a href=""><font color="Gray">Liasse fiscale</font></a></li>
|
|
<li><a href=""><font color="Gray">Bourse & Cotations</font></a></li>
|
|
<?php } ?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">ÉLEMENTS JURIDIQUES</a></h3>
|
|
<div>
|
|
<ul>
|
|
<?php
|
|
if ($siret*1==0) {
|
|
$source=$_SESSION['tabInfo']['entrep']['Source'];
|
|
$sourceId=$_SESSION['tabInfo']['entrep']['SourceId'];
|
|
|
|
if(!isset($idEntreprise) || $idEntreprise==0){
|
|
?>
|
|
<li><a href="#"><font color="Gray">Annonces Légales</font></a></li>
|
|
<?php }else{?>
|
|
<li><a href="/?page=annonces&idEntreprise=<?=$idEntreprise?>&idan=<?=$sourceId?>&siret=<?=$siret?>&source=<?=$source?>">Annonces Légales</a></li>
|
|
<?php }
|
|
}else if ($siret*1<>0) { ?>
|
|
<li><a href="/?page=annonces&siret=<?=$siret?>&source=<?=$source?>&idEntreprise=<?=$idEntreprise?>">Annonces Légales</a></li>
|
|
<li><a href="/?page=infosreg&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Information Réglementée</a></li>
|
|
<li><a href="/?page=competences&siret=<?=$siret?>&codcom=<?=$tabEntrep['codeCommune']?>&vue=tous&idEntreprise=<?=$idEntreprise?>">Compétences Territoriales</a></li>
|
|
<li><a href="/?page=conventions&siret=<?=$siret?>&codcom=<?=$tabEntrep['codeCommune']?>&nafEn=<?=$tabEntrep['nafEn']?>&nafEt=<?=$tabEntrep['nafEt']?>&idEntreprise=<?=$idEntreprise?>">Conventions collectives</a></li>
|
|
<?php
|
|
} else { ?>
|
|
<li><a href="#"><font color="Gray">Information Réglementée</font></a></li>
|
|
<li><a href="#"><font color="Gray">Compétences Territoriales</font></a></li>
|
|
<li><a href="#"><font color="Gray">Conventions collectives</font></a></li>
|
|
<?php
|
|
}
|
|
if (preg_match('/MARQUES/i', $_SESSION['tabInfo']['droits'])) {
|
|
if ($siret*1<>0) { ?>
|
|
<li><a href="/?page=marques&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Marques déposées</a></li>
|
|
<?php } else { ?>
|
|
<li><a href="#"><font color="Gray">Marques déposées</font></a></li>
|
|
<?php }
|
|
}?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">EVALUATION</a></h3>
|
|
<div>
|
|
<ul>
|
|
<?php
|
|
if ($siret*1<>0) {?>
|
|
<li><a href="/?page=indiscore&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">IndiScore ©</a></li>
|
|
<?php if ($_SESSION['tabInfo']['login']=='reunicacsf' || $_SESSION['tabInfo']['login']=='testreunica' || $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='mricois' || $_SESSION['tabInfo']['login']=='jmartory' ) { ?>
|
|
<li><a href="#"><font color="Gray">IndiScore + ©</font></a></li>
|
|
<?php if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) { ?>
|
|
<li><a href="/?page=scorescf&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Scoring Credit Safe ©</a></li>
|
|
<?php }
|
|
}
|
|
if ($_SESSION['tabInfo']['login']=='mricois' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='fzicaro' || $_SESSION['tabInfo']['login']=='mcochet' || $_SESSION['tabInfo']['login']=='olecce' ){?>
|
|
<li><a href="/?page=enquetec&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Enquête commerciale</a></li>
|
|
<?php }
|
|
}else{
|
|
?>
|
|
<li><a href="#"><font color="Gray">IndiScore ©</font></a></li>
|
|
<?php if ($_SESSION['tabInfo']['login']=='reunicacsf' || $_SESSION['tabInfo']['login']=='testreunica' || $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='mricois' || $_SESSION['tabInfo']['login']=='jmartory' ) { ?>
|
|
<li><a href="#"><font color="Gray">IndiScore + ©</font></a></li>
|
|
<?php if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) { ?>
|
|
<li><a href="#"><font color="Gray">Scoring Credit Safe ©</font></a></li>
|
|
<?php }
|
|
}
|
|
}?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">PIECES OFFICIELLES</a></h3>
|
|
<div>
|
|
<ul>
|
|
<?php
|
|
if ($siret*1<>0) {
|
|
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits']) || $_SESSION['tabInfo']['login']=='mricois') {?>
|
|
<li><a href="/?page=kbis&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">K-Bis</a></li>
|
|
<?php }?>
|
|
<li><a href="/?page=greffes&vue=bilans&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Comptes annuels</a></li>
|
|
<li><a href="/?page=greffes&vue=actes&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Actes & Statuts</a></li>
|
|
<?php
|
|
} elseif ($siret==0) {
|
|
$source=$_SESSION['tabInfo']['entrep']['Source'];
|
|
$sourceId=$_SESSION['tabInfo']['entrep']['SourceId'];
|
|
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits'])) {
|
|
?>
|
|
<li><a href="#"><font color="Gray">K-Bis</font></a></li>
|
|
<?php } ?>
|
|
<li><a href="#"><font color="Gray">Comptes annuels</font></a></li>
|
|
<?php if(!isset($idEntreprise) || $idEntreprise==0){?>
|
|
<li><a href="#"><font color="Gray">Actes & Status</font></a></li>
|
|
<?php }else{ ?>
|
|
<li><a href="/?page=greffes&vue=actes&idEntreprise=<?=$idEntreprise?>&idan=<?=$sourceId?>&siret=<?=$siret?>&source=<?=$source?>">Actes & Statuts</a></li>
|
|
<?php }
|
|
} else {
|
|
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits'])) { ?>
|
|
<li><a href="#"><font color="Gray">K-Bis</font></a></li>
|
|
<?php } ?>
|
|
<li><a href="#"><font color="Gray">Comptes annuels</font></a></li>
|
|
<li><a href="#"><font color="Gray">Actes & Statuts</font></a></li>
|
|
<?php
|
|
}?>
|
|
</ul>
|
|
</div>
|
|
<h3><a href="#">OPTIONS</a></h3>
|
|
<div>
|
|
<ul>
|
|
<?php if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
|
|
<li><a href="/?page=moncompte&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Mes options</a></li>
|
|
<?php }
|
|
if ($_SESSION['tabInfo']['login']=='mricois' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='fzicaro' || $_SESSION['tabInfo']['login']=='mcochet' || $_SESSION['tabInfo']['login']=='olecce' ){ ?>
|
|
<li><a href="/?page=surveillance">Mes surveillances</a></li>
|
|
<?php }
|
|
if ($_SESSION['tabInfo']['profil']=='Administrateur') {
|
|
if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
|
|
<li><a href="/?page=administration&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Administration</a></li>
|
|
<?php }
|
|
if ($_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='reunicastats' ) {?>
|
|
<li><a href="/?page=stats&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Statistiques</a></li>
|
|
<?php }
|
|
}
|
|
if (substr( $_SESSION['tabInfo']['login'],0,6)=='cnasea' ) {?>
|
|
<li><a href="/?page=survliste&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Surveillances</a></li>
|
|
<?php } ?>
|
|
<li><a href="/?page=main&action=logout">Se déconnecter</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="icones">
|
|
<?php
|
|
//Ajout des paramètres optionnelles pour la page recherche (lors de la première recherche)
|
|
if ($page=='recherche'){
|
|
if ($_REQUEST['vue']=='list' ) $_SERVER['QUERY_STRING'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['QUERY_STRING']);
|
|
}
|
|
?>
|
|
<?php
|
|
$printUrl = $_SERVER['QUERY_STRING'];
|
|
if ($page=='bilans' && isset($_REQUEST['type']) && $_REQUEST['type']!=''){
|
|
$printUrl.= '&type='.$_REQUEST['type'];
|
|
}
|
|
?>
|
|
<a href="/?<?=$printUrl;?>&sortie=prt" title="Impression" target="_blank">
|
|
<img src="./img/exporticones/printer.png"" alt="Impression"/></a>
|
|
<?php
|
|
//Affichage des impressions seulement pour certaines pages
|
|
if ($page=='identite' ||
|
|
$page=='etablissements' ||
|
|
$page=='liens' ||
|
|
$page=='evenements' ||
|
|
$page=='dirigeants'||
|
|
$page=='annonces'){
|
|
?>
|
|
<a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>
|
|
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV"></a>
|
|
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="XML"><img src="./img/exporticones/xml.png" alt="XML"></a>
|
|
<?php
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
/*
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
<?php if($page=='recherche' || $page=='international_recherche'){?>
|
|
$('#Menu').accordion('option', 'active', 0);
|
|
<?php }elseif($page=='identite' || $page=='etablisssements' || $page=='liens' || $page=='evenements'){ ?>
|
|
$('#Menu').accordion('option', 'active', 1);
|
|
<?php }elseif($page=='dirigeants'){ ?>
|
|
$('#Menu').accordion('option', 'active', 2);
|
|
<?php }elseif($page=='synthese' || $page=='bilans' || $page=='ratios' || $page=='liasse' || $page=='bourse'){ ?>
|
|
$('#Menu').accordion('option', 'active', 3);
|
|
<?php }elseif($page=='annonces' || $page=='infosreg' || $page=='competences' || $page=='conventions' || $page=='marques'){ ?>
|
|
$('#Menu').accordion('option', 'active', 4);
|
|
<?php }elseif($page=='indiscore' || $page=='scorecsf' || $page=='enquetec'){ ?>
|
|
$('#Menu').accordion('option', 'active', 5);
|
|
<?php }elseif($page=='kbis' || $page=='greffes'){ ?>
|
|
$('#Menu').accordion('option', 'active', 6);
|
|
<?php }elseif($page=='moncompte' || $page=='surveillance' || $page=='administration' || $page=='stats' || $page=='survliste'){ ?>
|
|
$('#Menu').accordion('option', 'active', 7);
|
|
<?php }?>
|
|
});
|
|
</script>
|
|
*/
|
|
?>
|