2012-05-15 11:38:51 +00:00
< ul class = "chemin clearfix rounded_t" >
< li class = "e0" > < a class = "lir" href = "/" > Accueil< / a > < / li >
< li >
< a href = " <? = $this -> url ( array ( 'controller' => 'dashboard' , 'action' => 'index' )) ?> " >
< span > Tableau de bord< / span >
< / a >
< / li >
< li class = "last" >
< span > < / span >
< / li >
< / ul >
2012-02-15 11:29:00 +00:00
2012-05-15 11:38:51 +00:00
< div id = "dashboard" >
2012-02-15 11:29:00 +00:00
< div id = "menu" >
2012-05-15 11:38:51 +00:00
< a href = " <? = $this -> url ( array ( 'controller' => 'dashboard' , 'action' => 'ciblages' )) ?> " > Liste de vos ciblages</ a > -
< a href = " <? = $this -> url ( array ( 'controller' => 'dashboard' , 'action' => 'enrichissements' )) ?> " > Liste de vos enrichissements</ a > -
< a href = " <? = $this -> url ( array ( 'controller' => 'dashboard' , 'action' => 'configuration' )) ?> " > Préférences de l'application</ a > -
2012-02-22 12:56:54 +00:00
< a href = " <? = $this -> url ( array ( 'controller' => 'dashboard' , 'action' => '' )) ?> " > Enrichissement de fichier</ a >
2012-02-15 11:29:00 +00:00
< / div >
< div id = "rechercheCiblage" >
< h2 > Rechercher dans vos ciblages< / h2 >
< input type = "text" name = "searchCiblage" class = "searchCiblage" / >
< input type = "submit" value = "Rechercher" class = "submit" / >
< / div >
2012-02-15 11:36:34 +00:00
< div id = "lastCiblage" >
2012-02-15 11:29:00 +00:00
< h2 > Vos derniers ciblages< / h2 >
<?php if ( count ( $this -> comptages ) > 0 ) : ?>
< table >
< thead >
< tr >
< th > Référence< / th >
< th > Nombre d'entité< / th >
< th > Unité Insee< / th >
< th > Date< / th >
2012-05-15 11:38:51 +00:00
< th colspan = "4" > < / th >
2012-02-15 11:29:00 +00:00
< / tr >
< / thead >
< tbody >
<?php foreach ( $this -> comptages as $name => $item ) : ?>
2012-02-22 14:47:16 +00:00
< tr >
2012-02-15 11:29:00 +00:00
< td class = "reference" > <? = $item [ 'reference' ] ?> </ td >
2012-02-22 15:40:19 +00:00
< td class = "update resultat" > <? = number_format ( $item [ 'resultat' ], 0 , ',' , ' ' ) ?> </ td >
< td class = "update insee" > <? = number_format ( $item [ 'uniteInsee' ], 0 , ',' , ' ' ) ?> </ td >
< td class = "update date" > <? = $item [ 'dateComptage' ] ?> </ td >
2012-02-27 08:31:19 +00:00
< td >< a href = " <? = $this -> url ( array ( 'controller' => 'dashboard' , 'action' => 'ciblage' , 'id' => $item [ 'id' ])) ?> " > Detail</ a ></ td >
2012-05-25 13:24:30 +00:00
< td >< a href = " <? = $this -> url ( array ( 'controller' => 'index' , 'action' => 'index' , 'id' => $item [ 'id' ])) ?> " > Charger les critères de ciblage dans l'interface</ a ></ td >
2012-02-15 11:29:00 +00:00
< / tr >
<?php endforeach ; ?>
< / tbody >
< / table >
<?php else : ?>
< p > Aucun ciblage.< p >
2012-05-15 11:38:51 +00:00
<?php endif ; ?>
2012-02-15 11:36:34 +00:00
< / div >
2012-02-15 11:29:00 +00:00
2012-02-15 11:36:34 +00:00
< div id = "lastEnrichissement" >
2012-02-24 17:11:41 +00:00
< h2 > Vos derniers enrichissements< / h2 >
2012-03-20 08:24:41 +00:00
<?php if ( count ( $this -> enrichissements ) > 0 ) : ?>
2012-02-24 17:11:41 +00:00
< table >
< thead >
< tr >
< th > Référence< / th >
< th > Nombre de lignes totales< / th >
< th > Date< / th >
2012-05-15 11:38:51 +00:00
< th > Etat< / th >
2012-02-24 17:11:41 +00:00
< / tr >
< / thead >
< tbody >
2012-04-04 08:09:59 +00:00
<?php $i = 0 ; foreach ( $this -> enrichissements as $item ) : ?>
<?php if ( $i ++ == 5 ) break ; ?>
2012-02-24 17:11:41 +00:00
< tr >
< td > <? = $item [ 'reference' ] ?> </ td >
< td > <? = number_format ( $item [ 'nbLigneTotales' ], 0 , ',' , ' ' ) ?> </ td >
< td > <? = $item [ 'dateAdded' ] ?> </ td >
< td >
<?php if ( $item [ 'dateStop' ] != '0000-00-00 00:00:00' ) { ?>
2012-04-13 08:56:39 +00:00
< a href = "/enrichissement/download/id/ <?php echo $item [ 'id' ]; ?> " > <?php echo $item [ 'fichier' ]; ?> </ a >
2012-02-24 17:11:41 +00:00
<?php } elseif ( $item [ 'dateStart' ] != '0000-00-00 00:00:00' ) { ?>
En cours de traitement
<?php } else { ?>
En attente de traitement
<?php } ?>
< / td >
< / tr >
<?php endforeach ; ?>
< / tbody >
< / table >
<?php else : ?>
< p > Aucun enrichissement.< p >
<?php endif ; ?>
2012-05-15 11:38:51 +00:00
< / div >
2012-02-02 17:29:14 +00:00
< / div >