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