We had unprotected sex. And she took an. I-pill from cipla immediately. But then she had a white discharge in her urine only once. Did the pill work?

Maybe. I-pill (http://www.Ipillwoman.Piramal.Com/main.Htm) is a single pill of Levonorgestrel manufactured by cipla, an indian pharmaceutical company, so i suspect that you're not in the states. Regardless, effectiveness of emergency contraception is "95% effective within 24 hours of unprotected sex, 85% between 25-48 hours and 58% if taken between 49-72 hours". Next time, wear a condom to lower std risk.