Authorisation apicil

This commit is contained in:
Michael RICOIS 2010-11-05 15:58:58 +00:00
parent 6eca4cac71
commit 9ca0ccc0e0

View File

@ -18,7 +18,8 @@ isset($_REQUEST['nomFic'])? $nomFic = $_REQUEST['nomFic'] : $nomFic='' ;
$ref = $_SESSION['tabInfo']['prenom'];
if ( strtolower($_SESSION['tabInfo']['login'])=='cnasea95' ||
strtolower($_SESSION['tabInfo']['login'])=='cnasea96' ||
$_SESSION['tabInfo']['idClient']==32
$_SESSION['tabInfo']['idClient']==32 ||
$_SESSION['tabInfo']['idClient']==82
) $ref='*';
try {
@ -47,6 +48,7 @@ try {
<h2>Surveillance</h2>
<?php if (count($tabFichier)>0){ ?>
<table>
<?php foreach ($tabFichier as $nomFic) {?>
<tr>
@ -75,4 +77,7 @@ try {
</tr>
<? } ?>
</table>
<?php } else { ?>
<div>Aucun fichier disponible !</div>
<?php } ?>
</div>