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
| <div style="margin-left: 95px;">
<table id="listingg" cellspacing="3" cellpadding="0" cellspacing="0" style="margin-top: 10px; padding: 10px;">
<tr>
<td class="title">Intitulé</td>
<td colspan="3" class="title">Action</td>
</tr>
<?php
foreach ($Domaines as $s) {
echo '<tr>';
echo '<td width=55%>'.$s->getIntitule().'</td>';
echo '<td width=15%>'.link_to(image_tag('icons/zoom.gif','class=icon title=Apercu'), 'parametrage/showDomaine?id='.$s->getId()).'</td>';
echo '<td width=15%>'.link_to(image_tag('icons/page_white_edit.gif','class=icon title=Modifier'), 'parametrage/editDomaine?id='.$s->getId()).'</td>';
echo '<td width=15%>'.link_to(image_tag('icons/cross.gif','class="icon" title="Supprimer" onclick="return(confirm(\'Etes-vous sûr de vouloir supprimer ce domaine ?\'));"'), 'parametrage/DeleteDomaine?id='.$s->getId()).'</td>';
echo '</tr>';
if ($s->getId() == $id_error) $erreur = true;
}
if ($erreur)
{
echo "<div align=left>";
echo '<strong style="color:red">'.$error.'</strong>';
echo "</div>";
}
?>
</table>
</div> |