accept(); } break; case 'refus': foreach($asklist_id as $id){ $ask= new serialcirc_ask($id); $ask->refus(); } break; case 'delete': foreach($asklist_id as $id){ $ask= new serialcirc_ask($id); $ask->delete(); } break; } $asklist=new serialcirc_asklist($location_id,$type_filter,$statut_filter); print $asklist->get_form_list(); break; default : $asklist=new serialcirc_asklist($location_id,$type_filter,$statut_filter); print $asklist->get_form_list(); break; }