diff --git a/www/pages/menu2.php b/www/pages/menu2.php index 53ce48821..b735814b1 100644 --- a/www/pages/menu2.php +++ b/www/pages/menu2.php @@ -14,13 +14,7 @@ $idEntreprise = $_REQUEST['idEntreprise'];
  • Rechercher par dirigeant
  • Recherche internationale
  • @@ -226,12 +220,26 @@ if ($siret*1!=0 && ($_SESSION['tabInfo']['idClient']!=34 || $_SESSION['nowAuthor } // 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 = '#';} +if ( preg_match('/scorecsf/i', $_SESSION['tabInfo']['droits']) ) +{ + if ( $siret*1!=0 && ($_SESSION['tabInfo']['idClient']!=34 || $_SESSION['nowAuthorized']) ) + { $href = './?page=scorescf&siret='.$siret.'&idEntreprise='.$idEntreprise; } else { $href = '#';} ?>
  • ';} ?>Scoring Credit Safe ©';} ?>
  • +
  • ';} ?>Rapport de synthèse';} ?>
  • + + +'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats') +if ($_SESSION['tabInfo']['profil']=='Administrateur' || $_SESSION['tabInfo']['profil']=='SuperAdministrateur') && $_SESSION['tabInfo']['login']<>'testreunica' && $_SESSION['tabInfo']['login']<>'reunicacsf' && $_SESSION['tabInfo']['login']<>'reunicastats') { ?>
  • Administration
  • @@ -374,7 +382,7 @@ $('#Menu').accordion('activate', 0) $('#Menu').accordion('activate', 1) $('#Menu').accordion('activate', 2) - + $('#Menu').accordion('activate', 3) $('#Menu').accordion('activate', 4)