".htmlentities($msg["nettoyage_suppr_series"], ENT_QUOTES, $charset)."
";
$query = mysql_query("SELECT serie_id from series left join notices on tparent_id=serie_id where tparent_id is null");
$affected=0;
if($affected = mysql_num_rows($query)){
while ($ligne = mysql_fetch_object($query)) {
$serie = new serie($ligne->serie_id);
$serie->delete();
}
}
$query = mysql_query("update notices left join series on tparent_id=serie_id set tparent_id=0 where serie_id is null");
$spec = $spec - CLEAN_SERIES;
$v_state .= "
".htmlentities($msg["nettoyage_suppr_series"], ENT_QUOTES, $charset)." : ";
$v_state .= $affected." ".htmlentities($msg["nettoyage_res_suppr_series"], ENT_QUOTES, $charset);
$opt = mysql_query('OPTIMIZE TABLE series');
// mise à jour de l'affichage de la jauge
print "
100%
";
print "
";