Please review carefully as I was not able to test my changes on a local website (I don't know PHP).
23.81 KiB