add_item($object_id,$object_type); $myCart->compte_items(); } else die("Failed: "."obj=".$object." caddie=".$caddie); print $myCart->nb_item; die(); } $idcaddie = verif_droit_caddie($idcaddie) ; switch($sub) { case "pointage" : include('./catalog/caddie/pointage/main_ajax.inc.php'); break; case "collecte" : include('./catalog/caddie/collecte/main_ajax.inc.php'); break; default: break; } ?>