1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
| if ($nbIndicCommun > 0)
{
echo "<h2>Indicateurs communs</h2>";
?>
<style type="text/css">
fieldset
{
width:720px;
}
</style>
<table style="width:500px">
<tr>
<td style="width:215px">
Filtre : <INPUT id="filtre_<?php echo $nzl;?>" NAME=regexp onClick="initId(<?php echo $nzl;?>)" onKeyPress="return disableEnterKey(event)">
</td>
<td style="float:left;">
<input type="image" width="24" height="24" src="images/validation_filtre.gif" value="submit">
</td>
<td style="float:right">
<span class="bulle">
<IMG src="images/help_filtre.png" width="24px" height="24px">
<span>
Ce filtre reconnaît les expressions régulières.<br/>
<ul>Options de filtrage pour " tra " : <br/><br/>
<li>Commence par : ^tra </li>
<li>Contient : tra</li>
<li>Finit par : tra$ </li>
</ul>
</span></span>
</td>
</tr>
</table>
<select id='choixIndic_<?php echo $nzl;?>' name='choix_indicateur_commun[commun][]' multiple='multiple' class='populate' size='<?php echo getnbligneselectbig(count($allEqu["Commun"]));?>' style='width: 500px;' multiple=''>
<?php
$nzl++;
$cptcom = 0;
foreach($allEqu["Commun"] as $nomIndic => $idIndic)
{
if($nomIndic != "ressource" && $nomIndic != "date" && $nomIndic != NULL)
{
echo '<option value="'.$nomIndic.'">'.$nomIndic.'</option> ';
$cptcom++;
}
}
?>
</select><br>
<table style="width:500px">
<tr>
<td style="float:right"><?php echo "$cptcom compteur(s)";?></td>
<?php $nzl++;?>
<td style="float:left">
<form>
<input type="checkbox" name="Compteurs" value="1">Compteurs
<input type="checkbox" name="Indicateurs" value="2">Indicateurs
<input type="checkbox" name="Jauges" value="3">Jauges
</form>
</td>
</tr>
</table>
<?php
} |