the green snotty stuff is to do with the mucus plug and is normal, but the burning might be thrush, which can be easily treated, you can go to your chemist and they will recommend something safe in pregnancy and it may be unrelated to your other illness.

Keep your fluid intake up and stay away from any dairy, fatty or creamy foods and hopefully it will settle.
Take care and sleep is a good thing it will help you recover more quickly xxoo