Update reportByClosed.php

Added full PHP open tags.
Cleaned up formatting.