<a href="<?php echo 'rediger_article.php?mark='.$tabl.'';?>"><p class="bouton_design" style="display:inline-block; color:#fff;">Ajouter</p></a>
<table style="margin-top:100px;"><tr>
<th>Libelle</th>
<th>modifier</th>
<th>Supprimer</th>
<th>date</th>
</tr>

<?php

if($_GET['mark'] == "type_article")
{$id = "id_type";
$libelle = "libelle_type";}

else
	
	{$id = "id_type";
$libelle = "libelle_type"; }


include('connexion_mysql.php');
$retour1 = 'SELECT * FROM type_article ORDER BY '.$id.' DESC';
$res = $conn->query($retour1);
while ($donnees = mysqli_fetch_array($res)) // On fait une boucle
{
?>
<tr align="center">
<td><?php echo stripslashes($donnees[''.$libelle.'']); ?></td>
<td><?php echo '<a sty	le="text-decoration:none; color:green; font-weight:bold;" href="rediger_article.php?mark='.$tabl.'&amp;modifier_news=' .
$donnees[''.$id.''] . '&amp;mark=' .
$tabl . '&amp;id_type=' .
stripslashes($donnees['id_type']) . '">'; ?><img title="modifier" src="img/modif.png" style="width:30px;" /></a></td>
<td><?php echo '<a style="text-decoration:none; color:green; font-weight:bold;" href="traitement_article.php?supprimer_news=' .
$donnees[''.$id.''] . '&amp;mark='.$tabl.'" onclick="return(confirm(\'Etes-vous s&ucirc;r de vouloir supprimer cette entr&eacute;e?\'))">';?><img title="supprimer" src="img/ferm1.jpg" style="width:20px;" /></a></td>
<td><?php echo stripslashes($donnees['date']); ?></td>

</tr>

<?php } ?>