|
|
$perm)
{
if(preg_match('/surv'.$perm.'/i', $_SESSION['tabInfo']['droits']))
{
if(isset($item['sources'][$source]))
{
foreach($item['sources'][$source] as $surveillance)
{
if($surveillance['ref']!=''){
print ' '.$surveillance['ref'].' ';
}else{?> - -
|
$perm)
{
if(preg_match('/surv'.$perm.'/i', $_SESSION['tabInfo']['droits']))
{
if(array_key_exists($source, $item['sources']))
{
foreach($item['sources'][$source] as $surveillance)
{
?>
|
$perm){
if(preg_match('/surv'.$perm.'/i', $_SESSION['tabInfo']['droits']))
{
if(array_key_exists($source, $item['sources'])){
foreach($item['sources'][$source] as $surveillance){
print ' '.substr($surveillance['dateAjout'],8,2).'/'.substr($surveillance['dateAjout'],5,2).'/'.substr($surveillance['dateAjout'],0,4).' ';
}
}else{?> -
|
$perm){
if(preg_match('/surv'.$perm.'/i', $_SESSION['tabInfo']['droits']))
{
if(array_key_exists($source, $item['sources'])){
foreach($item['sources'][$source] as $surveillance){
$pDate = substr($surveillance['dateDerEnvoi'],8,2).'/'.substr($surveillance['dateDerEnvoi'],5,2).'/'.substr($surveillance['dateDerEnvoi'],0,4);
if ($pDate!='00/00/0000'){print ' '.$pDate.' '; }else{ print '- ';}
}
}else{?> -
|
|
|
'.$item['ref'].'';
}else{?> -
|
|
'.substr($item['dateAjout'],8,2).'/'.substr($item['dateAjout'],5,2).'/'.substr($item['dateAjout'],0,4).'';
?>
|
'.$pDate.''; }else{ print ' - ';}
?>
|