Refactor edit_report, fix tabs to spaces
edit_report_page -> PDO
exist_page -> PDO