?> </th> <th><?php echo trad('Description', 'admin'); ?> </th> <th><?php echo trad('Acces', 'admin'); ?> </th> </tr> </thead> <tbody> <?php foreach ($currentProfil->query_liste("SELECT a.id, ap.ecriture, ap.lecture FROM " . Autorisation::TABLE . " a LEFT JOIN " . Autorisation_profil::TABLE . " ap ON a.id=ap.autorisation AND ap.profil='{$currentProfil->id}'") as $row) { $autorisationdesc = new Autorisationdesc(); $autorisationdesc->charger($row->id); ?> <tr> <td><?php echo $autorisationdesc->titre; ?> </td> <td><?php echo $autorisationdesc->description; ?> </td> <td><input type="checkbox" class="js-genral-permissions" js-id="<?php echo $row->id; ?> " name="droits_g[<?php
</li> </ul> <div class="bordure_bottom"> <?php $autorisation = new Autorisation(); $query = "select * from {$autorisation->table}"; $resul = mysql_query($query, $autorisation->link); $i = 0; while ($row = mysql_fetch_object($resul)) { if (!($i % 2)) { $fond = "ligne_claire_rub"; } else { $fond = "ligne_fonce_rub"; } $i++; $autorisationdesc = new Autorisationdesc(); $autorisationdesc->charger($row->id, $lang); $autorisation_administrateur = new Autorisation_administrateur(); $autorisation_administrateur->charger($row->id, $_GET['id']); ?> <ul class="<?php echo $fond; ?> "> <li style="width:250px;"><?php echo $autorisationdesc->titre; ?> </li> <li style="width:510px; border-left:1px solid #96A8B5;"><?php echo $autorisationdesc->description; ?>