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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
| <?php
if (!((int)$_SESSION['droits'] & ajouter_capteur))
{
echo 'Vous ne pouvez pas accéder à cette page !<br />';
}
else { ?> <div><td class="plusTd button"></td><div><?php }
// je chache le td de classe plusTd Qui vient juste aprés.
?>
<td class="plusTd3 button"></td>
<td class="plusTdvalid button"></td>
</tr>
<tr class="headingTr">
<td>Index du capteur</td>
<td><center>Nom du capteur</center></td>
<td><center>Identifiant du capteur</center></td>
<td><center>Type du capteur</center></td>
<td><center>Table correspondant au capteur</center></td>
<td><center>Supprimer le capteur<input id="checkAll" type="checkbox" style="text-align:center;width:20%;"/></center></td>
<td><center>Edition </center></td>
</tr>
<?php
//Affichage des informations et encodage JSON
$data= array();
while ($tab_contenu=mysql_fetch_array($reponse)){
$data[] = array($tab_contenu[0], $tab_contenu[4], $tab_contenu[1], $tab_contenu[2], $tab_contenu[3]);
?>
<tr class="contenu">
<td><center><input type="hidden" name="ar_index"><?php echo $tab_contenu['Arexx_index']; ?></input></center></td>
<td><center><input type="hidden" name="arexxname[]"><?php echo $tab_contenu['Arexx_Name']; ?></input></center></td>
<td><center><input type="hidden" name="arexxid[]"><?php echo $tab_contenu['Arexx_Id']; ?></input></center></td>
<td><center><input type="hidden" name="arexxtype[]"><?php echo $tab_contenu['Arexx_Type']; ?></input></center></td>
<td><center><input type="hidden" name="arexxtable[]"><?php echo $tab_contenu['Arexx_Table']; ?></input></center></td>
<section title=".squaredFour">
<!-- .squaredFour -->
<div class="squaredFour">
<td style="text-align:center;width:20%;"><input type="checkbox" id="squaredFour" name="champ[]" value="<?php echo $tab_contenu['Arexx_index']; ?>" /></td>
<label for="squaredFour"></label>
</div>
<!-- end .squaredFour -->
</section>
<?php
if (!((int)$_SESSION['droits'] & modifier_capteur))
{
echo 'Vous ne pouvez pas accéder à cette page !<br />';
}
else { ?><div><td class="controlTd"></td><div><?php }
// je chache le td de classe controlTd Qui vient juste aprés seulement celà ne fonctionne pas.
?>
<td class="controlTd1"><button class="btn btn-danger" type="button">Annuler</button></td>
</tr> |
Partager