Update thread_controller.php

removing all PHP close tags