2009-07-01 09:02:54 +00:00
|
|
|
|
<?php
|
2010-01-28 09:32:35 +00:00
|
|
|
|
$siret = $_REQUEST['siret'];
|
|
|
|
|
$idEntreprise = $_REQUEST['idEntreprise'];
|
|
|
|
|
?>
|
|
|
|
|
<div id="floatMenu">
|
|
|
|
|
|
|
|
|
|
<div id="logo"><img src="./img/logo_menu.gif" width="200" height="65"/></div>
|
|
|
|
|
|
|
|
|
|
<div id="Menu">
|
|
|
|
|
<?php
|
2009-10-02 09:24:43 +00:00
|
|
|
|
require_once 'menu/menu.php';
|
2010-01-28 09:32:35 +00:00
|
|
|
|
echo menu();
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
2009-09-10 15:31:37 +00:00
|
|
|
|
|
2010-01-28 09:32:35 +00:00
|
|
|
|
<div id="icones">
|
|
|
|
|
<?php
|
2009-03-06 16:26:26 +00:00
|
|
|
|
//Ajout des param<61>tres optionnelles pour la page recherche (lors de la premi<6D>re recherche)
|
2009-03-06 17:12:26 +00:00
|
|
|
|
if ($page=='recherche'){
|
|
|
|
|
if ($_REQUEST['vue']=='list' ) $_SERVER['QUERY_STRING'] = str_replace('vue=list', 'vue=list_pre', $_SERVER['QUERY_STRING']);
|
2009-03-06 16:26:26 +00:00
|
|
|
|
}
|
|
|
|
|
?>
|
2009-07-01 09:02:54 +00:00
|
|
|
|
<?php
|
2009-03-20 14:44:33 +00:00
|
|
|
|
$printUrl = $_SERVER['QUERY_STRING'];
|
|
|
|
|
if ($page=='bilans' && isset($_REQUEST['type']) && $_REQUEST['type']!=''){
|
|
|
|
|
$printUrl.= '&type='.$_REQUEST['type'];
|
|
|
|
|
}
|
|
|
|
|
?>
|
2009-05-25 16:04:25 +00:00
|
|
|
|
<a href="/?<?=$printUrl;?>&sortie=prt" title="Impression" target="_blank">
|
2010-01-28 09:32:35 +00:00
|
|
|
|
<img src="./img/exporticones/printer.png" alt="Impression"/></a>
|
2009-03-06 16:26:26 +00:00
|
|
|
|
<?php
|
2010-01-28 09:32:35 +00:00
|
|
|
|
//Affichage des impressions seulement pour certaines pages
|
|
|
|
|
if ($page!='recherche' && $page!='main' && $page!='' ){
|
2009-03-06 16:26:26 +00:00
|
|
|
|
?>
|
2010-01-28 09:32:35 +00:00
|
|
|
|
<a href="./?<?=$_SERVER['QUERY_STRING'];?>&sortie=pdf" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF" /></a>
|
2009-07-01 09:02:54 +00:00
|
|
|
|
<?php
|
2009-05-28 17:10:09 +00:00
|
|
|
|
}
|
|
|
|
|
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants'){
|
|
|
|
|
?>
|
2010-01-28 09:32:35 +00:00
|
|
|
|
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV" /></a>
|
2009-07-01 09:02:54 +00:00
|
|
|
|
<?php
|
2009-05-28 17:10:09 +00:00
|
|
|
|
}
|
2009-05-29 12:19:00 +00:00
|
|
|
|
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants' || $page=='annonces'){
|
2009-05-28 17:10:09 +00:00
|
|
|
|
?>
|
2010-01-28 09:32:35 +00:00
|
|
|
|
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="XML"><img src="./img/exporticones/xml.png" alt="XML" /></a>
|
2009-07-01 09:02:54 +00:00
|
|
|
|
<?php
|
2009-03-06 17:12:26 +00:00
|
|
|
|
}
|
2009-03-06 16:26:26 +00:00
|
|
|
|
?>
|
2009-03-05 17:58:16 +00:00
|
|
|
|
</div>
|
2010-01-28 09:32:35 +00:00
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
<?php
|
|
|
|
|
$activeMenu = array(
|
|
|
|
|
//Recherche
|
|
|
|
|
0 => array('recherche', 'international_recherche'),
|
|
|
|
|
//Identite
|
|
|
|
|
1 => array('identite', 'etablissements', 'liens', 'evenements'),
|
|
|
|
|
//Dirigeants
|
|
|
|
|
2 => array('dirigeants'),
|
|
|
|
|
//Elements Financier
|
|
|
|
|
3 => array('synthese', 'bilans', 'ratios', 'liasse', 'bourse', 'banque'),
|
|
|
|
|
//Elements Juridiques
|
|
|
|
|
4 => array('annonces', 'infosreg', 'competences', 'conventions', 'marques'),
|
|
|
|
|
//Banque De France
|
|
|
|
|
5 => array('bdf'),
|
|
|
|
|
//Evaluation
|
|
|
|
|
6 => array('indiscore', 'scorescf', 'enquetec', 'rsynthese', 'rsynthesemin'),
|
|
|
|
|
//Pieces officielles
|
|
|
|
|
7 => array('pieces', 'kbis', 'greffes'),
|
|
|
|
|
//Options
|
|
|
|
|
8 => array('moncompte', 'surveillance', 'administration', 'stats', 'survliste'),
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
$(document).ready(function()
|
|
|
|
|
{
|
|
|
|
|
<?php
|
|
|
|
|
$menuIndex = 0;
|
|
|
|
|
|
|
|
|
|
foreach($activeMenu as $key => $pages)
|
|
|
|
|
{
|
|
|
|
|
if( in_array($page, $pages)) { $menuIndex = $key; break; }
|
|
|
|
|
}
|
|
|
|
|
if($menuIndex==0){?> $('#Menu').accordion(); <?php }
|
|
|
|
|
else{?> $('#Menu').accordion('activate', <?=$menuIndex?>); <?php }
|
|
|
|
|
?>
|
|
|
|
|
});
|
|
|
|
|
</script>
|