1) { $link_pagination .= "&page=".$page."&nbr_lignes=".$nbr_lignes."&nb_per_page=".$nb_per_page; } $url_base = "./dsi.php?categ=bannettes&sub=pro&id_bannette=$id_bannette&suite=affect_equation"; $url_modif = "./dsi.php?categ=bannettes&sub=pro&id_bannette=$id_bannette&suite=acces"; // $detail_bannette = "

$nom  

"; if ($id_classement>0) $requete = "select distinct id_equation, num_classement, nom_equation, comment_equation, proprio_equation from equations left join bannette_equation on num_equation=id_equation where proprio_equation=0 and num_classement='$id_classement' order by nom_equation " ; elseif ($id_classement==0) $requete = "select distinct id_equation, num_classement, nom_equation, comment_equation, proprio_equation from equations left join bannette_equation on num_equation=id_equation where proprio_equation=0 order by nom_equation " ; elseif ($id_classement==-1) $requete = "select distinct id_equation, num_classement, nom_equation, comment_equation, proprio_equation from equations, bannette_equation where num_bannette=$id_bannette and num_equation=id_equation and proprio_equation=0 order by nom_equation " ; $res = pmb_mysql_query($requete, $dbh) or die ($requete) ; $parity = 0; $equ_trouvees = pmb_mysql_num_rows($res) ; $equations = ''; while ($equa=pmb_mysql_fetch_object($res)) { $equations .= "".$msg["dsi_bannette_equations_update"]."
", $dsi_bannette_equation_assoce); } else { $dsi_bannette_equation_assoce = str_replace("!!bannette_equations_saved!!", "", $dsi_bannette_equation_assoce); } // afin de revenir où on était : $form_cb, le critère de recherche global $form_cb ; $dsi_bannette_equation_assoce = str_replace('!!form_cb!!', urlencode($form_cb), $dsi_bannette_equation_assoce); $dsi_bannette_equation_assoce = str_replace('!!form_cb_hidden!!', htmlentities($form_cb,ENT_QUOTES, $charset), $dsi_bannette_equation_assoce); $dsi_bannette_equation_assoce = str_replace('!!link_pagination!!', $link_pagination, $dsi_bannette_equation_assoce); return $dsi_bannette_equation_assoce ; }