2009-05-20 15:49:08 +00:00
< ? php
2010-05-18 14:03:26 +00:00
define ( 'AFFICHAGE_MAX' , '15' );
define ( 'AFFICHAGE_EXACT' , '0' );
2010-03-25 10:06:58 +00:00
if ( isset ( $_REQUEST [ 'action' ]) && $_REQUEST [ 'action' ] == 'supprimer' ){
2009-05-20 15:49:08 +00:00
require_once 'surveillance/surveillance.php' ;
2010-03-04 13:28:24 +00:00
deleteSurveillance ( $siret ,
$_REQUEST [ 'email' ],
$_REQUEST [ 'ref' ],
$_REQUEST [ 'source' ],
2010-02-23 15:27:18 +00:00
true );
2010-02-16 18:22:02 +00:00
header ( 'Location: ./?page=surveillance' );
2010-03-03 13:33:16 +00:00
exit ;
2009-05-25 13:17:22 +00:00
}
2010-03-04 13:28:24 +00:00
$vue = isset ( $_REQUEST [ 'vue' ]) ? $_REQUEST [ 'vue' ] : 'default' ;
$tri = isset ( $_REQUEST [ 'tri' ]) ? $_REQUEST [ 'tri' ] : 'siren' ;
$source = isset ( $_REQUEST [ 'source' ]) ? $_REQUEST [ 'source' ] : '' ;
$position = isset ( $_REQUEST [ 'p' ]) ? $_REQUEST [ 'p' ] : 0 ;
2009-06-12 15:52:25 +00:00
$fonctionTri = $vue . 'TriTab' ;
switch ( $tri ){
default :
case 'siren' : $triws = 'siren' ; break ;
case 'rs' : $triws = 'rs' ; break ;
case 'reference' : $triws = 'ref' ; break ;
case 'dateajout' : $triws = 'dateAjout' ; break ;
case 'datederenvoi' : $triws = 'dateDerEnvoi' ; break ;
}
2009-10-16 15:21:58 +00:00
// Source => Permission
2010-02-23 15:27:18 +00:00
$tabSource = array (
2010-03-04 13:28:24 +00:00
'annonces' => 'annonce' ,
'insee' => 'insee' ,
'bilans' => 'bilan' ,
'score' => 'score' ,
'actes' => 'actes' ,
2010-04-02 16:02:20 +00:00
'dirigeants' => 'dirigeants' ,
'privileges' => 'priv' ,
);
2010-05-18 14:03:26 +00:00
if ( $vue == 'default' ) {
$nbAffichage = AFFICHAGE_MAX * 6 ;
} else {
$nbAffichage = AFFICHAGE_MAX ;
}
2009-06-12 06:57:41 +00:00
2010-02-10 17:27:03 +00:00
//Enregistrement pour liste dernière recherche
2009-09-15 09:18:59 +00:00
require_once 'recherche/session.php' ;
$parametres = recherche_element ( 0 );
2010-03-04 13:28:24 +00:00
if ( isset ( $parametres ) && $parametres [ 'info' ][ 'page' ] == 'recherche' ){
recherche_saveinfo ( array ( 'page' => $page ) );
2010-02-23 15:27:18 +00:00
}
2009-09-15 09:18:59 +00:00
2009-05-25 07:35:14 +00:00
//Liste des surveillances de l'utilisateur
2009-08-21 14:46:58 +00:00
try {
2010-03-04 13:28:24 +00:00
$result = $client -> getSurveillances ( 0 , $source , true , $position ,
2010-02-23 15:27:18 +00:00
$nbAffichage , $triws );
2009-06-12 06:57:41 +00:00
$listSurveillance = $result [ 'results' ][ 'reponses' ];
2009-06-12 12:14:35 +00:00
$nbReponses = $result [ 'results' ][ 'nbReponses' ];
$nbSurveillances = $result [ 'results' ][ 'nbReponsesTotal' ];
2010-04-02 16:44:39 +00:00
$totPage = ceil ( $nbSurveillances / $nbAffichage ); FB :: log ( $totPage , 'totPage' );
$curPage = ceil ( $position / $nbAffichage ); FB :: log ( $curPage , 'curPage' );
2009-05-20 15:49:08 +00:00
} catch ( SoapFault $fault ) {
require_once 'soaperror.php' ;
processSoapFault ( $client , $fault , $tabInfo );
die ();
}
2010-03-04 13:28:24 +00:00
require_once 'surveillance/function.php' ;
2009-05-25 13:17:22 +00:00
//Appel de la fonction de tri
require_once 'surveillance/surveillance_tri.php' ;
$listTrier = $fonctionTri ( $listSurveillance );
2010-05-18 14:03:26 +00:00
if ( AFFICHAGE_EXACT ) {
$listTrier = array_splice ( $listTrier , 0 , AFFICHAGE_MAX );
}
2010-03-25 10:06:58 +00:00
FB :: log ( $listTrier , 'listTrier' );
2009-05-20 15:49:08 +00:00
?>
2009-05-25 13:17:22 +00:00
< script type = " text/javascript " >
2010-03-04 13:28:24 +00:00
$ ( document ) . ready ( function ()
2009-12-04 17:17:09 +00:00
{
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 13:17:22 +00:00
if ( $source == '' ){
?>
2010-03-04 13:28:24 +00:00
$ ( '#surveillance' ) . tablesorter ({
2009-08-21 14:46:58 +00:00
headers : {
2 : { sorter : false },
3 : { sorter : false },
4 : { sorter : false },
5 : { sorter : false }
2009-05-25 13:17:22 +00:00
}
2009-08-21 14:46:58 +00:00
});
2009-05-25 13:17:22 +00:00
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 13:17:22 +00:00
} else {
2009-08-21 14:46:58 +00:00
?>
2010-03-04 13:28:24 +00:00
$ ( '#surveillance' ) . tablesorter ({
2009-08-21 14:46:58 +00:00
headers : {
3 : { sorter : false }
2009-06-03 09:57:18 +00:00
}
2009-08-21 14:46:58 +00:00
});
< ? php
2009-05-25 13:17:22 +00:00
}
?>
2009-08-21 14:46:58 +00:00
});
2009-05-25 13:17:22 +00:00
</ script >
2009-05-20 15:49:08 +00:00
< div id = " center " >
< h1 class = " titre " > SURVEILLANCE </ h1 >
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 07:35:14 +00:00
//Affichage du nombre de surveillances
$nbEtab = count ( $listTrier );
2010-07-06 09:24:32 +00:00
if ( $vue == 'default' ){
2009-05-25 07:35:14 +00:00
?>
< table id = " info " >
2010-03-04 13:28:24 +00:00
< tr >
2010-04-13 09:12:53 +00:00
< td width = " 200 " class = " StyleInfoLib " > Nombre d ' entités affichées </ td >
2010-03-04 13:28:24 +00:00
< td >< ? = $nbEtab ?> </td>
</ tr >
< tr >
< td class = " StyleInfoLib " > Nombre de surveillances </ td >
< td >< ? = $nbSurveillances ?> </td>
</ tr >
2009-05-25 07:35:14 +00:00
</ table >
2009-08-21 14:46:58 +00:00
< ? php
2010-07-06 09:24:32 +00:00
} else {
2009-08-21 14:46:58 +00:00
?>
2009-05-25 15:25:44 +00:00
< table id = " info " >
2010-03-04 13:28:24 +00:00
< tr >
< td class = " StyleInfoLib " > Nombre de surveillances < ? = $source ?> </td>
< td >< ? = $nbSurveillances ?> </td>
</ tr >
2009-05-25 15:25:44 +00:00
</ table >
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 15:25:44 +00:00
}
2010-04-13 08:21:31 +00:00
// --------------------------------------------------------------------------- //
// Extraction
// --------------------------------------------------------------------------- //
2009-05-25 15:25:44 +00:00
?>
2009-12-22 13:59:04 +00:00
< h2 > Extraction des surveillances </ h2 >
< p class = " options " >
2010-04-13 08:21:31 +00:00
< input type = " hidden " name = " page " value = " <?= $page ?> " />
< label > Extraire uniquement les surveillances de type </ label >
< select name = " telechargementjsMenu " >
< option value = " - " > toutes </ option >
< ? php
foreach ( $tabSource as $s => $perm ) {
if ( hasPerm ( 'surv' . $perm )) {
2010-04-22 16:47:51 +00:00
echo '<option value="' . $s . '"' ;
2010-04-13 08:21:31 +00:00
if ( isset ( $source ) && $source == $s ) {
2010-04-22 16:47:51 +00:00
echo 'selected' ;
2010-04-13 08:21:31 +00:00
}
2010-04-22 16:47:51 +00:00
echo '>' . $s . '</option>' ;
2010-04-13 08:21:31 +00:00
}
}
?>
</ select >
< a href = " # " id = " telechargementjs " > Ok </ a >
2009-12-22 13:59:04 +00:00
</ p >
2010-04-13 08:21:31 +00:00
< div id = " telechargementjsMsg " ></ div >
2009-12-22 13:59:04 +00:00
2010-03-04 13:28:24 +00:00
< ? php
2010-04-13 08:21:31 +00:00
// --------------------------------------------------------------------------- //
// Affichage
// --------------------------------------------------------------------------- //
2009-09-18 17:09:22 +00:00
?>
2010-04-13 08:21:31 +00:00
< h2 > Options de tri </ h2 >
< p class = " options " >
< label > Afficher uniquement les suveillances de type </ label >
< select name = " type " >
< option value = " - " > toutes </ option >
< ? php
foreach ( $tabSource as $s => $perm ) {
if ( hasPerm ( 'surv' . $perm )) {
2010-04-22 16:47:51 +00:00
echo '<option value="' . $s . '"' ;
2010-04-13 08:21:31 +00:00
if ( isset ( $source ) && $source == $s ) {
2010-04-22 16:47:51 +00:00
echo 'selected' ;
2010-04-13 08:21:31 +00:00
}
2010-04-22 16:47:51 +00:00
echo '>' . $s . '</option>' ;
2010-04-13 08:21:31 +00:00
}
}
?>
</ select >
2009-05-25 13:17:22 +00:00
</ p >
2010-04-13 08:21:31 +00:00
< script type = " text/javascript " >
$ ( document ) . ready ( function () {
2010-04-22 16:47:51 +00:00
$ ( " select[name=type] " ) . change ( function () {
var value = $ ( this ) . val ();
if ( value == '-' ) {
$ ( location ) . attr ( 'href' , './?page=surveillance' );
} else {
$ ( location ) . attr ( 'href' ,
'./?page=surveillance&vue=source&source=' + value + '' );
}
});
2010-04-13 08:21:31 +00:00
});
</ script >
2010-04-22 16:47:51 +00:00
< div class = " options " >
2009-09-18 17:09:22 +00:00
< ul id = " tri " >
2010-03-04 13:28:24 +00:00
< li >
< a href = " <?=lienTri('siren', $vue , $source , $siret , $idEntreprise )?> " >
Tri par Siren
</ a >
</ li >
< li >
< a href = " <?=lienTri('rs', $vue , $source , $siret , $idEntreprise )?> " >
Tri par Raison sociale
</ a >
</ li >
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 13:17:22 +00:00
if ( $source != '' ){
2009-08-21 14:46:58 +00:00
?>
2010-03-04 13:28:24 +00:00
< li >
< a href = " <?=lienTri('reference', $vue , $source , $siret , $idEntreprise )?> " >
Tri par Référence
</ a >
</ li >
< li >
< a href = " <?=lienTri('dateajout', $vue , $source , $siret , $idEntreprise )?> " >
2010-04-22 16:47:51 +00:00
Tri par Date d ' ajout
2010-03-04 13:28:24 +00:00
</ a >
</ li >
< li >
< a href = " <?=lienTri('datederenvoi', $vue , $source , $siret , $idEntreprise )?> " >
Tri par Date de dernier envoi
</ a >
</ li >
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 13:17:22 +00:00
}
?>
2009-09-18 17:09:22 +00:00
</ ul >
2010-04-22 16:47:51 +00:00
</ div >
2009-05-25 13:17:22 +00:00
< p class = " options " >
2009-08-21 14:46:58 +00:00
Les options de tri pemettent de trier la liste de vos surveillances .
2010-03-04 13:28:24 +00:00
Il est ensuite possible de trier les surveillances affichées dans le tableau en
cliquant sur chaque titre de colonnes .
2009-05-25 13:17:22 +00:00
</ p >
2010-03-04 13:28:24 +00:00
< ? php
2010-05-18 14:03:26 +00:00
if ( $totPage > 1 ) {
print '<p class="options">Page : </p>' ;
print '<p class="options">' ;
if ( AFFICHAGE_EXACT && $vue == 'default' ) {
$nbReponses = 0 ;
foreach ( $listTrier as $item ) {
foreach ( $tabSource as $s => $perm ) {
if ( hasPerm ( 'surv' . $perm ) &&
isset ( $item [ 'sources' ][ $s ])) {
foreach ( $item [ 'sources' ][ $s ] as $surveillance ) {
if ( $surveillance [ 'ref' ] != '' ) {
++ $nbReponses ;
}
}
}
}
}
if ( $position > 0 ) {
print ' <a href="' .
lienPage ( $tri , $vue , $source , $siret , $idEntreprise , 0 ) .
'">première</a> ' ;
}
if ( $position + $nbReponses < $nbSurveillances ) {
print ' <a href="' .
lienPage ( $tri , $vue , $source , $siret , $idEntreprise ,
$position + $nbReponses ) . '">suivante</a> ' ;
}
} else {
$maxPage = 11 ;
for ( $countPage = max ( 0 , $curPage - $maxPage );
$countPage < min ( $totPage , $curPage + $maxPage ); ++ $countPage ) {
if ( $countPage == $curPage ) {
print ' ' . ( $countPage + 1 ) . ' ' ;
} else {
print ' <a href="' .
lienPage ( $tri , $vue , $source , $siret , $idEntreprise ,
$nbReponses * $countPage ) . '">' ;
if ( $countPage == $curPage - $maxPage ) {
print '<<</a> ' ;
} else if ( $countPage == $curPage + $maxPage - 1 ) {
print '>></a> ' ;
} else {
print ( $countPage + 1 ) . '</a> ' ;
}
}
}
}
print '</p>' ;
2009-06-12 06:57:41 +00:00
}
?>
2009-05-25 07:35:14 +00:00
< h2 > Liste des surveillances </ h2 >
2009-05-25 13:17:22 +00:00
< table class = " tablesorter " id = " surveillance " width = " 570 " >
2009-05-20 15:49:08 +00:00
< thead >
< tr >
2009-05-25 13:17:22 +00:00
< th > Siren </ th >
2009-05-25 16:19:39 +00:00
< th > Raison Sociale </ th >
2010-02-10 17:27:03 +00:00
< th > Référence </ th >
2009-05-25 13:17:22 +00:00
< th > Surveillance </ th >
2009-05-25 15:25:44 +00:00
< th > Ajout le </ th >
2010-02-10 17:27:03 +00:00
< th > Envoyé le </ th >
2009-05-20 15:49:08 +00:00
</ tr >
2009-05-25 13:17:22 +00:00
</ thead >
< tbody >
< ? php
2010-02-10 17:27:03 +00:00
//Si vue=defaut alors on affiche les entités avec toutes leurs surveillances
2009-05-25 15:25:44 +00:00
if ( $vue == 'default' ){
2009-08-21 14:46:58 +00:00
foreach ( $listTrier as $item )
{
2009-05-20 15:49:08 +00:00
?>
< tr >
2010-03-04 13:28:24 +00:00
< td class = " aleft " >
< a href = " ./?page=identite&siret=<?= $item['siren'] ?> " >
< ? = $item [ 'siren' ] ?>
</ a >
</ td >
< td width = " 110 " >
< ? = $item [ 'rs' ] ?> <br/><i><?=$item['cp'].' '.$item['ville']?></i>
</ td >
2009-05-25 07:35:14 +00:00
< td >
2009-08-21 14:46:58 +00:00
< ? php
2009-10-16 15:21:58 +00:00
foreach ( $tabSource as $source => $perm )
{
2010-04-02 16:02:20 +00:00
if ( hasPerm ( 'surv' . $perm ))
2009-10-16 15:21:58 +00:00
{
if ( isset ( $item [ 'sources' ][ $source ]))
{
foreach ( $item [ 'sources' ][ $source ] as $surveillance )
{
2010-04-02 16:02:20 +00:00
if ( $surveillance [ 'ref' ] != '' ){
2010-04-22 16:47:51 +00:00
echo '<p>' . $surveillance [ 'ref' ] . '</p>' ;
2010-04-02 16:02:20 +00:00
} else { ?> <p>-</p> <?php }
}
2009-10-16 15:21:58 +00:00
} else { ?> <p>-</p> <?php }
}
2009-08-21 14:46:58 +00:00
}
2009-05-20 15:49:08 +00:00
?>
</ td >
2010-05-03 12:37:06 +00:00
< td class = " aleft " style = " width:120px; " >
2009-08-21 14:46:58 +00:00
< ? php
2009-10-16 15:21:58 +00:00
foreach ( $tabSource as $source => $perm )
{
2010-04-02 16:02:20 +00:00
FB :: log ( $source , $perm );
2010-07-06 09:24:32 +00:00
if ( hasPerm ( 'surv' . $perm ) )
2009-10-16 15:21:58 +00:00
{
2010-07-06 09:24:32 +00:00
if ( array_key_exists ( $source , $item [ 'sources' ]) ){
foreach ( $item [ 'sources' ][ $source ] as $surveillance ){
2009-10-16 15:21:58 +00:00
?>
2010-04-22 16:47:51 +00:00
< div class = " action " >
< p >< ? = ucfirst ( $source ) ?> </p>
2010-07-06 09:24:32 +00:00
< a class = " dialogsurv " href = " ./?page=surveillance&q=ajouter/<?= $item['siren'] . $item['nic'] ?>/<?= $source ?> "
2010-02-23 15:27:18 +00:00
title = " Ajouter la surveillance <?= $source ?> " >
< img src = " ./img/interface/ajouter.png " />
</ a >
2010-07-06 09:24:32 +00:00
< a class = " dialogsurv " href = " ./?page=surveillance&q=ajouter/<?= $item['siren'] . $item['nic'] ?>/<?= $source ?>&ref=<?= $surveillance['ref'] ?>&email=<?= $surveillance['email'] ?> "
2010-02-23 15:27:18 +00:00
title = " Editer la surveillance <?= $source ?> " >
< img src = " ./img/interface/editer.png " />
</ a >
2010-03-04 13:28:24 +00:00
< a href = " ./?page=surveillance&action=supprimer&siret=<?= $item['siren'] . $item['nic'] ?>&ref=<?= $surveillance['ref'] ?>&source=<?= $source ?>&email=<?= $surveillance['email'] ?> "
2010-02-23 15:27:18 +00:00
title = " Supprimer la surveillance <?= $source .' '. $surveillance['email'] ?> " >
< img src = " ./img/interface/supprimer.png " />
</ a >
2009-10-16 15:21:58 +00:00
</ div >
< ? php
}
2010-07-06 09:24:32 +00:00
} else {
2009-10-16 15:21:58 +00:00
?>
2010-04-22 16:47:51 +00:00
< div class = " action " >
2010-02-16 18:22:02 +00:00
< p >< ? = ucfirst ( $source ) ?> </p>
2010-07-06 09:24:32 +00:00
< a class = " dialogsurv " href = " ./?page=surveillance&q=ajouter/<?= $item['siren'] . $item['nic'] ?>/<?= $source ;?> " title = " Ajouter la surveillance <?= $source ?> " >
< img src = " ./img/interface/ajouter.png " />
</ a >
2009-10-16 15:21:58 +00:00
</ div >
< ? php
}
?>
< br />
< ? php
2009-05-20 15:49:08 +00:00
}
2009-08-21 14:46:58 +00:00
}
2009-05-20 15:49:08 +00:00
?>
</ td >
< td >
2009-08-21 14:46:58 +00:00
< ? php
2009-10-16 15:21:58 +00:00
foreach ( $tabSource as $source => $perm ){
2010-04-02 16:02:20 +00:00
if ( hasPerm ( 'surv' . $perm ))
2009-10-16 15:21:58 +00:00
{
if ( array_key_exists ( $source , $item [ 'sources' ])){
foreach ( $item [ 'sources' ][ $source ] as $surveillance ){
print '<p>' . substr ( $surveillance [ 'dateAjout' ], 8 , 2 ) . '/' . substr ( $surveillance [ 'dateAjout' ], 5 , 2 ) . '/' . substr ( $surveillance [ 'dateAjout' ], 0 , 4 ) . '</p>' ;
}
} else { ?> <p>-</p> <?php }
}
2009-08-21 14:46:58 +00:00
}
2009-05-20 15:49:08 +00:00
?>
</ td >
< td >
2009-08-21 14:46:58 +00:00
< ? php
2009-10-16 15:21:58 +00:00
foreach ( $tabSource as $source => $perm ){
2010-04-02 16:02:20 +00:00
if ( hasPerm ( 'surv' . $perm ))
2010-03-04 13:28:24 +00:00
{
2009-10-16 15:21:58 +00:00
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 '<p>' . $pDate . '</p>' ; } else { print '<p>-</p>' ;}
}
} else { ?> <p>-</p> <?php }
}
2009-08-21 14:46:58 +00:00
}
2009-05-20 15:49:08 +00:00
?>
</ td >
</ tr >
< ? php
}
2010-02-10 17:27:03 +00:00
//si vue=source alors on a forcément qu'une seul source donc 1 ligne par surveillance d'entité
2010-07-06 09:24:32 +00:00
} elseif ( $vue == 'source' ) {
foreach ( $listTrier as $item ){
?>
< tr >
2010-02-16 18:22:02 +00:00
< td class = " aleft " >< a href = " ./?page=identite&siret=<?= $item['siren'] . $item['nic'] ?> " >< ? = $item [ 'siren' ] ?> </a></td>
< td >< ? = $item [ 'rs' ] ?> <br/><i><?=$item['cp'].' '.$item['ville']?></i></td>
2009-05-25 15:25:44 +00:00
< td >
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 15:25:44 +00:00
if ( $item [ 'ref' ] != '' ){
print '<p>' . $item [ 'ref' ] . '</p>' ;
} else { ?> <p>-</p> <?php }
?>
</ td >
< td class = " aleft " >
2010-04-22 16:47:51 +00:00
< div class = " action " >
< p >< ? = ucfirst ( $item [ 'source' ]) ?> </p>
2010-07-06 09:24:32 +00:00
< a class = " dialogsurv " href = " ./?page=surveillance&q=ajouter/<?= $item['siren'] . $item['nic'] ?>/<?= $item['source'] ?>&ref=<?= $item['ref'] ?>&email=<?= $item['email'] ?> " title = " Editer la surveillance <?= $item['source'] ?> " >
< img src = " ./img/interface/editer.png " />
</ a >
< a href = " ./?page=surveillance&action=supprimer&siret=<?= $item['siren'] . $item['nic'] ?>&ref=<?= $item['ref'] ?>&source=<?= $item['source'] ?>&email=<?= $item['email'] ?> " title = " Supprimer la surveillance <?= $item['source'] .' '. $item['email'] ?> " >
< img src = " ./img/interface/supprimer.png " />
</ a >
2009-05-25 15:25:44 +00:00
</ div >
< br />
</ td >
< td >
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 15:25:44 +00:00
print '<p>' . substr ( $item [ 'dateAjout' ], 8 , 2 ) . '/' . substr ( $item [ 'dateAjout' ], 5 , 2 ) . '/' . substr ( $item [ 'dateAjout' ], 0 , 4 ) . '</p>' ;
?>
</ td >
< td >
2009-08-21 14:46:58 +00:00
< ? php
2009-05-25 15:25:44 +00:00
$pDate = substr ( $item [ 'dateDerEnvoi' ], 8 , 2 ) . '/' . substr ( $item [ 'dateDerEnvoi' ], 5 , 2 ) . '/' . substr ( $item [ 'dateDerEnvoi' ], 0 , 4 );
if ( $pDate != '00/00/0000' ){ print '<p>' . $pDate . '</p>' ; } else { print '<p>-</p>' ;}
?>
</ td >
2010-07-06 09:24:32 +00:00
</ tr >
< ? php
}
2009-05-25 15:25:44 +00:00
} //Fin vue==source
2009-05-20 15:49:08 +00:00
?>
2010-04-22 16:47:51 +00:00
</ tbody >
2009-05-20 15:49:08 +00:00
</ table >
</ div >