header; print pmb_bidi($aff_bull).'
'; } switch($action) { case 'add_item': if($idcaddie)$caddie[0]=$idcaddie; foreach($caddie as $idcaddie) { $myCart = new caddie($idcaddie); foreach ($item_list as $elt) { if($include_child) { $tab_list_child=notice::get_list_child($elt); if(count($tab_list_child)) { foreach ($tab_list_child as $notice_id) { $myCart->add_item($notice_id,"BULL",$what); } } } else { $myCart->add_item($elt,"BULL",$what); } if($include_analysis && $myCart->type == 'NOTI') { $tab_list_child=bulletinage::get_list_analysis($elt); if(count($tab_list_child)) { foreach ($tab_list_child as $notice_id) { $myCart->add_item($notice_id,"NOTI"); } } } } $myCart->compte_items(); } print ""; break; case 'new_cart': break; case 'del_cart': case 'valid_new_cart': default: print $aff; aff_paniers($item, "BULL", "./cart.php?&what=$what", "add_item", $msg["caddie_add_BULL"], "", 0, 1, 1); break; } } else { print "

".$msg["fonct_no_accessible"]."

"; }