2009-08-31 16:04:51 +00:00
< ? php
$siret = $_REQUEST [ 'siret' ];
$idEntreprise = $_REQUEST [ 'idEntreprise' ];
?>
2009-08-27 07:20:05 +00:00
< div id = " floatMenu " >
2009-09-02 12:12:45 +00:00
< div id = " logo " >< img src = " ./img/logo_menu.gif " width = " 200 " height = " 65 " /></ div >
2009-08-27 07:20:05 +00:00
< div id = " Menu " >
2009-09-02 12:12:45 +00:00
< h3 >< a href = " # " > RECHERCHE </ a ></ h3 >
< div >
< ul >
2009-09-02 15:54:53 +00:00
< li >< a href = " ./?page=recherche&vue=ent " > Rechercher une entreprise </ a ></ li >
< li >< a href = " ./?page=recherche&vue=dir " > Rechercher par dirigeant </ a ></ li >
2009-08-27 09:28:16 +00:00
< ? php
2009-09-02 12:12:45 +00:00
// Recherche internationale
2009-08-31 09:38:00 +00:00
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' )
{
2009-08-27 09:28:16 +00:00
?>
2009-09-02 15:54:53 +00:00
< li >< a href = " ./?page=international_recherche " > Recherche internationale </ a ></ li >
2009-08-31 09:38:00 +00:00
< ? php
}
2009-09-02 15:54:53 +00:00
2009-09-02 12:12:45 +00:00
// Derniere recherche
2009-08-31 09:38:00 +00:00
if ( isset ( $_SESSION [ 'list_pre' ]) || $_SESSION [ 'list_pre' ] != '' )
2009-09-02 15:54:53 +00:00
{ $href = './?page=recherche&vue=list_pre' ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Dernière recherche<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
//Fin Derniere recherche
// Liste des dernieres recherche
if ( count ( $_SESSION [ 'recherche' ][ 'list' ]) > 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] == 1 || $_SESSION [ 'tabInfo' ][ 'idClient' ] == 2 ) ){
?>
< a href = " ./?page=recherche&vue=histo " > Liste des derni & egrave ; res recherches </ a >
< ? php
}
// Centrale IparI
if ( preg_match ( '/IPARI/i' , $_SESSION [ 'tabInfo' ][ 'droits' ]))
2009-08-31 09:38:00 +00:00
{
2009-09-02 15:54:53 +00:00
if ( $siret * 1 != 0 ) { $href = IPARI_URL . '?siret=' . $siret ; } else { $href = IPARI_URL ; }
2009-08-31 09:38:00 +00:00
?>
2009-09-02 15:54:53 +00:00
< li >< a href = " <?= $href ?> " target = " _blank " > Centrale IparI & copy ; </ a ></ li >
2009-08-31 09:38:00 +00:00
< ? php
}
2009-09-02 15:54:53 +00:00
?>
</ ul >
</ div >
< h3 >< a href = " # " > IDENTIT & Eacute ; </ a ></ h3 >
< div >
< ul >
< ? php
// Fiche d'identite
if ( $siret * 1 == 0 && $idEntreprise * 1 == 0 )
{ $href = '#' ; } else { $href = './?page=identite&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Fiche d'identité<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Liste des etablissements
if ( $siret * 1 == 0 )
{ $href = '#' ; } else { $href = './?page=etablissement&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Liste des établisssements<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Liens inter-entreprise
if ( $siret * 1 == 0 )
{ $href = '#' ; } else { $href = './?page=liens&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Liens inter-entreprise<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Modifications INSEE
if ( preg_match ( '/EVENINSEE/i' , $_SESSION [ 'tabInfo' ][ 'droits' ]))
2009-08-31 09:38:00 +00:00
{
2009-09-02 15:54:53 +00:00
if ( $siret * 1 == 0 )
{ $href = '#' ; } else { $href = './?page=evenements&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; }
2009-08-31 09:38:00 +00:00
?>
2009-09-02 15:54:53 +00:00
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Modifications Insee<?php if($href=='#'){print '</font>';} ?></a></li>
2009-09-02 12:12:45 +00:00
< ? php
}
?>
2009-09-02 15:54:53 +00:00
</ ul >
</ div >
< h3 >< a href = " # " > DIRIGEANTS </ a ></ h3 >
< div >
< ul >
< ? php
// Liste des dirigeants
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=dirigeants&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Liste des dirigeants<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Historique des dirigeants
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=dirigeants&vue=histo&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Historique des dirigeants<?php if($href=='#'){print '</font>';} ?></a></li>
</ ul >
</ div >
< h3 >< a href = " # " >& Eacute ; L & Eacute ; MENTS FINANCIERS </ a ></ h3 >
< div >
< ul >
< ? php
// Synthese
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=synthese&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Synthèse<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Bilans, Compte de r<> sultat
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=synthese&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Bilans, Compte de résultat<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Ratios
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=synthese&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Ratios<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Liasse fiscale
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=synthese&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Liasse fiscale<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Bourse et Cotations
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=synthese&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ;?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Bourse & Cotations<?php if($href=='#'){print '</font>';} ?></a></li>
</ ul >
</ div >
< h3 >< a href = " # " >& Eacute ; L & Eacute ; MENTS JURIDIQUES </ a ></ h3 >
< div >
< ul >
< ? php
// Annonces Legales
$source = $_SESSION [ 'tabInfo' ][ 'entrep' ][ 'Source' ];
$sourceId = $_SESSION [ 'tabInfo' ][ 'entrep' ][ 'SourceId' ];
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{
$href = './?page=annonces&siret=' . $siret . '&source=' . $source . '&idEntreprise=' . $idEntreprise ;
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Annonces Légales<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
} elseif ( $siret * 1 == 0 ){
if ( ! isset ( $idEntreprise ) || $idEntreprise == 0 ){ $href = '#' ; } else { $href = './?page=annonces&idEntreprise=' . $idEntreprise . '&idan=' . $sourceId . '&siret=' . $siret . '&source=' . $source ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Annonces Légales<?php if($href=='#'){print '</font>';} ?></a></li>
2009-08-31 09:38:00 +00:00
< ? php
}
2009-09-02 15:54:53 +00:00
// Information R<> glement<6E> e
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=infosreg&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Information Règlementée<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Competences territoriales
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=competences&siret=' . $siret . '&codcom=' . $tabEntrep [ 'codeCommune' ] . '&vue=tous&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Compétences Territoriales<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Convention collective
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=conventions&siret=' . $siret . '&codcom=' . $tabEntrep [ 'codeCommune' ] . '&nafEn=' . $tabEntrep [ 'nafEn' ] . '&nafEt=' . $tabEntrep [ 'nafEt' ] . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Conventions collectives<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// Marques d<> pos<6F> s
if ( preg_match ( '/MARQUES/i' , $_SESSION [ 'tabInfo' ][ 'droits' ])) {
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=marques&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Marques déposées<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
}
?>
</ ul >
</ div >
< h3 >< a href = " # " >& Eacute ; VALUATION </ a ></ h3 >
< div >
< ul >
< ? php
// IndiScore
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{ $href = './?page=indiscore&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> IndiScore ©<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
// IndiScore+
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
2009-08-31 09:38:00 +00:00
{
2009-09-02 15:54:53 +00:00
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' )
2009-08-31 16:04:51 +00:00
{
?>
2009-09-02 15:54:53 +00:00
< li >< a href = " # " >< font color = " Gray " > IndiScore + & copy ; </ font ></ a ></ li >
2009-08-31 09:38:00 +00:00
< ? php
}
2009-09-02 15:54:53 +00:00
}
// Scoring Credit Safe
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]) && preg_match ( '/scorecsf/i' , $_SESSION [ 'tabInfo' ][ 'droits' ]))
{ $href = './?page=scorescf&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ;}
2009-08-31 09:38:00 +00:00
?>
2009-09-02 15:54:53 +00:00
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Scoring Credit Safe ©<?php if($href=='#'){print '</font>';} ?></a></li>
2009-08-31 09:38:00 +00:00
< ? php
2009-09-02 15:54:53 +00:00
// Enquete commerciale
if ( $siret * 1 != 0 && ( $_SESSION [ 'tabInfo' ][ 'idClient' ] != 34 || $_SESSION [ 'nowAuthorized' ]))
{
if ( preg_match ( '/enquetec/i' , $_SESSION [ 'tabInfo' ][ 'droits' ]))
{ $href = './?page=enquetec&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " > Enqu<EFBFBD> te commerciale </ a ></ li >
< ? php
2009-08-31 09:38:00 +00:00
}
?>
2009-09-02 12:12:45 +00:00
</ ul >
</ div >
2009-09-02 15:54:53 +00:00
< h3 >< a href = " # " > PI & Eacute ; CES OFFICIELLES </ a ></ h3 >
2009-09-02 12:12:45 +00:00
< div >
< ul >
2009-08-31 16:04:51 +00:00
< ? php
2009-09-02 15:54:53 +00:00
// Kbis
if ( $siret * 1 != 0 )
{ $href = './?page=kbis2&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
if ( preg_match ( '/KBIS/i' , $_SESSION [ 'tabInfo' ][ 'droits' ]))
{
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> K-Bis<?php if($href=='#'){print '</font>';} ?></a></li>
< ? php
}
// Compte annuels
if ( $siret * 1 != 0 )
{ $href = './?page=greffes&vue=bilans&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; } else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Comptes annuels<?php if($href=='#'){print '</font>';} ?></a></li>
2009-09-02 12:12:45 +00:00
< ? php
2009-09-02 15:54:53 +00:00
// Actes et statuts
if ( $siret * 1 != 0 ) { $href = './?page=greffes&vue=actes&siret=' . $siret . '&idEntreprise=' . $idEntreprise ; }
elseif ( $siret == 0 && ( ! isset ( $idEntreprise ) || $idEntreprise == 0 ))
{
$source = $_SESSION [ 'tabInfo' ][ 'entrep' ][ 'Source' ];
$sourceId = $_SESSION [ 'tabInfo' ][ 'entrep' ][ 'SourceId' ];
$href = '/?page=greffes&vue=actes&idEntreprise=' . $idEntreprise . '&idan=' . $sourceId . '&siret=' . $siret . '&source=' . $source ;
2009-09-02 12:12:45 +00:00
}
2009-09-02 15:54:53 +00:00
else { $href = '#' ; }
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Actes & Statuts<?php if($href=='#'){print '</font>';} ?></a></li>
</ ul >
</ div >
< h3 >< a href = " # " > OPTIONS </ a ></ h3 >
< div >
< ul >
< ? php
// Mes Options
if ( $_SESSION [ 'tabInfo' ][ 'login' ] <> 'testreunica' && $_SESSION [ 'tabInfo' ][ 'login' ] <> 'reunicacsf' && $_SESSION [ 'tabInfo' ][ 'login' ] <> 'reunicastats' )
2009-09-02 12:12:45 +00:00
{
?>
2009-09-02 15:54:53 +00:00
< li >< a href = " /?page=moncompte&idEntreprise=<?= $idEntreprise ?>&siret=<?= $siret ?> " > Mes options </ a ></ li >
2009-09-02 12:12:45 +00:00
< ? php
}
2009-09-02 15:54:53 +00:00
// Mes Surveillances
if ( preg_match ( '/SURVLISTE/i' , $_SESSION [ 'tabInfo' ][ 'droits' ]))
{ $href = './?page=surveillance' ; } else { $href = '#' ;}
?>
< li >< a href = " <?= $href ?> " >< ? php if ( $href == '#' ){ print '<font color="gray">' ;} ?> Mes surveillances<?php if($href=='#'){print '</font>';} ?></a></li>
2009-08-27 09:28:16 +00:00
< ? php
2009-09-02 15:54:53 +00:00
// Administration
if ( $_SESSION [ 'tabInfo' ][ 'profil' ] == 'Administrateur' && $_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
}
// Statistiques
if ( $_SESSION [ 'tabInfo' ][ 'profil' ] == 'Administrateur' && $_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
}
// Surveillances
if ( substr ( $_SESSION [ 'tabInfo' ][ 'login' ], 0 , 6 ) == 'cnasea' || $_SESSION [ 'tabInfo' ][ 'idClient' ] == 32 )
{
?>
< li >< a href = " /?page=survliste&idEntreprise=<?= $idEntreprise ?>&siret=<?= $siret ?> " > Surveillances </ a ></ li >
< ? php
}
// Logout
?>
< li >< a href = " /?page=main&action=logout " > Se d & eacute ; connecter </ a ></ li >
</ ul >
</ div >
2009-08-27 07:20:05 +00:00
</ div >
< div id = " icones " >
2009-08-27 09:28:16 +00:00
< ? php
2009-09-02 12:12:45 +00:00
//Ajout des param<61> tres optionnelles pour la page recherche (lors de la premi<6D> re recherche)
2009-08-27 07:20:05 +00:00
if ( $page == 'recherche' ){
if ( $_REQUEST [ 'vue' ] == 'list' ) $_SERVER [ 'QUERY_STRING' ] = str_replace ( 'vue=list' , 'vue=list_pre' , $_SERVER [ 'QUERY_STRING' ]);
}
?>
2009-08-27 09:28:16 +00:00
< ? php
2009-08-27 07:20:05 +00:00
$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 " >
2009-09-02 12:12:45 +00:00
< img src = " ./img/exporticones/printer.png " alt = " Impression " /></ a >& nbsp ;
2009-08-27 07:20:05 +00:00
< ? php
//Affichage des impressions seulement pour certaines pages
2009-09-02 12:12:45 +00:00
if ( $page != 'recherche' || $page == '' ){
2009-08-27 07:20:05 +00:00
?>
2009-09-02 12:12:45 +00:00
< a href = " ./?<?= $_SERVER['QUERY_STRING'] ;?>&sortie=pdf " target = " _blank " title = " PDF " >< img src = " ./img/exporticones/pdf.png " alt = " PDF " /></ a >& nbsp ;
2009-08-27 09:28:16 +00:00
< ? php
2009-08-27 07:20:05 +00:00
}
if ( $page == 'identite' || $page == 'etablissements' || $page == 'liens' || $page == 'evenements' || $page == 'dirigeants' ){
?>
2009-09-02 12:12:45 +00:00
< a href = " ./exportcsv.php?<?= $_SERVER['QUERY_STRING'] ;?> " target = " _blank " title = " CSV " >< img src = " ./img/exporticones/csv.png " alt = " CSV " /></ a >& nbsp ;
2009-08-27 09:28:16 +00:00
< ? php
2009-08-27 07:20:05 +00:00
}
if ( $page == 'identite' || $page == 'etablissements' || $page == 'liens' || $page == 'evenements' || $page == 'dirigeants' || $page == 'annonces' ){
?>
2009-09-02 12:12:45 +00:00
< a href = " ./exportxml.php?<?= $_SERVER['QUERY_STRING'] ;?> " target = " _blank " title = " XML " >< img src = " ./img/exporticones/xml.png " alt = " XML " /></ a >& nbsp ;
2009-08-27 09:28:16 +00:00
< ? php
2009-08-27 07:20:05 +00:00
}
?>
</ div >
</ div >
< script type = " text/javascript " >
$ ( document ) . ready ( function (){
2009-08-27 09:28:16 +00:00
< ? php if ( $page == 'recherche' || $page == 'international_recherche' ){ ?>
2009-08-27 07:20:05 +00:00
$ ( '#Menu' ) . accordion ( 'activate' , 0 )
2009-09-02 12:12:45 +00:00
< ? php } elseif ( $page == 'identite' || $page == 'etablissements' || $page == 'liens' || $page == 'evenements' ){ ?>
2009-08-27 07:20:05 +00:00
$ ( '#Menu' ) . accordion ( 'activate' , 1 )
< ? php } elseif ( $page == 'dirigeants' ){ ?>
$ ( '#Menu' ) . accordion ( 'activate' , 2 )
< ? php } elseif ( $page == 'synthese' || $page == 'bilans' || $page == 'ratios' || $page == 'liasse' || $page == 'bourse' ){ ?>
$ ( '#Menu' ) . accordion ( 'activate' , 3 )
2009-08-27 09:28:16 +00:00
< ? php } elseif ( $page == 'annonces' || $page == 'infosreg' || $page == 'competences' || $page == 'conventions' || $page == 'marques' ){ ?>
2009-08-27 07:20:05 +00:00
$ ( '#Menu' ) . accordion ( 'activate' , 4 )
2009-08-27 09:28:16 +00:00
< ? php } elseif ( $page == 'indiscore' || $page == 'scorecsf' || $page == 'enquetec' ){ ?>
2009-08-27 07:20:05 +00:00
$ ( '#Menu' ) . accordion ( 'activate' , 5 )
2009-08-27 09:28:16 +00:00
< ? php } elseif ( $page == 'kbis' || $page == 'greffes' ){ ?>
2009-08-27 07:20:05 +00:00
$ ( '#Menu' ) . accordion ( 'activate' , 6 )
2009-08-27 09:28:16 +00:00
< ? php } elseif ( $page == 'moncompte' || $page == 'surveillance' || $page == 'administration' || $page == 'stats' || $page == 'survliste' ){ ?>
2009-08-27 07:20:05 +00:00
$ ( '#Menu' ) . accordion ( 'activate' , 7 )
2009-08-27 09:28:16 +00:00
< ? php } ?>
2009-08-27 07:20:05 +00:00
});
2009-08-27 09:28:16 +00:00
</ script >