Thanks for your query.Based on the facts that you have posted it appears that you have undergone surgery of laproscopic adhesionolysis and endometrial ablation
and now getting dark coloured foul smelling discharge per vagina.
There is no doubt this to be due to severe pelvic infection
and needs to be treated immediately with proper antibiotics and anti inflammatory medications.
You may start taking Cefotaxime
in injectable form to get early results and later on switch on to appropriate antibiotics as per culture report.
Thanks and Regards,