header; print pmb_bidi($aff_bull); switch($action) { case 'add_item': if($idcaddie)$caddie[0]=$idcaddie; foreach($caddie as $idcaddie) { $myCart = new caddie($idcaddie); if($include_child) { $tab_list_child=notice::get_list_child($item); if(count($tab_list_child)) foreach ($tab_list_child as $notice_id) { $myCart->add_item($notice_id,"BULL",$what); } } else $myCart->add_item($item,"BULL",$what); $myCart->compte_items(); } print ""; break; case 'new_cart': $select_cart=" "; $c_form=str_replace('!!cart_type_select!!', $select_cart, $cart_form); print $c_form; 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"]."

"; }