Suppression surcharge d'accès au KBIS

This commit is contained in:
Michael RICOIS 2009-07-01 09:02:54 +00:00
parent b179796e99
commit ef3863fbd7

View File

@ -5,32 +5,32 @@
<a href="/?page=recherche&vue=ent">Rechercher une entreprise</a>
<a href="/?page=recherche&vue=dir">Rechercher par dirigeant</a>
<?php
<?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' ){
?>
?>
<a href="/?page=international_recherche">Recherche Internationale</a>
<?php
<?php
}
if (isset($_SESSION['list_pre']) || $_SESSION['list_pre']!=''){
?>
<a href="/?page=recherche&vue=list_pre">Derni&egrave;re recherche</a>
<?php
<?php
}else{
?>
<a href="#"><font color="Gray">Derni&egrave;re recherche</font></a>
<a href="#"><font color="Gray">Derni&egrave;re recherche</font></a>
<?php
}
if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits'])) {
if ($siret*1<>0) {
if (preg_match('/IPARI/i', $_SESSION['tabInfo']['droits'])) {
if ($siret*1<>0) {
?>
<a href="<?=IPARI_URL?>?siret=<?=$siret?>" target="_blank">Centrale IparI &copy;</a>
<?php
<?php
}else{
?>
?>
<a href="<?=IPARI_URL?>" target="_blank">Centrale IparI &copy;</a>
<?php
<?php
}
}
}
?>
</div>
<div class="collapsed">
@ -54,7 +54,7 @@ if (preg_match('/EVENINSEE/i', $_SESSION['tabInfo']['droits'])) {
<a href="/?page=evenements&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Modifications Insee</a>
<? } else { ?>
<a href="#"><font color="Gray">Modifications Insee</font></a>
<?
<?
}
}
?>
@ -80,8 +80,8 @@ if (preg_match('/EVENINSEE/i', $_SESSION['tabInfo']['droits'])) {
<a href="/?page=ratios&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Ratios</a>
<a href="/?page=liasse&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Liasse fiscale</a>
<a href="/?page=bourse&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Bourse &amp; Cotations</a>
<?php
} else {
<?php
} else {
?>
<a href="#"><font color="Gray">Synthèse</font></a>
<a href="#"><font color="Gray">Bilans, Compte de résultat</font></a>
@ -101,11 +101,11 @@ if (preg_match('/EVENINSEE/i', $_SESSION['tabInfo']['droits'])) {
if(!isset($idEntreprise) || $idEntreprise==0){
?>
<a href="#"><font color="Gray">Annonces L&eacute;gales</font></a>
<?php
<?php
}else{
?>
<a href="/?page=annonces&idEntreprise=<?=$idEntreprise?>&idan=<?=$sourceId?>&siret=<?=$siret?>&source=<?=$source?>">Annonces L&eacute;gales</a>
<?php
<?php
}
?>
<? }else if ($siret*1<>0) { ?>
@ -124,7 +124,7 @@ if (preg_match('/EVENINSEE/i', $_SESSION['tabInfo']['droits'])) {
<a href="/?page=marques&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Marques d&eacute;pos&eacute;es</a>
<? } else { ?>
<a href="#"><font color="Gray">Marques d&eacute;pos&eacute;es</font></a>
<?
<?
}
}
?>
@ -132,49 +132,49 @@ if (preg_match('/EVENINSEE/i', $_SESSION['tabInfo']['droits'])) {
<div class="collapsed">
<span>EVALUATION</span>
<?
<?
if ($siret*1<>0) {
?>
<a href="/?page=indiscore&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">indiScore &copy;</a>
<?
<?
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' ) { ?>
<a href="#"><font color="Gray">indiScore + &copy;</font></a>
<?
if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) {
<?
if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) {
?>
<a href="/?page=scorescf&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">scoring Credit Safe &copy;</a>
<? }
}
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' ){
?>
?>
<a href="/?page=enquetec&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Enquête commerciale</a>
<?php
}
} else { ?>
<a href="#"><font color="Gray">indiScore &copy;</font></a>
<?
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' ) {
<?
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' ) {
?>
<a href="#"><font color="Gray">indiScore + &copy;</font></a>
<?
if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) {
<?
if (preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits'])) {
?>
<a href="#"><font color="Gray">scoring Credit Safe &copy;</font></a>
<? }
}
}
}
?>
</div>
<div class="collapsed">
<span>PIECES OFFICIELLES</span>
<? if ($siret*1<>0) {
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits']) || $_SESSION['tabInfo']['login']=='mricois') {
if (preg_match('/KBIS/i', $_SESSION['tabInfo']['droits'])) {
?>
<a href="/?page=kbis&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">K-Bis</a>
<?
}
}
?>
<a href="/?page=greffes&vue=bilans&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Comptes annuels</a>
<a href="/?page=greffes&vue=actes&siret=<?=$siret?>&idEntreprise=<?=$idEntreprise?>">Actes &amp; Statuts</a>
@ -185,15 +185,15 @@ if ($siret*1<>0) {
<a href="#"><font color="Gray">K-Bis</font></a>
<? } ?>
<a href="#"><font color="Gray">Comptes annuels</font></a>
<?php
<?php
if(!isset($idEntreprise) || $idEntreprise==0){
?>
<a href="#"><font color="Gray">Actes &amp; Status</font></a>
<?php
<a href="#"><font color="Gray">Actes &amp; Status</font></a>
<?php
}else{
?>
<a href="/?page=greffes&vue=actes&idEntreprise=<?=$idEntreprise?>&idan=<?=$sourceId?>&siret=<?=$siret?>&source=<?=$source?>">Actes &amp; Statuts</a>
<?php
<?php
}
?>
<? } else {
@ -208,20 +208,20 @@ if ($siret*1<>0) {
<span>OPTIONS</span>
<? if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
<a href="/?page=moncompte&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Mes options</a>
<? }
<? }
if (preg_match('/SURVLISTE/i', $_SESSION['tabInfo']['droits'])) {
?>
<a href="/?page=surveillance&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Mes surveillances</a>
<?php
<?php
}else{
?>
<a href="#"><font color="Gray">Mes surveillances</font></a>
<?php
}
if ($_SESSION['tabInfo']['profil']=='Administrateur') {
if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
if ($_SESSION['tabInfo']['profil']=='Administrateur') {
if ($_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats' ) { ?>
<a href="/?page=administration&idEntreprise=<?=$idEntreprise?>&siret=<?=$siret?>">Administration</a>
<? }
if ($_SESSION['tabInfo']['login']=='ylenaour' || $_SESSION['tabInfo']['login']=='mheitz' || $_SESSION['tabInfo']['login']=='jmartory' || $_SESSION['tabInfo']['login']=='reunicastats' ) { ?>
@ -235,7 +235,7 @@ if ($siret*1<>0) {
<a href="/?page=main&action=logout">Se d&eacute;connecter</a>
</div>
<?php
<?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']);
@ -243,7 +243,7 @@ if ($page=='recherche'){
?>
<span>&nbsp;</span>
<center>
<?php
<?php
$printUrl = $_SERVER['QUERY_STRING'];
if ($page=='bilans' && isset($_REQUEST['type']) && $_REQUEST['type']!=''){
$printUrl.= '&type='.$_REQUEST['type'];
@ -257,18 +257,18 @@ if ($page=='recherche'){
if ($page=='identite' || $page=='etablissements' || $page=='liens' || $page=='evenements' || $page=='dirigeants' || $page=='synthese' || $page=='bilans' || $page=='liasse' || $page=='bourse' || $page=='annonces'){
?>
<a href="./exportpdf.php?<?=$_SERVER['QUERY_STRING'];?>" target="_blank" title="PDF"><img src="./img/exporticones/pdf.png" alt="PDF"></a>&nbsp;
<?php
<?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>&nbsp;
<?php
<?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>&nbsp;
</center>
<?php
<?php
}
?>
</div>