Controle de la colonne type de surveillance

This commit is contained in:
Michael RICOIS 2009-05-25 16:19:39 +00:00
parent 27be64da8a
commit eb6d3b9f47

View File

@ -39,10 +39,11 @@ $firephp->log($listTrier, 'listTrier');
#surveillance .aleft {text-align:left;}
#surveillance .action {clear:both; font:normal 1em Arial, Verdana, Sans-serif; letter-spacing:1px; line-height: 1em;}
#surveillance td p {line-height:16px;}
#surveillance .action p {display:block; float:left; line-height:16px;}
#surveillance .action p {display:block; float:left; line-height:16px; margin:0;}
#surveillance .action a {display:block; float:right;}
#surveillance .action a.margin {margin-right:32px;}
#surveillance .action img {vertical-align:middle;}
#surveillance #type {width:120px;}
#info {margin:5px 5px 5px 30px; font:normal 1em Arial, Verdana, Sans-serif; letter-spacing:1px; line-height: 1em;}
#info td {padding-right:10px;}
table.tablesorter thead tr .header { background-image:url(./img/bg.gif); background-repeat:no-repeat; background-position:center right; cursor:pointer; }
@ -102,7 +103,7 @@ $nbEtab = count($listTrier);
if($vue=='default'){
?>
<table id="info">
<tr><td width="200px" class="StyleInfoLib">Nombre d'entités surveillées</td><td><?php print $nbEtab; ?></td></tr>
<tr><td width="200" class="StyleInfoLib">Nombre d'entités surveillées</td><td><?php print $nbEtab; ?></td></tr>
<tr><td class="StyleInfoLib">Nombre de surveillances</td><td><?php print $nbSurveillances; ?></td></tr>
</table>
<?php
@ -150,7 +151,7 @@ Il est ensuite possible de trier les surveillances affich
<thead>
<tr>
<th>Siren</th>
<th width="120">Raison Sociale</th>
<th>Raison Sociale</th>
<th>Référence</th>
<th>Surveillance</th>
<th>Ajout le</th>
@ -179,7 +180,7 @@ foreach($listTrier as $item){
}
?>
</td>
<td class="aleft">
<td id="type" class="aleft">
<?php
foreach($tabSource as $source){
if(array_key_exists($source, $item['sources'])){
@ -239,7 +240,7 @@ foreach($listTrier as $item){
?>
<tr>
<td class="aleft"><a href="./?page=identite&siret=<?php print $item['siren']; ?>"><?php print $item['siren']; ?></a></td>
<td width="120"><?php print $item['rs']; ?><br/><i><?php print $item['cp'].' '.$item['ville']; ?></i></td>
<td><?php print $item['rs']; ?><br/><i><?php print $item['cp'].' '.$item['ville']; ?></i></td>
<td>
<?php
if($item['ref']!=''){