converted listing, applicant, and index to php