A Pakistani court has lifted a ban on the popular social networking site Facebook , two weeks after the site was blocked for soliciting images of the Prophet Muhammad .