75 lines
2.8 KiB
PHP
75 lines
2.8 KiB
PHP
<?php
|
|
$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
|
|
require_once 'menu/menu.php';
|
|
print menu2();
|
|
?>
|
|
</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!='recherche' && $page!='main' && $page!='' ){
|
|
?>
|
|
<a href="./?<?=$_SERVER['QUERY_STRING'];?>&sortie=pdf" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF" /></a>
|
|
<?php
|
|
}
|
|
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants'){
|
|
?>
|
|
<a href="./exportcsv.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="CSV"><img src="./img/exporticones/csv.png" alt="CSV" /></a>
|
|
<?php
|
|
}
|
|
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants' || $page=='annonces'){
|
|
?>
|
|
<a href="./exportxml.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="XML"><img src="./img/exporticones/xml.png" alt="XML" /></a>
|
|
<?php
|
|
}
|
|
?>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
<?php
|
|
$firephp->log($page, 'page');
|
|
|
|
?>
|
|
$(document).ready(function(){
|
|
<?php if($page=='recherche' || $page=='international_recherche'){?>
|
|
$('#Menu').accordion();
|
|
<?php }elseif($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements'){ ?>
|
|
$('#Menu').accordion('activate', 1);
|
|
<?php }elseif($page=='dirigeants'){ ?>
|
|
$('#Menu').accordion('activate', 2);
|
|
<?php }elseif($page=='synthese' || $page=='rsynthese' || $page=='bilans' || $page=='ratios' || $page=='liasse' || $page=='bourse'){ ?>
|
|
$('#Menu').accordion('activate', 3);
|
|
<?php }elseif($page=='annonces' || $page=='infosreg' || $page=='competences' || $page=='conventions' || $page=='marques'){ ?>
|
|
$('#Menu').accordion('activate', 4);
|
|
<?php }elseif($page=='indiscore' || $page=='scorecsf' || $page=='enquetec'){ ?>
|
|
$('#Menu').accordion('activate', 5);
|
|
<?php }elseif($page=='kbis' || $page=='greffes'){ ?>
|
|
$('#Menu').accordion('activate', 6);
|
|
<?php }elseif($page=='moncompte' || $page=='surveillance' || $page=='administration' || $page=='stats' || $page=='survliste'){ ?>
|
|
$('#Menu').accordion('activate', 7);
|
|
<?php }?>
|
|
});
|
|
</script>
|