1— Mathew 6:6 in the bible says to go in to your room, close the door, and pray in private. There is nothing in the bible that says you must go to church, it actually says the opposite.
2— The bible does not mention porn at all, people who say its against the rules are just making that up out of nowhere. Unless the porn star is a neighbors wife and you are coveting her, you are more or less okay watching as much porn as you like.
3— There are no real rules on celibacy. The reason priests don’t have sex is only tradition, following on from Paul, who said he did not have time to be married to a woman and married to god and the church at the same time. Then it was just carried on and exaggerated from there.
However, by going to church, he may make god angry, because the 10 commandments are against graven images, and the church is full of those.
Just tell your friend to not worry about it so much, put on some Garry Glitter music and relax.