";
$td_javascript=" onmousedown=\"document.location='./dsi.php?categ=bannettes&sub=abo&id_bannette=$bann->id_bannette&suite=modif&id_empr=$id_empr';\" ";
$bann_list .= "
".htmlentities($bann->nom_bannette,ENT_QUOTES, $charset)."
- ".htmlentities($bann->comment_gestion,ENT_QUOTES, $charset)."
- ".htmlentities($bann->comment_public,ENT_QUOTES, $charset)."
| ";
$requete = "select id_equation, num_classement, nom_equation, comment_equation, proprio_equation, num_bannette from equations, bannette_equation where num_equation=id_equation and proprio_equation=$id_empr and num_bannette='$bann->id_bannette' order by nom_equation " ;
$resequ = mysql_query($requete, $dbh) or die ($requete) ;
$equ_trouvees = mysql_num_rows($resequ) ;
$equations = "" ;
while ($equa=mysql_fetch_object($resequ)) {
$eq_form= new equation($equa->id_equation) ;
$equations .= "".$equa->nom_equation.$eq_form->make_hidden_search_form("","PRI", $id_empr)."";
}
$td_javascript=" onmousedown= \"document.modif_requete_form_$eq_form->id_equation.submit();\" ";
$bann_list .= " | ";
$bann_list .= "$bann->nb_notices | ";
$td_javascript=" onmousedown=\"document.location='./dsi.php?categ=diffuser&sub=lancer';\" ";
$bann_list .= "
".htmlentities($bann->aff_date_last_envoi,ENT_QUOTES, $charset)."";
if ($bann->alert_diff) $bann_list .= " (".htmlentities($bann->aff_date_last_remplissage,ENT_QUOTES, $charset).")";
else $bann_list .= " (".htmlentities($bann->aff_date_last_remplissage,ENT_QUOTES, $charset).")" ;
$bann_list .= " | ";
$bann_list .= "
";
$parity += 1;
}
$nav_bar = "" ;
$dsi_list_tmpl = str_replace("!!cle!!", $form_cb, $dsi_list_tmpl);
$dsi_list_tmpl = str_replace("!!list!!", $bann_list, $dsi_list_tmpl);
$dsi_list_tmpl = str_replace("!!nav_bar!!", $nav_bar, $dsi_list_tmpl);
$dsi_list_tmpl = str_replace("!!message_trouve!!", $msg['dsi_ban_abo_trouvees'], $dsi_list_tmpl);
return $dsi_list_tmpl;
}