$response_id)); if($result) { ui_print_success_message(__('Response updated succesfully')); } else { ui_print_error_message(__('Response cannot be updated')); } break; case 'delete_response': $response_id = get_parameter('id_response',0); $result = db_process_sql_delete('tevent_response', array('id' => $response_id)); if($result) { ui_print_success_message(__('Response deleted succesfully')); } else { ui_print_error_message(__('Response cannot be deleted')); } break; } switch($mode) { case 'list': require('event_responses.list.php'); break; case 'editor': require('event_responses.editor.php'); break; } ?>